2003-06-25 Michael Koch <konqueror@gmx.de>
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-06-25  Michael Koch  <konqueror@gmx.de>
2
3         * Makefile.am
4         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5         * Makefile.in: Regenerated.
6
7 2003-06-25  Michael Koch  <konqueror@gmx.de>
8
9         * javax/swing/plaf/ActionMapUIResource.java,
10         javax/swing/plaf/BorderUIResource.java,
11         javax/swing/plaf/ButtonUI.java,
12         javax/swing/plaf/ColorChooserUI.java,
13         javax/swing/plaf/ColorUIResource.java,
14         javax/swing/plaf/ComboBoxUI.java,
15         javax/swing/plaf/ComponentInputMapUIResource.java,
16         javax/swing/plaf/ComponentUI.java,
17         javax/swing/plaf/DesktopIconUI.java,
18         javax/swing/plaf/DesktopPaneUI.java,
19         javax/swing/plaf/DimensionUIResource.java,
20         javax/swing/plaf/FileChooserUI.java,
21         javax/swing/plaf/FontUIResource.java,
22         javax/swing/plaf/IconUIResource.java,
23         javax/swing/plaf/InputMapUIResource.java,
24         javax/swing/plaf/InsetsUIResource.java,
25         javax/swing/plaf/InternalFrameUI.java,
26         javax/swing/plaf/LabelUI.java,
27         javax/swing/plaf/ListUI.java,
28         javax/swing/plaf/MenuBarUI.java,
29         javax/swing/plaf/MenuItemUI.java,
30         javax/swing/plaf/OptionPaneUI.java,
31         javax/swing/plaf/PanelUI.java,
32         javax/swing/plaf/ProgressBarUI.java,
33         javax/swing/plaf/RootPaneUI.java,
34         javax/swing/plaf/ScrollBarUI.java,
35         javax/swing/plaf/ScrollPaneUI.java,
36         javax/swing/plaf/SeparatorUI.java,
37         javax/swing/plaf/SliderUI.java,
38         javax/swing/plaf/TableHeaderUI.java,
39         javax/swing/plaf/TableUI.java,
40         javax/swing/plaf/ToolBarUI.java,
41         javax/swing/plaf/ToolTipUI.java,
42         javax/swing/plaf/ViewportUI.java:
43         New versions from classpath.
44         * javax/swing/plaf/SpinnerUI.java: 
45         New file from classpath
46
47 2003-06-25  Michael Koch  <konqueror@gmx.de>
48
49         * java/awt/image/ColorModel.java:
50         New version from classpath.
51
52 2003-06-25  Michael Koch  <konqueror@gmx.de>
53
54         * java/net/PlainDatagramSocketImpl.java:
55         Partly merged with classpath, this mainly adds documentation.
56
57 2003-06-25  Michael Koch  <konqueror@gmx.de>
58
59         * java/io/ObjectInputStream.java
60         (readClassDescriptor): New method.
61         (readObject): Moved functionality to readClassDescriptor().
62         * java/io/ObjectOutputStream.java
63         (writeClassDescriptor): New method.
64         (writeObject): Moved functionality to writeClassDescriptor().
65
66 2003-06-25  Michael Koch  <konqueror@gmx.de>
67
68         * javax/swing/plaf/basic/BasicListUI.java,
69         javax/swing/plaf/basic/BasicOptionPaneUI.java:
70         Added missing methods.
71
72 2003-06-25  Michael Koch  <konqueror@gmx.de>
73
74         * javax/swing/event/AncestorEvent.java
75         javax/swing/event/HyperlinkEvent.java
76         javax/swing/event/InternalFrameEvent.java
77         javax/swing/event/ListDataEvent.java
78         javax/swing/event/TableModelEvent.java:
79         Compile fixes.
80
81 2003-06-24  Michael Koch  <konqueror@gmx.de>
82
83         * java/net/URL.java:
84         Renamed "handler" to "ph" in the whole file to match classpaths
85         version.
86         * java/net/URLStreamHandler.java:
87         (equals): Renamed "handler" to "ph".
88
89 2003-06-24  Michael Koch  <konqueror@gmx.de>
90
91         * javax/swing/event/AncestorEvent.java,
92         javax/swing/event/HyperlinkEvent.java,
93         javax/swing/event/InternalFrameEvent.java,
94         javax/swing/event/ListDataEvent.java,
95         javax/swing/event/TableModelEvent.java,
96         javax/swing/event/TreeWillExpandListener.java,
97         javax/swing/plaf/ComponentUI.java,
98         javax/swing/plaf/DesktopIconUI.java,
99         javax/swing/plaf/DesktopPaneUI.java,
100         javax/swing/plaf/DimensionUIResource.java,
101         javax/swing/plaf/FileChooserUI.java,
102         javax/swing/plaf/FontUIResource.java,
103         javax/swing/plaf/IconUIResource.java,
104         javax/swing/plaf/InputMapUIResource.java,
105         javax/swing/plaf/InsetsUIResource.java,
106         javax/swing/plaf/InternalFrameUI.java,
107         javax/swing/plaf/LabelUI.java,
108         javax/swing/plaf/ListUI.java,
109         javax/swing/plaf/MenuBarUI.java,
110         javax/swing/plaf/MenuItemUI.java,
111         javax/swing/plaf/OptionPaneUI.java,
112         javax/swing/plaf/PanelUI.java,
113         javax/swing/plaf/ProgressBarUI.java,
114         javax/swing/plaf/doc-files/ComponentUI-1.dia,
115         javax/swing/plaf/doc-files/ComponentUI-1.png:
116         New versions from classpath.
117
118 2003-06-24  Michael Koch  <konqueror@gmx.de>
119
120         * java/nio/Buffer.java
121         (cap): Made package-private.
122         (pos): Likewise.
123         (limit): Likewise.
124         (mark): Likewise.
125
126 2003-06-24  Michael Koch  <konqueror@gmx.de>
127
128         * java/net/SocketImpl.java
129         (shutdownInput): Made it non-abstract method throwing an exception
130         like in SUNs JRE.
131         (shutdownOutput): Likewise.
132         * java/net/SocketInputStream.java,
133         java/net/SocketOutputStream.java:
134         New files from classpath.
135
136 2003-06-24  Michael Koch  <konqueror@gmx.de>
137
138         * java/awt/Font.java,
139         java/awt/Window.java,
140         java/awt/color/ColorSpace.java,
141         java/awt/datatransfer/StringSelection.java,
142         java/awt/image/ColorModel.java:
143         New versions from classpath.
144
145 2003-06-24  Michael Koch  <konqueror@gmx.de>
146
147         * Makefile.am
148         (awt_java_source_files): Added new files:
149         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
150         javax/swing/plaf/basic/BasicSplitPaneUI.java
151         * Makefile.in: Regenerated.
152
153 2003-06-24  Michael Koch  <konqueror@gmx.de>
154
155         * javax/swing/text/JTextComponent.java:
156         New version from classpath.
157
158 2003-06-24  Michael Koch  <konqueror@gmx.de>
159
160         * javax/swing/Timer.java,
161         javax/swing/plaf/ActionMapUIResource.java,
162         javax/swing/plaf/ButtonUI.java,
163         javax/swing/plaf/ColorChooserUI.java,
164         javax/swing/plaf/ColorUIResource.java,
165         javax/swing/plaf/ComboBoxUI.java,
166         javax/swing/plaf/ComponentInputMapUIResource.java,
167         javax/swing/plaf/basic/BasicBorders.java:
168         New versions from classpath.
169         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
170         javax/swing/plaf/basic/BasicSplitPaneUI.java:
171         New file from classpath.
172         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
173         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
174         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
175         javax/swing/plaf/doc-files/ComponentUI-1.dia,
176         javax/swing/plaf/doc-files/ComponentUI-1.png:
177         New binary files from classpath.
178
179 2003-06-24  Michael Koch  <konqueror@gmx.de>
180
181         * java/io/LineNumberReader.java
182         (skip): Dont do line number accounting here as this is already done in
183         read(), simplified.
184
185 2003-06-21  Michael Koch  <konqueror@gmx.de>
186
187         * java/io/File.java
188         (static): Load javaio lib if existing (only in classpath).
189         (File): Revised documentation to show the correct argument name.
190         (createTempFile): Partly merged with classpath.
191         (compareTo): Simplified.
192         (lastModified): Throw exception if time < 0.
193         (deleteOnExit): Revised documentation.
194
195 2003-06-21  Michael Koch  <konqueror@gmx.de>
196
197         * java/net/PlainSocketImpl.java:
198         Reformatted.
199         (PlainSocketImpl): Merged class documentaion with classpath.
200         (in): Moved.
201         (out): Moved.
202         (PlainSocketImpl): New empty constructor.
203         (finalize): Moved.
204         (setOption): Merged documentation from classpath.
205         (getOption): Likewise.
206         (create): Likewise.
207         (connect): Likewise.
208         (bind): Likewise.
209         (listen): Likewise.
210         (accept): Likewise.
211         (available): Likewise.
212         (close): Likewise.
213         (read): Likewise.
214         (write): Likewise.
215         (getInputStream): Made synchronozed to get sure that only one stream
216         object can be created for this socket, merged documentation from
217         classpath.
218         (getOutputStream): Likewise.
219
220 2003-06-21  Michael Koch  <konqueror@gmx.de>
221
222         * java/net/PlainSocketImpl.java:
223         Reformatting.
224         (static): New implicit method.
225         (read): Made package private.
226         (write): Likewise.
227
228 2003-06-21  Michael Koch  <konqueror@gmx.de>
229
230         * java/util/SimpleTimeZone.java:
231         Removed unneeded import, reformatting.
232
233 2003-06-21  Michael Koch  <konqueror@gmx.de>
234
235         * java/text/DateFormat.java,
236         java/text/SimpleDateFormat.java,
237         java/util/Locale.java:
238         New versions from classpath.
239
240 2003-06-21  Michael Koch  <konqueror@gmx.de>
241
242         * javax/swing/SpinnerModel.java:
243         New file from classpath.
244         * javax/swing/border/LineBorder.java,
245         javax/swing/border/SoftBevelBorder.java,
246         javax/swing/plaf/BorderUIResource.java,
247         javax/swing/plaf/basic/BasicBorders.java:
248         New versions from classpath.
249         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
250         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
251         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
252         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
253         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
254         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
255         New binary files from classpath.
256
257 2003-06-21  Michael Koch  <konqueror@gmx.de>
258
259         * java/util/logging/LogRecord.java,
260         java/util/logging/Logger.java,
261         java/util/logging/SocketHandler.java,
262         java/util/logging/SimpleFormatter.java,
263         java/util/logging/Formatter.java,
264         java/util/logging/ErrorManager.java,
265         java/util/logging/Handler.java,
266         java/util/logging/FileHandler.java,
267         java/util/logging/LogManager.java,
268         java/util/logging/Level.java,
269         java/util/logging/ConsoleHandler.java,
270         java/util/logging/StreamHandler.java,
271         java/util/logging/LoggingPermission.java,
272         java/util/logging/Filter.java,
273         java/util/logging/MemoryHandler.java,
274         java/util/logging/XMLFormatter.java:
275         New files from classpath.
276
277 2003-06-20  Michael Koch  <konqueror@gmx.de>
278
279         * java/io/ObjectStreamField.java
280         (unshared): new member variable.
281         (ObjectStreamField): New constructor.
282         (isUnshared): New method.
283
284 2003-06-20  Michael Koch  <konqueror@gmx.de>
285
286         * java/net/URLStreamHandler.java
287         (hostsEqual): Rewritten.
288
289 2003-06-20  Michael Koch  <konqueror@gmx.de>
290
291         * gnu/java/nio/MappedByteFileBuffer.java,
292         gnu/java/nio/natMappedByteFileBuffer.cc:
293         Removed
294         * java/nio/MappedByteBufferImpl.java:
295         New file.
296         * gnu/java/nio/FileChannelImpl.java:
297         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
298         * Makefile.am
299         (ordinary_java_source_files): Removed
300         gnu/java/nio/MappedByteFileBuffer.java and added
301         java/nio/MappedByteBufferImpl.java.
302         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
303         * Makefile.in: Regenerated.
304
305 2003-06-19  Michael Koch  <konqueror@gmx.de>
306
307         * gnu/java/nio/DatagramChannelImpl.java
308         (fd): Removed.
309         (blocking): New member variable.
310         (socket): Likewise.
311         (DatagramChannelImpl): Throws IOException, initialize socket.
312         (socket):Implemented.
313         (implCloseSelectableChannel): Throws IOException, implemented.
314         (implConfigureBlocking): Likewise.
315         (connect): Likewise.
316         (disconnect): Likewise.
317         (isConnected): Likewise.
318         (write): Likewise.
319         (read): Likewise.
320         (receive): Throws IOException.
321         (send): Likewise.
322         * gnu/java/nio/SocketChannelImpl.java
323         (read): Implemented.
324         (write): Implemented.
325
326 2003-06-19  Michael Koch  <konqueror@gmx.de>
327
328         * javax/swing/JComponent.java,
329         javax/swing/JInternalFrame.java,
330         javax/swing/MenuSelectionManager.java,
331         javax/swing/SwingUtilities.java,
332         javax/swing/ToggleButtonModel.java:
333         New versions from classpath.
334
335 2003-06-19  Michael Koch  <konqueror@gmx.de>
336
337         * java/text/CollationElementIterator.java
338         (NULLORDER): Initialize with -1 as JDK documentation says.
339
340 2003-06-19  Michael Koch  <konqueror@gmx.de>
341
342         * java/net/HttpURLConnection.java,
343         java/net/Inet4Address.java,
344         java/net/Inet6Address.java,
345         java/net/SocketImpl.java,
346         java/net/URLClassLoader.java:
347         Reworked import statements.
348         * java/net/InetAddress.java
349         (getByAddress): Simplified.
350         * java/net/ServerSocket.java
351         (ServerSocket): Moved special handling during bind operation to
352         bind().
353         (bind): Handle different cases when trying to bind a socket.
354         * java/net/URLConnection.java
355         (getHeaderFieldDate): Merged with classpath.
356         (getHeaderFieldInt): Likewise.
357
358 2003-06-19  Michael Koch  <konqueror@gmx.de>
359
360         * java/util/zip/InflaterInputStream.java
361         (InflaterInputStream): Throw NullPointerException if in is null (as
362         JDK does).
363
364 2003-06-19  Michael Koch  <konqueror@gmx.de>
365
366         * java/awt/Font.java
367         javax/swing/UIManager.java
368         javax/swing/border/AbstractBorder.java
369         javax/swing/border/BevelBorder.java
370         javax/swing/border/Border.java
371         javax/swing/border/CompoundBorder.java
372         javax/swing/border/EmptyBorder.java
373         javax/swing/border/EtchedBorder.java
374         javax/swing/border/LineBorder.java
375         javax/swing/border/MatteBorder.java
376         javax/swing/border/TitledBorder.java
377         javax/swing/plaf/BorderUIResource.java
378         javax/swing/plaf/basic/BasicBorders.java
379         javax/swing/plaf/basic/BasicButtonUI.java
380         javax/swing/plaf/basic/BasicCheckBoxUI.java
381         javax/swing/plaf/basic/BasicGraphicsUtils.java
382         javax/swing/plaf/basic/BasicLabelUI.java
383         javax/swing/plaf/basic/BasicRadioButtonUI.java
384         javax/swing/plaf/basic/BasicToggleButtonUI.java:
385         New versions from classpath.
386         * javax/swing/border/SoftBevelBorder.java:
387         New file from classpath.
388         * javax/swing/border/doc-files/LineBorder-1.png,
389         javax/swing/border/doc-files/BevelBorder-1.png,
390         javax/swing/border/doc-files/BevelBorder-2.png,
391         javax/swing/border/doc-files/BevelBorder-3.png,
392         javax/swing/border/doc-files/EmptyBorder-1.png,
393         javax/swing/border/doc-files/EtchedBorder-1.png,
394         javax/swing/border/doc-files/EtchedBorder-2.png,
395         javax/swing/border/doc-files/MatteBorder-1.png,
396         javax/swing/border/doc-files/MatteBorder-2.png,
397         javax/swing/border/doc-files/MatteBorder-3.png,
398         javax/swing/border/doc-files/MatteBorder-4.png,
399         javax/swing/border/doc-files/MatteBorder-5.png,
400         javax/swing/border/doc-files/MatteBorder-6.png,
401         javax/swing/border/doc-files/SoftBevelBorder-1.png,
402         javax/swing/border/doc-files/SoftBevelBorder-2.png,
403         javax/swing/border/doc-files/SoftBevelBorder-3.png,
404         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
405         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
406         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
407         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
408         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
409         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
410         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
411         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
412         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
413         New binary files from classpath.
414         * Makefile.am
415         (awt_java_source_files): Added
416         javax/swing/border/SoftBevelBorder.java.
417         * Makefile.in: Regenerated.
418
419 2003-06-19  Michael Koch  <konqueror@gmx.de>
420
421         * gnu/java/security/x509/X509Certificate.java
422         (writeReplace): Merged from classpath.
423
424 2003-06-19  Michael Koch  <konqueror@gmx.de>
425
426         * gnu/java/nio/FileChannelImpl.java
427         (map_address): Made public.
428         (FileChannelImpl): Merged with classpath.
429         * gnu/java/nio/natFileChannelImpl.cc
430         (nio_mmap_file): Commented out unused arguments.
431         (nio_unmmap_file): Likewise.
432         (niu_msync): Likewise.
433
434 2003-06-19  Michael Koch  <konqueror@gmx.de>
435
436         * java/awt/image/IndexColorModel.java:
437         New version from classpath.
438
439 2003-06-18  Tom Tromey  <tromey@redhat.com>
440
441         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
442         on arrays.
443         (isLoopbackAddress): Likewise.
444         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
445         on arrays.
446
447 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
448
449         * java/lang/natVMSecurityManager.cc (getClassContext):
450         Use maxlen instead of len for loop bound.
451
452 2003-06-18  Michael Koch  <konqueror@gmx.de>
453
454         * gnu/java/nio/SelectorImpl.java
455         (register): Use fd with value 0 for now, will be fixed later.
456         * gnu/java/nio/ServerSocketChannelImpl.java
457         (fd): Removed.
458         (local_port): Removed.
459         (InetSocketAddress): Removed.
460         (ServerSocketChannelImpl): Just initialize internal socket object.
461         (implCloseSelectableChannel): Close internal socket object.
462         (implConfigureBlocking): Added comment.
463         (accept): Use jaba.net stuff to accept socket.
464         * gnu/java/nio/SocketChannelImpl.java
465         (fd): Removed.
466         (local_port): Removed.
467         (InetSocketAddress): Removed.
468         (SocketCreate): Removed.
469         (SocketConnect): Removed.
470         (SocketBind): Removed.
471         (SocketListen): Removed.
472         (SocketAvailable): Removed.
473         (SocketClose): Removed.
474         (SocketRead): Removed.
475         (SocketWrite): Removed.
476         (SocketChannelImpl): Just initialize internal socket object.
477         (implCloseSelectableChannel): Close internal socket object.
478         (implConfigureBlocking): Fixed implementation, added comment.
479         (connect): Use internal socket object to connect.
480         (socket): No need for sanity checks.
481         (read): Comment out some stuff, this will be reimplemented in the next
482         commit.
483         (write): Likewise.
484         * gnu/java/nio/natFileChannelImpl.cc
485         (nio_mmap_file): Line wrapped.
486         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
487         * Makefile.am
488         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
489         * Makefile.in: Regenerated.
490
491 2003-06-18  Michael Koch  <konqueror@gmx.de>
492
493         * java/util/Locale.java
494         (equals): Merged from classpath.
495
496 2003-06-18  Michael Koch  <konqueror@gmx.de>
497
498         * java/net/InetAddress.java:
499         Reformatted to better match classpath's version.
500         * java/net/URL.java
501         (equals): Simplified.
502         * java/net/URLConnection.java
503         (setDoInput): Revised documentation.
504         (getDefaultUseCaches): Likewise.
505         (setRequestProperty): Added @since tag.
506
507 2003-06-17  Michael Koch  <konqueror@gmx.de>
508
509         * java/net/InetSocketAddress.java
510         (InetSocketAddress): Use wildcard address if addr is null.
511         (InetSocketAddress): Dont duplicate implementation.
512         (InetSocketAddress): Throw exception when hostname is null.
513         * java/net/Socket.java:
514         Reworked imports.
515         (Socket): Throw exception when raddr is null, handle case when laddr
516         is null.
517
518 2003-06-17  Michael Koch  <konqueror@gmx.de>
519
520         * java/nio/DirectByteBufferImpl.java
521         (address): Made package private.
522         (DirectByteBufferImpl): New constructor.
523         * java/nio/natDirectByteBufferImpl.cc
524         (allocateImpl): Moved to java.nio namespace, implemented.
525         (freeImpl): Likewise.
526         (getImpl): Likewise.
527         (putImpl): Likewise.
528         * jni.cc
529         (_Jv_JNI_NewDirectByteBuffer): Implemented.
530         (_Jv_JNI_GetDirectBufferAddress): Implemented.
531         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
532
533 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
534
535         * include/powerpc-signal.h: New File.
536         * configure.in: Use it.
537         * configure: Regenerated.
538
539 2003-06-17  Michael Koch  <konqueror@gmx.de>
540
541         * java/util/Locale.java
542         (getDisplayLanguage): Made it final.
543         (getDisplayCountry): Likewise.
544         (getDisplayVariant): Likewise.
545         (getDisplayName): Likewise.
546
547 2003-06-17  Michael Koch  <konqueror@gmx.de>
548
549         * java/util/PropertyResourceBundle.java:
550         Removed unneeded import.
551
552 2003-06-17  Michael Koch  <konqueror@gmx.de>
553
554         * java/util/prefs/AbstractPreferences.java,
555         java/util/prefs/PreferencesFactory.java:
556         Reworked imports, removed unused imports.
557         * java/util/prefs/Preferences.java
558         (systemNodeForPackage): Method takes a Class not an Object.
559         (userNodeForPackage): Likewise.
560         (nodeForPackage): Likewise.
561
562 2003-06-17  Michael Koch  <konqueror@gmx.de>
563
564         * gnu/java/security/x509/X509Certificate.java:
565         Explicitely import used classes.
566
567 2003-06-17  Michael Koch  <konqueror@gmx.de>
568
569         * java/util/zip/ZipEntry.java,
570         java/util/zip/ZipFile.java,
571         java/util/zip/ZipInputStream.java,
572         java/util/zip/ZipOutputStream.java:
573         Reworked imports, only import used classes.
574
575 2003-06-17  Michael Koch  <konqueror@gmx.de>
576
577         * gnu/java/lang/ArrayHelper.java,
578         gnu/java/lang/ClassHelper.java:
579         Reformatted to match classpath's versions.
580
581 2003-06-14  Michael Koch  <konqueror@gmx.de>
582
583         * gnu/java/nio/FileChannelImpl.java
584         (map_address): Removed incorrect comment.        
585         * gnu/java/nio/SelectorImpl.java
586         (register): Remove code duplication and code for file channel handling.        
587         * gnu/java/nio/ServerSocketChannelImpl.java
588         (serverSocket): Renamed from sock_object.
589         (ServerSocketChannel): Initialize serverSocket.
590         (socket): Return serverSocket.
591         * gnu/java/nio/SocketChannelImpl.java
592         (socket): Renamed from sock_object.
593         (isConnectionPenging): Simplified.
594         (socket): Return socket.
595 2003-06-14  Michael Koch  <konqueror@gmx.de>
596
597         * java/security/BasicPermission.java:
598         New version from classpath.
599
600 2003-06-14  Michael Koch  <konqueror@gmx.de>
601
602         * javax/naming/directory/Attribute.java:
603         New version from classpath.
604
605 2003-06-14  Michael Koch  <konqueror@gmx.de>
606
607         * java/io/BufferedReader.java,
608         java/io/FileOutputStream.java:
609         New versions from classpath.
610
611 2003-06-12  Andrew Haley  <aph@redhat.com>
612
613         * prims.cc (catch_segv): Create exception in handler.
614         (catch_fpe): Likewise.  
615         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
616         (_Jv_ThrowSignal): Remove.
617
618         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
619         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
620         to nullp and arithexception.
621         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
622         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
623         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
624         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
625         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
626
627 2003-06-11  Andrew Haley  <aph@redhat.com>
628
629         * jni.cc (_Jv_JNI_check_types): New.
630         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
631         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
632         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
633         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
634         
635         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
636         infinite loop.
637
638 2003-06-11  Tom Tromey  <tromey@redhat.com>
639
640         * java/lang/ClassLoader.java (loadClass): Not deprecated.
641         * java/io/PrintStream.java: Not deprecated.
642
643 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
644
645         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
646         (fillOval): implemented
647         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
648         (fillArc): implemented.
649         * gnu/gcj/xlib/GC.java (drawArc): added native method.
650         (fillArc): added native method.
651         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
652         (fillArc): added native method.
653
654 2003-06-11  Michael Koch  <konqueror@gmx.de>
655
656         * java/awt/im/InputSubset.java:
657         New version from classpath.
658
659 2003-06-11  Michael Koch  <konqueror@gmx.de>
660
661         * javax/swing/AbstractAction.java,
662         javax/swing/AbstractButton.java,
663         javax/swing/AbstractCellEditor.java,
664         javax/swing/AbstractListModel.java,
665         javax/swing/BorderFactory.java,
666         javax/swing/Box.java,
667         javax/swing/BoxLayout.java,
668         javax/swing/ButtonGroup.java,
669         javax/swing/DefaultButtonModel.java,
670         javax/swing/DefaultListModel.java,
671         javax/swing/DefaultListSelectionModel.java,
672         javax/swing/FocusManager.java,
673         javax/swing/ImageIcon.java,
674         javax/swing/InputMap.java,
675         javax/swing/JApplet.java,
676         javax/swing/JButton.java,
677         javax/swing/JCheckBox.java,
678         javax/swing/JCheckBoxMenuItem.java,
679         javax/swing/JColorChooser.java,
680         javax/swing/JComboBox.java,
681         javax/swing/JComponent.java,
682         javax/swing/JDesktopPane.java,
683         javax/swing/JDialog.java,
684         javax/swing/JEditorPane.java,
685         javax/swing/JFileChooser.java,
686         javax/swing/JFormattedTextField.java,
687         javax/swing/JFrame.java,
688         javax/swing/JLabel.java,
689         javax/swing/JLayeredPane.java,
690         javax/swing/JList.java,
691         javax/swing/JMenuBar.java,
692         javax/swing/JMenuItem.java,
693         javax/swing/JOptionPane.java,
694         javax/swing/JPanel.java,
695         javax/swing/JPasswordField.java,
696         javax/swing/JPopupMenu.java,
697         javax/swing/JProgressBar.java,
698         javax/swing/JRadioButton.java,
699         javax/swing/JRadioButtonMenuItem.java,
700         javax/swing/JRootPane.java,
701         javax/swing/JScrollBar.java,
702         javax/swing/JScrollPane.java,
703         javax/swing/JSeparator.java,
704         javax/swing/JSlider.java,
705         javax/swing/JTabbedPane.java,
706         javax/swing/JTable.java,
707         javax/swing/JTextField.java,
708         javax/swing/JToggleButton.java,
709         javax/swing/JToolBar.java,
710         javax/swing/JToolTip.java,
711         javax/swing/JTree.java,
712         javax/swing/JViewport.java,
713         javax/swing/JWindow.java,
714         javax/swing/KeyStroke.java,
715         javax/swing/ListSelectionModel.java,
716         javax/swing/LookAndFeel.java,
717         javax/swing/RepaintManager.java,
718         javax/swing/ScrollPaneLayout.java,
719         javax/swing/SizeRequirements.java,
720         javax/swing/SwingConstants.java,
721         javax/swing/Timer.java,
722         javax/swing/UIDefaults.java,
723         javax/swing/UIManager.java,
724         javax/swing/border/AbstractBorder.java,
725         javax/swing/border/CompoundBorder.java,
726         javax/swing/colorchooser/AbstractColorChooserPanel.java,
727         javax/swing/colorchooser/ColorChooserComponentFactory.java,
728         javax/swing/colorchooser/ColorSelectionModel.java,
729         javax/swing/colorchooser/DefaultColorSelectionModel.java,
730         javax/swing/event/AncestorEvent.java,
731         javax/swing/event/HyperlinkEvent.java,
732         javax/swing/event/InternalFrameAdapter.java,
733         javax/swing/event/InternalFrameEvent.java,
734         javax/swing/event/ListDataEvent.java,
735         javax/swing/event/MouseInputAdapter.java,
736         javax/swing/event/SwingPropertyChangeSupport.java,
737         javax/swing/event/TableModelEvent.java,
738         javax/swing/event/TreeWillExpandListener.java,
739         javax/swing/event/UndoableEditEvent.java,
740         javax/swing/filechooser/FileFilter.java,
741         javax/swing/filechooser/FileSystemView.java,
742         javax/swing/filechooser/FileView.java,
743         javax/swing/plaf/BorderUIResource.java,
744         javax/swing/plaf/basic/BasicDefaults.java,
745         javax/swing/table/AbstractTableModel.java,
746         javax/swing/table/DefaultTableCellRenderer.java,
747         javax/swing/table/DefaultTableColumnModel.java,
748         javax/swing/table/DefaultTableModel.java,
749         javax/swing/table/TableColumn.java,
750         javax/swing/text/JTextComponent.java,
751         javax/swing/tree/AbstractLayoutCache.java,
752         javax/swing/tree/DefaultMutableTreeNode.java,
753         javax/swing/tree/DefaultTreeCellEditor.java,
754         javax/swing/tree/DefaultTreeCellRenderer.java,
755         javax/swing/tree/DefaultTreeModel.java,
756         javax/swing/tree/DefaultTreeSelectionModel.java,
757         javax/swing/tree/FixedHeightLayoutCache.java,
758         javax/swing/tree/TreeCellEditor.java,
759         javax/swing/tree/TreeModel.java,
760         javax/swing/tree/TreeNode.java,
761         javax/swing/tree/TreePath.java,
762         javax/swing/tree/TreeSelectionModel.java,
763         javax/swing/tree/VariableHeightLayoutCache.java,
764         javax/swing/undo/AbstractUndoableEdit.java,
765         javax/swing/undo/CompoundEdit.java,
766         javax/swing/undo/StateEdit.java,
767         javax/swing/undo/UndoManager.java,
768         javax/swing/undo/UndoableEditSupport.java:
769         New versions from classpath.
770         * javax/swing/table/JTableHeader.java:
771         New file from classpath.
772         * Makefile.am
773         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
774         * Makefile.in: Regenerated.
775
776 2003-06-11  Michael Koch  <konqueror@gmx.de>
777
778         * java/nio/MappedByteBuffer.java,
779         java/nio/channels/Channels.java,
780         java/nio/channels/ServerSocketChannel.java,
781         java/nio/channels/spi/AbstractSelector.java:
782         Removed unneeded imports.
783
784 2003-06-11  Michael Koch  <konqueror@gmx.de>
785
786         * java/net/DatagramSocket.java:
787         Partly merged with classpath.
788
789 2003-06-11  Michael Koch  <konqueror@gmx.de>
790
791         * java/awt/Frame.java,
792         java/awt/Graphics.java,
793         java/awt/Menu.java,
794         java/awt/Robot.java,
795         java/awt/image/ColorModel.java:
796         New versions from classpath.
797
798 2003-06-10  Michael Koch  <konqueror@gmx.de>
799
800         * java/io/PrintStream.java:
801         Merged version from classpath.
802         (close): Removed sychronized keyword. This class is not garantied to
803         be thread-safe.
804         (write): Likewise.
805
806 2003-06-09  Tom Tromey  <tromey@redhat.com>
807
808         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
809         field.
810         (getDescent): Likewise, for "descent".
811
812 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
813
814         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
815         (getMaxDescent): adjusted return value.
816         (getAscent): modified to use metrics for 'O'.
817         (getDescent): modified to use metrics for 'y'.
818
819 2003-06-08  Anthony Green  <green@redhat.com>
820
821         * java/net/URLStreamHandler.java (sameFile): Fix port value
822         comparison.
823         * java/net/URL.java (handler): Make package private.
824         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
825
826 2003-06-07  Tom Tromey  <tromey@redhat.com>
827
828         For PR libgcj/11085:
829         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
830         Limit number of characters in numeric field when required.
831         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
832         Respect maximumIntegerDigits.
833
834 2003-06-08  Michael Koch  <konqueror@gmx.de>
835
836         * java/net/Socket.java
837         (Socket): Dont initialize inputShutdown and outputShutdown twice,
838         call bind() and connect() to actually do the bind and connect tasks.
839         (bind): Connect to canonical address if bindpoint is null, create
840         socket and bind it to bindpoint.
841         (connect): Check for exceptions.
842
843 2003-06-08  Michael Koch  <konqueror@gmx.de>
844
845         * java/net/DatagramSocket.java
846         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
847         into the Multicast constructors.
848         * java/net/DatagramSocketImpl.java
849         (getOption): Removed.
850         (setOption): Removed.
851         * java/net/MulticastSocket.java
852         (MulticastSocket): Call setReuseAddress (true).
853         * java/net/SocketImpl.java
854         (getOption): Removed.
855         (setOption): Removed.
856
857 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
858
859         PR libgcj/10886:
860         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
861         Test for empty vector.
862
863 2003-06-06  Mark Wielaard  <mark@klomp.org>
864
865         * java/security/Security.java (secprops): Initialize.
866         (loadProviders): Return boolean.
867         (static): Check result of loadProvider calls. If necessary
868         display WARNING and fallback to Gnu provider.
869
870 2002-06-06  James Clark  <jjc@jclark.com>
871
872         Fix for PR libgcj/8738:
873         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
874         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
875         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
876         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
877         (write): Always decrease avail when count is increased.
878         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
879         and whether output buffer is full before increasing size.
880
881 2002-06-06  Mark Wielaard  <mark@klomp dot org>
882
883         * java/io/PrintStream.java (writeChars(char[],int, int)):
884         Check converter.havePendingBytes().
885         (writeChars(String,int,int)): Likewise.
886         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
887         Check converter.havePendingBytes() and flush buffer when stalled.
888
889 2003-06-07  Michael Koch  <konqueror@gmx.de>
890
891         * include/posix.h
892         (O_DSYNC): Define O_DSYNC on platforms not
893         supporting O_FSYNC (newlib).
894
895 2003-06-06  Mark Wielaard  <mark@klomp.org>
896
897         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
898         AWTError.
899
900 2003-06-06  Michael Koch  <konqueror@gmx.de>
901
902         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
903         More compile fixes from my stupid work yesterday.
904
905 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
906
907         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
908         if _IEEE_LIBM is undefined.
909
910 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
911
912         * libjava/include/posix.h (O_SYNC): Define if not available
913         and a reasonable, perhaps more conservative, replacement exists.
914         (O_DSYNC): Likewise.
915         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
916
917 2003-06-05  Michael Koch  <konqueror@gmx.de>
918
919         * javax/swing/plaf/BorderUIResource.java,
920         javax/swing/plaf/basic/BasicDefaults.java,
921         javax/swing/plaf/basic/BasicOptionPaneUI.java:
922         More compile fixes for latest Border commit. I should not commit
923         something in this heat here ...
924
925 2003-06-05  Michael Koch  <konqueror@gmx.de>
926
927         * javax/swing/border/BevelBorder.java
928         (BevelBorder): Removed.
929         * javax/swing/border/EmptyBorder.java:
930         Reformatted.
931         (EmptyBorder): Removed.
932         (getBorderInsets): Dont use l, r, t and b.
933         * javax/swing/border/EtchedBorder.java
934         (EtchedBorder): Removed.
935         * javax/swing/border/LineBorder.java
936         (LineBorder): Removed.
937         * javax/swing/border/MatteBorder.java
938         (MatteBorder): Removed.
939         * javax/swing/border/TitledBorder.java
940         (defaultBorder): Use other default for now.
941         (defaultFont): Likewise.
942         (defaultColor): Likewise.
943
944 2003-06-05  Michael Koch  <konqueror@gmx.de>
945
946         * javax/swing/border/Border.java:
947         New version from classpath.
948
949 2003-06-05  Michael Koch  <konqueror@gmx.de>
950
951         * javax/swing/border/AbstractBorder.java,
952         javax/swing/border/BevelBorder.java,
953         javax/swing/border/CompoundBorder.java,
954         javax/swing/border/EmptyBorder.java,
955         javax/swing/border/EtchedBorder.java,
956         javax/swing/border/LineBorder.java,
957         javax/swing/border/MatteBorder.java,
958         javax/swing/border/TitledBorder.java:
959         New versions from Classpath.
960
961 2003-06-05  Michael Koch  <konqueror@gmx.de>
962
963         * java/awt/Button.java,
964         java/awt/Checkbox.java,
965         java/awt/CheckboxMenuItem.java,
966         java/awt/Choice.java,
967         java/awt/Container.java,
968         java/awt/Dialog.java,
969         java/awt/EventQueue.java,
970         java/awt/FileDialog.java,
971         java/awt/Frame.java,
972         java/awt/Label.java,
973         java/awt/List.java,
974         java/awt/Menu.java,
975         java/awt/MenuItem.java,
976         java/awt/Panel.java,
977         java/awt/PopupMenu.java,
978         java/awt/Rectangle.java,
979         java/awt/ScrollPane.java,
980         java/awt/Scrollbar.java,
981         java/awt/TextArea.java,
982         java/awt/TextField.java,
983         java/awt/Window.java,
984         java/awt/datatransfer/DataFlavor.java,
985         java/awt/dnd/DragSource.java,
986         java/awt/dnd/DragSourceContext.java,
987         java/awt/event/HierarchyEvent.java,
988         java/awt/event/MouseWheelEvent.java,
989         java/awt/im/InputContext.java,
990         java/awt/image/BufferedImage.java,
991         java/awt/image/ComponentColorModel.java,
992         java/awt/image/Raster.java,
993         java/awt/image/WritableRaster.java,
994         java/awt/peer/ComponentPeer.java,
995         java/awt/print/PageFormat.java,
996         java/awt/print/PrinterJob.java:
997         New versions from Classpath.
998
999 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
1000
1001         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1002         numberFormat.setParseIntegerOnly(true).
1003
1004 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
1005
1006         * include/posix-threads.h: Include <machine/pal.h> on OSF.
1007
1008 2003-06-03  Andrew Haley  <aph@redhat.com>
1009
1010         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1011         stack volatile to prevent optimization from removing it.
1012
1013 2003-05-27  Michael Koch  <konqueror@gmx.de>
1014
1015         * java/util/zip/Deflater.java
1016         (FILTERED): Merged documentation from classpath.
1017         * java/util/zip/DeflaterOutputStream.java
1018         (DeflaterOutputStream): Merged documentation and argument validity
1019         check from classpath.
1020         (deflate): Merged documentation from classpath.
1021         (finish): Likewise.
1022         * java/util/zip/Inflater.java
1023         (Inflater): Merged class documentation from classpath.
1024         (zstream): Reordered.
1025         (is_finished): Reordered.
1026         (dict_needed): Reordered.
1027         (Inflater): Reordered, merged documentation from classpath.
1028         (end): Likewise.
1029         (finalize): Merged documentation from classpath.
1030         (finished): Likewise.
1031         (getAdler): Likewise.
1032         (getRemaining): Likewise.
1033         (getTotalIn): Likewise.
1034         (getTotalOut): Likewise.
1035         (inflate): Likewise.
1036         (needsDictionary): Likewise.
1037         (needsInput): Likewise.
1038         (reset): Likewise.
1039         (setDictionary): Likewise.
1040         (setInput): Likewise.
1041
1042 2003-05-27  Michael Koch  <konqueror@gmx.de>
1043
1044         * java/net/URLConnection.java
1045         (getHeaderFieldInt): Merged with classpath.
1046
1047 2003-05-27  Michael Koch  <konqueror@gmx.de>
1048
1049         * java/io/PrintStream.java
1050         (PrintStream): Reformatted.
1051         (PrintStream): New method, merged from classpath.
1052         (write): Reformatted.
1053
1054 2003-05-27  Michael Koch  <konqueror@gmx.de>
1055
1056         * java/lang/System.java:
1057         Explicitely import needed classes.
1058
1059 2003-05-26  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/net/NetPermission.java,
1062         java/net/NetworkInterface.java,
1063         java/net/PasswordAuthentication.java,
1064         java/net/SocketPermission.java:
1065         New versions from classpath.
1066
1067 2003-05-25  Michael Koch  <konqueror@gmx.de>
1068
1069         * java/io/PushbackInputStream.java,
1070         java/net/Authenticator.java,
1071         java/net/ContentHandler.java,
1072         java/net/ContentHandlerFactory.java,
1073         java/net/DatagramSocket.java,
1074         java/net/DatagramSocketImpl.java,
1075         java/net/DatagramSocketImplFactory.java,
1076         java/net/FileNameMap.java,
1077         java/net/SocketImplFactory.java,
1078         java/net/SocketOptions.java,
1079         java/net/URLStreamHandlerFactory.java:
1080         Merged new versions from classpath.
1081
1082 2003-05-25  Michael Koch  <konqueror@gmx.de>
1083
1084         * java/awt/Checkbox.java,
1085         java/awt/Dialog.java,
1086         java/awt/Font.java,
1087         java/awt/Frame.java,
1088         java/awt/ScrollPaneAdjustable.java,
1089         java/awt/Scrollbar.java,
1090         java/awt/Window.java:
1091         New versions from classpath.
1092
1093 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
1094
1095         PR libgcj/10838:
1096         * java/io/ObjectInputStream (enableResolveObject):
1097         Fixed spelling of permission name.
1098
1099 2003-05-20  Michael Koch  <konqueror@gmx.de>
1100
1101         * java/io/DataInputStream.java
1102         (convertFromUTF): Merged comment from classpath.
1103         * java/io/PrintStream.java
1104         (error_occured): Renamed from error, merged comment from classpath.
1105         (PrintStream): No need to initialized error.
1106         (checkError): Replace error with error_occurred.
1107         (setError): Likewise.
1108
1109 2003-05-20  Michael Koch  <konqueror@gmx.de>
1110
1111         * java/io/DataInputStream.java:
1112         Reformatted, Replaced < and & with html entitites in documentation.
1113         * java/io/File.java:
1114         Reformatted.
1115         * java/io/PrintWriter.java:
1116         Moved class documentation.
1117
1118 2003-05-20  Michael Koch  <konqueror@gmx.de>
1119
1120         * gnu/java/nio/ByteBufferImpl.java,
1121         gnu/java/nio/CharBufferImpl.java,
1122         gnu/java/nio/CharViewBufferImpl.java,
1123         gnu/java/nio/DirectByteBufferImpl.java,
1124         gnu/java/nio/DoubleBufferImpl.java,
1125         gnu/java/nio/DoubleViewBufferImpl.java,
1126         gnu/java/nio/FloatBufferImpl.java,
1127         gnu/java/nio/FloatViewBufferImpl.java,
1128         gnu/java/nio/IntBufferImpl.java,
1129         gnu/java/nio/IntViewBufferImpl.java,
1130         gnu/java/nio/LongBufferImpl.java,
1131         gnu/java/nio/LongViewBufferImpl.java,
1132         gnu/java/nio/natDirectByteBufferImpl.cc,
1133         gnu/java/nio/ShortBufferImpl.java,
1134         gnu/java/nio/ShortViewBufferImpl.java:
1135         Moved files to java/nio.
1136         * gnu/java/nio/SocketChannelImpl.java
1137         
1138         * java/nio/ByteBuffer.java,
1139         java/nio/CharBuffer.java,
1140         java/nio/DoubleBuffer.java,
1141         java/nio/FloatBuffer.java,
1142         java/nio/IntBuffer.java,
1143         java/nio/LongBuffer.java,
1144         java/nio/ShortBuffer.java:
1145         Dont import anything.
1146         * java/nio/ByteBufferImpl.java,
1147         java/nio/CharBufferImpl.java,
1148         java/nio/CharViewBufferImpl.java,
1149         java/nio/DirectByteBufferImpl.java,
1150         java/nio/DoubleBufferImpl.java,
1151         java/nio/DoubleViewBufferImpl.java,
1152         java/nio/FloatBufferImpl.java,
1153         java/nio/FloatViewBufferImpl.java,
1154         java/nio/IntBufferImpl.java,
1155         java/nio/IntViewBufferImpl.java,
1156         java/nio/LongBufferImpl.java,
1157         java/nio/LongViewBufferImpl.java,
1158         java/nio/natDirectByteBufferImpl.cc,
1159         java/nio/ShortBufferImpl.java,
1160         java/nio/ShortViewBufferImpl.java:
1161         Moved from gnu/java/nio.
1162         * Makefile.am
1163         (ordinary_java_source_files): Moved files from gnu/java/nio to
1164         java/nio.
1165         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1166         to java/nio.
1167         * Makefile.in: Regenerated.
1168
1169 2003-05-19  Michael Koch  <konqueror@gmx.de>
1170
1171         * java/util/Calendar.java
1172         (get): Not final anymore since JDK 1.4
1173         (set): Likewise.
1174
1175 2003-05-19  Michael Koch  <konqueror@gmx.de>
1176
1177         * java/text/CollationKey.java:
1178         Merged copyright and dat from classpath.
1179         * java/text/RuleBasedCollator.java:
1180         Merged class documentation from classpath.
1181
1182 2003-05-19  Michael Koch  <konqueror@gmx.de>
1183
1184         * java/nio/CharBuffer.java
1185         (toString): Compile fix.
1186
1187 2003-05-19  Michael Koch  <konqueror@gmx.de>
1188
1189         * gnu/java/nio/ByteBufferImpl.java
1190         (putLong): Fixed conversion to bytes.
1191         (putDouble): Fixed conversion to bytes.
1192         * gnu/java/nio/DirectByteBufferImpl.java
1193         (putLong): Fixed conversion to bytes.
1194         (putDouble): Fixed conversion to bytes.
1195         * gnu/java/nio/FileLockImpl.java
1196         (isValid): Reformatted.
1197         * java/nio/Buffer.java
1198         (Buffer): Fixed off-by-one bug in handling mark.
1199         * java/nio/ByteBuffer.java:
1200         Added newline.
1201         * java/nio/CharBuffer.java
1202         (toString): Don't use relative get to get string data.
1203
1204 2003-05-16  Michael Koch  <konqueror@gmx.de>
1205
1206         * java/io/natFileDescriptorPosix.cc
1207         (open): Commented out the O_SYNC and O_DSYNC usage until its better
1208         tested.
1209
1210 2003-05-14  Michael Koch  <konqueror@gmx.de>
1211
1212         * gnu/java/nio/FileLockImpl.java
1213         (released): New member variable.
1214         (FileLockImpl): Initialize released.
1215         (releaseImpl): New native method.
1216         (release): Implemented.
1217         * gnu/java/nio/SelectorImpl.java: Reformatted.
1218         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1219         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1220         (accept): Throws IOException.
1221         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1222         (implConfigureBlocking): Throws IOException.
1223         (connect): Likewise.
1224         (read): Likewise.
1225         (write): Likewise.
1226         * gnu/java/nio/natFileLockImpl.cc: New file.
1227         * java/nio/channels/FileLock.java: Reformatted.
1228         * Makefile.am:
1229         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1230         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1231         * Makefile.in: Regenerated.
1232
1233 2003-05-13  Michael Koch  <konqueror@gmx.de>
1234
1235         * gnu/java/nio/CharViewBufferImpl.java
1236         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1237         (get): Shift bits to the right direction.
1238         (put): Likewise.
1239         * gnu/java/nio/DoubleViewBufferImpl.java
1240         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1241         (get): Shift bits to the right direction.
1242         (put): Likewise.
1243         * gnu/java/nio/FloatViewBufferImpl.java
1244         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1245         (get): Shift bits to the right direction.
1246         (put): Likewise.
1247         * gnu/java/nio/IntViewBufferImpl.java
1248         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1249         (get): Shift bits to the right direction.
1250         (put): Likewise.
1251         * gnu/java/nio/LongViewBufferImpl.java
1252         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1253         (get): Shift bits to the right direction.
1254         (put): Likewise.
1255         * gnu/java/nio/ShortViewBufferImpl.java
1256         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1257         (get): Shift bits to the right direction.
1258         (put): Likewise.
1259
1260 2003-05-13  Michael Koch  <konqueror@gmx.de>
1261
1262         * gnu/java/nio/natDirectByteBufferImpl.cc
1263         (allocateImpl): jlong -> RawData*.
1264         (freeImpl): Likewise.
1265
1266 2003-05-13  Michael Koch  <konqueror@gmx.de>
1267
1268         * java/nio/channels/FileChannel.java
1269         (MapMode.m): Made it package-private to match JDK 1.4.
1270         * java/nio/charset/Charset.java
1271         (decode): Made it final to match JDK 1.4.
1272
1273 2003-05-13  Michael Koch  <konqueror@gmx.de>
1274
1275        * java/io/FileDescriptor.java
1276        (SYNC): New constant.
1277        (DSYNC): Likewise.
1278        (getLength): Renamed from lenght() to match classpath's
1279        FileDescriptor.java.
1280        * java/io/RandomAccessFile.java
1281        (RandomAccessFile): Removed unneeded mode check, implemented mode
1282        "rws" and "rwd", merged documentation from classpath.
1283        (setLength): Reformatted.
1284        (length): Use new getLength() of FileDescriptor.
1285        * java/io/natFileDescriptorEcos.cc
1286        (getLength): Renamed from length().
1287        * java/io/natFileDescriptorPosix.cc
1288        (open): Implemented support for SYNC and DSYNC.
1289        (seek): Use getLength() instead of length().
1290        (getLength): Renamed from length().
1291        * java/io/natFileDescriptorWin32.cc
1292        (getLength): Renamed from length().
1293        (seek): Use getLength() instead of length().
1294        (available): Likewise.
1295        * gnu/java/nio/natFileChannelImpl.cc
1296        (size): Use getLength() instead of length().
1297
1298 2003-05-13  Michael Koch  <konqueror@gmx.de>
1299
1300         * gnu/java/nio/ByteBufferImpl.java
1301         (ByteBufferImpl): All constructors revised.
1302         (slice): Reimplemented.
1303         (duplicate): Reimplemented.
1304         (asReadOnlyBuffer): Reimplemented.
1305         * java/nio/ByteBuffer.java:
1306         Reformatted.
1307         (array_offset): Renamed from "offset" to match all other buffer
1308         classes.
1309         (ByteBuffer): All constructors revised.
1310         (allocateDirect): Implemented.
1311         (allocate): New implementation, documentation reworked.
1312         (wrap): Likewise.
1313         (get): Documentation reworked.
1314         (put): New implementation, documentation reworked.
1315         (hasArray): Documentation reworked.
1316         (arrayOffset): Likewise.
1317         (hashCode): Likewise.
1318         (equals): Likewise.
1319         (compareTo): Likewise.
1320         (order): Likewise.
1321         (compact): Likewise.
1322         (isDirect): Likewise.
1323         (slice): Likewise.
1324         (duplicate): Likewise.
1325         (asReadOnlyBuffer): Likewise.
1326         * Makefile.am
1327         (ordinary_java_source_files):
1328         Added gnu/java/nio/DirectByteBufferImpl.java.
1329         (nat_source_files):
1330         Added gnu/java/nio/natDirectByteBufferImpl.cc.
1331         * Makefile.in: Regenerated.
1332
1333 2003-05-12  Michael Koch  <konqueror@gmx.de>
1334
1335         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1336         (nio_get_*): Removed.
1337         (nio_put_*): Removed.
1338         (as*Buffer): Implemented.
1339         (compact): Implemented.
1340         (get): Documentation added.
1341         (put): Documentation added.
1342         (get*): Newly implemented.
1343         (put*): Newly implemented.
1344         * gnu/java/nio/CharBufferImpl.java: Reformatted.
1345         (CharBufferImpl): Revised.
1346         (slice): New implementation.
1347         (duplicate): New implementation.
1348         (compact): New implementation.
1349         (asReadOnlyBuffer): New implementation.
1350         (get): Documentation revised.
1351         (order): Return native byte order.
1352         * gnu/java/nio/DirectByteBufferImpl.java
1353         (allocateDirect): objects can be null not 0.
1354         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1355         (DoubleBufferImpl): Revised.
1356         (slice): New implementation.
1357         (duplicate): New implementation.
1358         (compact): New implementation.
1359         (asReadOnlyBuffer): New implementation.
1360         (get): Documentation revised.
1361         (order): Return native byte order.
1362         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1363         (FloatBufferImpl): Revised.
1364         (slice): New implementation.
1365         (duplicate): New implementation.
1366         (compact): New implementation.
1367         (asReadOnlyBuffer): New implementation.
1368         (get): Documentation revised.
1369         (order): Return native byte order.
1370         * gnu/java/nio/IntBufferImpl.java: Reformatted.
1371         (IntBufferImpl): Revised.
1372         (slice): New implementation.
1373         (duplicate): New implementation.
1374         (compact): New implementation.
1375         (asReadOnlyBuffer): New implementation.
1376         (get): Documentation revised.
1377         (order): Return native byte order.
1378         * gnu/java/nio/LongBufferImpl.java: Reformatted.
1379         (LongBufferImpl): Revised.
1380         (slice): New implementation.
1381         (duplicate): New implementation.
1382         (compact): New implementation.
1383         (asReadOnlyBuffer): New implementation.
1384         (get): Documentation revised.
1385         (order): Return native byte order.
1386         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1387         (ShortBufferImpl): Revised.
1388         (slice): New implementation.
1389         (duplicate): New implementation.
1390         (compact): New implementation.
1391         (asReadOnlyBuffer): New implementation.
1392         (get): Documentation revised.
1393         (order): Return native byte order.
1394         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1395         (CharBuffer): Revised.
1396         (order): Removed.
1397         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1398         (DoubleBuffer): Revised.
1399         (allocateDirect): Removed.
1400         (order): Removed.
1401         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1402         (FloatBuffer): Revised.
1403         (allocateDirect): Removed.
1404         (order): Removed.
1405         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1406         (IntBuffer): Revised.
1407         (allocateDirect): Removed.
1408         (order): Removed.
1409         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1410         (LongBuffer): Revised.
1411         (allocateDirect): Removed.
1412         (order): Removed.
1413         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1414         (ShortBuffer): Revised.
1415         (allocateDirect): Removed.
1416         (order): Removed.
1417         * gnu/java/nio/natByteBufferImpl.cc: Removed.
1418         * gnu/java/nio/natCharBufferImpl.cc: Removed.
1419         * Makefile.am
1420         (ordinary_java_source_files): Added the following files:
1421         gnu/java/nio/CharViewBufferImpl.java,
1422         gnu/java/nio/DoubleViewBufferImpl.java,
1423         gnu/java/nio/FloatViewBufferImpl.java,
1424         gnu/java/nio/IntViewBufferImpl.java,
1425         gnu/java/nio/LongViewBufferImpl.java,
1426         gnu/java/nio/ShortViewBufferImpl.java
1427         (nat_source_files): Removed the following files:
1428         gnu/java/nio/natByteBufferImpl.cc,
1429         gnu/java/nio/natCharBufferImpl.cc
1430         * Makefile.in: Regenerated.
1431
1432 2003-05-12  Michael Koch  <konqueror@gmx.de>
1433
1434         * gnu/java/nio/CharViewBufferImpl.java,
1435         gnu/java/nio/DirectByteBufferImpl.java,
1436         gnu/java/nio/DoubleViewBufferImpl.java,
1437         gnu/java/nio/FloatViewBufferImpl.java,
1438         gnu/java/nio/IntViewBufferImpl.java,
1439         gnu/java/nio/LongViewBufferImpl.java,
1440         gnu/java/nio/ShortViewBufferImpl.java,
1441         gnu/java/nio/natDirectByteBufferImpl.cc:
1442         New files, not yet to be compiled.
1443
1444 2003-05-10  Michael Koch  <konqueror@gmx.de>
1445
1446         * javax/swing/plaf/ButtonUI.java,
1447         javax/swing/plaf/ColorUIResource.java,
1448         javax/swing/plaf/ComponentUI.java,
1449         javax/swing/plaf/DimensionUIResource.java,
1450         javax/swing/plaf/FontUIResource.java,
1451         javax/swing/plaf/IconUIResource.java,
1452         javax/swing/plaf/InsetsUIResource.java,
1453         javax/swing/plaf/LabelUI.java,
1454         javax/swing/plaf/ListUI.java,
1455         javax/swing/plaf/OptionPaneUI.java,
1456         javax/swing/plaf/PanelUI.java,
1457         javax/swing/plaf/TabbedPaneUI.java,
1458         javax/swing/plaf/TextUI.java,
1459         javax/swing/plaf/TreeUI.java,
1460         javax/swing/plaf/ViewportUI.java,
1461         javax/swing/plaf/basic/BasicBorders.java,
1462         javax/swing/plaf/basic/BasicButtonUI.java,
1463         javax/swing/plaf/basic/BasicCheckBoxUI.java,
1464         javax/swing/plaf/basic/BasicDefaults.java,
1465         javax/swing/plaf/basic/BasicGraphicsUtils.java,
1466         javax/swing/plaf/basic/BasicIconFactory.java,
1467         javax/swing/plaf/basic/BasicLabelUI.java,
1468         javax/swing/plaf/basic/BasicListUI.java,
1469         javax/swing/plaf/basic/BasicOptionPaneUI.java,
1470         javax/swing/plaf/basic/BasicPanelUI.java,
1471         javax/swing/plaf/basic/BasicRadioButtonUI.java,
1472         javax/swing/plaf/basic/BasicScrollPaneUI.java,
1473         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1474         javax/swing/plaf/basic/BasicTextUI.java,
1475         javax/swing/plaf/basic/BasicToggleButtonUI.java,
1476         javax/swing/plaf/basic/BasicTreeUI.java,
1477         javax/swing/plaf/basic/BasicViewportUI.java,
1478         javax/swing/plaf/metal/MetalLookAndFeel.java:
1479         New versions from classpath. This adds copyrights to all files and
1480         some serialVersionUIDs.
1481
1482 2003-05-10  Michael Koch  <konqueror@gmx.de>
1483
1484         * java/nio/CharBuffer.java
1485         (offset): Make it package-private.
1486         (backing_buffer): Likewise.
1487         * java/nio/DoubleBuffer.java
1488         (offset): Make it package-private.
1489         (backing_buffer): Likewise.
1490         (put): Reformatted.
1491         * java/nio/FloatBuffer.java
1492         (offset): Make it package-private.
1493         (backing_buffer): Likewise.
1494         * java/nio/IntBuffer.java
1495         (offset): Make it package-private.
1496         (backing_buffer): Likewise.
1497         * java/nio/LongBuffer.java
1498         (offset): Make it package-private.
1499         (backing_buffer): Likewise.
1500         * java/nio/ShortBuffer.java
1501         (offset): Make it package-private.
1502         (backing_buffer): Likewise.
1503
1504 2003-05-10  Michael Koch  <konqueror@gmx.de>
1505
1506         * java/nio/CharBuffer.java
1507         (put): Fixed precondtion check.
1508         (toString): Make it work without backing array.
1509         (put): Skip one level of method calling.
1510
1511 2003-05-10  Michael Koch  <konqueror@gmx.de>
1512
1513         * java/security/Identity.java,
1514         java/security/IdentityScope.java,
1515         java/security/Key.java,
1516         java/security/KeyPair.java,
1517         java/security/PrivateKey.java,
1518         java/security/Provider.java,
1519         java/security/PublicKey.java,
1520         java/security/SecureRandom.java,
1521         java/security/SecureRandomSpi.java,
1522         java/security/SignedObject.java,
1523         java/security/Signer.java,
1524         java/security/cert/Certificate.java,
1525         java/security/cert/PKIXCertPathBuilderResult.java,
1526         java/security/cert/X509Certificate.java:
1527         New versions from classpath.
1528
1529 2003-05-09  Tom Tromey  <tromey@redhat.com>
1530
1531         * Makefile.in: Rebuilt.
1532         * Makefile.am (nat_source_files): Removed old files.
1533         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1534         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1535         * gnu/java/nio/natIntBufferImpl.cc: Removed.
1536         * gnu/java/nio/natLongBufferImpl.cc: Removed.
1537         * gnu/java/nio/natShortBufferImpl.cc: Removed.
1538
1539 2003-05-09  Michael Koch  <konqueror@gmx.de>
1540
1541         * gnu/java/nio/ByteBufferImpl.java
1542         (nio_cast): Removed.
1543         (ByteBufferImpl): Removed.
1544         (nio_get_Byte): Removed.
1545         (nio_put_Byte): Removed.
1546         (asByteBuffer): Removed.
1547         (asCharBuffer): Removed implementation and throw exception.
1548         (asShortBuffer): Likewise.
1549         (asIntBuffer): Likewise.
1550         (asLongBuffer): Likewise.
1551         (asFloatBuffer): Likewise.
1552         (asDoubleBuffer): Likewise.
1553         * gnu/java/nio/CharBufferImpl.java
1554         (CharBufferImpl): Removed.
1555         (nio_get_Byte): Removed.
1556         (nio_put_Byte): Removed.
1557         (asByteBuffer): Removed.
1558         * gnu/java/nio/DoubleBufferImpl.java
1559         (DoubleBufferImpl): Removed.
1560         (nio_get_Byte): Removed.
1561         (nio_put_Byte): Removed.
1562         (asByteBuffer): Removed.
1563         * gnu/java/nio/FloatBufferImpl.java
1564         (FloatBufferImpl): Removed.
1565         (nio_get_Byte): Removed.
1566         (nio_put_Byte): Removed.
1567         (asByteBuffer): Removed.
1568         * gnu/java/nio/IntBufferImpl.java
1569         (IntBufferImpl): Removed.
1570         (nio_get_Byte): Removed.
1571         (nio_put_Byte): Removed.
1572         (asByteBuffer): Removed.
1573         * gnu/java/nio/LongBufferImpl.java
1574         (LongBufferImpl): Removed.
1575         (nio_get_Byte): Removed.
1576         (nio_put_Byte): Removed.
1577         (asByteBuffer): Removed.
1578         * gnu/java/nio/ShortBufferImpl.java
1579         (ShortBufferImpl): Removed.
1580         (nio_get_Byte): Removed.
1581         (nio_put_Byte): Removed.
1582         (asByteBuffer): Removed.
1583         * gnu/java/nio/natByteBufferImpl.cc
1584         (nio_cast): Removed.
1585         (nio_get_Byte): Removed.
1586         (nio_put_Byte): Removed.
1587         * gnu/java/nio/natCharBufferImpl.cc
1588         (nio_get_Byte): Removed.
1589         (nio_put_Byte): Removed.
1590
1591 2003-05-09  Michael Koch  <konqueror@gmx.de>
1592
1593         * java/net/JarURLConnection.java
1594         (getJarEntry): Merged documentation from classpath.
1595         (getJarFile): Likewise.
1596         (getMainAttributes): Likewise.
1597         (getAttributes): Likewise.
1598         (getManifest): Likewise.
1599         (getCertificates): Reformatted.
1600         * java/net/URLConnection.java:
1601         Little classpath merge.
1602
1603 2003-05-09  Michael Koch  <konqueror@gmx.de>
1604
1605         * java/io/DataOutputStream.java
1606         (writeShort): Made it synchronized.
1607         (writeChar): Likewise.
1608         (writeInt): Likewise.
1609         (writeLong): Liekwise.
1610         (writeUTF): Made it synchronized, renamed argument to match classpath.
1611         * java/io/InputStreamReader.java
1612         (converter): Added documentation.
1613         (read): Merged documentation from classpath.
1614         * java/io/OutputStreamWriter.java
1615         (OutputStreamWriter): Merged documentation from classpath.
1616         (close): Reformatted.
1617         (getEncoding): Likewise.
1618         (flush): Likewise.
1619         (write): Merged documentation from classpath, reformatted.
1620
1621 2003-05-08  Tom Tromey  <tromey@redhat.com>
1622
1623         * configure.host <powerpc64*-*>: Set with_libffi_default and
1624         libgcj_interpreter to "yes".
1625
1626 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
1627
1628         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1629         
1630 2003-05-06  Tom Tromey  <tromey@redhat.com>
1631
1632         * verify.cc: Reverted previous patch.
1633
1634 2003-05-06  Michael Koch  <konqueror@gmx.de>
1635
1636         * java/io/DataOutputStream.java
1637         (write): Renamed argument to "value", merged documentation from
1638         classpath.
1639         (writeBoolean): Likewise.
1640         (writeByte): Likewise.
1641         (writeShort): Likewise.
1642         (writeChar): Likewise.
1643         (writeInt): Likewise.
1644         (writeLong): Likewise.
1645         (writeFloat): Likewise.
1646         (writeDouble): Likewise.
1647         (writeBytes): Likewise.
1648         (writeChars): Likewise.
1649         (writeUTF): Likewise.
1650         * java/io/File.java
1651         (performDelete): Added documentation.
1652         (performList): Likewise.
1653         (performMkdir): Likewise.
1654         (performSetReadOnly): Likewise.
1655         (performRenameTo): Likewise.
1656         (performSetLastModified): Likewise.
1657         (delete): Made it sychronized.
1658         (renameTo): Made it sychronized.
1659         (equals): Reformatted.
1660         (isHidden): Likewise.
1661         (listFiles): Likewise.
1662         (setReadOnly): Likewise.
1663         (listRoots): Likewise.
1664         (setLastModified): Likewise.
1665         (checkRead): Likewise.
1666         (checkWrite): Likewise.
1667         * java/io/FileInputStream.java
1668         (skip): Made it sychronized, merged from classpath.
1669         * java/io/FileOutputStream.java
1670         (write): Merged from classpath.
1671         * java/io/InputStreamReader.java:
1672         (InputStreamReader): Merged documentation from classpath.
1673
1674 2003-05-05  Michael Koch  <konqueror@gmx.de>
1675
1676         * java/net/NetworkInterface.java
1677         (networkInterfaces): Removed.
1678         (getByName): Use getRealNetworkInterfaces() instead of
1679         networkInterfaces.
1680         (getByInetAddress): Likewise.
1681         (getNetworkInterfaces): Likewise.
1682         (toString): Fix output of addresses of an interface.
1683
1684 2003-05-05  Michael Koch  <konqueror@gmx.de>
1685
1686         * java/io/DataInputStream.java:
1687         Merged new documentation from classpath.
1688
1689 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
1690
1691         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1692         "version".
1693         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1694         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1695         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1696         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1697         * gnu/awt/gtk/GtkMainThread.java: Likewise.
1698         * gnu/awt/gtk/GtkToolkit.java: Likewise.
1699         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1700         * java/security/Key.java: Likewise.
1701         * java/security/PrivateKey.java: Likewise.
1702         * java/security/Provider.java: Likewise.
1703         * java/security/PublicKey.java: Likewise.
1704
1705 2003-05-02  Michael Koch  <konqueror@gmx.de>
1706
1707         * java/net/URI.java
1708         (create): Doesnt throws any exceptions.
1709         * java/net/URLConnection.java
1710         (URLConnection): Commend added.
1711         (getExpiration): The header field is called "expires" not
1712         "expiration".
1713         (getHeaderField): Merged documentation with classpath.
1714         (getHeaderFieldInt): Likewise.
1715         (getHeaderFieldDate): Likewise.
1716         (getHeaderFieldKey): Likewise.
1717         (getPermission): Likewise.
1718         (setDefaultUseCaches): Likewise.
1719         (setRequestProperty): Likewise.
1720         (addRequestProperty): Likewise.
1721         (getRequestProperty): Likewise.
1722         (getRequestProperties): Likewise.
1723         (setDefaultRequestProperty): Likewise.
1724         (getDefaultRequestProperty): Likewise.
1725         (guessContentTypeFromStream): Likewise.
1726         (getFileNameMap): Likewise.
1727         (setFileNameMap): Likewise.
1728         (setDoInput): Merged implementation and documentation with classpath.
1729         (setDoOutput): Likewise.
1730         (setAllowUserInteraction): Likewise.
1731         (setDefaultAllowUserInteraction): Likewise.
1732         (setContentHandlerFactory): Made it synchronized, merged documentation
1733         with classpath.
1734         (guessContentTypeFromName): Renamed argument fname to filename to
1735         match classpath, merged documentation with classpath.
1736
1737 2003-05-02  Michael Koch  <konqueror@gmx.de>
1738
1739         * java/net/JarURLConnection.java
1740         (JarURLConnection): Class documentation merged with classpath.
1741         (getJarFileURL): Moved and documentation merged with classpath.
1742         (getEntryName): Likewise.
1743         (JarURLConnection): Documentation merged with classpath.
1744         (getJarEntry): Likewise.
1745         (getJarFile): Likewise.
1746         * java/net/PlainDatagramSocketImpl.java:
1747         Class documentation moved.
1748         * java/net/URLConnection.java
1749         (fileNameMap): Moved and documentation merged with classpath.
1750         (factory): Likewise.
1751         (defaultAllowUserInteraction): Likewis.
1752         (defaultUseCaches): Likewise.
1753         (allowUserInteraction): Likewise.
1754         (connected): Likewise.
1755         (url): Likewise.
1756         (connect): Documentation merged with classpath.
1757         (getURL): Likewise.
1758         (getContentLength): Likewise.
1759         (getContentType): Likewise.
1760         (getContentEncoding): Likewise.
1761         (getExpiration): Likewise.
1762         (getDate): Likewise.
1763         (getLastModified): Likewise.
1764         (getHeaderField): Likewise.
1765         (getContent): Likewise.
1766         (getPermission): Likewise.
1767         (getInputStream): Likewise.
1768         (getOutputStream): Likewise.
1769         (toString): Likewise.
1770         (getDoInput): Likewise.
1771         (getDoOutput): Likewise.
1772         (setAllowUserInteraction): Likewise.
1773         (getAllowUserInteraction): Likewise.
1774         (setDefaultAllowUserInteraction): Likewise.
1775         (getDefaultAllowUserInteraction): Likewise.
1776         (setUseCaches): Likewise.
1777         (getUseCaches): Likewise.
1778         (setIfModifiedSince): Likewise.
1779         (getIfModifiedSince): Likewise.
1780         (setDefaultRequestProperty): Likewise.
1781         (getDefaultRequestProperty): Likewise.
1782         (setContentHandlerFactory): Likewise.
1783         (setFileNameMap): Likewise.
1784
1785 2003-05-02  Michael Koch  <konqueror@gmx.de>
1786
1787         * java/net/InetAddress.java:
1788         Merged class documentation with classpath.
1789         * java/net/JarURLConnection.java:
1790         Explicitely import all used classes.
1791         * java/net/URL.java:
1792         Reformatting.
1793         * java/net/ServerSocket.java,
1794         java/net/Socket.java:
1795         New versions from classpath.
1796
1797 2003-05-02  Michael Koch  <konqueror@gmx.de>
1798
1799         * gnu/java/nio/FileChannelImpl.java
1800         (read): New implementation.
1801         (implRead): New methods.
1802         (write): New implementation, call other write insteal of read method.
1803         (implWrite): New methods.
1804         (map): Added comment.
1805         (transferFrom): Implemented.
1806         (transferTo): Implemented.
1807         (lock): Added checks to throw exceptions.
1808         (truncate): Added check to throw exception.
1809         * gnu/java/nio/natFileChannelImpl.cc
1810         (implRead): New method.
1811         (implWrite): New method.
1812         * java/nio/ByteBuffer.java
1813         (hashCode): Fixed comment.
1814         (get): Fixed exception documentation.
1815         (put): Fixed exception documentation.
1816         * java/nio/CharBuffer.java:
1817         Added comment for later optimizations.
1818
1819 2003-04-30  Tom Tromey  <tromey@redhat.com>
1820
1821         PR libgcj/10582:
1822         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1823         Removed.
1824         (type::compatible): Use _Jv_IsAssignableFrom.
1825         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1826         (_Jv_IsAssignableFrom): Work even when source or target class is
1827         not prepared.
1828
1829 2003-04-30  Michael Koch  <konqueror@gmx.de>
1830
1831         * java/text/BreakIterator.java
1832         (clone): New method.
1833
1834 2003-04-30  Michael Koch  <konqueror@gmx.de>
1835
1836         * java/text/CollationElementIterator.java,
1837         java/text/CollationKey.java,
1838         java/text/RuleBasedCollator.java:
1839         Merged copyright and documentation from classpath and
1840         rearranged some code. No code changes done.
1841
1842 2003-04-30  Michael Koch  <konqueror@gmx.de>
1843
1844         * java/util/regex/Matcher.java
1845         (pattern): New member variable.
1846         (appendReplacement): New method.
1847         (appendTail): New method.
1848         (end): New method.
1849         (find): New method.
1850         (group): New method.
1851         (replaceFirst): Added documentation.
1852         (replaceAll): Added documentation.
1853         (groupCount): New method.
1854         (lookingAt): New method.
1855         (matches): New method.
1856         (reset): New method.
1857         (start): New method.
1858         * java/util/regex/Pattern.java
1859         (serialVersionUID): New constant.
1860         (CANON_EQ): New constant.
1861         (CASE_INSENSITIVE): New constant.
1862         (COMMENTS): New constant.
1863         (DOTALL): New constant.
1864         (MULTILINE): New constant.
1865         (UNICODE_CASE): New constant.
1866         (UNIX_LINES): New constant.
1867         (regex): New member variable.
1868         (flags): New member variable.
1869         (Pattern): New method.
1870         (compile): Documentation added.
1871         (flags): New method.
1872         (matches): Documentation added.
1873         (matcher): Documentation added.
1874         (split): Documentation added.
1875         (pattern): New method.
1876
1877 2003-04-30  Michael Koch  <konqueror@gmx.de>
1878
1879         * gnu/java/security/Engine.java,
1880         gnu/java/security/OID.java,
1881         gnu/java/security/der/BitString.java,
1882         gnu/java/security/der/DER.java,
1883         gnu/java/security/der/DERReader.java,
1884         gnu/java/security/der/DERValue.java,
1885         gnu/java/security/der/DERWriter.java,
1886         gnu/java/security/provider/DSAKeyFactory.java,
1887         gnu/java/security/provider/X509CertificateFactory.java,
1888         gnu/java/security/x509/X500DistinguishedName.java,
1889         gnu/java/security/x509/X509CRL.java,
1890         gnu/java/security/x509/X509CRLEntry.java,
1891         gnu/java/security/x509/X509Certificate.java,
1892         java/security/cert/CRLSelector.java,
1893         java/security/cert/CertPathBuilder.java,
1894         java/security/cert/CertPathBuilderResult.java,
1895         java/security/cert/CertPathBuilderSpi.java,
1896         java/security/cert/CertPathParameters.java,
1897         java/security/cert/CertPathValidator.java,
1898         java/security/cert/CertPathValidatorResult.java,
1899         java/security/cert/CertPathValidatorSpi.java,
1900         java/security/cert/CertSelector.java,
1901         java/security/cert/CertStore.java,
1902         java/security/cert/CertStoreParameters.java,
1903         java/security/cert/CertStoreSpi.java,
1904         java/security/cert/CollectionCertStoreParameters.java,
1905         java/security/cert/LDAPCertStoreParameters.java,
1906         java/security/cert/PKIXBuilderParameters.java,
1907         java/security/cert/PKIXCertPathBuilderResult.java,
1908         java/security/cert/PKIXCertPathChecker.java,
1909         java/security/cert/PKIXCertPathValidatorResult.java,
1910         java/security/cert/PKIXParameters.java,
1911         java/security/cert/PolicyNode.java,
1912         java/security/cert/PolicyQualifierInfo.java,
1913         java/security/cert/TrustAnchor.java,
1914         javax/security/auth/x500/X500Principal.java:
1915         New files from classpath.
1916         * gnu/java/io/ASN1ParsingException.java,
1917         gnu/java/io/Base64InputStream.java,
1918         gnu/java/security/der/DEREncodingException.java,
1919         gnu/java/security/provider/DSAParameters.java,
1920         gnu/java/security/provider/DSASignature.java,
1921         gnu/java/security/provider/Gnu.java,
1922         gnu/java/security/provider/GnuDSAPrivateKey.java,
1923         gnu/java/security/provider/GnuDSAPublicKey.java,
1924         java/security/AlgorithmParameterGenerator.java,
1925         java/security/AlgorithmParameters.java,
1926         java/security/KeyFactory.java,
1927         java/security/KeyPairGenerator.java,
1928         java/security/KeyStore.java,
1929         java/security/MessageDigest.java,
1930         java/security/SecureClassLoader.java,
1931         java/security/SecureRandom.java,
1932         java/security/Security.java,
1933         java/security/Signature.java,
1934         java/security/cert/Certificate.java,
1935         java/security/cert/CertificateFactory.java,
1936         java/security/cert/CertificateFactorySpi.java,
1937         java/security/cert/X509CRL.java,
1938         java/security/cert/X509Certificate.java,
1939         java/security/spec/DSAPublicKeySpec.java:
1940         New versions from classpath.
1941         * gnu/java/security/provider/DERReader.java,
1942         gnu/java/security/provider/DERWriter.java,
1943         java/security/Engine.java: Removed.
1944         * Makefile.am
1945         (java_source_files, javax_source_files): Added new files.
1946         * Makefile.in: Regenerated.
1947
1948 2003-04-29  Michael Koch  <konqueror@gmx.de>
1949
1950         * javax/swing/JTable.java
1951         (AUTO_RESIZE_ALL_COLUMNS): New constant.
1952         (AUTO_RESIZE_LAST_COLUMN): New constant.
1953         (AUTO_RESIZE_NEXT_COLUMN): New constant.
1954         (AUTO_RESIZE_OFF): New constant.
1955         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1956         (JTable): New method.
1957         (columnAdded): New method.
1958         (columnMarginChanged): New method.
1959         (columnMoved): New method.
1960         (columnRemoved): New method.
1961         (columnSelectionChanged): New method.
1962         (editingCanceled): New method.
1963         (editingStopped): New method.
1964         (getColumnModel): New method.
1965         (getPreferredScrollableViewportSize): New method.
1966         (getScrollableBlockIncrement): New method.
1967         (getScrollableTracksViewportHeight): New method.
1968         (getScrollableTracksViewportWidth): New method.
1969         (getScrollableUnitIncrement): New method.
1970         (getSelectedRow): New method.
1971         (getSelectionModel): New method.
1972         (tableChanged): New method.
1973         (setModel): New method.
1974         (setSelectionMode): New method.
1975         (setSelectionModel): New method.
1976         (setShowGrid): New method.
1977         (valueChanged): New method.
1978         * javax/swing/text/DefaultEditorKit.java
1979         (backwardAction): New constant.
1980         (beepAction): New constant.
1981         (beginAction): New constant.
1982         (beginLineAction): New constant.
1983         (beginParagraphAction): New constant.
1984         (beginWordAction): New constant.
1985         (copyAction): New constant.
1986         (cutAction): New constant.
1987         (defaultKeyTypedAction): New constant.
1988         (deleteNextCharAction): New constant.
1989         (deletePrevCharAction): New constant.
1990         (downAction): New constant.
1991         (endAction): New constant.
1992         (endLineAction): New constant.
1993         (endOfLineStringProperty): New constant.
1994         (endParagraphAction): New constant.
1995         (endWordAction): New constant.
1996         (forwardAction): New constant.
1997         (insertBreakAction): New constant.
1998         (insertContentAction): New constant.
1999         (insertTabAction): New constant.
2000         (nextWordAction): New constant.
2001         (pageDownAction): New constant.
2002         (pageUpAction): New constant.
2003         (pasteAction): New constant.
2004         (previousWordAction): New constant.
2005         (readOnlyAction): New constant.
2006         (selectAllAction): New constant.
2007         (selectionBackwardAction): New constant.
2008         (selectionBeginAction): New constant.
2009         (selectionBeginLineAction): New constant.
2010         (selectionBeginParagraphAction): New constant.
2011         (selectionBeginWordAction): New constant.
2012         (selectionDownAction): New constant.
2013         (selectionEndAction): New constant.
2014         (selectionEndLineAction): New constant.
2015         (selectionEndParagraphAction): New constant.
2016         (selectionEndWordAction): New constant.
2017         (selectionForwardAction): New constant.
2018         (selectionNextWordAction): New constant.
2019         (selectionPreviousWordAction): New constant.
2020         (selectionUpAction): New constant.
2021         (selectLineAction): New constant.
2022         (selectParagraphAction): New constant.
2023         (selectWordAction): New constant.
2024         (upAction): New constant.
2025         (writableAction): New constant.
2026
2027 2003-04-29  Michael Koch  <konqueror@gmx.de>
2028
2029         * java/util/PropertyPermission.java:
2030         New version from classpath
2031         * java/util/ResourceBundle.java:
2032         Partly merged from classpath
2033         (getObject): Reformated.
2034         (tryBundle): Set foundBundle = null if no bundle found.
2035
2036 2003-04-29  Michael Koch  <konqueror@gmx.de>
2037
2038         * javax/swing/AbstractListModel.java,
2039         javax/swing/DefaultBoundedRangeModel.java,
2040         javax/swing/DefaultSingleSelectionModel.java:
2041         New Versions from classpath.
2042
2043 2003-04-29  Michael Koch  <konqueror@gmx.de>
2044
2045         * java/awt/Window.java
2046         (show): Call super.show() instead of setVisible() to avoid endless
2047         loop.
2048         (hide): Call super.hide() instead of setVisible() to avoid endless
2049         loop.
2050
2051 2003-04-29  Michael Koch  <konqueror@gmx.de>
2052
2053         * java/util/zip/Deflater.java,
2054         java/util/zip/DeflaterOutputStream.java:
2055         Partly merged with classpath.
2056
2057 2003-04-27  Tom Tromey  <tromey@redhat.com>
2058
2059         * java/lang/natString.cc (_Jv_AllocString): Initialize
2060         cachedHashCode.
2061         (init): Likewise.
2062         (_Jv_NewStringUtf8Const): Likewise.
2063
2064 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
2065
2066         * include/jvm.h: (_Jv_GetNbArgs) added
2067         (_Jv_GetSafeArg) added
2068         (_Jv_SetArgs) added
2069         * prims.cc: (_Jv_GetNbArgs) implemented
2070         (_Jv_GetSafeArg) implemented
2071         (_Jv_SetArgs) implemented
2072         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2073         setting _Jv_argc and _Jv_argv
2074         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2075         instead of _Jv_argv
2076         * java/lang/natRuntime.cc: (insertSystemProperties) use
2077         _Jv_GetSafeArg() instead of _Jv_argv
2078
2079 2003-04-23  Tom Tromey  <tromey@redhat.com>
2080
2081         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2082         required by this object.  Search superclasses to find required
2083         alignment.
2084         (get_alignment_from_class): Use alignment of type as it appears
2085         in a struct.
2086         (ALIGNOF): New macro.
2087         (struct aligner): New helper structure.
2088
2089 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
2090
2091         * java/awt/Container.java (addImpl): Enable paint events if adding
2092         a lightweight to a heavyweight.
2093         (addNotify): Ensure that peer is created before
2094         addNotifyContainerChildren.
2095         (addNotifyContainerChildren): Enable paint events if a heavyweight
2096         container contains a lightweight.
2097
2098 2003-04-20  Tom Tromey  <tromey@redhat.com>
2099
2100         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2101         java/io/DataInput.java, java/io/DataOutput.java: Imports from
2102         Classpath.
2103
2104 2003-04-19  Tom Tromey  <tromey@redhat.com>
2105
2106         * java/sql/Date.java, java/sql/DriverManager.java,
2107         java/sql/Time.java, java/sql/Timestamp.java: New versions from
2108         Classpath.
2109
2110         * Makefile.in: Rebuilt.
2111         * Makefile.am (ordinary_java_source_files): Added new files.
2112         * java/security/AlgorithmParameterGenerator.java,
2113         java/security/AlgorithmParameters.java, java/security/Engine.java,
2114         java/security/Identity.java, java/security/IdentityScope.java,
2115         java/security/KeyFactory.java,
2116         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2117         java/security/MessageDigest.java, java/security/Policy.java,
2118         java/security/ProtectionDomain.java,
2119         java/security/SecureRandom.java, java/security/Security.java,
2120         java/security/Signature.java, java/security/SignatureSpi.java,
2121         java/security/SignedObject.java, java/security/Signer.java,
2122         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2123         java/security/spec/PSSParameterSpec.java,
2124         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2125         java/security/spec/RSAOtherPrimeInfo.java: New versions from
2126         Classpath.
2127
2128 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2129
2130         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2131         (dispose): Null metrics.
2132         * gnu/awt/xlib/XToolkit.java (sync): Implement.
2133         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2134         finalize.
2135         (finalize): Call dispose.
2136         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2137         (gcCachedCount): New field.
2138         (finalize): New method.
2139         (putGCInCache): New method.
2140         (getGCFromCache): New method.
2141         * gnu/gcj/xlib/GC.java (GC): Make protected.
2142         (clone): Get new GC from cache if possible.
2143         (create): New static method.
2144         (dispose): Save old GC in cache.
2145         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2146         deleting.
2147         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2148         is null.
2149         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2150         * java/awt/Container.java (visitChild): Dispose gfx2 when
2151         finished.
2152
2153 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
2154
2155         * java/math/BigInteger.java (probablePrime): New.
2156         * java/math/BigDecimal.java (unscaledValue): New.
2157
2158 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
2159
2160         * java/io/File.java (getAbsolutePath): On Windows, take care
2161         of paths like "C:", "G:foo\bar", etc.
2162         (getName): Make it work correctly on Windows.
2163         (getParent): Make it work correctly on Windows. For UNIX,
2164         fix bug that causes "/" to be returned as the parent of "/",
2165         instead of null as returned by Sun's JRE.
2166
2167         * java/io/natFileWin32.cc: Change copyright owner to FSF.
2168
2169 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2170
2171         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2172         inner class.
2173         (CACHE_SIZE_PER_DISPLAY): New field
2174         (fontMetricsCache): New field
2175         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2176         loading ISO10646-1 fonts.
2177
2178 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
2179
2180         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2181         characters.
2182         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2183         characters.
2184
2185 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
2186
2187         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2188         floating point.
2189
2190 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
2191
2192         * configure.host (*-linux*): Don't set slow_pthread_self if primary
2193         installed libpthread is either linuxthreads with floating stacks or
2194         NPTL.
2195
2196 2003-04-14  Tom Tromey  <tromey@redhat.com>
2197
2198         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2199         of alignment.
2200
2201 2003-04-10  Tom Tromey  <tromey@redhat.com>
2202
2203         * verify.cc (pop64): Removed.
2204         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
2205         exception if top-of-stack is narrow.
2206         (initialize_stack): Check to ensure that <init> is not static and
2207         <clinit> is.
2208
2209 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
2210
2211         * java/io/ObjectStreamException
2212         * java/io/FileFilter
2213         * java/io/FilenameFilter
2214         * java/io/ObjectInput
2215         * java/io/ObjectOutput
2216         * java/io/ObjectStreamConstants
2217         Minor doc fixes, format fixes, spelling corrections, etc.
2218         * java/io/DataInput
2219         Corrected code samples in Javadocs to match reality
2220         * java/io/DataOutput
2221         * java/io/ObjectInputValidation
2222         Major documentation fixes - all Javadocs re-written or updated
2223
2224 2003-04-06  Michael Koch  <konqueror@gmx.de>
2225
2226         * java/net/URLConnection.java:
2227         Import classes directly.
2228         (URLConnection): Merged class documentation with classpath.
2229         (url): Moved, documentation from classpath added.
2230         (doInput): Moved, documentation from classpath added.
2231         (doOutput): Moved, documentation from classpath added.
2232         (allowUserInteraction): Moved.
2233         (useCaches): Moved, documentation from classpath added.
2234         (ifModifiedSince): Moved, documentation from classpath added.
2235         (connected): Moved, documentation from classpath added.
2236
2237 2003-04-06  Michael Koch  <konqueror@gmx.de>
2238
2239         * java/io/FileInputStream.java
2240         (skip): Renamed some variables to match classpath, added
2241         checks from classpath.
2242
2243 2003-03-31  Michael Koch  <konqueror@gmx.de>
2244
2245         * javax/swing/AbstractAction.java
2246         (AbstractAction): Reformatted.
2247         (serialVersionUID): New private member variable.
2248         * javax/swing/plaf/BorderUIResource.java
2249         (serialVersionUID): New private member variable.
2250         * javax/swing/plaf/basic/BasicLookAndFeel.java
2251         (serialVersionUID): New private member variable.
2252
2253 2003-03-31  Michael Koch  <konqueror@gmx.de>
2254
2255         * java/sql/Date.java
2256         (valueOf): Deprecated, reformatted.
2257         (toString): Deprecated, reformatted.
2258         * java/sql/Time.java
2259         (valueOf): Deprecated, reformatted.
2260         (toString): Deprecated, reformatted.
2261
2262 2003-03-31  Michael Koch  <konqueror@gmx.de>
2263
2264         * java/rmi/dgc/VMID.java
2265         (isUnique): Deprecated.
2266
2267 2003-03-31  Michael Koch  <konqueror@gmx.de>
2268
2269         * java/io/File.java
2270         (separator): Merged documentation from classpath.
2271         (separatorChar): Merged documentation from classpath.
2272         (pathSeparator): Merged documentation from classpath.
2273         (pathSeparatorChar): Merged documentation from classpath.
2274         (path): Merged documentation from classpath.
2275         (canRead): Merged documentation from classpath.
2276         (canWrite): Merged documentation from classpath.
2277         (createNewFile): Merged documentation from classpath.
2278         (delete): Merged documentation from classpath.
2279         (equals): Merged documentation from classpath.
2280         (exists): Merged documentation from classpath.
2281         (File): Renamed p to name to match classpath, merged documentation
2282         from classpath.
2283         (getAbsolutePath): Merged documentation from classpath.
2284         (getCanonicalPath): Merged documentation from classpath.
2285         (getCanonicalFile): Merged documentation from classpath.
2286         (getName): Merged documentation from classpath.
2287         (getParent): Merged documentation from classpath.
2288         (getParentFile): Merged documentation from classpath.
2289         (getPath): Merged documentation from classpath.
2290         (hashCode): Merged documentation from classpath.
2291         (isAbsolute): Merged documentation from classpath.
2292         (isDirectory): Merged documentation from classpath.
2293         (isFile): Merged documentation from classpath.
2294         (isHidden): Merged documentation from classpath.
2295         (lastModified): Merged documentation from classpath.
2296         (length): Merged documentation from classpath.
2297         (list): Merged documentation from classpath.
2298         (listFiles): Merged documentation from classpath.
2299         (toString): Merged documentation from classpath.
2300         (toURL): Merged documentation from classpath.
2301         (mkdir): Merged documentation from classpath.
2302         (mkdirs): Merged documentation from classpath.
2303         (createTempFile): Merged documentation from classpath.
2304         (setReadOnly): Merged documentation from classpath.
2305         (listRoots): Merged documentation from classpath.
2306         (compareTo): Merged documentation from classpath.
2307         (renameTo): Merged documentation from classpath.
2308         (setLastModified): Merged documentation from classpath.
2309         * java/io/PrintStream.java
2310         (auto_flush): Merged documentation from classpath.
2311         (PrintStream): Merged documentation from classpath.
2312         (checkError): Merged documentation from classpath.
2313         (setError): Merged documentation from classpath.
2314         (close): Merged documentation from classpath.
2315         (flush): Merged documentation from classpath.
2316         (print): Merged documentation from classpath.
2317         (println):  Merged documentation from classpath.
2318         (write): Renamed count to len to match classpath,
2319         merged documentation from classpath.
2320         * java/io/RandomAccessFile.java
2321         (readShort): Merged documentation from classpath.
2322         (readUnsignedByte): Merged documentation from classpath.
2323         (readUnsignedShort): Merged documentation from classpath.
2324         (readUTF): Merged documentation from classpath.
2325         (seek): Reformatted, merged documentation from classpath.
2326         (skipBytes): Renamed some variables to match classpath, reformatted,
2327         merged documentation from classpath.
2328         (write): Merged documentation from classpath.
2329         (writeBoolean): Merged documentation from classpath.
2330         (writeByte): Merged documentation from classpath.
2331         (writeShort): Merged documentation from classpath.
2332         (writeChar): Merged documentation from classpath.
2333         (writeInt): Merged documentation from classpath.
2334         (writeLong): Merged documentation from classpath.
2335         (writeFloat): Merged documentation from classpath.
2336         (writeDouble): Merged documentation from classpath.
2337         (writeBytes): Merged documentation from classpath.
2338         (writeChars): Merged documentation from classpath.
2339         (writeUTF): Reformatted.
2340         (getChannel): Reformatted.
2341
2342 2003-03-31  Michael Koch  <konqueror@gmx.de>
2343
2344         * java/awt/font/TextAttribute.java
2345         (readResolve): Throws java.io.InvalidObjectException.
2346
2347 2003-03-31  Michael Koch  <konqueror@gmx.de>
2348
2349         * java/rmi/server/LoaderHandler.java
2350         (loadClass): Deprecated.
2351         (getSecurityContext): Deprecated.
2352         * java/rmi/server/LogStream.java
2353         (getDefaultStream): Deprecated.
2354         (setDefaultStream): Deprecated.
2355         (getOutputStream): Deprecated.
2356         (setOutputStream): Deprecated.
2357         (write): Deprecated.
2358         (toString): Deprecated.
2359         (parseLevel): Deprecated.
2360         * java/rmi/server/Operation.java
2361         (Operation): Deprecated.
2362         (getOperation): Deprecated.
2363         (toString): Deprecated.
2364         * java/rmi/server/RemoteCall.java
2365         (getOutputStream): Deprecated.
2366         (releaseOutputStream): Deprecated.
2367         (getInputStream): Deprecated.
2368         (releaseInputStream): Deprecated.
2369         (getResultStream): Deprecated.
2370         (executeCall): Deprecated.
2371         (done): Deprecated.
2372         * java/rmi/server/RemoteRef.java
2373         (invoke): Deprecated.
2374         (newCall): Deprecated.
2375         (done): Deprecated.
2376         * java/rmi/server/RemoteStub.java
2377         (setRef): Deprecated.
2378         * java/rmi/server/Skeleton.java:
2379         No need to import java.lang.Exception explicitly.
2380         (dispatch): Deprecated.
2381         (getOperations): Deprecated.
2382
2383 2003-03-31  Michael Koch  <konqueror@gmx.de>
2384
2385         * java/rmi/dgc/VMID.java,
2386         java/rmi/registry/RegistryHandler.java,
2387         java/rmi/server/LogStream.java,
2388         java/rmi/server/Operation.java,
2389         java/rmi/server/RemoteCall.java,
2390         java/rmi/server/RemoteRef.java,
2391         java/rmi/server/RemoteStub.java:
2392         Reformatted.
2393
2394 2003-03-31  Michael Koch  <konqueror@gmx.de>
2395
2396         * javax/swing/AbstractCellEditor.java,
2397         javax/swing/AbstractListModel.java,
2398         javax/swing/ActionMap.java,
2399         javax/swing/BorderFactory.java,
2400         javax/swing/ButtonGroup.java,
2401         javax/swing/DefaultBoundedRangeModel.java,
2402         javax/swing/DefaultButtonModel.java,
2403         javax/swing/DefaultCellEditor.java,
2404         javax/swing/DefaultComboBoxModel.java,
2405         javax/swing/DefaultDesktopManager.java,
2406         javax/swing/DefaultListCellRenderer.java,
2407         javax/swing/DefaultSingleSelectionModel.java,
2408         javax/swing/InputMap.java,
2409         javax/swing/JComponent.java,
2410         javax/swing/JMenu.java,
2411         javax/swing/JSlider.java,
2412         javax/swing/KeyStroke.java,
2413         javax/swing/OverlayLayout.java,
2414         javax/swing/ScrollPaneLayout.java,
2415         javax/swing/SizeRequirements.java,
2416         javax/swing/UIManager.java,
2417         javax/swing/ViewportLayout.java,
2418         javax/swing/border/AbstractBorder.java,
2419         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2420         javax/swing/event/EventListenerList.java,
2421         javax/swing/table/AbstractTableModel.java,
2422         javax/swing/table/DefaultTableCellRenderer.java,
2423         javax/swing/table/DefaultTableColumnModel.java,
2424         javax/swing/table/DefaultTableModel.java,
2425         javax/swing/table/TableColumn.java,
2426         javax/swing/text/StyledEditorKit.java,
2427         javax/swing/tree/DefaultMutableTreeNode.java,
2428         javax/swing/tree/DefaultTreeModel.java,
2429         javax/swing/tree/DefaultTreeSelectionModel.java,
2430         javax/swing/tree/TreePath.java,
2431         javax/swing/undo/AbstractUndoableEdit.java,
2432         javax/swing/undo/StateEdit.java,
2433         javax/swing/undo/StateEditable.java,
2434         javax/swing/undo/UndoableEditSupport.java:
2435         Merges from classpath.
2436
2437 2003-03-30  Tom Tromey  <tromey@redhat.com>
2438
2439         * java/lang/String.java (data, boffset, count): Documented.
2440         (String(byte[],String)): Reformatted.
2441         (String(byte[])): Likewise.
2442         (lastIndexOf(int)): Likewise.
2443         (lastIndexOf(String)): Likewise.
2444         (substring(int)): Renamed argument to match Classpath.
2445         (String(StringBuffer)): Don't share buffer if it is nearly empty.
2446
2447         * java/lang/String.java: Miscellaneous minor formatting changes
2448         to match Classpath more closely.
2449
2450 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
2451             Tom Tromey  <tromey@redhat.com>
2452
2453         * java/lang/natString.cc (hashCode): Use cachedHashCode.
2454         (init()): Removed.
2455         (charAt): Put index in exception.
2456         (contentEquals): New method.
2457         Include StringBuffer.h.
2458         * java/lang/String.java (cachedHashCode): New field.
2459         (String()): Follow classpath implementation.
2460         (init()): Removed.
2461         (contentEquals): Declare.
2462         (subSequence): Don't declare IndexOutIfBoundsException in throws
2463         clause.
2464         (matches, replaceFirst, replaceAll, split): New methods from
2465         Classpath.
2466
2467 2003-03-29  Tom Tromey  <tromey@redhat.com>
2468
2469         * java/lang/String.java: Reordered to follow Classpath; merged in
2470         javadoc.
2471
2472         * java/text/MessageFormat.java: Removed some whitespace.
2473
2474         * Makefile.in: Rebuilt.
2475         * Makefile.am (awt_java_source_files): Added new files.
2476         * gnu/javax/rmi/PortableServer.java,
2477         gnu/javax/rmi/CORBA/DelegateFactory.java,
2478         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2479         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2480         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2481         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2482         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2483         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2484         javax/rmi/PortableRemoteObject.java,
2485         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2486         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2487         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2488         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2489         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2490         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2491
2492         * java/lang/natClass.cc (newInstance): Put method name in
2493         exception.
2494         (getConstructor): Likewise.
2495         (getDeclaredConstructor): Likewise.
2496         (getPrivateMethod): Likewise.
2497
2498 2003-03-28  Tom Tromey  <tromey@redhat.com>
2499
2500         * java/lang/reflect/Proxy.java: New version from Classpath.
2501         * java/lang/Package.java: New version from Classpath.
2502
2503 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
2504
2505         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2506         * configure: Regenerate.
2507
2508 2003-03-28  Michael Koch  <konqueror@gmx.de>
2509
2510         * java/io/File.java:
2511         Import needed classes instead of whole packages, merged class
2512         documentation with classpath, moved constants and variables to top of
2513         class.
2514         * java/io/PrintStream.java:
2515         Merged class documentation with classpath, moved constants and
2516         variables to top of class.
2517         * java/io/RandomAccessFile.java
2518         (RandomAccessFile): Merged with classpath.
2519         (read): Merged with classpath).
2520         (read*): Reformatted.
2521
2522 2003-03-28  Michael Koch  <konqueror@gmx.de>
2523
2524         * java/io/FileDescriptor.java
2525         (finalize): Throws Throwable, not IOException.
2526         * java/io/ObjectOutputStream.java
2527         (PutField.put): Doesnt throws anything.
2528
2529 2003­03-28  Michael Koch  <konqueror@gmx.de>
2530
2531         * java/io/FileOutputStream.java:
2532         Merged class documentation and authors with classpath.
2533         (FileOutputStream): Partly merged with classpath.
2534         (write): Merged with classpath.
2535         (getChannel): Make it synchronized instead of explicit block in this
2536         method.
2537         * java/io/RandomAccessFile.java:
2538         Merged class documentation and authors with classpath.
2539
2540 2003-03-26  Tom Tromey  <tromey@redhat.com>
2541
2542         * java/lang/natRuntime.cc (insertSystemProperties): Set
2543         gnu.classpath.home.url.
2544         * Makefile.in: Rebuilt.
2545         * Makefile.am: Define LIBDIR.
2546
2547 2003-03-25  Michael Koch  <konqueror@gmx.de>
2548
2549         * java/io/FileInputStream.java
2550         (read): Renamed b to buf and off to offset.
2551         * java/io/FileOutputStream.java
2552         (ch): Documentation added.
2553         (FileOutputStream): Documentation added.
2554         (getFD): Documentation added.
2555         (write): Documentation added.
2556         (close): Documentation added.
2557         (getChannel): Documentation added.
2558
2559 2003-03-24  Michael Koch  <konqueror@gmx.de>
2560
2561         * java/io/DataOutputStream.java
2562         (write): Merged from classpath.
2563         * java/io/File.java:
2564         Merged copyrigth with classpath.
2565         * java/io/FileInputStream.java
2566         (getChannel): Made it synchronized instead of using a synchronized
2567         block.
2568         * java/io/FileOutputStream.java: Reformatted.
2569         * java/io/InputStreamReader.java
2570         (InputStreamReader): Renamed enc to encoding_name.
2571         (close): Merged documentation from classpath.
2572         (getEncoding): Merged documentation from classpath.
2573         (ready): Merged documentation from classpath.
2574         (read): Merged documentation from classpath.
2575         * java/io/LineNumberReader.java
2576         (lineNumber): Made it private.
2577         (LineNumberReader): Use Constant instead of a direct value.
2578         * java/io/OutputStreamWriter.java
2579         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2580         documentation from classpath.
2581         (close): Merged documentation from classpath.
2582         (flush): Merged documentation from classpath.
2583         (write): Merged documentation from classpath.
2584         * java/io/PrintStream.java: Reformatted.
2585
2586 2003-03-24  Michael Koch  <konqueror@gmx.de>
2587
2588         * javax/swing/text/ComponentView.java
2589         (getComponent): Must be final.
2590         * javax/swing/tree/DefaultTreeCellRenderer.java:
2591         Reformatted.
2592         * javax/swing/undo/StateEditable.java:
2593         Reformatted.
2594
2595 2003-03-24  Michael Koch  <konqueror@gmx.de>
2596
2597         * java/rmi/activation/ActivationInstantiator.java:
2598         Reformatted.
2599         * java/rmi/activation/Activator.java:
2600         Reformatted.
2601         * java/rmi/registry/RegistryHandler.java:
2602         Remerged from classpath.
2603
2604 2003-03-24  Michael Koch  <konqueror@gmx.de>
2605
2606         * java/util/Date.java:
2607         Fixed documentation starting tag to make javadoc happy.
2608         * java/util/regex/Pattern.java
2609         (Pattern): Implements Serializable.
2610         * java/util/PatternSyntaxException.java
2611         (serialVersionUID): New member variable.
2612
2613 2003-03-24  Michael Koch  <koqnueror@gmx.de>
2614
2615         * java/awt/ContainerOrderFocusTraversalPolicy.java
2616         (getFirstComponent): Implemented.
2617         (getLastComponent): Implemented.
2618         (getDefaultComponent): Implemented.
2619         (setImplicitDownCycleTraversal): Fixed implementation.
2620         * java/awt/Robot.java
2621         (Robot): Added documentation.
2622         * java/awt/Toolkit.java
2623         (getFontList): Deprecated.
2624         (getFontMetrics): Deprecated.
2625         (getPrintJob): Added documentation.
2626         (getSystemSelection): Added documentation.
2627         (getLockingKeyState): Added documentation.
2628         (setLockingKeyState): Added documentation.
2629         (createCustomCursor): Added documentation.
2630         (getBestCursorSize): Added documentation.
2631         (getMaximumCursorColors): Added documentation.
2632         (isFrameStateSupported): Added documentation.
2633
2634 2003-03-24  Michael Koch  <konqueror@gmx.de>
2635
2636         * java/io/RandomAccessFile.java:
2637         More little merges with classpath. No code changes.
2638
2639 2003-03-24  Michael Koch  <konqueror@gmx.de>
2640
2641         * java/net/natInetAddressNoNet.cc:
2642         Include stddef.h.
2643         * java/net/natPlainDatagramSocketImplNoNet.cc:
2644         Fixed inlcude of java/net/DatagramPacket.h.
2645         * java/net/natPlainSocketImplNoNet.cc:
2646         Include some missing classes.
2647
2648 2003-03-24  Michael Koch  <konqueror@gmx.de>
2649
2650         * java/awt/dnd/DropTarget.java
2651         (DropTargetAutoScroller): According to the online documentation, this
2652         is protected, but in reality it is public.
2653         * java/awt/dnd/DropTargetContext.java
2654         (TransferableProxy): According to the online documentation, this
2655         is protected, but in reality it is public.
2656
2657 2003-03-24  Michael Koch  <konqueror@gmx.de>
2658
2659         * java/io/DataInputStream.java
2660         (): Wrapped documentation line.
2661         (): Fixed @return tag.
2662         * java/io/DataOutputStream.java
2663         (written): Moved to top of class.
2664         (all methods): Merged documentation from classpath.
2665         * java/io/File.java:
2666         Merged copyright year with classpath.
2667         * java/io/FileInputStream.java
2668         (all methods): Merged documentation from classpath.
2669         * java/io/LineNumberReader.java
2670         (getLineNumber): Fixed @return tag.
2671         * java/io/ObjectInputStream.java.
2672         Reformatted.
2673         * java/io/ObjectOutputStream.java:
2674         Reformatted, fixed some @see tags.
2675         * java/io/OutputStreamWriter.java:
2676         Deleted empty line.
2677         * java/io/Writer.java:
2678         Reformatted.
2679
2680 2003-03-24  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/awt/Frame.java
2683         (DEFAULT_CURSOR): Fixed @deprecated tag.
2684         (setCursor): Fixed @deprecated tag.
2685
2686 2003-03-24  Michael Koch  <konqueror@gmx.de>
2687
2688         * java/beans/beancontext/BeanContextEvent.java:
2689         Reformated.
2690
2691 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
2692
2693         * java/lang/natStringBuffer.cc (regionMatches): New function.
2694         * java/lang/String.java (count): Now package-private.
2695         * java/lang/StringBuffer.java: Merged with Classpath.
2696
2697 2003-03-23  Michael Koch  <konqueror@gmx.de>
2698
2699         * java/io/BufferedOutputStream.java:
2700         Reformated.
2701         * java/io/BufferedReader.java:
2702         Reformated.
2703         * java/io/ByteArrayOutputStream.java
2704         (size): Fixed @see tag.
2705         * java/io/CharArrayWriter.java
2706         (size): Fixed @see tag.
2707         * java/io/DataInput.java:
2708         Reformated.
2709         * java/io/DataOutput.java:
2710         Reformated.
2711         * java/io/DataOutputStream.java:
2712         Merged copyright years with classpath.
2713         * java/io/Externalizable.java:
2714         Reformated.
2715         * java/io/FileFilter.java:
2716         Reformated.
2717         * java/io/FileInputStream.java:
2718         Merged copyright years with classpath.
2719         * java/io/FileOutputStream.java:
2720         Merged copyright years with classpath.
2721         * java/io/FilePermission.java
2722         (FilePermission): Replaced @XXX with FIXME:.
2723         * java/io/FileWriter.java:
2724         Reformated.
2725         * java/io/FilenameFilter.java:
2726         Reformated.
2727         * java/io/FilterInputStream.java:
2728         Reformated.
2729         * java/io/FilterOutputStream.java:
2730         Reformated.
2731         * java/io/FilterReader.java:
2732         Reformated.
2733         * java/io/FilterWriter.java:
2734         Reformated.
2735         * java/io/LineNumberInputStream.java
2736         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2737         happy.
2738         (getLineNumber): Fixed @return tag.
2739         * java/io/ObjectInput.java:
2740         Reformated.
2741         * java/io/ObjectOutput.java:
2742         Reformated.
2743         * java/io/ObjectStreamClass.java:
2744         Reformated.
2745         * java/io/PrintStream.java:
2746         Merged copyright years with classpath.
2747         * java/io/PushbackReader.java
2748         (PushbackReader): Replaced @code with @param.
2749         * java/io/SerializablePermission.java:
2750         Reformated.
2751         * java/io/StreamTokenizer.java
2752         (resetSyntax): Fixed @see tag.
2753
2754 2003-03-22  Richard Henderson  <rth@redhat.com>
2755
2756         * sysdep/ia64/locks.h: Include ia64intrin.h.
2757         (compare_and_swap): Use __sync_bool_compare_and_swap.
2758         (compare_and_swap_release): Expose ar.ccv assignment.
2759
2760 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
2761
2762         * include/posix.h: Add suffix for darwin dynamic libraries.
2763
2764 2003-03-21  Michael Koch  <konqueror@gmx.de>
2765
2766         * javax/swing/Action.java
2767         (ACCELERATOR_KEY): New constant.
2768         (ACTION_COMMAND_KEY): Likewise.
2769         (MNEMONIC_KEY): Likewise.
2770         * javax/swing/UnsupportedLookAndFeelException.java
2771         (UnsupportedLookAndFeelException): Must be public.
2772         * javax/swing/WindowConstants.java
2773         (EXIT_ON_CLOSE): New constant.
2774         * javax/swing/text/BadLocationException.java
2775         (offset): New member variable.
2776         (BadLocationException): New implementation, documentation added.
2777         (offsetRequested): New method.
2778         * javax/swing/text/Caret.java:
2779         Reformated.
2780         * javax/swing/text/Document.java:
2781         Reformated.
2782
2783 2003-03-21  Michael Koch  <konqueror@gmx.de>
2784
2785         * java/rmi/activation/Activatable.java
2786         (serialVersionUID): New member variable.
2787         * java/rmi/activation/ActivationGroup.java
2788         (serialVersionUID): New member variable.
2789         * java/rmi/activation/ActivationGroupDesc.java
2790         (serialVersionUID): New member variable.
2791         * java/rmi/registry/Registry.java:
2792         Reformated.
2793         (Registry): Deprecated.
2794         * java/rmi/server/LoaderHandler.java
2795         Reformated.
2796         (LoaderHandler): Deprecated.
2797         * java/rmi/server/LogStream.java
2798         Reformated.
2799         (LogStream): Deprecated.
2800         * java/rmi/server/Operation.java
2801         (Operation): Deprecated.
2802         * java/rmi/server/RMIFailureHandler.java:
2803         Reformated.
2804         * java/rmi/server/RMISocketFactory.java:
2805         Reformated.
2806         * java/rmi/server/RemoteCall.java
2807         (RemoteCall): Deprecated.
2808         * java/rmi/server/RemoteStub.java:
2809         Reformated.
2810         * java/rmi/server/Skeleton.java
2811         Reformated.
2812         (Skeleton): Deprecated.
2813
2814 2003-03-21  Michael Koch  <konqueror@gmx.de>
2815
2816         * java/io/LineNumberReader.java
2817         (LineNumberReader): Merged documentation with classpath.
2818         (getLineNumber): Likewise.
2819         (setLineNumber): Likewise.
2820         (mark): Likewise.
2821         (reset): Likewise.
2822         (read): Likewise.
2823         (readLine): Likewise.
2824         (skip): Likewise.
2825
2826 2003-03-21  Michael Koch  <konqueror@gmx.de>
2827
2828         * java/rmi/RMISecurityManager.java
2829         (checkAccept): Removed.
2830         (checkAccess): Likewise.
2831         (checkAccess): Likewise.
2832         (checkAwtEventQueueAccess): Likewise.
2833         (checkConnect): Likewise.
2834         (checkCreateClassLoader): Likewise.
2835         (checkDelete): Likewise.
2836         (checkExec): Likewise.
2837         (checkExit): Likewise.
2838         (checkLink): Likewise.
2839         (checkListen): Likewise.
2840         (checkMemberAccess): Likewise.
2841         (checkMulticast): Likewise.
2842         (checkPackageAccess): Likewise.
2843         (checkPackageDefinition): Likewise.
2844         (checkPermission): Likewise.
2845         (checkPrintJobAccess): Likewise.
2846         (checkPropertiesAccess): Likewise.
2847         (checkPropertyAccess): Likewise.
2848         (checkRead): Likewise.
2849         (checkSecurityAccess): Likewise.
2850         (checkSetFactory): Likewise.
2851         (checkSystemClipboardAccess): Likewise.
2852         (checkTopLevelWindow): Likewise.
2853         (checkWrite): Likewise.
2854
2855 2003-03-20  Michael Koch  <konqueror@gmx.de>
2856
2857         * gnu/java/nio/FileChannelImpl.java
2858         (address): Removed.
2859         (map_address): New member variable.
2860         (length): Make it package private.
2861         (fd): Make it package private.
2862         (buf): Make it package private.
2863         (file_obj): Make it package private.
2864         (FileChannelImpl): New constructor.
2865         (nio_mmap_file): Use RawData instead of long.
2866         (nio_munmap_file): Use RawData instead of long.
2867         (nio_msync): Use RawData instead of long.
2868         (implCloseChannel): New implementation using map_address.
2869         (read): Reformated.
2870         (map): Implemented.
2871         (create_direct_mapped_buffer): Implemented, use RawData, throws
2872         IOException.
2873         (force): Use map_address instead of address.
2874         * gnu/java/nio/MappedByteFileBuffer.java
2875         (address): Removed.
2876         (map_address): New member variable.
2877         (MappedByteFileBuffer): Use map_address instead of address, reformated.
2878         (several methods): Use map_address instead of address, replaced long
2879         with RawData where appropriate.
2880         * gnu/java/nio/natFileChannelImpl.cc
2881         (nio_mmap_file): Replaced long with RawData.
2882         (nio_munmap_file): Replaced long with RawData.
2883         (nio_msync): Replaced long with RawData.
2884         * gnu/java/nio/natMappedByteFileBuffer.cc
2885         (several methods): Replaced long with RawData where appropriate.
2886
2887 2003-03-20  Michael Koch  <konqueror@gmx.de>
2888
2889         * java/net/InetAddress.java,
2890         java/net/JarURLConnection.java,
2891         java/net/PlainDatagramSocketImpl.java,
2892         java/net/PlainSocketImpl.java,
2893         java/net/URLConnection.java:
2894         Merged copyright statements with classpath for easier merging.
2895
2896 2003-03-20  Michael Koch  <konqueror@gmx.de>
2897
2898         * java/io/FileInputStream.java
2899         (getChannel): New implementation.
2900         * java/io/FileOutputStream.java
2901         (ch): New member variable.
2902         (getChannel): Implemented.
2903         * java/io/RandomAccessFile.java
2904         (RandomAccessFile): Throws FileNotFoundException instead of
2905         IOException.
2906         (getChannel): New method.
2907         (ch): New member variable.
2908
2909 2003-03-20  Michael Koch  <konqueror@gmx.de>
2910
2911         * java/io/DataOutputStream.java,
2912         java/io/File.java,
2913         java/io/FileInputStream.java,
2914         java/io/FileOutputStream.java,
2915         java/io/InputStreamReader.java,
2916         java/io/LineNumberReader.java,
2917         java/io/OutputStreamWriter.java,
2918         java/io/PrintStream.java,
2919         java/io/RandomAccessFile.java:
2920         Merged copyright statements with classpath for easier merging.
2921
2922 2003-03-19  Michael Koch  <konqueror@gmx.de>
2923
2924         * java/lang/Process.java:
2925         Merged from classpath.
2926
2927 2003-03-19  Michael Koch  <konqueror@gmx.de>
2928
2929         * java/io/FileOutputStream.java
2930         (FileOutputStream): New constructor, merged from classpath.
2931         * java/io/FileWriter.java
2932         (FileWriter): New constructor, merged from classpath.
2933
2934 2003-03-18  Michael Koch  <konqueror@gmx.de>
2935
2936         * java/awt/ScrollPane.java
2937         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2938         (getViewportSize): Likewise.
2939         (addNotify): Likewise.
2940         (removeNotify): Likewise.
2941         * java/awt/ScrollPaneAdjustable.java
2942         (ScrollPaneAdjustable): No longer extends Scrollbar.
2943         * java/beans/beancontext/BeanContextServices.java:
2944         Reformated.
2945         (getService): Added throws TooManyListenersException;
2946         * java/beans/beancontext/BeanContextServicesSupport.java:
2947         Reformated.
2948
2949 2003-03-18  Michael Koch  <konqueror@gmx.de>
2950
2951         * java/io/BufferedOutputStream.java,
2952         java/io/DataInput.java,
2953         java/io/DataInputStream.java,
2954         java/io/DataOutput.java,
2955         java/io/Externalizable.java:
2956         More merges from classpath.
2957
2958 2003-03-18  Michael Koch  <konqueror@gmx.de>
2959
2960         * configure.in: Fixed links to platform dependant java.net files.
2961         * configure: Regenerated.
2962         * java/net/natInetAddress.cc,
2963         java/net/natNetworkInterface.cc,
2964         java/net/natPlainDatagramSocketImpl.cc,
2965         java/net/natPlainSocketImpl.cc:
2966         Removed.
2967
2968 2003-03-18  Michael Koch  <konqueror@gmx.de>
2969
2970         * configure.in: Create links to architecture dependent files,
2971         introduced PLATFORMNET variable (set to NoNet for newlib usage).
2972         * configure: Regenerated.
2973         * java/net/natInetAddressNoNet.cc,
2974         java/net/natInetAddressPosix.cc,
2975         java/net/natInetAddressWin32.cc,
2976         java/net/natNetworkInterfaceNoNet.cc,
2977         java/net/natNetworkInterfacePosix.cc,
2978         java/net/natNetworkInterfaceWin32.cc,
2979         java/net/natPlainDatagramSocketImplNoNet.cc,
2980         java/net/natPlainDatagramSocketImplPosix.cc,
2981         java/net/natPlainDatagramSocketImplWin32.cc,
2982         java/net/natPlainSocketImplNoNet.cc,
2983         java/net/natPlainSocketImplPosix.cc,
2984         java/net/natPlainSocketImplWin32.cc: New files.
2985
2986 2003-03-18  Michael Koch  <konqueror@gmx.de>
2987
2988         * java/io/BufferedReader.java,
2989         java/io/BufferedWriter.java,
2990         java/io/ByteArrayOutputStream.java,
2991         java/io/FileFilter.java,
2992         java/io/FilePermission.java,
2993         java/io/FileReader.java,
2994         java/io/FileWriter.java,
2995         java/io/FilenameFilter.java,
2996         java/io/FilterInputStream.java,
2997         java/io/FilterOutputStream.java,
2998         java/io/FilterReader.java,
2999         java/io/FilterWriter.java,
3000         java/io/ObjectInput.java,
3001         java/io/ObjectInputValidation.java,
3002         java/io/ObjectOutput.java,
3003         java/io/ObjectStreamField.java,
3004         java/io/PipedInputStream.java,
3005         java/io/PipedReader.java,
3006         java/io/PrintWriter.java,
3007         java/io/PushbackReader.java,
3008         java/io/Reader.java,
3009         java/io/SerializablePermission.java,
3010         java/io/StringReader.java,
3011         java/io/Writer.java:
3012         Merged from classpath.
3013
3014 2003-03-17  Michael Koch  <konqueror@gmx.de>
3015
3016         * java/awt/ScrollPaneAdjustable.java:
3017         Compile fixes.
3018         
3019 2003-03-17  Michael Koch  <konqueror@gmx.de>
3020
3021         * java/net/DatagramSocket.java
3022         (connect): Fixed comment.
3023         * java/nio/ByteBuffer.java
3024         (hasArray): Fixed comment.
3025
3026 2003-03-17  Michael Koch  <konqueror@gmx.de>
3027
3028         * java/beans/Beans.java:
3029         Explicitely import classes not packages.
3030         * java/beans/FeatureDescriptor.java
3031         (preferred): New member variable.
3032         (isPreferred): New method.
3033         (setPreferred): New method.
3034         * java/beans/PropertyEditorManager.java:
3035         Explicitely import used classes.
3036         * java/beans/beancontext/BeanContextChild.java:
3037         Added line wrapping.
3038         * java/beans/beancontext/BeanContextChildSupport.java:
3039         Reindented.
3040         * java/beans/beancontext/BeanContextEvent.java:
3041         Reindented.
3042
3043 2003-03-17  Michael Koch  <konqueror@gmx.de>
3044
3045         * java/awt/Dialog.java
3046         (Dialog): New constructor, changed implementations, added
3047         documentation.
3048         * java/awt/ScrollPaneAdjustable.java
3049         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3050         Serializable.
3051         (serialVersionUID): New member variable.
3052         (sp): New member variable.
3053         (orientation): New member variable.
3054         (value): New member variable.
3055         (minimum): New member variable.
3056         (maximum): New member variable.
3057         (visibleAmount): New member variable.
3058         (unitIncrement): New member variable.
3059         (blockIncrement): New member variable.
3060         (AdjustmentListener): New member variable.
3061         (ScrollPaneAdjustable): New implementation.
3062         (addAdjustmentListener): New method.
3063         (removeAdjustmentListener): New method.
3064         (getAdjustmentListeners): New method.
3065         (getBlockIncrement): New method.
3066         (getMaximum): New method.
3067         (getMinimum): New method.
3068         (getOrientation): New method.
3069         (getUnitIncrement): New method.
3070         (getValue): New method.
3071         (getVisibleAmount): New method.
3072         (setBlockIncrement): New method.
3073         (setMaximum): Implemented.
3074         (setMinimum): Implemented.
3075         (setUnitIncrement): New method.
3076         (setValue): New method.
3077         (setVisibleAmount): Implemented. 
3078         (paramString): New stubbed method.
3079         * java/awt/Window.java
3080         (show): Call setVisible().
3081         (hide): Call setVisible().
3082         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3083         and WINDOW_STATE_CHANGED.
3084         (processWindowFocusEvent): New method.
3085         (processWindowStateEvent): New method.
3086         (postEvent): Deprecated.
3087         (applyResourceBundle): Deprecated.
3088         * java/awt/datatransfer/DataFlavor.java
3089         (DataFlavor): Doesn't thow ClassNotFoundException.
3090
3091 2003-03-17  Michael Koch
3092
3093         * javax/print/attribute/Attribute.java,
3094         javax/print/attribute/AttributeSet.java,
3095         javax/print/attribute/PrintRequestAttributeSet.java:
3096         New files.
3097         * Makefile.am
3098         (javax_source_files): Added new files:
3099         javax/print/attribute/Attribute.java
3100         javax/print/attribute/AttributeSet.java
3101         javax/print/attribute/PrintRequestAttributeSet.java
3102         * Makefile.in: Regenerated.
3103
3104 2003-03-17  Michael Koch
3105
3106         * javax/print/attribute/Attribute.java,
3107         javax/print/attribute/AttributeSet.java,
3108         javax/print/attribute/PrintRequestAttributeSet.java:
3109         New files.
3110         * Makefile.am
3111         (awt_java_source_files): Added new files:
3112         javax/print/attribute/Attribute.java
3113         javax/print/attribute/AttributeSet.java
3114         javax/print/attribute/PrintRequestAttributeSet.java
3115         * Makefile.in: Regenerated.
3116
3117 2003-03-16  Tom Tromey  <tromey@redhat.com>
3118
3119         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3120         Include platform.h.
3121         * java/lang/natRuntime.cc (insertSystemProperties): Use
3122         _Jv_platform_path_separator.
3123         (nativeGetLibname): Use _Jv_platform_file_separator.
3124         (_load): Use _Jv_platform_onload_names.
3125         (onload_names): New global.
3126         * include/win32.h (_Jv_platform_file_separator): New define.
3127         (_Jv_platform_path_separator): Likewise.
3128         (_Jv_platform_onload_names): Likewise.
3129         (_Jv_platform_ffi_abi): Likewise.
3130         * include/posix.h (_Jv_platform_file_separator): New define.
3131         (_Jv_platform_path_separator): Likewise.
3132         (_Jv_platform_onload_names): Likewise.
3133         (_Jv_platform_ffi_abi): Likewise.
3134
3135 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
3136
3137         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3138
3139 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
3140
3141         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3142         hierarchy loop.
3143         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3144         list to Object,ObjectStreamClass, moved callReadMethod code up into
3145         readObject and added Class argument to all setXxxField calls.
3146         (callReadMethod): Changed Class argument to ObjectStreamClass to be
3147         consistent with ObjectOutputStream and to facilitate caching the
3148         Method in the future.
3149         (setBooleanField): Added Class argument.
3150         (setByteField): Likewise.
3151         (setCharField): Likewise.
3152         (setDoubleField): Likewise.
3153         (setFloatField): Likewise.
3154         (setIntField): Likewise.
3155         (setLongField): Likewise.
3156         (setShortField): Likewise.
3157         (setObjectField): Likewise.
3158         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3159         class hierarchy loop.
3160         (defaultWriteObject): Call writeFields with new argument list.
3161         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3162         list to Object,ObjectStreamClass, moved callWriteMethod up into
3163         writeObject and added Class argument to all getXxxField calls.
3164         (callWriteMethod): Added ObjectStreamClass argument to be able to
3165         get the proper class to call getMethod on (each class can have (or
3166         not have) its own writeObject method).
3167         (getBooleanField): Added Class argument.
3168         (getByteField): Likewise.
3169         (getCharField): Likewise.
3170         (getDoubleField): Likewise.
3171         (getFloatField): Likewise.
3172         (getIntField): Likewise.
3173         (getLongField): Likewise.
3174         (getShortField): Likewise.
3175         (getObjectField): Likewise.
3176         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3177         facilitate caching the Method object in the future.
3178
3179 2003-03-12  Andreas Schwab  <schwab@suse.de>
3180
3181         * configure.in: Avoid trailing /. in toolexeclibdir.
3182         * configure: Rebuilt.
3183
3184 2003-03-11  Michael Koch  <konqueror@gmx.de>
3185
3186         * gnu/java/nio/ByteBufferImpl.java
3187         (putInt): Use limit() instead of limit.
3188         * gnu/java/nio/CharBufferImpl.java
3189         (slice): Fixed implementation.
3190         (subSequence): Better bounds checking.
3191         * gnu/java/nio/MappedByteFileBuffer.java:
3192         Import all needed classes directly.
3193         * java/nio/ByteBuffer.java
3194         (hashCode): New dummy method.
3195         * java/nio/CharBuffer.java
3196         (array_offset): New member variable.
3197         (hasArray): Fixed documentation.
3198         (arrayOffset): Return array_offset.
3199
3200 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
3201
3202         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3203         setter; made return value of getter const char* instead of char*
3204         * prims.cc: removed all references to _Jv_ThisExecutable().
3205         These are in the platform-specific sections now.
3206         * posix.cc: define platform-specific _Jv_ThisExecutable().
3207         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3208         * win32.cc: define platform-specific _Jv_ThisExecutable()
3209         using GetModuleFilename()
3210         * java/lang/natRuntime.cc: set gnu.gcj.progname property
3211         to argv[0] instead of _Jv_ThisExecutable()
3212
3213 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3214
3215         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3216         that is set if we are using addr2name.awk instead of addr2line.
3217         (NameFinder): Set usingAddr2name if using addr2name.awk.
3218         (getExternalLabel): New native method to convert a method 
3219         name to an external label.
3220         (lookup): Convert name given by addr2line to an external label
3221         before demangling.
3222
3223         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3224         constant representing the prefix attached to method names to
3225         convert them to an external label.
3226         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
3227         using LABEL_PREFIX.
3228
3229 2003-03-10  Tom Tromey  <tromey@redhat.com>
3230
3231         * Makefile.in: Rebuilt.
3232         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3233         (JC1FLAGS): Removed -Wno-deprecated.
3234
3235 2003-03-10  Michael Koch  <konqueror@gmx.de>
3236
3237         * java/nio/ByteOrder.java
3238         (nativeOrder): Working implementation, added documentation.
3239         (toString): Added documentation.
3240
3241 2003-03-10  Michael Koch  <konqueror@gmx.de>
3242
3243         * java/net/DatagramSocket.java,
3244         java/net/MulticastSocket.java,
3245         java/net/Socket.java,
3246         java/net/URL.java,
3247         java/net/URLConnection.java:
3248         Fixed some documentation tags to make javadoc and friends happy.
3249
3250 2003-03-10  Michael Koch  <koqnueror@gmx.de>
3251
3252         * java/beans/beancontext/BeanContextServicesSupport.java,
3253         java/beans/beancontext/BeanContextSupport.java: New files.
3254         * Makefile.am
3255         (awt_source_files): Added new files.
3256         * Makefile.in: Regenerated.
3257
3258 2003-03-10  Michael Koch  <konqueror@gmx.de>
3259
3260         * java/awt/FocusTraversalPolicy.java
3261         (FocusTraversalPolicy): Documentation added.
3262         (getComponentAfter): Documentation added.
3263         (getComponentBefore): Documentation added.
3264         (getFirstComponent): Documentation added.
3265         (getLastComponent): Documentation added.
3266         (getDefaultComponent): Documentation added.
3267         (getInitialComponent): Documentation added.
3268         * java/awt/ScrollPaneAdjustable.java
3269         (sp): New member variable.
3270         (orientation): New member variable.
3271         (value): New member variable.
3272         (minimum): New member variable.
3273         (maximum): New member variable.
3274         (visibleAmount): New member variable.
3275         (unitIncrement): New member variable.
3276         (blockIncrement): New member variable.
3277         (adjustmentListener): New member variable.
3278         (ScrollPaneAdjustable): Rewrote.
3279         (addAdjustmentListener): New method.
3280         (removeAdjustmentListener): New method.
3281         (getAdjustmentListeners): New method.
3282         (getBlockIncrement): New method.
3283         (getMaximum): New method.
3284         (getMinimum): New method.
3285         (getOrientation): New method.
3286         (getUnitIncrement): New method.
3287         (getValue): New method.
3288         (getVisibleAmount): New method.
3289         (setBlockIncrement): New method.
3290         (setUnitIncrement): New method.
3291         (setMaximum): Implemented.
3292         (setMinimum): Implemented.
3293         (setValue): New method.
3294         (setVisibleAmount): Implemented.
3295         (paramString): New method.
3296         * java/awt/Window.java
3297         (show): Use setVisible(true) instead of super.show().
3298         (hide): Use sevVisible(false) instead of super.hide().
3299         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3300         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3301         (postEvent): Deprecated.
3302         (applyResourceBundle): Deprecated.
3303         (processWindowFocusEvent): New method.
3304         (processWindowStateEvent): New method.
3305         * java/awt/datatransfer/DataFlavor.java: Reindented.
3306         * java/awt/font/TextHitInfo.java
3307         (charIndex): New member variable.
3308         (leadingEdge): New member variable.
3309         (TextHitInfo): New constructor.
3310         (getCharIndex): Implemented.
3311         (isLeadingEdge): Implemented.
3312         (getInsertionIndex): Implemented.
3313         (hashCode): Access charIndex directly.
3314         (equals): Reformated.
3315         (leading): Implemented.
3316         (trailing): Implemented.
3317         (beforeOffset): Implemented.
3318         (afterOffset): Implemented.
3319         (getOtherHit): Implemented.
3320         (getOffsetHit): Implemented.
3321         (toString): Implemented.
3322         * java/awt/image/BufferedImage.java
3323         (BufferedImage): Implements WritableRenderedImage.
3324         (observers): New member variable.
3325         (addTileObserver): New method.
3326         (removeTileObserver): New method.
3327
3328 2003-03-09  Tom Tromey  <tromey@redhat.com>
3329
3330         PR libgcj/9934:
3331         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3332         to lseek.  Return 0 if we can't compute the value.
3333
3334 2003-03-03  Michael Koch  <konqueror@gmx.de>
3335
3336         * java/net/NetworkInterface.java: Merged with classpath.
3337
3338 2003-03-03  Tom Tromey  <tromey@redhat.com>
3339
3340         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3341         of bytecode.
3342         (handle_ret_insn): Fail if returning to jsr that appears at end of
3343         bytecode.
3344
3345 2003-03-03  Michael Koch  <konqueror@gmx.de>
3346
3347         * Makefile.am
3348         (ordinary_java_source_files):
3349         Added gnu/java/nio/MappedByteFileBuffer.java.
3350         (nat_source_files):
3351         Added gnu/java/nio/natMappedByteFileBuffer.cc.
3352         * Makefile.in: Regenerated.
3353
3354 2003-03-03  Michael Koch  <konqueror@gmx.de>
3355
3356         * java/net/DatagramSocket.java
3357         (connect): Merged comment from classpath.
3358         (receive): Merged documentation from classpath.
3359         * java/net/Socket.java
3360         (setSoTimeout): Clarified documentation.
3361         * java/net/URL.java
3362         (getPath): Merged from classpath.
3363         (getUserInfo): Merged from classpath.
3364         (getQuery): Merged from classpath.
3365         * java/net/URLStreamHandler.java
3366         (toExternalForm): Merged from classpath.
3367
3368 2003-03-02  Mark Wielaard  <mark@klomp.org>
3369
3370         * java/util/Properties.java (load): Only skip line if the first
3371         character is a comment, whitespaces don't count.
3372
3373 2003-03-02  Michael Koch  <konqueror@gmx.de>
3374
3375         * java/net/NetPermission.java:
3376         Merged copyright with classpath.
3377
3378 2003-03-02  Michael Koch  <konqueror@gmx.de>
3379
3380         * java/lang/Package.java:
3381         Remerged from classpath.
3382
3383 2003-03-02  Michael Koch  <konqueror@gmx.de>
3384
3385         * java/net/HttpURLConnection.java
3386         (HTTP_SERVER_ERROR): Deprecated.
3387         * java/net/MulticastSocket.java
3388         (send): Replaced checkMulticast with appropriate checkPermission call,
3389         deprecated.
3390         * java/net/URLDecoder.java
3391         (decode): Deprecated.
3392         * java/net/URLEncoder.java
3393         (encode): Deprecated.
3394
3395 2003-03-02  Michael Koch  <konqueror@gmx.de>
3396
3397         * javax/swing/text/Caret.java
3398         (getMagicCaretPosition): Fixed typo in method name.
3399         * javax/swing/text/DefaultCaret.java
3400         (getMagicCaretPosition): Fixed typo in method name.
3401
3402 2003-03-02  Michael Koch  <konqueror@gmx.de>
3403
3404         * java/awt/List.java
3405         (setMultipleSelections): Deprecated.
3406         (delItem): Deprecated.
3407         * java/awt/MenuComponent.java
3408         (getPeer): Deprecated.
3409         * java/awt/ScrollPane.java
3410         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3411         * java/awt/dnd/MouseDragGestureRecognizer.java
3412         (mouseClicked): Added comment.
3413         (mousePressed): Added comment.
3414         (mouseReleased): Added comment.
3415         (mouseEntered): Added comment.
3416         (mouseExited): Added comment.
3417         (mouseDragged): Added comment.
3418         (mouseMoved): Added comment.
3419         * java/awt/event/KeyEvent.java
3420         (KeyEvent): Deprecated.
3421         (setModifiers): Deprecated.
3422         
3423 2003-03-02  Michael Koch  <konqueror@gmx.de>
3424
3425         * gnu/java/nio/FileChannelImpl.java
3426         (fd): Type FileDescriptor instead of int.
3427         (lengthInternal): Removed.
3428         (FileChannelImpl): Fixed arguments, check type of file object.
3429         (size): Made it native.
3430         (implPosition): New native method.
3431         (implTruncate): New native method.
3432         (position): Implemented.
3433         (truncate): Implemented.
3434         (nio_mmap_file): Changed arguments.
3435         (nio_munmap_file): Changed arguments.
3436         (nio_msync): Changed arguments.
3437         * gnu/java/nio/natFileChannelImpl.cc
3438         (lengthInternal): Removed.
3439         (size): New method.
3440         (implPosition): New method.
3441         (implTruncate): New method.
3442         (nio_mmap_file): Changed arguments.
3443         (nio_munmap_file): Changed arguments.
3444         (nio_msync): Changed arguments.
3445
3446 2003-03-02  Michael Koch  <konqueror@gmx.de>
3447
3448         * java/awt/dnd/DropTargetContext.java:
3449         Compile fix: Forgot to commit import.
3450         
3451 2003-03-02  Michael Koch  <konqueror@gmx.de>
3452
3453         * java/awt/Component.java,
3454         java/awt/ScrollPane.java:
3455         Fixed typos.
3456
3457 2003-03-02  Michael Koch  <konqueror@gmx.de>
3458
3459         * java/awt/dnd/DnDEventMulticaster.java: New file.
3460         * java/awt/dnd/DragSource.java
3461         (flavorMap): New member variable.
3462         (dragSourceListener): New member variable.
3463         (dragSourceMotionListener): New member variable.
3464         (getFlavorMap): Implemented.
3465         (createDragGestureRecognizer): Implemented.
3466         (addDragSourceListener): Implemented.
3467         (removeDragSourceListener): Implemented.
3468         (getDragSourceListeners): Implemented.
3469         (addDragSourceMotionListener): Implemented.
3470         (removeDragSourceMotionListener): Implemented.
3471         (getDragSourceMotionListeners): Implemented.
3472         (getListeners): Implemented.
3473         * java/awt/dnd/DragSourceContext.java
3474         (peer): New member variable.
3475         (cursor): New member variable.
3476         (transferable): New member variable.
3477         (trigger): New member variable.
3478         (dragSourceListener): New member variable.
3479         (image): New member variable.
3480         (offset): New member variable.
3481         (DragSourceContext): Implemented.
3482         (getDragSource): Implemented.
3483         (getComponent): Implemented.
3484         (getTrigger): Implemented.
3485         (getSourceActions): Implemented.
3486         (setCursor): Implemented.
3487         (getCursor): Implemented.
3488         (addDragSourceListener): Implemented.
3489         (removeDragSourceListener): Implemented.
3490         (getTransferable): Implemented.
3491         * java/awt/dnd/DropTarget.java
3492         (DropTargetAutoScroller.component): New member variable.
3493         (DropTargetAutoScroller.point): New member variable.
3494         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3495         (DropTargetAutoScroller.updateLocation): Implemented.
3496         (active): Renamed from isActive, defaults to true now.
3497         (component): New member variable.
3498         (flavorMap): New member variable.
3499         (actions): New member variable.
3500         (dropTargetContext): New member variable.
3501         (dropTargetListener): New member variable.
3502         (DropTarget): Implemented.
3503         (getComponent): Implemented.
3504         (setComponent): Implemented.
3505         (setDefaultActions): Implemented.
3506         (getDefaultActions): Implemented.
3507         (setActive): Use active instead of isActive.
3508         (isActive): Use active instead of isActive.
3509         (addDropTargetListener): Implemented.
3510         (removeDropTargetListener): Implemented.
3511         (getFlavorMap): Implemented.
3512         (setFlavorMap): Implemented.
3513         (getDropTargetContext): Implemented.
3514         (createDropTargetContext): Implemented.
3515         (createDropTargetAutoScroller): Implemented.
3516         * java/awt/dnd/DropTargetContext.java
3517         (TransferableProxy.getTransferDataFlavors): Implemented.
3518         (TransferableProxy.isDataFlavorSupported): Implemented.
3519         (TransferableProxy.getTransferData): Implemented.
3520         (dropTarget):  New member variable.
3521         (dtcp): New member variable.
3522         (DropTargetContext): New package private constructor.
3523         (getDropTarget): Implemented.
3524         (getComponent): Implemented.
3525         (addNotify): Implemented.
3526         (removeNotify): Implemented.
3527         (getCurrentDataFlavorsAsList): Implemented.
3528         (isDataFlavorSupported): Implemented.
3529         * java/awt/dnd/MouseDragGestureRecognizer.java
3530         (registerListeners): Implemented.
3531         (unregisterListeners): Implemented.
3532         * Makefile.am
3533         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3534         * Makefile.in: Regenerated.
3535
3536 2003-03-02  Michael Koch  <konqueror@gmx.de>
3537
3538         * java/awt/Component.java
3539         (eventTypeEnabled): New method.
3540         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3541         * java/awt/Container.java
3542         (changeSupport): New member variable.
3543         (addPropertyChangeListener): New methods.
3544         * java/awt/ContainerOrderFocusTraversalPolicy.java
3545         (ContainerOrderFocusTraversalPolicy): Added comment.
3546         (getComponentAfter): Throw exception, documentation added.
3547         (getComponentBefore): Throw exception, documentation added.
3548         (getFirstComponent): Throw exception, documentation added.
3549         (getLastComponent): Throw exception, documentation added.
3550         (getDefaultComponent): Throw exception, documentation added.
3551         * java/awt/EventQueue.java: Reindented.
3552         * java/awt/FocusTraversalPolicy.java:
3553         (FocusTraversalPolicy): Added comment.
3554         (getComponentAfter): Documentation added.
3555         (getComponentBefore): Documentation added.
3556         (getFirstComponent): Documentation added.
3557         (getLastComponent): Documentation added.
3558         (getDefaultComponent): Documentation added.
3559         (getInitialComponent): Documentation added.
3560         * java/awt/ScrollPane.java
3561         (wheelScrollingEnabled): New member variable.
3562         (ScrollPane): Initialize wheelScollingEnabled.
3563         (eventTypeEnabled): New method.
3564         (isWheelScrollingEnabled): New method.
3565         (setWheelScrollingEnabled): New method.
3566
3567 2003-03-02  Michael Koch  <konqueror@gmx.de>
3568
3569         * java/net/DatagramSocket.java
3570         (closed): New member variable.
3571         (close): Use closed variable.
3572         (getInetAddress): No need to call isConnected().
3573         (getPort): No need to call isConnected().
3574         (disconnect): Reset remoteAddress and remotePort, fixed typo.
3575         (isClosed): Reimplemented.
3576         
3577 2003-03-02  Michael Koch  <konqueror@gmx.de>
3578
3579         * configure.in: Added check for memory mapping of files.
3580         * configure: Regenerated.
3581         * config.h.in: Regenerated.
3582
3583 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
3584
3585         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3586         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3587
3588 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3589
3590         * java/io/File.java (normalizePath): Remove trailing separator
3591         on Windows only if path is not of the form "x:\".
3592
3593         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3594         (java::io::File::attr): Change formatting a bit and use
3595         WIN32_EPOCH_MILLIS instead of magic numbers.
3596         (java::io::File::isAbsolute): Path must have at least 3 
3597         characters for a UNC network path.
3598         (java::io::File::init_native): Define.
3599         (java::io::File::performCreate): Likewise.
3600         (java::io::File::performSetReadOnly): Likewise.
3601         (java::io::File::performSetLastModified): Likewise.
3602         (java::io::File::performListRoots): Likewise.
3603
3604 2003-03-01  Tom Tromey  <tromey@redhat.com>
3605
3606         * java/lang/natObject.cc: Don't include assert.h.
3607         (heavy_lock_obj_finalization_proc): Use JvAssert.
3608         (remove_all_heavy): Likewise.
3609         (_Jv_MonitorEnter): Likewise.
3610         (_Jv_MonitorExit): Likewise.
3611         (wait): Likewise.
3612
3613 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
3614
3615         * java/io/File (getAbsolutePath): Prefix drive specifier on
3616         Windows for paths starting with a '\'.
3617         (toURL): Make URL more consistent with what Sun's JDK returns.
3618
3619         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3620         true only if the path is a UNC network path or it starts with a
3621         drive specifier.
3622
3623         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3624         Be prepared to handle either '/' or '\\' in the file path for
3625         Windows if using the "file" protocol.
3626         Canonicalise the file path if using a relative path in the given
3627         context and the "file" protocol.
3628
3629 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
3630
3631         * java/lang/natWin32Process.cc (startProcess): Double-quote each
3632         program array element passed to CreateProcess.
3633
3634 2003-03-01  Tom Tromey  <tromey@redhat.com>
3635
3636         * java/rmi/registry/RegistryHandler.java: Deprecate.
3637
3638 2003-03-01  Tom Tromey  <tromey@redhat.com>
3639
3640         * javax/accessibility/AccessibleEditableText.java,
3641         javax/accessibility/AccessibleHyperlink.java: New versions from
3642         Classpath.
3643
3644         * gnu/java/locale/LocaleInformation_af_ZA.java,
3645         gnu/java/locale/LocaleInformation_ar_AE.java,
3646         gnu/java/locale/LocaleInformation_ar_BH.java,
3647         gnu/java/locale/LocaleInformation_ar_DZ.java,
3648         gnu/java/locale/LocaleInformation_ar_EG.java,
3649         gnu/java/locale/LocaleInformation_ar_IN.java,
3650         gnu/java/locale/LocaleInformation_ar_IQ.java,
3651         gnu/java/locale/LocaleInformation_ar_JO.java,
3652         gnu/java/locale/LocaleInformation_ar_KW.java,
3653         gnu/java/locale/LocaleInformation_ar_LB.java,
3654         gnu/java/locale/LocaleInformation_ar_LY.java,
3655         gnu/java/locale/LocaleInformation_ar_MA.java,
3656         gnu/java/locale/LocaleInformation_ar_OM.java,
3657         gnu/java/locale/LocaleInformation_ar_QA.java,
3658         gnu/java/locale/LocaleInformation_ar_SD.java,
3659         gnu/java/locale/LocaleInformation_ar_SY.java,
3660         gnu/java/locale/LocaleInformation_ar_TN.java,
3661         gnu/java/locale/LocaleInformation_ar_YE.java,
3662         gnu/java/locale/LocaleInformation_be_BY.java,
3663         gnu/java/locale/LocaleInformation_bn_IN.java,
3664         gnu/java/locale/LocaleInformation_br_FR.java,
3665         gnu/java/locale/LocaleInformation_bs_BA.java,
3666         gnu/java/locale/LocaleInformation_ca_ES.java,
3667         gnu/java/locale/LocaleInformation_cs_CZ.java,
3668         gnu/java/locale/LocaleInformation_cy_GB.java,
3669         gnu/java/locale/LocaleInformation_da_DK.java,
3670         gnu/java/locale/LocaleInformation_de_AT.java,
3671         gnu/java/locale/LocaleInformation_de_BE.java,
3672         gnu/java/locale/LocaleInformation_de_CH.java,
3673         gnu/java/locale/LocaleInformation_de_DE.java,
3674         gnu/java/locale/LocaleInformation_de_LU.java,
3675         gnu/java/locale/LocaleInformation_el_GR.java,
3676         gnu/java/locale/LocaleInformation_en_AU.java,
3677         gnu/java/locale/LocaleInformation_en_BW.java,
3678         gnu/java/locale/LocaleInformation_en_CA.java,
3679         gnu/java/locale/LocaleInformation_en_DK.java,
3680         gnu/java/locale/LocaleInformation_en_GB.java,
3681         gnu/java/locale/LocaleInformation_en_HK.java,
3682         gnu/java/locale/LocaleInformation_en_IE.java,
3683         gnu/java/locale/LocaleInformation_en_IN.java,
3684         gnu/java/locale/LocaleInformation_en_NZ.java,
3685         gnu/java/locale/LocaleInformation_en_PH.java,
3686         gnu/java/locale/LocaleInformation_en_SG.java,
3687         gnu/java/locale/LocaleInformation_en_US.java,
3688         gnu/java/locale/LocaleInformation_en_ZA.java,
3689         gnu/java/locale/LocaleInformation_en_ZW.java,
3690         gnu/java/locale/LocaleInformation_es_AR.java,
3691         gnu/java/locale/LocaleInformation_es_BO.java,
3692         gnu/java/locale/LocaleInformation_es_CL.java,
3693         gnu/java/locale/LocaleInformation_es_CO.java,
3694         gnu/java/locale/LocaleInformation_es_CR.java,
3695         gnu/java/locale/LocaleInformation_es_DO.java,
3696         gnu/java/locale/LocaleInformation_es_EC.java,
3697         gnu/java/locale/LocaleInformation_es_ES.java,
3698         gnu/java/locale/LocaleInformation_es_GT.java,
3699         gnu/java/locale/LocaleInformation_es_HN.java,
3700         gnu/java/locale/LocaleInformation_es_MX.java,
3701         gnu/java/locale/LocaleInformation_es_NI.java,
3702         gnu/java/locale/LocaleInformation_es_PA.java,
3703         gnu/java/locale/LocaleInformation_es_PE.java,
3704         gnu/java/locale/LocaleInformation_es_PR.java,
3705         gnu/java/locale/LocaleInformation_es_PY.java,
3706         gnu/java/locale/LocaleInformation_es_SV.java,
3707         gnu/java/locale/LocaleInformation_es_US.java,
3708         gnu/java/locale/LocaleInformation_es_UY.java,
3709         gnu/java/locale/LocaleInformation_es_VE.java,
3710         gnu/java/locale/LocaleInformation_et_EE.java,
3711         gnu/java/locale/LocaleInformation_eu_ES.java,
3712         gnu/java/locale/LocaleInformation_fa_IR.java,
3713         gnu/java/locale/LocaleInformation_fi_FI.java,
3714         gnu/java/locale/LocaleInformation_fo_FO.java,
3715         gnu/java/locale/LocaleInformation_fr_BE.java,
3716         gnu/java/locale/LocaleInformation_fr_CA.java,
3717         gnu/java/locale/LocaleInformation_fr_CH.java,
3718         gnu/java/locale/LocaleInformation_fr_FR.java,
3719         gnu/java/locale/LocaleInformation_fr_LU.java,
3720         gnu/java/locale/LocaleInformation_ga_IE.java,
3721         gnu/java/locale/LocaleInformation_gd_GB.java,
3722         gnu/java/locale/LocaleInformation_gl_ES.java,
3723         gnu/java/locale/LocaleInformation_gv_GB.java,
3724         gnu/java/locale/LocaleInformation_he_IL.java,
3725         gnu/java/locale/LocaleInformation_hi_IN.java,
3726         gnu/java/locale/LocaleInformation_hr_HR.java,
3727         gnu/java/locale/LocaleInformation_hu_HU.java,
3728         gnu/java/locale/LocaleInformation_id_ID.java,
3729         gnu/java/locale/LocaleInformation_it_CH.java,
3730         gnu/java/locale/LocaleInformation_it_IT.java,
3731         gnu/java/locale/LocaleInformation_iw_IL.java,
3732         gnu/java/locale/LocaleInformation_ja_JP.java,
3733         gnu/java/locale/LocaleInformation_ka_GE.java,
3734         gnu/java/locale/LocaleInformation_kl_GL.java,
3735         gnu/java/locale/LocaleInformation_ko_KR.java,
3736         gnu/java/locale/LocaleInformation_kw_GB.java,
3737         gnu/java/locale/LocaleInformation_lt_LT.java,
3738         gnu/java/locale/LocaleInformation_lv_LV.java,
3739         gnu/java/locale/LocaleInformation_mi_NZ.java,
3740         gnu/java/locale/LocaleInformation_mk_MK.java,
3741         gnu/java/locale/LocaleInformation_mr_IN.java,
3742         gnu/java/locale/LocaleInformation_mt_MT.java,
3743         gnu/java/locale/LocaleInformation_nl_BE.java,
3744         gnu/java/locale/LocaleInformation_nl_NL.java,
3745         gnu/java/locale/LocaleInformation_nn_NO.java,
3746         gnu/java/locale/LocaleInformation_no_NO.java,
3747         gnu/java/locale/LocaleInformation_oc_FR.java,
3748         gnu/java/locale/LocaleInformation_pl_PL.java,
3749         gnu/java/locale/LocaleInformation_pt_BR.java,
3750         gnu/java/locale/LocaleInformation_pt_PT.java,
3751         gnu/java/locale/LocaleInformation_ro_RO.java,
3752         gnu/java/locale/LocaleInformation_ru_RU.java,
3753         gnu/java/locale/LocaleInformation_ru_UA.java,
3754         gnu/java/locale/LocaleInformation_se_NO.java,
3755         gnu/java/locale/LocaleInformation_sk_SK.java,
3756         gnu/java/locale/LocaleInformation_sl_SI.java,
3757         gnu/java/locale/LocaleInformation_sq_AL.java,
3758         gnu/java/locale/LocaleInformation_sr_YU.java,
3759         gnu/java/locale/LocaleInformation_sv_FI.java,
3760         gnu/java/locale/LocaleInformation_sv_SE.java,
3761         gnu/java/locale/LocaleInformation_ta_IN.java,
3762         gnu/java/locale/LocaleInformation_te_IN.java,
3763         gnu/java/locale/LocaleInformation_tg_TJ.java,
3764         gnu/java/locale/LocaleInformation_tl_PH.java,
3765         gnu/java/locale/LocaleInformation_tr_TR.java,
3766         gnu/java/locale/LocaleInformation_uk_UA.java,
3767         gnu/java/locale/LocaleInformation_ur_PK.java,
3768         gnu/java/locale/LocaleInformation_uz_UZ.java,
3769         gnu/java/locale/LocaleInformation_vi_VN.java,
3770         gnu/java/locale/LocaleInformation_yi_US.java,
3771         gnu/java/locale/LocaleInformation_zh_CN.java,
3772         gnu/java/locale/LocaleInformation_zh_HK.java,
3773         gnu/java/locale/LocaleInformation_zh_SG.java,
3774         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3775         info; from Classpath.
3776
3777         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3778         isPaintPending): New methods.
3779         * gnu/awt/xlib/XFramePeer.java (getState, setState,
3780         setMaximizedBounds): New methods.
3781         (beginLayout, endLayout, isPaintPending): Likewise.
3782         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3783         (requestFocus): Likewise.
3784         (isObscured): Likewise.
3785         (canDetermineObscurity): Likewise.
3786         (coalescePaintEvent): Likewise.
3787         (updateCursorImmediately): Likewise.
3788         (createVolatileImage): Likewise.
3789         (handlesWheelScrolling): Likewise.
3790         (createBuffers): Likewise.
3791         (getBackBuffer): Likewise.
3792         (flip): Likewise.
3793         (destroyBuffers): Likewise.
3794
3795         * Makefile.in: Rebuilt.
3796         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3797         RobotPeer.java.
3798         * gnu/java/awt/GLightweightPeer.java,
3799         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3800         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3801         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3802         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3803         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3804         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3805         java/awt/dnd/peer/DragSourceContextPeer.java,
3806         java/awt/dnd/peer/DropTargetContextPeer.java,
3807         java/awt/peer/ButtonPeer.java,
3808         java/awt/peer/CheckboxMenuItemPeer.java,
3809         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3810         java/awt/peer/ComponentPeer.java,
3811         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3812         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3813         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3814         java/awt/peer/MenuBarPeer.java,
3815         java/awt/peer/MenuComponentPeer.java,
3816         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3817         java/awt/peer/PopupMenuPeer.java,
3818         java/awt/peer/ScrollPanePeer.java,
3819         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3820         java/awt/peer/TextComponentPeer.java,
3821         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3822         New versions from Classpath.
3823         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3824         * java/awt/peer/RobotPeer.java: Likewise.
3825
3826 2003-03-01  Mark Wielaard  <mark@klomp.org>
3827
3828         * java/io/ObjectInputStream.java: Reindent.
3829         * java/io/ObjectOutputStream.java: Likewise.
3830
3831 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
3832
3833         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3834         jvalue for each argument. Simplify.
3835         * testsuite/libjava.jni/calls.c (docall),
3836         testsuite/libjava.jni/calls.java (longpb_f): check for argument
3837         misalignment.
3838
3839 2003-02-28  Mark Wielaard  <mark@klomp.org>
3840
3841         * Makefile.am (nat_source_files): Remove
3842         java/io/natObjectOutputStream.cc.
3843         * Makefile.in: Regenerated.
3844         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3845         * java/io/ObjectStreamField.java (typename): New field.
3846         (ObjectStreamField(String, Class)): Initialize new field.
3847         (ObjectStreamField(String, String)): New Constructor.
3848         (getTypeCode): Use new field.
3849         (getTypeString): Use new field.
3850         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3851         ObjectStreamExceptions. Remember and reset old BlockDataMode.
3852         Handle reading of Proxy classes. Never drain(), just write
3853         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3854         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3855         (flush): Call flush(), not just drain().
3856         (writeBoolean): Always use blockDataOutput.
3857         (writeByte): Likewise.
3858         (writeShort): Likewise.
3859         (writeChar): Likewise.
3860         (writeInt): Likewise.
3861         (writeLong): Likewise.
3862         (writeFloat): Likewise.
3863         (writeDouble): Likewise.
3864         (writeBytes): Likewise.
3865         (putfield (put(String,Object))): Throw IllegalArgumentException if
3866         field cannot be found.
3867         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3868         (writeArraySizeAndElements): Write byte[] in one go.
3869         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3870         set BlockDataMode to false.
3871         (annotateProxyClass): New method.
3872         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3873         (getField): No longer native.
3874         (getMethod): Likewise.
3875         (setBlockDataMode): Always drain() on switch, return old mode.
3876         (static): New static code block.
3877         * java/io/natObjectOutputStream.cc: Removed.
3878         * java/io/ObjectInputStream.java (getField): No longer native.
3879         (getMethod): Likewise.
3880         (readObject): Remember and reset old BlockDataMode. Track whether
3881         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3882         TC_LONGSTRING.
3883         (defaultReadObject): Set BlockDataMode to false during readFields.
3884         (resolveClass): Create new SecurityManager if necessary.
3885         Use Class.forName() if null ClassLoader found.
3886         (read(byte[],int,int): Copy remaining bytes to data before calling
3887         readNextBlock().
3888         (readFields): Set and reset BlockDataMode on call_read_method.
3889         Catch NoSuchFieldErrors.
3890         (setBlockDataMode): Return old mode.
3891         (static): New static code block.
3892         * java/io/natObjectInputStream.cc (getField): Removed.
3893         (getMethod): Likewise.
3894
3895 2003-02-27  Michael Koch  <konqueror@gmx.de>
3896
3897         * java/beans/Beans.java,
3898         java/beans/FeatureDescriptor.java
3899         java/beans/PropertyEditorManager.java:
3900         Reformated to GNU style.
3901
3902 2003-02-25  Michael Koch  <konqueror@gmx.de>
3903
3904         * gnu/java/nio/MappedByteFileBuffer.java,
3905         gnu/java/nio/natMappedByteFileBuffer.cc:
3906         New files, both are not compiled yet to get not noncompiling CVS.
3907
3908 2003-02-24  Tom Tromey  <tromey@redhat.com>
3909
3910         * java/util/prefs/AbstractPreferences.java (isUserNode):
3911         Implemented.
3912
3913 2003-02-24  Tom Tromey  <tromey@redhat.com>
3914
3915         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3916         Deprecate.
3917         * java/lang/Thread.java (resume): Deprecate.
3918         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3919         in @deprecated.
3920
3921 2003-02-23  Tom Tromey  <tromey@redhat.com>
3922
3923         * Makefile.in: Rebuilt.
3924         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3925
3926 2003-02-23  Tom Tromey  <tromey@redhat.com>
3927
3928         * java/lang/natRuntime.cc (libraries_size, libraries_count,
3929         libraries): Removed.
3930         (add_library): Removed.
3931         (_load): Don't call add_library.
3932         (loadLibraryInternal): Likewise.
3933         (init): Likewise.
3934         (lookup_data): New struct.
3935         (find_symbol): New function.
3936         (_Jv_FindSymbolInExecutable): Use it.
3937
3938 2002-02-21  Anthony Green  <green@redhat.com>
3939
3940         * java/lang/Thread.java (Thread): New constructor taking stack
3941         size parameter (ignored for now).
3942         * Many methods: Merged GNU Classpath documentation.
3943
3944         * java/lang/Class.java (finalize): throws a Throwable.
3945
3946 2003-02-21  Mark Wielaard  <mark@klomp.org>
3947
3948         * java/util/zip/ZipEntry.java (setComment): Don't check length when
3949         argument is null.
3950
3951 2003-02-21  Mark Wielaard  <mark@klomp.org>
3952
3953         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3954         then 65535 chars throw IllegalArgumentException.
3955
3956 2003-02-21  Mark Wielaard  <mark@klomp.org>
3957
3958         * java/util/zip/ZipFile.java (finalize): New method.
3959
3960 2003-02-21  Michael Koch  <konqueror@gmx.de>
3961
3962         * gnu/java/nio/natSocketChannelImpl.cc:
3963         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3964         <cato@df.lth.se> for pointing to it.
3965
3966 2003-02-20  Raif S. Naffah <raif@fl.net.au>
3967
3968         * java/math/BigInteger.java (euclidInv): Take result array as an
3969         argument.  Updated all callers.
3970         (modInverse): Removed unused variables.
3971
3972 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3973
3974         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3975         config.status.
3976         * configure: Rebuilt.
3977
3978 2003-02-19  Michael Koch  <konqueror@gmx.de>
3979
3980         * gnu/java/nio/natSocketChannelImpl.cc:
3981         Added support for platforms without network support.
3982
3983 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3984
3985         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3986         after config.h.  Use <> for consistency.
3987         * java/lang/natObject.cc: Likewise.
3988         * java/lang/natRuntime.cc: Likewise.
3989         * java/lang/natSystem.cc: Likewise.
3990         * java/util/natTimeZone.cc: Likewise.
3991         * win32.cc: Likewise.
3992         * include/posix.h (fcntl, socket, connect, close, bind, accept,
3993         listen, write, read): Undef to avoid interference from OS macros.
3994
3995 2003-02-19  Michael Koch  <konqueror@gmx.de>
3996
3997         * gnu/java/nio/ByteBufferImpl.java
3998         (ByteBufferImpl): Renamed two variables.
3999         * gnu/java/nio/CharBufferImpl.java
4000         (CharBufferImpl): Renamed two variables.
4001         * gnu/java/nio/DoubleBufferImpl.java
4002         (DoubleBufferImpl): Renamed two variables.
4003         * gnu/java/nio/FloatBufferImpl.java
4004         (FloatBufferImpl): Renamed two variables.
4005         * gnu/java/nio/IntBufferImpl.java
4006         (IntBufferImpl): Renamed two variables.
4007         * gnu/java/nio/LongBufferImpl.java
4008         (LongBufferImpl): Renamed two variables.
4009         * gnu/java/nio/ShortBufferImpl.java
4010         (ShortBufferImpl): Renamed two variables.
4011         * java/nio/CharBuffer.java
4012         (wrap): Fixed arguments to CharBufferImpl constructor.
4013         (hasArray): Only not read-only buffers have backing arrays.
4014         (length): Documentation added.
4015         (subSequence): Documentation added.
4016         * java/nio/DoubleBuffer.java
4017         (hasArray): Only not read-only buffers have backing arrays.
4018         * java/nio/FloatBuffer.java
4019         (hasArray): Only not read-only buffers have backing arrays.
4020         * java/nio/IntBuffer.java
4021         (hasArray): Only not read-only buffers have backing arrays.
4022         * java/nio/LongBuffer.java
4023         (hasArray): Only not read-only buffers have backing arrays.
4024         * java/nio/ShortBuffer.java
4025         (hasArray): Only not read-only buffers have backing arrays.
4026         
4027 2003-02-19  Michael Koch  <konqueror@gmx.de>
4028
4029         * javax/accessibility/AccessibleContext.java
4030         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4031
4032 2003-02-19  Michael Koch  <konqueror@gmx.de>
4033
4034         * java/awt/ScrollPaneAdjustable.java: Reformated.
4035
4036 2003-02-19  Michael Koch <konqueror@gmx.de>
4037
4038         * gnu/awt/j2d/Graphics2DImpl.java
4039         (getFontRenderContext): New method.
4040         (drawGlyphVector): New method.
4041         * java/awt/Graphics2D.java
4042         (getFontRenderContext): New abstract method.
4043         (drawGlyphVector): New abstract method.
4044         
4045 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
4046
4047         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4048         if necessary.
4049         
4050         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4051         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4052         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4053         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4054         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4055         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4056         (setFont, gtkSetFont): add.
4057         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4058         Propagate font to peer.  (setFont): add FIXME comment.
4059
4060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4061         (gtkTextGetSize): fix height, width computation.
4062
4063         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4064         Make X font name a bit less bogus.
4065
4066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4067         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4068
4069         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4070         (processAdjustmentEvent): Adjust value.
4071
4072         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4073         logic errors.
4074
4075         * java/awt/Component.java (setVisible, show, hide): Call show and
4076         hide methods in subclasses.
4077         (getPreferredSize): don't set prefSize before we have peer.
4078
4079         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4080         Guess (0,0) if we don't have peer.
4081
4082
4083 2003-02-18  Michael Koch  <konqueror@gmx.de>
4084
4085         * java/nio/channels/FileChannel.java
4086         (toString): New implementation, added documentation.
4087         (map): Added exception documentation.
4088         (size): Added exception documentation.
4089         (write): New methods, documentation work.
4090         (read): New methods, documentation work.
4091         (implCloseChannel): Rewrote exception documentation.
4092         (force): Throws IOException, added documentation.
4093         (lock): New methods.
4094         (tryLock): New methods.
4095         (position): New methods.
4096         (transferTo): New method.
4097         (transferFrom): New method.
4098         (truncate): New method.
4099         * java/nio/channels/spi/SelectorProvider.java
4100         (provider): Implemented.
4101         * Makefile.am
4102         (ordinary_java_source_files): Added the following files:
4103         gnu/java/nio/DatagramChannelImpl.java
4104         gnu/java/nio/FileChannelImpl.java
4105         gnu/java/nio/PipeImpl.java
4106         gnu/java/nio/SelectionKeyImpl.java
4107         gnu/java/nio/SelectorImpl.java
4108         gnu/java/nio/SelectorProviderImpl.java
4109         gnu/java/nio/ServerSocketChannelImpl.java
4110         gnu/java/nio/SocketChannelImpl.java
4111         java/nio/channels/FileLock.java
4112         (nat_java_source_files): Added the following files:
4113         gnu/java/nio/natFileChannelImpl.cc
4114         gnu/java/nio/natSelectorImpl.cc
4115         gnu/java/nio/natSocketChannelImpl.cc
4116         * Makefile.in: Regenerated.
4117
4118 2003-02-17  Tom Tromey  <tromey@redhat.com>
4119
4120         * java/awt/image/ColorModel.java: Re-merged with Classpath.
4121         * java/awt/image/ImageFilter.java: Likewise.
4122
4123 2003-02-17  Raif S. Naffah <raif@fl.net.au>
4124
4125         * java/math/BigInteger.java (euclidInv): Return array of
4126         `BigInteger's.  Changed all callers.
4127
4128 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
4129
4130         * java/util/Properties.java (store): Move the code formerly in
4131         list(), into this method.
4132         (list (PrintStream)): Just call list (PrintWriter) with a 
4133         PrintWriter object constructed from the given PrintStream object.
4134         (list (PrintWriter)): Emulate the output of Properties.list()
4135         as found in JDK 1.3/1.4.
4136
4137 2003-02-17  Michael Koch  <konqueror@gmx.de>
4138
4139         * java/net/DatagramSocket.java
4140         (connect): Merged with classpath.
4141         (disconnect): Merged documentation with classpath.
4142         (receice): Merged documentation with classpath.
4143         (send): Merged documentation with classpath.
4144         
4145 2003-02-17  Michael Koch  <konqueror@gmx.de>
4146
4147         * java/awt/dnd/DragSourceContext.java
4148         (addDragSourceListener): Added documentation.
4149         * java/awt/dnd/DragSourceDragEvent.java
4150         (serialVersionUID): New member variable.
4151         (getDropAction): Reformated.
4152         * java/awt/dnd/DragSourceDropEvent.java
4153         (serialVersionUID): New member variable.
4154         (dropSuccess): Renamed from success for serialization issues.
4155         * java/awt/dnd/DragSourceEvent.java
4156         (serialVersionUID): New member variable.
4157         * java/awt/dnd/DropTarget.java
4158         (serialVersionUID): New member variable.
4159         (DropTarget): Implemented, documentation reworked.
4160         (setComponent): Documentation added.
4161         (getComponent): Documentation added.
4162         (setDefaultActions): Documentation added.
4163         (getDefaultActions): Documentation added.
4164         (addDropTargetListener): Documentation added.
4165         * java/awt/dnd/DropTargetContext.java
4166         (DropTargetContext): Documentation added.
4167         (TransferableProxy.TransferableProxy): New method.
4168         (dropComplete): Fixed documentation.
4169         (getTransferable): Fixed documentation.
4170         (createTransferableProxy): Implemented.
4171         * java/awt/dnd/DropTargetDragEvent.java
4172         (DropTargetDragEvent): Documentation added.
4173         (serialVersionUID): New member variable.
4174         (DropTargetDragEvent): Throw exceptions, documentation added.
4175         (acceptDrag): Implemented.
4176         (getCurrentDataFlavors): Implemented.3yy
4177         (getCurrentDataFlavorsAsList): Implemented.
4178         (isDataFlavorSupported): Implemented.
4179         (rejectDrag): Implemented.
4180         * java/awt/dnd/DropTargetDropEvent.java
4181         (DropTargetDropEvent): Documentation added.
4182         (serialVersionUID): New member variable.
4183         (actions): Renamed from srcActions for serialization issues.
4184         (isLocalTx): Renamed from isLocalTx for serialization issues.
4185         (DropTargetDropEvent): New implementation, throw exceptions,
4186         documentation added.
4187         (getCurrentDataFlavors): Implemented.
4188         (getCurrentDataFlavorsAsList): Implemented.
4189         (isDataFlavorSupported): Implemented.
4190         (getSourceActions): Implemented.
4191         (getDropAction): Implemented.
4192         (getTransferable): Implemented.
4193         (acceptDrop): Implemented.
4194         (rejectDrop): Implemented.
4195         * java/awt/dnd/DropTargetListener.java
4196         (drop): Fixed documentation.
4197         * java/awt/dnd/MouseDragGestureRecognizer.java
4198         (MouseDragGestureRecognizer): Documentation added.
4199
4200 2003-02-17  Michael Koch  <konqueror@gmx.de>
4201
4202         * java/awt/font/FontRenderContext.java,
4203         java/awt/font/ShapeGraphicAttribute.java,
4204         java/awt/font/MultipleMaster.java,
4205         java/awt/font/TransformAttribute.java,
4206         java/awt/font/GlyphJustificationInfo.java,
4207         java/awt/font/LineBreakMeasurer.java,
4208         java/awt/font/TextMeasurer.java,
4209         java/awt/font/TextLayout.java,
4210         java/awt/font/LineMetrics.java,
4211         java/awt/font/TextAttribute.java,
4212         java/awt/font/GlyphMetrics.java,
4213         java/awt/font/OpenType.java,
4214         java/awt/font/GlyphVector.java,
4215         java/awt/font/GraphicAttribute.java,
4216         java/awt/font/ImageGraphicAttribute.java,
4217         java/awt/font/NumericShaper.java: New files.
4218         * Makefile.am
4219         (awt_java_source_files): Added the following files:
4220         java/awt/font/FontRenderContext.java
4221         java/awt/font/ShapeGraphicAttribute.java
4222         java/awt/font/MultipleMaster.java
4223         java/awt/font/TransformAttribute.java
4224         java/awt/font/GlyphJustificationInfo.java
4225         java/awt/font/LineBreakMeasurer.java
4226         java/awt/font/TextMeasurer.java
4227         java/awt/font/TextLayout.java
4228         java/awt/font/LineMetrics.java
4229         java/awt/font/TextAttribute.java
4230         java/awt/font/GlyphMetrics.java
4231         java/awt/font/OpenType.java
4232         java/awt/font/GlyphVector.java
4233         java/awt/font/GraphicAttribute.java
4234         java/awt/font/ImageGraphicAttribute.java
4235         java/awt/font/NumericShaper.java
4236         * Makefile.in: Regenerated.
4237
4238 2003-02-17  Michael Koch  <konqueror@gmx.de>
4239
4240         * java/awt/print/Paper.java
4241         (Paper): Implements Cloneable.
4242         * java/awt/print/PrinterJob.java
4243         (setJobName): Return value must be void.
4244         (print): Throws PrinterException.
4245         
4246 2003-02-16  Tom Tromey  <tromey@redhat.com>
4247
4248         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4249         variable.
4250
4251 2003-02-15  Michael Koch  <konqueror@gmx.de>
4252
4253         * java/awt/datatransfer/DataFlavor.java
4254         (isRepresentationClassByteBuffer): Removed try-catch block.
4255         (isRepresentationClassCharBuffer): Removed try-catch block.
4256         (isRepresentationClassReader): Removed try-catch block.
4257
4258 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
4259
4260         * java/nio/charset/Charset.java
4261         (isRegistered): Fixed method args and implementation.
4262         * java/nio/charset/CharsetEncoder.java
4263         (unmappableCharacterAction): New method.
4264
4265 2003-02-15  Michael Koch  <konqueror@gmx.de>
4266
4267         * java/awt/CheckboxMenuItem.java
4268         (CheckBoxMenuItem): Dont implement Serializable.
4269         (getListeners): New method,
4270         (getItemListeners): New method.
4271         * java/awt/Choice.java
4272         (getListeners): New method,
4273         (getItemListeners): New method.
4274         * java/awt/Container.java
4275         (getListeners): Added exception documentation.
4276         (setFocusTraversalKeys): Throw exceptions, added documentattion.
4277         (getFocusTraversalKeys): Added documentation.
4278         (areFocusTraversalKeysSet): Added documentation.
4279         (applyComponentOrientation): Added documentation.
4280         * java/awt/ContainerOrderFocusTraversalPolicy.java
4281         (implicitDownCycleTraversal): Renamed from downCycle for
4282         serialization.
4283         (ContainerOrderFocusTraversalPolicy): Added documentation.
4284         (accept): Reformated.
4285         * java/awt/Dialog.java
4286         (Dialog): Dont implement Serializable.
4287         (Dialog): Added documentation.
4288         * java/awt/Font.java
4289         (Font): Dont use absolute class name.
4290         * java/awt/Frame.java
4291         (Frame): Font implement Serializable.
4292         * java/awt/List.java
4293         (getListeners): New method,
4294         (getActionListeners): New method.       
4295         (getItemListeners): New method.
4296         * java/awt/Menu.java
4297         (countItems): New deprecated method.
4298         * java/awt/Scrollbar.java
4299         (getListeners): New method,
4300         (getAdjustmentListeners): New method,
4301         * java/awt/TextComponent.java
4302         (getListeners): New method,
4303         (getTextListeners): New method,
4304         * java/awt/TextField.java
4305         (getListeners): New method,
4306         (getActionListeners): New method.       
4307         * java/awt/Window.java
4308         (windowFocusListener): New member variable.
4309         (windowStateListener): New member variable.
4310         (getWindowFocusListeners): New method.
4311         (getWindowStateListeners): New method.
4312         (addWindowFocusListener): New method.
4313         (addWindowStateListener): New method.
4314         (removeWindowFocusListener): New method.
4315         (removeWindowStateListener): New method.
4316         * java/awt/datatransfer/DataFlavor.java
4317         (isRepresentationClassByteBuffer): New method.
4318         (isRepresentationClassCharBuffer): New method.
4319         (isRepresentationClassReader): New method.
4320
4321 2003-02-14  Mark Wielaard  <mark@klomp.org>
4322
4323         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4324         zero when there is an exponent and the significant is zero.
4325         (divide): Always set scale to newScale even in special ZERO case.
4326
4327 2003-02-14  Tom Tromey  <tromey@redhat.com>
4328
4329         * java/lang/System.java (properties): Use Properties.clone.
4330         (setProperties): Likewise.
4331
4332 2003-02-14  Michael Koch  <konqueror@gmx.de>
4333
4334         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4335         * gnu/java/nio/ServerSocketChannelImpl.java
4336         (SocketAccept): Removed.
4337         (accept): Commented out use of SocketAccept.
4338
4339 2003-02-13  Tom Tromey  <tromey@redhat.com>
4340
4341         * verify.cc (state::seen_subrs): New field.
4342         (state::state): Initialize it.
4343         (state::clean_subrs): New method.
4344         (state::~state): Call it.
4345         (state::copy): Copy subroutine list.
4346         (state::add_subr): New method.
4347         (state::merge): Only register a change if the current subroutine
4348         hasn't yet been noted.
4349
4350 2003-02-13  Mark Wielaard  <mark@klomp.org>
4351
4352         * java/io/InputStreamReader.java (getEncoding): Return null when
4353         closed.
4354         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4355
4356 2003-02-13  Mark Wielaard  <mark@klomp.org>
4357  
4358         * java/util/zip/InflaterInputStream.java (read): Return zero when len
4359         is zero.
4360
4361 2003-02-13  Mark Wielaard  <mark@klomp.org>
4362
4363         * java/io/BufferedOutputStream.java (write(int)): Only flush when
4364         next byte cannot be buffered.
4365
4366 2003-02-13  Michael Koch  <konqueror@gmx.de>
4367  
4368         * java/awt/Label.java
4369         (Label): Don't implement Serializable directly.
4370         (addNotify): Fixed typo in documentation.
4371         * java/awt/List.java
4372         (List): Don't implement Serializable directly.
4373         * java/awt/PopupMenu.java
4374         (PopupMenu): Don't implement Serializable directly.
4375         * java/awt/ScrollPane.java
4376         (ScrollPane): Don't implement Serializable directly.
4377         * java/awt/Scrollbar.java
4378         (Scrollbar): Don't implement Serializable directly.
4379         * java/awt/TextArea.java
4380         (preferredSize): Fixed method arguments.
4381         * java/awt/TextField.java
4382         (TextField): Don't implement Serializable directly.
4383         * java/awt/color/ICC_ColorSpace.java
4384         (fromCIOXYZ): Documentation added.
4385         (getMinValue): Documentation added.
4386         (getMaxValue): Documentation added.
4387         * java/awt/datatransfer/DataFlavor.java
4388         (isMimeTypeEqual): May not be final.
4389         (clone): Throws CloneNotSupportedException.
4390         (getReaderForText): Don't throws UnsupportedEncodingException.
4391
4392 2003-02-13  Michael Koch  <konqueror@gmx.de>
4393  
4394         * gnu/java/awt/peer/gtk/GdkGraphics.java
4395         (drawString): New stubbed method.
4396         * java/awt/Graphics.java
4397         (drawString): New method.
4398
4399 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
4400
4401         PR libgcj/9271:
4402         * java/security/SecureRandom.java (next): Avoid bias in results.
4403
4404 2003-02-13  Michael  <konqueror@gmx.de>
4405
4406         * gnu/java/nio/FileChannelImpl.java
4407         (lengthInternal): Must be native.
4408         (size): Check if channel is already closed.
4409         (implCloseChannel): Reformated.
4410         (read): w was unused, removed it.
4411         (read): Removed.
4412         (read): New method.
4413         (write): New method.
4414         (map): Check arguments.
4415         (force): Throws IOException, check if channel is closed.
4416         (transferTo): New method.
4417         (transferFrom): New method.
4418         (lock): New method.
4419         (tryLock): New method.
4420         (position): New method.
4421         (truncate): New method.
4422         (nio_mmap_file): Uncommented.
4423         (nio_munmap_file): Uncommented.
4424         (nio_msync): Uncommented.
4425         * gnu/java/nio/natFileChannelImpl.cc: New file.
4426         
4427 2003-02-13  Michael Koch  <konqueror@gmx.de>
4428
4429         * java/nio/ByteBuffer.java
4430         (endian): New member variable.
4431         (get): New methods.
4432         (equals): New method.
4433         (compareTo): New method.
4434         (order): New methods.
4435         (compact): New method.
4436         (isDirect): New method.
4437         (slice): New method.
4438         (duplicate): New method.
4439         (asReadOnlyBuffer): New method.
4440         (asCharBuffer): New method.
4441         (asDoubleBuffer): New method.
4442         (asFloatBuffer): New method.
4443         (asIntBuffer): New method.
4444         (asLongBuffer): New method.
4445         (asShortBuffer): New method.
4446         (get*): New methods.
4447         (put*): New methods.
4448         (toString): New method.
4449         * java/nio/CharBuffer.java
4450         (CharBuffer): Implement Comparable instead of Cloneable.
4451         (get): May not be final.
4452         (put): May not be final.
4453         
4454 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
4455
4456         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4457         lastIndexOf( ) instead of indexOf( ) to find the colon before
4458         the line number, because Win32 file names might contain a 
4459         drive letter and a colon at the start of an absolute path.
4460
4461 2003-02-13  Michael Koch  <konqueror@gmx.de>
4462
4463         * gnu/java/nio/natSocketChannelImpl.cc
4464         (SocketConnect): This is not implemented yet.
4465         (SocketBind): This is not implemented yet.
4466
4467 2003-02-13  Michael Koch  <konqueror@gmx.de>
4468
4469         * gnu/java/nio/natByteBufferImpl.cc,
4470         gnu/java/nio/natCharBufferImpl.cc,
4471         gnu/java/nio/natDoubleBufferImpl.cc,
4472         gnu/java/nio/natFloatBufferImpl.cc,
4473         gnu/java/nio/natIntBufferImpl.cc,
4474         gnu/java/nio/natLongBufferImpl.cc,
4475         gnu/java/nio/natShortBufferImpl.cc:
4476         Added copyright and license.
4477         * java/nio/DoubleBuffer.java,
4478         java/nio/FloatBuffer.java,
4479         java/nio/IntBuffer.java,
4480         java/nio/LongBuffer.java,
4481         java/nio/ShortBuffer.java
4482         (array): Throw exceptions.
4483         (arrayOffset): Throw exceptions.
4484
4485 2003-02-13  Michael Koch  <konqueror@gmx.de>
4486  
4487         * gnu/java/util/prefs/FileBasedFactory.java,
4488         gnu/java/util/prefs/MemmoryBasedFactory.java,
4489         gnu/java/util/prefs/MemoryBasedPreferences.java,
4490         gnu/java/util/prefs/NodeReader.java,
4491         gnu/java/util/prefs/NodeWriter.java,
4492         java/util/prefs/AbstractPreferences.java,
4493         java/util/prefs/BackingStoreException.java,
4494         java/util/prefs/InvalidPreferencesFormatException.java,
4495         java/util/prefs/NodeChangeEvent.java,
4496         java/util/prefs/NodeChangeListener.java,
4497         java/util/prefs/PreferenceChangeEvent.java,
4498         java/util/prefs/PreferenceChangeListener.java,
4499         java/util/prefs/Preferences.java,
4500         java/util/prefs/PreferencesFactory.java:
4501         New files, all merged from classpath.
4502         * Makefile.am
4503         (ordinary_java_source_files): Added the following files:
4504         gnu/java/util/prefs/FileBasedFactory.java,
4505         gnu/java/util/prefs/MemmoryBasedFactory.java,
4506         gnu/java/util/prefs/MemoryBasedPreferences.java,
4507         gnu/java/util/prefs/NodeReader.java,
4508         gnu/java/util/prefs/NodeWriter.java,
4509         (core_java_source_files): Added the following files:
4510         java/util/prefs/AbstractPreferences.java,
4511         java/util/prefs/BackingStoreException.java,
4512         java/util/prefs/InvalidPreferencesFormatException.java,
4513         java/util/prefs/NodeChangeEvent.java,
4514         java/util/prefs/NodeChangeListener.java,
4515         java/util/prefs/PreferenceChangeEvent.java,
4516         java/util/prefs/PreferenceChangeListener.java,
4517         java/util/prefs/Preferences.java,
4518         java/util/prefs/PreferencesFactory.java
4519         * Makefile.in: Regenerated.
4520  
4521 2003-02-13  Michael Koch  <konqueror@gmx.de>
4522
4523         * java/net/NetPermission.java
4524         (NetPermission): Make doucmentation match the method declaration.
4525         * java/net/NetworkInterface.java
4526         (equals): Reformated for GNU coding style.
4527         * java/net/ServerSocket.java: Merged with classpath.
4528         * java/net/Socket.java: Partly merged with classpath (Added some @since).
4529         * java/net/SocketImpl.java
4530         (localPort): Merged with classpath (initialize with -1).
4531         * java/net/SocketPermission.java: Merged with classpath (reindented).
4532         * java/net/URLDecoder.java: Merged with classpath (reindented).
4533
4534 2003-02-13  Michael Koch  <konqueror@gmx.de>
4535
4536         * java/awt/GridBagConstraints.java
4537         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4538         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4539         * java/awt/KeyboardFocusManager.java
4540         (setGlobalCurrentFocusCycleRoot): Must be public.
4541         * java/awt/MenuComponent.java
4542         (MenuComponent): Must be public.
4543         * java/awt/Toolkit.java:
4544         Added some empty lines to make documentation more readable.
4545         (getFontPeer): Added @deprecated.
4546         (getColorModel): Added exception documentation.
4547         (getProperty): Fixed documentation.
4548  
4549 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
4550
4551         * configure.host (alpha*-*): Default to -mieee.
4552         * configure.in (IEEESPEC): New.
4553         * libgcj.spec.in (jc1): Add IEEESPEC.
4554         * configure: Rebuild.
4555
4556 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4557
4558         * include/win32.h: Include ws2tcpip.h instead of
4559         winsock.h to obtain definition of the socklen_t type.
4560         Remove IP_TOS definition - not needed with ws2tcpip.h
4561         (_Jv_connect): Correct slight formatting error.
4562
4563 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
4564
4565         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4566         size of the arguments for a JNI function. For Win32,
4567         modify to search for all forms of possible exported
4568         names of an stdcall JNI function.
4569         (_Jv_JNIMethod::call): Modify to calculate the size
4570         of the arguments passed to a JNI function and pass
4571         it to _Jv_LookupJNIMethod.
4572
4573 2003-02-12  Michael Koch  <konqueror@gmx.de>
4574
4575         * java/nio/channels/Channels.java: New file.
4576         * Makefile.am
4577         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4578         * Makefile.in: Regenerated.
4579
4580 2003-02-12  Michael Koch  <konqueror@gmx.de>
4581
4582         * java/nio/ByteBuffer.java
4583         (allocate): Implemented.
4584         (wrap): Implemented.
4585         * java/nio/CharBuffer.java:
4586         Some documentation added and reworked.
4587         (endian): Removed.
4588         (allocate): Implemented.
4589         (wrap): Implemented.
4590         (array): Throw exceptions.
4591         (arrayOffset): Throw exceptions.
4592         (toString): Implemented.
4593         (length): Implemented.
4594         (put): Implemented.
4595         (charAt): Implemented.
4596
4597 2003-02-11  John Leuner  <jewel@debian.org>
4598
4599         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
4600         reads from end of file.
4601
4602 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
4603
4604         * java/io/natFileDescriptorWin32.cc 
4605         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4606         returns with Win32 error code ERROR_BROKEN_PIPE.
4607
4608 2003-02-11  Michael Koch  <konqueror@gmx.de>
4609
4610         * Makefile.in
4611         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4612
4613 2003-02-11  Michael Koch  <konqueror@gmx.de>
4614
4615         * gnu/java/nio/ByteBufferImpl.java:
4616         Reformated and removed some code.
4617         (backing_buffer): Removed.      
4618         (array_offset): Removed.
4619         (ro): Renamed to readOnly.
4620         (ByteBufferImpl): Use parent constructor, initialize readOnly.
4621         * gnu/java/nio/CharBufferImpl.java:
4622         Reformated and removed some code.
4623         (array_offset): Removed.
4624         (ro): Renamed to readOnly.
4625         (CharBufferImpl): Use parent constructor, initialize readOnly.
4626         (inc_pos): Removed.
4627         (order): New method.
4628         * gnu/java/nio/DoubleBufferImpl.java:
4629         Reformated and removed some code.
4630         (array_offset): Removed.
4631         (ro): Renamed to readOnly.
4632         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4633         (inc_pos): Removed.
4634         (order): New method.
4635         * gnu/java/nio/FloatBufferImpl.java:
4636         Reformated and removed some code.
4637         (array_offset): Removed.
4638         (ro): Renamed to readOnly.
4639         (FloatBufferImpl): Use parent constructor, initialize readOnly.
4640         (inc_pos): Removed.
4641         (order): New method.
4642         * gnu/java/nio/IntBufferImpl.java:
4643         Reformated and removed some code.
4644         (array_offset): Removed.
4645         (ro): Renamed to readOnly.
4646         (IntBufferImpl): Use parent constructor, initialize readOnly.
4647         (inc_pos): Removed.
4648         (order): New method.
4649         * gnu/java/nio/LongBufferImpl.java:
4650         Reformated and removed some code.
4651         (array_offset): Removed.
4652         (ro): Renamed to readOnly.
4653         (LongBufferImpl): Use parent constructor, initialize readOnly.
4654         (inc_pos): Removed.
4655         (order): New method.
4656         * gnu/java/nio/ShortBufferImpl.java:
4657         Reformated and removed some code.
4658         (array_offset): Removed.
4659         (ro): Renamed to readOnly.
4660         (ShortBufferImpl): Use parent constructor, initialize readOnly.
4661         (inc_pos): Removed.
4662         (order): New method.
4663         * Makefile.am
4664         (ordinary_java_source_files): Added the following files:
4665         gnu/java/nio/ByteBufferImpl.java
4666         gnu/java/nio/CharBufferImpl.java
4667         gnu/java/nio/DoubleBufferImpl.java
4668         gnu/java/nio/FloatBufferImpl.java
4669         gnu/java/nio/IntBufferImpl.java
4670         gnu/java/nio/LongBufferImpl.java
4671         gnu/java/nio/ShortBufferImpl.java
4672         java/nio/DoubleBuffer.java
4673         java/nio/FloatBuffer.java
4674         java/nio/IntBuffer.java
4675         java/nio/LongBuffer.java
4676         java/nio/ShortBuffer.java
4677         (nat_source_files): Added the following files:
4678         gnu/java/nio/natByteBufferImpl.cc
4679         gnu/java/nio/natCharBufferImpl.cc
4680         gnu/java/nio/natDoubleBufferImpl.cc
4681         gnu/java/nio/natFloatBufferImpl.cc
4682         gnu/java/nio/natIntBufferImpl.cc
4683         gnu/java/nio/natLongBufferImpl.cc
4684         gnu/java/nio/natShortBufferImpl.cc
4685         * Makefile.in: Regenerated.
4686
4687 2003-02-11  Michael Koch  <konqueror@gmx.de>
4688
4689         * gnu/java/nio/natCharBufferImpl.cc
4690         (nio_cast): Removed.
4691         (nio_put_*): Removed.
4692         (nio_get_*): Removed.
4693         * gnu/java/nio/natDoubleBufferImpl.cc
4694         (nio_cast): Removed.
4695         (nio_put_*): Removed.
4696         (nio_get_*): Removed.
4697         * gnu/java/nio/natFloatBufferImpl.cc
4698         (nio_cast): Removed.
4699         (nio_put_*): Removed.
4700         (nio_get_*): Removed.
4701         * gnu/java/nio/natIntBufferImpl.cc
4702         (nio_cast): Removed.
4703         (nio_put_*): Removed.
4704         (nio_get_*): Removed.
4705         * gnu/java/nio/natLongBufferImpl.cc
4706         (nio_cast): Removed.
4707         (nio_put_*): Removed.
4708         (nio_get_*): Removed.
4709         * gnu/java/nio/natShortBufferImpl.cc
4710         (nio_cast): Removed.
4711         (nio_put_*): Removed.
4712         (nio_get_*): Removed.
4713         * gnu/java/nio/SelectorProviderImpl.java
4714         (openDatagramChannel): Throws IOException.
4715         (openPipe): Throws IOException.
4716         (openSelector): Throws IOException.
4717         (openServerSocketChannel): Throws IOException.
4718         (openSocketChannel): Throws IOException.
4719         * gnu/java/nio/ServerSocketChannelImpl.java
4720         (ServerSocketChannelImpl): Throws IOException.
4721         (implCloseSelectableChannel): Throws IOException.
4722         (implConfigureBlocking): Throws IOException.
4723         * java/nio/ByteBuffer.java
4724         (readOnly): Removed.
4725         (hasArray): Use isReadOnly() instead of readOnly.
4726         (array): Use isReadOnly() instead of readOnly.
4727         (arrayOffset): Use isReadOnly() instead of readOnly.
4728         * java/nio/CharBuffer.java
4729         (CharBuffer): Implements Cloneable and CharSequence.
4730
4731 2003-02-11  Michael Koch  <konqueror@gmx.de>
4732
4733         * java/nio/DoubleBuffer.java
4734         (DoubleBuffer): Implements Comparable.
4735         (endian): Removed.
4736         (array_offset): New member variable.
4737         (DoubleBuffer): New constuctor.
4738         (get): May not be final.
4739         (put): May not be final.
4740         (arrayOffset): Implemented.
4741         (order): Made abstract.
4742         (order): Removed.
4743         (as*Buffer): Removed.
4744         (get*): Removed.
4745         (put*): Removed.
4746         * java/nio/FloatBuffer.java
4747         (FloatBuffer): Implements Comparable.
4748         (endian): Removed.
4749         (array_offset): New member variable.
4750         (FloatBuffer): New constuctor.
4751         (get): May not be final.
4752         (put): May not be final.
4753         (arrayOffset): Implemented.
4754         (order): Made abstract.
4755         (order): Removed.
4756         (as*Buffer): Removed.
4757         (get*): Removed.
4758         (put*): Removed.
4759         * java/nio/IntBuffer.java
4760         (IntBuffer): Implements Comparable.
4761         (endian): Removed.
4762         (array_offset): New member variable.
4763         (IntBuffer): New constuctor.
4764         (get): May not be final.
4765         (put): May not be final.
4766         (arrayOffset): Implemented.
4767         (order): Made abstract.
4768         (order): Removed.
4769         (as*Buffer): Removed.
4770         (get*): Removed.
4771         (put*): Removed.
4772         * java/nio/LongBuffer.java
4773         (LongBuffer): Implements Comparable.
4774         (endian): Removed.
4775         (array_offset): New member variable.
4776         (LongBuffer): New constuctor.
4777         (get): May not be final.
4778         (put): May not be final.
4779         (arrayOffset): Implemented.
4780         (order): Made abstract.
4781         (order): Removed.
4782         (as*Buffer): Removed.
4783         (get*): Removed.
4784         (put*): Removed.
4785         * java/nio/ShortBuffer.java
4786         (ShortBuffer): Implements Comparable.
4787         (endian): Removed.
4788         (array_offset): New member variable.
4789         (ShortBuffer): New constuctor.
4790         (get): May not be final.
4791         (put): May not be final.
4792         (arrayOffset): Implemented.
4793         (order): Made abstract.
4794         (order): Removed.
4795         (as*Buffer): Removed.
4796         (get*): Removed.
4797         (put*): Removed.
4798
4799 2003-02-11   Michael Koch  <konqueror@gmx.de>
4800
4801         * java/nio/channels/SelectionKey.java
4802         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4803         values.
4804
4805 2003-02-11  Michael Koch  <konqueror@gmx.de>
4806
4807         * java/nio/channels/DatagramChannel.java
4808         (write): Throws IOException.
4809         (connect): Throws IOException.
4810         (disconnect): Throws IOException.
4811         (read): Throws IOException.
4812         (receive): Throws IOException.
4813         (send): Throws IOException.
4814         * java/nio/channels/Pipe.java
4815         (open): Throws IOException.
4816         * java/nio/channels/SelectableChannel.java
4817         (configureBlocking): Throws IOException.
4818         * java/nio/channels/ServerSocketChannel.java
4819         (accept): Throws IOException.
4820         * java/nio/channels/SocketChannel.java
4821         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4822         GatheringByteChannel.
4823         (read): Throws IOException.
4824         (write): Throws IOException.
4825         (finishConnect): Throws IOException.
4826         * java/nio/channels/spi/AbstractInterruptibleChannel.java
4827         (end): Throws AsynchronousCloseException.
4828         * java/nio/channels/spi/AbstractSelectableChannel.java
4829         (configureBlocking): Throws IOException.
4830         (implCloseChannel): Throws IOException.
4831         (implCloseSelectableChannel): Throws IOException.
4832         (implConfigureBlocking): Throws IOException.
4833         * java/nio/channels/spi/SelectorProvider.java
4834         (openDatagramChannel): Throws IOException.
4835         (openPipe): Throws IOException.
4836         (openSelector): Throws IOException.
4837         (openServerSocketChannel): Throws IOException.
4838         (openSocketChannel): Throws IOException.
4839
4840 2003-02-11  Michael Koch  <konqueror@gmx.de>
4841
4842         * gnu/java/nio/FileLockImpl.java,
4843         java/nio/channels/FileLock.java: New files.
4844
4845 2003-02-11  Michael Koch  <konqueror@gmx.de>
4846
4847         * java/nio/charset/IllegalCharsetNameException.java
4848         (serialVersionUID): New member variable.
4849         (charsetName): New member variable.
4850         (IllegalCharsetException): New implementation.
4851         (getCharsetName): New implementation.
4852         * java/nio/charset/UnsupportedCharsetException.java
4853         (serialVersionUID): New member variable.
4854         (charsetName): New member variable.
4855         (UnsupportedCharsetException): New implementation.
4856         (getCharsetName): New implementation.
4857
4858 2003-02-10  Tom Tromey  <tromey@redhat.com>
4859
4860         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4861         (ex): Renamed from sqlException.
4862
4863 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
4864
4865         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
4866         method used to ensure seeding has occurred and that a specific 
4867         seed can be set and used.
4868
4869 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
4870
4871         * java/lang/Win32Process.java (destroy): Declare as native.
4872         (hasExited): New native method.
4873         (exitValue): Define.
4874         (getErrorStream): Likewise.
4875         (getInputStream): Likewise.
4876         (getOutputStream): Likewise.
4877         (waitFor): Declare as native.
4878         (startProcess): New native method.
4879         (cleanup): Likewise.
4880         (ConcreteProcess): Define.
4881         (outputStream, inputStream, errorStream): New members.
4882         (procHandle, exitCode): Likewise.
4883
4884         * java/lang/natWin32Process.cc
4885         (java::lang::ConcreteProcess::cleanup): Define.
4886         (java::lang::ConcreteProcess::destroy): Likewise.
4887         (java::lang::ConcreteProcess::hasExited): Likewise.
4888         (java::lang::ConcreteProcess::waitFor): Likewise.
4889         (new_string): Likewise.
4890         (java::lang::ConcreteProcess::startProcess): Likewise.
4891
4892 2003-02-10  Raif S. Naffah <raif@fl.net.au>
4893
4894         * java/math/BigInteger.java:
4895         Updated notice to include years 2002 and 3.
4896         Added 2 private (int) arrays with values from the HAC (Handbook of
4897         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4898         and t[] that contains nbr. of tests --used in isProbablePrime().
4899
4900         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4901
4902         * java/math/BigInteger.java (make(int[],int), add(int,int),
4903         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4904         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4905         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4906         make(long).
4907
4908         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4909         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4910         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4911         BIs and returns void.
4912         (modInverse(BI)): Use new signatures of euclidInv().
4913
4914         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4915         static small primes instead of remainder().
4916         Use pre-computed max nbr of trials based on bitlength of BI to test.
4917         Use pre-computed small primes for the trial tests instead of random
4918         numbers.
4919
4920         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4921         not used.
4922
4923         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4924         invoacation of MPN.chars_per_word().  not used.
4925
4926         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4927         local var and used where needed.
4928
4929         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4930         Combined declaration with initialisation of locals.
4931         Removed unused var.
4932
4933         * java/math/BigInteger.java: Style changes
4934         (pow(int)): Removed 'else' keyword.
4935         (toString(int)): idem.
4936         (doubleValue()): idem.
4937         (bitLength()): idem.
4938         (equals(Object)): Use static methods name in same class w/o prepending
4939         class name.
4940         (doubleValue()): idem.
4941         (setNegative(BI)): idem.
4942         (negate()): idem.
4943         (and(BI,int)): idem.
4944         (and(BI)): idem.
4945         (gcd(BI)): idem.
4946         (byteArrayToIntArray()): Removed casting to (int). this is
4947         std. behaviour.
4948         (canonicalize()): idem.
4949         (alloc(int)): Always instantiate a new BI.
4950
4951 2003-02-10  Tom Tromey  <tromey@redhat.com>
4952
4953         * java/sql/Timestamp.java (compareTo(Object)): New method.
4954         (compareTo(Timestamp)): Likewise.
4955         (serialVersionUID): Updated.
4956
4957 2003-02-07  Mark Wielaard  <mark@klomp.org>
4958
4959         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4960         when verify is true.
4961         (JarFile(File, boolean)): Likewise.
4962         (manifestRead): Set manifestRead field correctly.
4963
4964 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4965
4966         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4967         tests; see patch #1016 on Savannah.
4968
4969 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4970
4971         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4972         (toString): do not return Strings starting with . and - erroneously.
4973         Improves Mauve results to 12 of 600 instead of 16 of 338 on
4974         DiagBigDecimal.
4975
4976 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4977
4978         * java/beans/PropertyDescriptor.java
4979         (PropertyDescriptor(String, Class)): Sanity check getter and setter
4980         methods.
4981         (PropertyDescriptor(String, Class, String, String)): Likewise.
4982         (PropertyDescriptor(String, Method, Method): Factor out getter and
4983         setter method sanity checks into new method.
4984         (findMethods): Don't do parameter sanity checking of get method here.
4985         (checkMethods): New method.
4986
4987 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
4988
4989         * java/beans/PropertyDescriptor.java: Reformat.
4990
4991 2003-02-04  Tom Tromey  <tromey@redhat.com>
4992
4993         * java/io/PipedOutputStream.java (flush): Declare as throwing
4994         IOException.
4995         (close): Likewise.
4996         * java/io/PipedWriter.java (close): Declare as throwing
4997         IOException.
4998         * java/io/StringWriter.java (close): Declare as throwing
4999         IOException.
5000
5001 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5002
5003         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5004         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5005         could also have been exported as "JNI_OnLoad@8" (MinGW) or
5006         "_JNI_OnLoad@8" (MSVC).
5007
5008 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
5009
5010         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5011         convention on Win32 to invoke native JNI methods.
5012
5013 2003-02-03  Andrew Haley  <aph@redhat.com>
5014
5015         * configure.host (x86_64): Enable interpreter.
5016
5017 2003-02-03  Andrew Haley  <aph@redhat.com>
5018
5019         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5020         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5021         * configure.in (BACKTRACESPEC): New.
5022         * configure: Regenerate.
5023
5024 2003-02-02  Tom Tromey  <tromey@redhat.com>
5025
5026         * configure: Rebuilt.
5027         * configure.in (TOOLKIT) [xlib]: Set correctly.
5028
5029         * Makefile.in: Rebuilt.
5030         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5031         libstdc++.
5032
5033 2003-01-31  Mark WIelaard  <mark@klomp.org>
5034
5035         * Makefile.in: Rebuilt.
5036         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5037
5038 2003-01-31  Tom Tromey  <tromey@redhat.com>
5039
5040         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5041         cast to element type.
5042         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5043         (_Jv_JNI_GetObjectArrayElement): Likewise.
5044
5045         * Makefile.in: Rebuilt.
5046         * Makefile.am (cond_x_ltlibrary): Renamed library to
5047         lib-gnu-awt-xlib.la.
5048         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5049         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5050         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5051         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5052         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5053         (lib_gnu_awt_xlib_la_LINK): Likewise.
5054         (install-exec-hook): Removed.
5055         (lib-gnu-awt-xlib.la): Renamed.
5056
5057 2003-01-31  Tom Tromey  <tromey@redhat.com>
5058
5059         * aclocal.m4, configure, include/config.h.in: Rebuilt.
5060         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5061         aclocal.m4 and lost in some merge.
5062
5063         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5064         Don't try to find graphics configuration.
5065         * java/awt/Toolkit.java (default_toolkit_name): Use new
5066         Configuration entry.
5067         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5068         New global.
5069         * configure: Rebuilt.
5070         * configure.in (TOOLKIT): New subst.
5071         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5072         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
5073         directory.  Make output directories for .c files.
5074         * Makefile.in: Rebuilt.
5075         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5076         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5077         (all_java_source_files): Added new sources.
5078         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5079         (gtk_c_files): New macro.
5080         (gtk_c_source_files): New macro.
5081         (cond_gtk_ltlibrary): New macro.
5082         ($(gtk_c_files)): New target.
5083         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5084         (gtk_awt_peer_sources): New macro.
5085         (gtk_c_headers): New macro.
5086         ($(gtk_c_headers)): New target.
5087         (ACLOCAL_AMFLAGS): New macro.
5088         * gtk.m4, glib.m4, libart.m4: New files.
5089         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5090         gnu/java/awt/peer/gtk/GdkGraphics.java,
5091         gnu/java/awt/peer/gtk/GtkArg.java,
5092         gnu/java/awt/peer/gtk/GtkArgList.java,
5093         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5094         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5095         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5096         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5097         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5098         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5099         gnu/java/awt/peer/gtk/GtkClipboard.java,
5100         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5101         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5102         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5103         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5104         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5105         gnu/java/awt/peer/gtk/GtkFramePeer.java,
5106         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5107         gnu/java/awt/peer/gtk/GtkImage.java,
5108         gnu/java/awt/peer/gtk/GtkImagePainter.java,
5109         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5110         gnu/java/awt/peer/gtk/GtkListPeer.java,
5111         gnu/java/awt/peer/gtk/GtkMainThread.java,
5112         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5113         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5114         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5115         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5116         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5117         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5118         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5119         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5120         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5121         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5122         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5123         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5124         gnu/java/awt/peer/gtk/GtkToolkit.java,
5125         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5126         gnu/java/awt/peer/gtk/TestAWT.java,
5127         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5129         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5130         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5131         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5132         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5133         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5134         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5135         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5136         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5137         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5138         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5139         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5140         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5141         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5142         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5143         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5144         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5145         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5146         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5147         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5148         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5149         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5150         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5151         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5152         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5153         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5154         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5155         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5156         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5157         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5158         jni/classpath/native_state.c, jni/classpath/native_state.h,
5159         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5160
5161 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
5162
5163         * java/util/Properties.java (load): Ignore backslash before EOF.
5164
5165 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
5166
5167         * java/lang/natClass.cc (initializeClass): Check tables when
5168         (state == JV_STATE_IN_PROGRESS).
5169         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5170         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5171         interpreted classes.
5172         (linkClass0): Use _Jv_WaitForState.
5173
5174 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
5175
5176         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5177         object when finished.
5178
5179 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
5180
5181         * libjava/configure.host: Disable can_unwind_signal on darwin.
5182
5183 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
5184
5185         Fixes PR java/9254:
5186         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5187         additionally containing id of the owner thread as well as
5188         the number of nested times the thread has acquired the mutex.
5189         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5190         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5191         (_Jv_MutexUnlock): Check if really the owner thread, reset
5192         owner thread id to 0 before leaving, if leaving for the last
5193         time.
5194         (_Jv_MutexLock): Set owner thread id in the mutex and increment
5195         refcount.
5196         (_Jv_ThreadYield): Yield using a call to Sleep(0).
5197         * win32-threads.cc (_Jv_CondWait): Check if really owner of
5198         the passed mutex.
5199         Pass handle of the broadcast event, instead of a pointer to it
5200         in Win32 ResetEvent( ) call.
5201         Remove incorrect return values.
5202         (_Jv_CondDestroy): Close both event handles and delete
5203         critical section.
5204         (_Jv_CondNotify): Check if really the owner thread.
5205         (_Jv_CondNotifyAll): Check if really the owner thread.
5206         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5207         (really_start): Use SetEvent( ) to signal daemon_cond.
5208         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5209         WaitForSingleObject( ) instead to wait for daemon_cond to be
5210         signalled.
5211
5212 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
5213
5214         * configure.in: Specifically define HAVE_BACKTRACE if building
5215         for MinGW.
5216         * include/win32.h: Remove HAVE_BACKTRACE definition.
5217         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5218         * configure: Rebuilt.
5219
5220 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5221
5222         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5223         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
5224         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5225         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5226         * Makefile.in, configure: Rebuilt.
5227
5228 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
5229
5230         Fixes PR java/9253:
5231         * java/io/natFileWin32.cc (performList): Append only "*.*"
5232         if the canonical file path already has a "\" at the end.
5233
5234 2003-01-24  Tom Tromey  <tromey@redhat.com>
5235
5236         * defineclass.cc (handleMethodsEnd): Precompute code for static
5237         method.
5238         (handleCodeAttribute): Likewise.
5239         * resolve.cc (ncode): Use run_class for unsynchronized static
5240         methods.
5241         * include/java-interp.h (class _Jv_InterpMethod): Declare
5242         run_class.
5243         * interpret.cc (run_synch_class): Initialize class.
5244         (run) [insn_invokestatic]: Don't initialize class.
5245         [insn_anewarray]: Likewise.
5246         [insn_multianewarray]: Likewise.
5247         (run_class): New function.
5248
5249 2003-01-24  Tom Tromey  <tromey@redhat.com>
5250
5251         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5252         comment.
5253
5254 2003-01-22  Andrew Haley  <aph@redhat.com>
5255
5256         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5257         * configure.host (CHECKREFSPEC): Define for x86_64.
5258
5259 2003-01-21  Tom Tromey  <tromey@redhat.com>
5260
5261         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5262         search at 2, not 3.
5263
5264 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
5265
5266         * java/io/natFileWin32.cc (isAbsolute): Check path length before
5267         looking at any characters.
5268         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5269         be used.
5270         (isAbsolute): Check path's length as well.
5271
5272 2003-01-17  Mark Wielaard  <mark@klomp.org>
5273
5274         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5275         (nat_source_files): Add natVMObjectStreamClass.cc.
5276         * Makefile.in: Regenerated.
5277         * gcj/javaprims.h (namespace java): Regenerated.
5278         * java/io/ObjectStreamClass.java (getClassUID): Call
5279         VMObjectStreamClass.hasClassInitializer().
5280         (hasClassInitializer): Removed.
5281         * java/io/VMObjectStreamClass.java: New class.
5282         * java/io/natVMObjectStreamClass.cc: New file.
5283         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5284
5285 2003-01-16  Mark Wielaard  <mark@klomp.org>
5286
5287         * java/net/SocketImpl.java (toString): Don't explicitly call
5288         toString() on possible null address.
5289
5290 2003-01-16  Michael Koch  <konqueror@gmx.de>
5291
5292         * java/net/MulticastSocket.java
5293         (setInterface): Reindented.
5294
5295 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5296
5297         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5298         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5299         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5300         translateY arguments.  Implement.
5301         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5302         down translation arguments.
5303         (drawPolyline, drawPolygon): Fix incorrect tests.
5304         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5305         translateX and translateY arguments.
5306
5307 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5308
5309         * Makefile.in: Rebuilt.
5310         * Makefile.am (xlib_includes): New macro.
5311         (INCLUDES): Use it.
5312
5313 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5314
5315         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5316         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5317         16-bit display mode.
5318
5319 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
5320
5321         * java/awt/CardLayout.java (show): Rewrote.
5322         (gotoComponent): Removed `target' argument.  Simplified code.
5323         Don't pre-compute `choice' unless `what' is FIRST or LAST.
5324         Changed all callers.
5325         (NONE): Removed.
5326         
5327 2003-01-14  Michael Koch  <konqueror@gmx.de>
5328
5329         * java/net/InetSocketAddress.java
5330         (serialVersionUID): New member variable.
5331         * java/net/NetPermission.java
5332         (NetPermission): Dont implement java.io.Serialization directly.
5333         * java/net/SocketAddress.java:
5334         (serialVersionUID): Documentation added.
5335         
5336 2003-01-14  Michael Koch  <konqueror@gmx.de>
5337
5338         * java/awt/Label.java
5339         (Label): Implements javax.accessibility.Accessible;
5340         * java/awt/List.java
5341         (List): Implements javax.accessibility.Accessible;
5342         * java/awt/ScrollPane.java
5343         (ScrollPane): Implements javax.accessibility.Accessible;
5344         * java/awt/Scrollbar.java
5345         (Scrollbar): Implements javax.accessibility.Accessible;
5346         * java/awt/TextComponent.java
5347         (setCaretPosition): Throw exception, documentation added.
5348         * java/awt/Toolkit.java:
5349         Added some newlines in method documentations.
5350         (createButton): Exception documentation added.
5351         (createTextField): Exception documentation added.
5352         (createLabel): Exception documentation added.
5353         (createList): Exception documentation added.
5354         (createCheckbox): Exception documentation added.
5355         (createScrollbar): Exception documentation added.
5356         (createScrollPane): Exception documentation added.
5357         (createTextArea): Exception documentation added.
5358         (createChoice): Exception documentation added.
5359         (createFrame): Exception documentation added.
5360         (createWindow): Exception documentation added.
5361         (createDialog): Exception documentation added.
5362         (createMenuBar): Exception documentation added.
5363         (createMenu): Exception documentation added.
5364         (createMenuItem): Exception documentation added.
5365         (createFileDialog): Exception documentation added.
5366         (createCheckboxMenuItem): Exception documentation added.
5367         (loadSystemColors): Exception documentation added.
5368         (setDynamicLayout): Exception documentation added.
5369         (isDynamicLayoutSet): Exception documentation added.
5370         (isDynamicLayoutActive): Exception documentation added.
5371         (getScreenSize): Exception documentation added.
5372         (getScreenResolution): Exception documentation added.
5373         (getScreenInsets): Exception documentation added.
5374         (getColorModel): Exception documentation added.
5375         (getSystemClipboard): Exception documentation added.
5376         (getSystemSelection): Exception documentation added.
5377         (getMenuShortcutKeyMask): Exception documentation added.
5378         (getSystemEventQueue): Exception documentation added.
5379         * java/awt/Window.java:
5380         Reindented some code.
5381         (Window): Centralized implementation, documentation added.
5382         (finalize): Documentation added.
5383         (hide): Fixed typo in comment.
5384         (getWindowListeners): Documentation added.
5385         * java/awt/color/ColorSpace.java
5386         (toRGB): Documentation added.
5387         * java/awt/color/ICC_ColorSpace.java
5388         (ICC_ColorSpace): Documentation added.
5389         (toRGB): Throw exception, documentation added.
5390         (fromRGB): Throw exception, documentation added.
5391         (toCIEXYZ): Documentation added.
5392         (fromCIEXYZ): Documentation added.
5393         (getMinValue): Documentation added.
5394         (getMaxValue): Documentation added.
5395         * java/awt/geom/Dimension2D.java
5396         (clone): Documentation added.
5397         * java/awt/geom/GeneralPath.java
5398         (clone): Documentation added.
5399         * java/awt/geom/Line2D.java
5400         (clone): Documentation added.
5401         * java/awt/geom/QuadCurve2D.java
5402         (clone): Documentation added.
5403         * java/awt/image/ColorModel.java
5404         (ColorModel): Throw exception, documentation added.
5405         * java/awt/image/ImageFilter.java
5406         (clone): Doesnt throw CloneNotSupportedException.
5407
5408 2003-01-14  Andrew Haley  <aph@redhat.com>
5409
5410         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5411         in a try block.
5412
5413 2003-01-10  Andrew Haley  <aph@redhat.com>
5414
5415         * include/dwarf2-signal.h: Remove x86_64.
5416         * configure.host (x86_64 DIVIDESPEC): Remove.
5417         * include/x86_64-signal.h: New file.
5418         * configure.in: Regenerate.
5419
5420 2003-01-10  Michael Koch  <konqueror@gmx.de>
5421
5422         * java/net/DatagramSocket.java
5423         (ch): Description added.
5424         (remotePort): Initialize with -1.
5425         (connect): Doesnt throws SocketException.
5426         * java/net/MulticastSocket.java
5427         (setInterface): Merge with Classpath.
5428         * java/net/ServerSocket.java
5429         (closed): New member variable.
5430         (bind): Check if socket is closed.
5431         (close): Close an associated channel too, set new value to closed.
5432         (isBound): Reindented.
5433         (isClosed): Implemented.
5434         * java/net/Socket.java
5435         (closed): New member variable.
5436         (bind): Check if socket is closed.
5437         (connect): Check if socket is closed.
5438         (close): Close an associated channel too, set new value to closed.
5439         (isClosed): Implemented.
5440
5441 2003-01-10  Michael Koch  <konqueror@gmx.de>
5442
5443         * java/awt/DisplayMode.java
5444         (equals): Fixed argument type and implementation.
5445
5446 2003-01-07  Tom Tromey  <tromey@redhat.com>
5447
5448         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5449         JV_HASH_SYNCHRONIZATION.
5450         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5451         JV_HASH_SYNCHRONIZATION.
5452
5453 2003-01-07  Michael Koch  <konqueror@gmx.de>
5454  
5455         * java/net/DatagramSocket.java:
5456         Added classpath license info.
5457         (DatagramSocket): Merged description with classpath.
5458         (close): Merged description with classpath.
5459         (getChannel): Merged description with classpath.
5460         (getInetAddress): Merged description with classpath.
5461         (getPort): Merged description with classpath.
5462         (getLocalAddress): Merged description with classpath.
5463         (getLocalPort): Merged description with classpath.
5464         (getSoTimeout): Merged description with classpath.
5465         (setSoTimeout): Merged description with classpath.
5466         (getSendBufferSize): Merged description with classpath.
5467         (setSendBufferSize): Merged description with classpath.
5468         (getReceiveBufferSize): Merged description with classpath.
5469         (setReceiveBufferSize): Merged description with classpath.
5470         
5471 2003-01-04  Tom Tromey  <tromey@redhat.com>
5472
5473         * java/awt/List.java: Merged with Classpath.
5474
5475 2003-01-03  Mark Wielaard  <mark@klomp.org>
5476
5477         * java/io/FileDescriptor.java (position): New private field.
5478         * java/io/natFileDescriptorPosix.cc (write): Up position.
5479         (setLength): Use and set position.
5480         (seek): Set position.
5481         (getFilePointer): Return position.
5482         (read): Up position.
5483
5484 2003-01-03  Mark Wielaard  <mark@klomp.org>
5485
5486         Merge with Classpath:
5487         * java/io/ObjectStreamClass.java (lookup): Split method and call
5488         lookupForClassObject().
5489         (lookupForClassObject): New method.
5490         (isProxyClass): New field.
5491         (setClass): Set isProxyClass, add object to classLookupTable, set
5492         superClass and calculateOffsets.
5493         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5494         and not a proxy class.
5495         (setFields): Set accessible true for serialPersistentFields.
5496         (getClassUID): Same for suid. And check if suid is of type long.
5497         (hasClassInitializer): Don't throw NoSuchMethodError.
5498
5499 2003-01-03  Mark Wielaard  <mark@klomp.org>
5500
5501         * java/io/FileInputStream.java (finalize): Don't explicitly
5502         finalize FileDescriptor.
5503
5504 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
5505
5506         * configure.host (sparc*-*): Enable bytecode interpreter.
5507
5508 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
5509
5510         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5511         Don't throw RemoteException.
5512         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5513         throw RemoteException.
5514
5515 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
5516
5517         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5518         proxyHost): New static fields.
5519         (<clinit>): Initialize new fields.
5520         (connect): Use proxy if necessary.
5521         (usingProxy): Implement.
5522
5523 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
5524
5525         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5526         (TreeIterator.remove): Prefer IllegalStateException over
5527         ConcurrentModificationException, to match Sun.
5528
5529 2002-12-22  Anthony Green  <green@redhat.com>
5530
5531         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5532
5533 2003-01-02  Mark Wielaard  <mark@klomp.org>
5534
5535         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5536         public.
5537         (HTTP_USE_PROXY): Add field.
5538         (getResponseVals): Only set responseCode when not yet explicitly
5539         set by subclass.
5540
5541 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
5542             Mark Wielaard  <mark@klomp.org>
5543
5544         * java/util/zip/ZipFile.java (entries): Now HashMap.
5545         (readLeShort(DataInput, byte[])): Read from given byte array.
5546         (readLeInt(DataInput, byte[]): Likewise.
5547         (readLeShort(byte[] b, int off)): New method.
5548         (readLeInt(byte[] b, int off)): Likewise.
5549         (readEntries): Use byte arrays to read info in bigger chunks.
5550         (getEntries): Return HashMap.
5551         (getEntry): Use HashMap.
5552         (locBuf): New private field.
5553         (checkLocalHeader): Use locBuf to read info in one chunk.
5554         (getInputStream): Use entries HashMap, wrap PartialInputStream
5555         in BufferedInputStream.
5556         (ZipEntryEnumeration): Use HashMap and Interator.
5557
5558 2003-01-02  Mark Wielaard  <mark@klomp.org>
5559             Jeroen Frijters  <jeroen@sumatra.nl>
5560
5561         * java/net/URLClassLoader.java (Resource.getCodeSource):
5562         Fix check certs == null.
5563         (getCanonicalFileURL): Removed method.
5564         (JarURLLoader): Don't call removed method.
5565         (FileURLLoader): Likewise.
5566         (FileURLLoader.getResource): Don't canonicalize file name.
5567
5568 2003-01-01  Tom Tromey  <tromey@redhat.com>
5569
5570         * Makefile.in: Rebuilt.
5571         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5572         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5573         java/awt/BufferCapabilities.java, java/awt/Button.java,
5574         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5575         java/awt/Container.java, java/awt/Cursor.java,
5576         java/awt/EventQueue.java, java/awt/FileDialog.java,
5577         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5578         java/awt/MenuBar.java, java/awt/MenuComponent.java,
5579         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5580         java/awt/Scrollbar.java, java/awt/TextArea.java,
5581         java/awt/TextField.java, java/awt/color/CMMException.java,
5582         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5583         java/awt/color/ProfileDataException.java,
5584         java/awt/datatransfer/Clipboard.java,
5585         java/awt/datatransfer/DataFlavor.java,
5586         java/awt/datatransfer/FlavorMap.java,
5587         java/awt/datatransfer/SystemFlavorMap.java,
5588         java/awt/dnd/DragGestureEvent.java,
5589         java/awt/dnd/DragGestureRecognizer.java,
5590         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5591         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5592         java/awt/im/InputMethodHighlight.java,
5593         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5594         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5595
5596         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5597         `op' to BufferedImageOp.
5598
5599 2002-12-31  Tom Tromey  <tromey@redhat.com>
5600
5601         Fix for PR libgcj/7416:
5602         * javax/naming/InitialContext.java (init): Use
5603         gnu.classpath.home.url.
5604         * java/security/Security.java: Use new properties.
5605         (loadProviders): Accept base url; use it.
5606         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5607         gnu.classpath.home.url.
5608         (gnu.classpath.home.url): Define.
5609         (gnu.classpath.vm.shortname): Likewise.
5610
5611 2002-12-31  Tom Tromey  <tromey@redhat.com>
5612             Ranjit Mathew  <rmathew@hotmail.com>
5613
5614         Fix for PR libgcj/8997:
5615         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5616         Include platform.h.
5617         * include/posix.h (_Jv_platform_usleep): New function.
5618         * include/win32.h (_Jv_platform_usleep): New function.
5619
5620 2002-12-29  Tom Tromey  <tromey@redhat.com>
5621
5622         * gcj/javaprims.h: Updated.
5623         * scripts/classes.pl (scan): Removed stray semicolon.
5624
5625 2002-12-30  Mark Wielaard  <mark@klomp.org>
5626
5627         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5628         if zero or smaller.
5629
5630 2002-12-30  Mark Wielaard  <mark@klomp.org>
5631
5632         * java/util/Properties (formatForOutput): Don't fall through to
5633         default case after escaping character.
5634
5635 2002-12-30  Mark Wielaard  <mark@klomp.org>
5636
5637         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5638         against count.
5639
5640 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
5641
5642         * boehm.cc: Remove stray semicolon.
5643         * interpret.cc: Likewise.
5644         * prims.cc: Likewise.
5645         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5646         earlier to ensure default arguments are processed.
5647         * gcj/array.h (JArray): Add forward declaration.
5648         (elements): Likewise.
5649         * gcj/javaprim.h: Remove stray semicolons.
5650         * include/bohm-gc.h: Likewise.
5651         * include/jni.h: Likewise.
5652         * include/jvm.h: Likewise.
5653         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5654         
5655 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
5656
5657         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5658         of catch_type.
5659         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5660         idt tables after initializing superclass.
5661         * java/lang/natClassLoader.cc (uaddr): New typedef.
5662         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5663         if they are constant pool indicies.  Don't link vtable, otable yet.
5664
5665 2002-12-21  Anthony Green  <green@redhat.com>
5666
5667         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5668         libraries.
5669         * Makefile.in: Rebuilt.
5670
5671 2002-12-19  Anthony Green  <green@redhat.com>
5672
5673         * Makefile.am (ordinary_java_source_files): Add
5674         org/xml/sax/helpers/NewInstance.java.
5675         * Makefile.in: Rebuilt.
5676         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5677         org/xml/sax/helpers/package.html: New files.
5678         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5679         http://www.saxproject.org.
5680
5681 2002-12-19  Andrew Haley  <aph@redhat.com>
5682
5683         * java/util/natResourceBundle.cc: Include
5684         ArrayIndexOutOfBoundsException.h.
5685         (getCallingClassLoader): Don't put upper bound on stack search.
5686         Catch ArrayIndexOutOfBoundsException.
5687
5688 2002-12-19  Tom Tromey  <tromey@redhat.com>
5689
5690         * libtool-version: Increased `current'.
5691
5692 2002-12-19  Tom Tromey  <tromey@redhat.com>
5693
5694         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5695         comment.
5696         * java/lang/ClassLoader.java (defineClass): Use chained
5697         exception when rethrowing.
5698         * defineclass.cc (handleClassBegin): Mark class as interpreted.
5699         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5700         constants.
5701         * resolve.cc (_Jv_PrepareMissingMethods): New function.
5702         (_Jv_PrepareClass): Use it.
5703         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5704         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5705         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5706         (Class): _Jv_PrepareMissingMethods now friend.
5707         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5708         Record `NULL' for system class loader.
5709         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
5710         system class loader.
5711         (_Jv_FindClassInCache): Likewise.
5712         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
5713         (_Jv_FindClass): Special case system class loader.
5714         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5715         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5716         vtable slots.
5717         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5718         in a final class.
5719         (_getDeclaredMethod): Don't return synthetic methods.
5720         (getDeclaredMethods): Likewise.
5721         (_getMethod): Likewise.
5722         (_getMethods): Likewise.
5723
5724 2002-12-18  Raif Naffah  <raif@fl.net.au>
5725
5726         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5727         canonical form after divide().
5728         (modInverse): Likewise.
5729
5730 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5731             Mark Wielaard  <mark@klomp.org>
5732
5733         * java/security/SecurityRandom (digest): Removed field.
5734         (SecureRandom): Check all providers for case-insensitive SecureRandom
5735         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5736         if necessary.
5737         (getInstance(String,Provider,boolean): New method.
5738         (getInstance(String)): Use new method.
5739         (getInstance(String,String)): Likewise.
5740         (getInstance(String,Provider)): Likewise.
5741
5742 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
5743
5744         * java/security/Security.java (loadProviders): Increment i only once.
5745
5746 2002-12-12  Mark Wielaard  <mark@klomp.org>
5747
5748         * java/lang/ClassLoader.java (resolveClass0): Transform
5749         ClassNotFoundException to NoClassDefFoundError. Transform all other
5750         throwables to LinkageError.
5751
5752 2002-12-11  Tom Tromey  <tromey@redhat.com>
5753
5754         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5755
5756         * java/lang/ClassLoader.java (loadedClasses): New field.
5757         (defineClass): Fixed indentation.  Put new class in
5758         loadedClasses.
5759         (findLoadedClass): Implement here.
5760         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5761
5762 2002-12-10  Tom Tromey  <tromey@redhat.com>
5763
5764         * Makefile.in: Rebuilt.
5765         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5766         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5767         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5768         * java/lang/natClassLoader.cc
5769         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5770
5771 2002-12-10  Mark Wielaard  <mark@klomp.org>
5772             Tom Tromey  <tromey@redhat.com>
5773
5774         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5775         (JarURLLoader): Use it.
5776         (FileURLLoader): Likewise.
5777         (JarURLResource.getURL): Use chained exception.
5778         (FileResource.getURL): Likewise.
5779         (FileURLLoader.getResource): Use canonical file name.
5780         (addURL): Indentation fix.
5781
5782 2002-12-10  Tom Tromey  <tromey@redhat.com>
5783
5784         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5785         From Laurent Bardet <l.bardet@magic.fr>.
5786
5787 2002-12-09  Tom Tromey  <tromey@redhat.com>
5788
5789         * include/win32.h (_Jv_platform_solib_prefix): New define.
5790         (_Jv_platform_solib_suffix): Likewise.
5791         * include/posix.h (_Jv_platform_solib_prefix): New define.
5792         (_Jv_platform_solib_suffix): Likewise.
5793         * java/lang/natRuntime.cc: Include StackTrace.h.
5794         (_load): Use findLibrary and new platform defines.
5795         (nativeGetLibname): Use new platform defines.
5796
5797         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5798         `t' won't be null.
5799
5800 2002-12-08  Mark Wielaard  <mark@klomp.org>
5801
5802         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5803         cache remote jar files.
5804         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5805         add File.separator to URL when it is a directory.
5806         * java/lang/ClassLoader.java: Add Classpath javadoc.
5807         (parent): final.
5808         (getParent): Add (disabled) security check.
5809         (findLibrary): New default method.
5810         * java/net/JarURLConnection.java (getManifest): Implement.
5811         (getInputStream): Only create InputStream when entry exists.
5812         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5813         when they exist.
5814         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5815
5816 2002-12-08  Mark Wielaard  <mark@klomp.org>
5817
5818         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5819         (lastDefaultLocale): New field.
5820         (getBundle): When Locale.getDefault != lastDefaultLocale reset
5821         resourceBundleCache.
5822
5823 2002-12-06  Mark Wielaard  <mark@klomp.org>
5824
5825         * java/net/InetAddress.java (toString): Use hostname when not null,
5826         don't do an explicit reverse getHostName() lookup.
5827         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5828         NullPointerException.
5829
5830 2002-12-06  Tom Tromey  <tromey@redhat.com>
5831
5832         * include/java-interp.h (class _Jv_InterpMethod): Added
5833         JV_MARKOBJ_DECL.
5834         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
5835         mark `prepared' field of interpreted method.
5836         * interpret.cc (compile): Use _Jv_AllocBytes.
5837
5838 2002-12-05  Andrew Haley  <aph@redhat.com>
5839
5840         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5841         #ifdef (HAVE_BACKTRACE) around the whole function body.
5842
5843 2002-12-05  Tom Tromey  <tromey@redhat.com>
5844
5845         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5846         * resolve.cc: Don't include AbstractMethodError.h.
5847         (_Jv_abstractMethodError): Removed.
5848         * defineclass.cc (handleMethodsBegin): Initialize method index to
5849         -1.
5850         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5851         method index for "new" final method.
5852         (_Jv_SetVTableEntries): Compare index against -1 instead of using
5853         isVirtualMethod.  Added `flags' argument.
5854         (_Jv_MakeVTable): Throw exception for abstract method in concrete
5855         class.
5856
5857 2002-12-04  Tom Tromey  <tromey@redhat.com>
5858
5859         * java/net/SocketPermission.java (hashCode): Rewrote.
5860
5861 2002-12-04  Tom Tromey  <tromey@redhat.com>
5862
5863         * Makefile.in: Rebuilt.
5864         * Makefile.am (nat_source_files): Added natVMSecurityManager,
5865         natResourceBundle.
5866         * java/util/ResourceBundle.java (Security): Removed.
5867         (getCallingClassLoader): Now native.
5868         * java/util/natResourceBundle.cc: New file.
5869         * java/lang/natVMSecurityManager.cc: New file.
5870         * java/lang/VMSecurityManager.java (getClassContext): Now native.
5871
5872 2002-12-03  Mark Wielaard  <mark@klomp.org>
5873
5874         * java/util/jar/JarFile.java (manifest): Not final.
5875         (manifestRead): New field.
5876         (JarFile): Don't read Manifest in constructor.
5877         (getManifest): New method.
5878         (JarEnumeration.nextElement): Use new method.
5879         (getEntry): Likewise.
5880         * java/util/zip/ZipFile.java (name): Final.
5881         (raf): Likewsie.
5882         (entries): Change type to Hashtable.
5883         (closed): New field.
5884         (ZipFile): Don't read enties in constructor.
5885         (readEntries): Use Hashtable.
5886         (close): Set new close flag and set entries to null inside
5887         synchronized block.
5888         (entries): Contruct enumeration using new getEntries() method and
5889         entries Hashtable.
5890         (getEntryIndex): Removed.
5891         (getEntries): New method.
5892         (getEntry): Use new getEntries() method and entries Hastable.
5893         (getInputStream): Likewise.
5894         (size): Return getEntries().size().
5895         (ZipEntryEnumeration): Wrap entries Hashtable elements.
5896         * java/util/zip/ZipEntry.java (cal): Don't initialize.
5897         (time): Removed
5898         (dostime): New field.
5899         (zipFileIndex): Removed.
5900         (ZipEntry(ZipEntry)): Copy dostime.
5901         (setDOSTime): Now final and doesn't convert dos time.
5902         (getDOSTime): Likewise.
5903         (setTime): Convert dos time.
5904         (getTime): Likewise.
5905         (getCalendar): New method.
5906         (setExtra): Use setTime().
5907         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5908
5909 2002-12-03  Tom Tromey  <tromey@redhat.com>
5910
5911         * java/lang/Character.java (forDigit): Formatting fix.
5912
5913 2002-12-03  Raif Naffah  <raif@fl.net.au>
5914
5915         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5916         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5917         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5918
5919 2002-12-03  Andrew Haley  <aph@redhat.com>
5920
5921         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5922         _Jv_PushClass.
5923         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5924         (_Jv_PopClass): New.
5925         (_Jv_PushClass): New.
5926         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5927         discover the ClassLoader of our caller.
5928         (_Jv_CheckArrayStore): Don't check that a class is assignment
5929         compatible with Object.
5930         * java/lang/natVMTHrowable.cc: Delete.
5931         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5932         java.lang.VMThrowable.
5933         (StackTrace(), StackTrace(int)): New constructors.
5934         (classAt, methodAt, update, methodAtAddress): New methods.
5935         (map): New field.
5936         * java/lang/VMThrowable.java: Use StackTrace instead of
5937         natVMTHrowable.
5938         * java/lang/Class.h (getClassLoaderInternal): New.
5939         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5940         Be friendly with gnu::gcj::runtime::StackTrace.
5941         (Object.chain): New field.
5942         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5943         gnu::gcj::runtime::StackTrace.
5944         * gnu/gcj/runtime/natStackTrace.cc: New file.
5945         * gnu/gcj/runtime/MethodRef.java: New file.
5946         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5947         instead of getClassLoader().
5948         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5949         java::lang::VMThrowable.
5950         * Makefile.am (core_java_source_files): Add MethodRef.java,
5951         StackTrace.java.
5952         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5953         * Makefile.in: Rebuild.
5954
5955 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
5956
5957         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5958         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5959         yes also for sh-linux* and sh[34]*-linux*.
5960         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5961         set SIGNAL_HANDLER to use DWARF2 exception for them.
5962         * configure: Regenerate.
5963
5964 2002-12-02  Tom Tromey  <tromey@redhat.com>
5965
5966         * jni.cc: Added `name' argument.
5967         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5968         `const char *' argument.
5969         (class _Jv_JNIEnv) [DefineClass]: Likewise.
5970
5971 2002-12-01  Tom Tromey  <tromey@redhat.com>
5972
5973         Bug compatibility, for PR libgcj/8738:
5974         * java/io/CharArrayWriter.java (close): Do nothing.
5975         (flush): Likewise.
5976         (reset): Don't touch `closed'.
5977         (write(int)): Don't throw IOException.
5978         (write(char[],int,int)): Likewise.
5979         (write(String,int,int)): Likewise.
5980         (closed): Removed.
5981
5982 2002-12-01  Mark Wielaard  <mark@klomp.org>
5983
5984         * java/lang/SecurityManager.java: Remerge comments, indenting and
5985         checkXXX methods with Classpath.
5986
5987 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
5988
5989         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5990         getNormalizedComponents): Fix calculation which was using one too
5991         many bits in the unnormalized format.
5992
5993 2002-11-29  Gary Benson  <gbenson@redhat.com>
5994
5995         For PR libgcj/8759:
5996         * java/beans/Introspector.java (flushCaches): New method.
5997         (flushFromCaches): Likewise.
5998
5999 2002-11-29  Michael Koch <konqueror@gmx.de>
6000
6001         * java/nio/channels/DatagramChannel.java
6002         (open): Added exception documentation.
6003         (write): Added exception documentation.
6004         (connect): Added exception documentation.
6005         (disconnect): Added exception documentation.
6006         (isConnected): Added exception documentation.
6007         (read): Added exception documentation.
6008         (receive): Added exception documentation.
6009         (send): Added exception documentation.
6010         (validOps): Added exception documentation.
6011         * java/nio/channels/SocketChannel.java
6012         (open): Added exception documentation.
6013         (read): Added exception documentation.
6014         (write): Added exception documentation.
6015         (connect): Added exception documentation.
6016         (finishConnect): Added exception documentation.
6017
6018 2002-11-29  Michael Koch <konqueror@gmx.de>
6019
6020         * gnu/java/nio/DatagramChannelImpl:
6021         (fd): New member variable to store file descriptor of socket.
6022         * gnu/java/nio/SelectionKeyImpl.java:
6023         (ops): Removed.
6024         (readyOps): New member variable.
6025         (interestOps): New member variable.
6026         (readyOps): Implemented.
6027         (readyOps): New method to set member variable readyOps.
6028         (interestOps): Replaced ops by interestOps.
6029         * gnu/java/nio/SelectorImpl.java:
6030         (SelectorImpl): Initialize key sets.
6031         (select): Call select with -1 instead of Long.MAX_VALUE).
6032         (java_do_select): Make it a native method.
6033         (getFDsAsArray): New helper method.
6034         (select): Remove canceled keys, give only interested file discriptors
6035         to java_do_select, set ready ops.
6036         (add): No need to initialize keys set here.
6037         (add_selected): No need to initialize selected set here.
6038         (deregisterCanceledKeys): New helper method.
6039         (register): Set interest ops, set attachments, added handling of datagram
6040         channels.
6041         * gnu/java/nio/ServerSocketChannelImpl:
6042         (SocketAccept): Renamed from NioSocketAccept.
6043         (implConfigureBlocking): Implemented.
6044         (accept): Use SocketAccept instead of NioSocketAccept.
6045         * gnu/java/nio/SocketChannelImpl:
6046         Reactivate native methods.
6047
6048 2002-11-29  Michael Koch <konqueror@gmx.de>
6049
6050         * gnu/java/nio/natByteBufferImpl.cc,
6051         gnu/java/nio/natCharBufferImpl.cc,
6052         gnu/java/nio/natDoubleBufferImpl.cc,
6053         gnu/java/nio/natFloatBufferImpl.cc,
6054         gnu/java/nio/natIntBufferImpl.cc,
6055         gnu/java/nio/natLongBufferImpl.cc,
6056         gnu/java/nio/natSelectorImpl.cc,
6057         gnu/java/nio/natServerSocketChannelImpl.cc,
6058         gnu/java/nio/natShortBufferImpl.cc,
6059         gnu/java/nio/natSocketChannelImpl.cc:
6060         New files that implement native functionalities.
6061
6062 2002-11-29  Michael Koch <konqueror@gmx.de>
6063
6064         * gnu/java/nio/ByteBufferImpl.java
6065         (ByteBufferImpl): Moved position() after limit.
6066         (nio_*): Use native implementation.
6067         * gnu/java/nio/CharBufferImpl.java:
6068         Reformated.
6069         (endian): New member variable string endianess of buffer.
6070         (CharBufferImpl): Moved position() after limit.
6071         (nio_*): Use native implementation.
6072         (subSequence): Implemented.
6073         * gnu/java/nio/DoubleBufferImpl.java
6074         (DoubleBufferImpl): Moved position() after limit.
6075         (nio_*): Use native implementation.
6076         * gnu/java/nio/FloatBufferImpl.java
6077         Reformated.
6078         (FloatBufferImpl): Moved position() after limit.
6079         (nio_*): Use native implementation.
6080         * gnu/java/nio/IntBufferImpl.java
6081         Added needed imports, Reformated.
6082         (IntBufferImpl): Moved position() after limit.
6083         (nio_*): Use native implementation.
6084         * gnu/java/nio/LongBufferImpl.java
6085         Reformated.
6086         (LongBufferImpl): Moved position() after limit.
6087         (nio_*): Use native implementation.
6088         * gnu/java/nio/ShortBufferImpl.java
6089         Reformated.
6090         (ShortBufferImpl): Moved position() after limit.
6091         (nio_*): Use native implementation.
6092
6093 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
6094
6095         * java/util/Locale.java (toString): Improve efficiency if country
6096         and variant are both empty.
6097
6098 2002-11-26  Tom Tromey  <tromey@redhat.com>
6099
6100         * verify.cc (pop_init_ref): New method.
6101         (verify_instructions_0) [op_iaload, op_laload, op_faload,
6102         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6103         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6104         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6105         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6106         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6107         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
6108         let `this' argument be uninitialized.  Don't let `null' be passed
6109         as `this' to construtor.
6110
6111 2002-11-26  Mark Wielaard  <mark@klomp.org>
6112
6113         * javax/transaction/HeuristicCommitException.java: Classpath merge.
6114         * javax/transaction/HeuristicMixedException.java: Likewise.
6115         * javax/transaction/HeuristicRollbackException.java: Likewise.
6116         * javax/transaction/InvalidTransactionException.java: Likewise.
6117         * javax/transaction/NotSupportedException.java: Likewise.
6118         * javax/transaction/RollbackException.java: Likewise.
6119         * javax/transaction/Status.java: Likewise.
6120         * javax/transaction/Synchronization.java: Likewise.
6121         * javax/transaction/SystemException.java: Likewise.
6122         * javax/transaction/Transaction.java: Likewise.
6123         * javax/transaction/TransactionManager.java: Likewise.
6124         * javax/transaction/TransactionRequiredException.java: Likewise.
6125         * javax/transaction/TransactionRolledbackException.java: Likewise.
6126         * javax/transaction/UserTransaction.java: Likewise.
6127         * javax/transaction/xa/XAException.java: Likewise.
6128         * javax/transaction/xa/XAResource.java: Likewise.
6129         * javax/transaction/xa/Xid.java: Likewise.
6130
6131 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
6132
6133         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6134         define.
6135         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6136         * include/posix.h (socklen_t): Define if not already defined.
6137
6138 2002-11-25  Tom Tromey  <tromey@redhat.com>
6139
6140         * verify.cc (type::compatible): Backed out broken change.
6141
6142         * verify.cc (type::compatible): Check initialization status
6143         first.
6144         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6145         Don't use NULLCHECK.
6146
6147 2002-11-23  H.J. Lu <hjl@gnu.org>
6148
6149         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6150         Include ../config/accross.m4.
6151         * aclocal.m4; Rebuild.
6152         * configure: Likewise.
6153
6154 2002-11-23  Mark Wielaard  <mark@klomp.org>
6155
6156         * javax/naming/AuthenticationException.java: Update copyright header.
6157         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6158         * javax/naming/Binding.java: Likewise.
6159         * javax/naming/CannotProceedException.java: Likewise.
6160         * javax/naming/CommunicationException.java: Likewise.
6161         * javax/naming/CompositeName.java: Likewise.
6162         * javax/naming/CompoundName.java: Likewise.
6163         * javax/naming/ConfigurationException.java: Likewise.
6164         * javax/naming/Context.java: Likewise.
6165         * javax/naming/ContextNotEmptyException.java: Likewise.
6166         * javax/naming/InitialContext.java: Likewise.
6167         * javax/naming/InsufficientResourcesException.java: Likewise.
6168         * javax/naming/InterruptedNamingException.java: Likewise.
6169         * javax/naming/LimitExceededException.java: Likewise.
6170         * javax/naming/LinkException.java: Likewise.
6171         * javax/naming/LinkLoopException.java: Likewise.
6172         * javax/naming/LinkRef.java: Likewise.
6173         * javax/naming/MalformedLinkException.java: Likewise.
6174         * javax/naming/NameAlreadyBoundException.java: Likewise.
6175         * javax/naming/NameClassPair.java: Likewise.
6176         * javax/naming/NameNotFoundException.java: Likewise.
6177         * javax/naming/NameParser.java: Likewise.
6178         * javax/naming/NamingEnumeration.java: Likewise.
6179         * javax/naming/NamingSecurityException.java: Likewise.
6180         * javax/naming/NoInitialContextException.java: Likewise.
6181         * javax/naming/NoPermissionException.java: Likewise.
6182         * javax/naming/NotContextException.java: Likewise.
6183         * javax/naming/OperationNotSupportedException.java: Likewise.
6184         * javax/naming/PartialResultException.java: Likewise.
6185         * javax/naming/Reference.java: Likewise.
6186         * javax/naming/Referenceable.java: Likewise.
6187         * javax/naming/ReferralException.java: Likewise.
6188         * javax/naming/ServiceUnavailableException.java: Likewise.
6189         * javax/naming/SizeLimitExceededException.java: Likewise.
6190         * javax/naming/TimeLimitExceededException.java: Likewise.
6191         * javax/naming/directory/Attribute.java: Likewise.
6192         * javax/naming/directory/AttributeInUseException.java: Likewise.
6193         * javax/naming/directory/AttributeModificationException.java: Likewise.
6194         * javax/naming/directory/Attributes.java: Likewise.
6195         * javax/naming/directory/BasicAttribute.java: Likewise.
6196         * javax/naming/directory/BasicAttributes.java: Likewise.
6197         * javax/naming/directory/DirContext.java: Likewise.
6198         * javax/naming/directory/InitialDirContext.java: Likewise.
6199         * javax/naming/directory/InvalidAttributeIdentifierException.java:
6200         Likewise.
6201         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6202         * javax/naming/directory/InvalidAttributesException.java: Likewise.
6203         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6204         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6205         * javax/naming/directory/ModificationItem.java: Likewise.
6206         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6207         * javax/naming/directory/SchemaViolationException.java: Likewise.
6208         * javax/naming/directory/SearchControls.java: Likewise.
6209         * javax/naming/directory/SearchResult.java: Likewise.
6210         * javax/naming/event/EventContext.java: Likewise.
6211         * javax/naming/event/EventDirContext.java: Likewise.
6212         * javax/naming/event/NamespaceChangeListener.java: Likewise.
6213         * javax/naming/event/NamingEvent.java: Likewise.
6214         * javax/naming/event/NamingExceptionEvent.java: Likewise.
6215         * javax/naming/event/NamingListener.java: Likewise.
6216         * javax/naming/event/ObjectChangeListener.java: Likewise.
6217         * javax/naming/ldap/Control.java: Likewise.
6218         * javax/naming/ldap/ControlFactory.java: Likewise.
6219         * javax/naming/ldap/ExtendedRequest.java: Likewise.
6220         * javax/naming/ldap/ExtendedResponse.java: Likewise.
6221         * javax/naming/ldap/HasControls.java: Likewise.
6222         * javax/naming/ldap/InitialLdapContext.java: Likewise.
6223         * javax/naming/ldap/LdapContext.java: Likewise.
6224         * javax/naming/ldap/LdapReferralException.java: Likewise.
6225         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6226         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6227         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6228         * javax/naming/spi/DirObjectFactory.java: Likewise.
6229         * javax/naming/spi/DirStateFactory.java: Likewise.
6230         * javax/naming/spi/DirectoryManager.java: Likewise.
6231         * javax/naming/spi/InitialContextFactory.java: Likewise.
6232         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6233         * javax/naming/spi/NamingManager.java: Likewise.
6234         * javax/naming/spi/ObjectFactory.java: Likewise.
6235         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6236         * javax/naming/spi/ResolveResult.java: Likewise.
6237         * javax/naming/spi/Resolver.java: Likewise.
6238         * javax/naming/spi/StateFactory.java: Likewise.
6239
6240         * javax/naming/spi/NamingManager.java (ofb): Package private.
6241
6242 2002-11-21  Mark Wielaard  <mark@klomp.org>
6243
6244         * java/net/URL.java: Merge with Classpath (partly).
6245         * java/net/URLStreamHandler: Merge with Classpath.
6246
6247 2002-11-22  Michael Koch <konqueror@gmx.de>
6248
6249         * include/posix.h:
6250         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6251         * include/win32.h:
6252         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6253         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6254
6255 2002-11-21  Michael Koch <konqueror@gmx.de>
6256
6257         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6258         Only the new network functions should be in it.
6259
6260 2002-11-21  Michael Koch <konqueror@gmx.de>
6261
6262         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6263         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6264
6265 2002-11-21  Michael Koch <konqueror@gmx.de>
6266
6267         * java/nio/channels/AsynchronousCloseException.java,
6268         java/nio/channels/CancelledKeyException.java,
6269         java/nio/channels/ClosedByInterruptException.java,
6270         java/nio/channels/ConnectionPendingException.java,
6271         java/nio/channels/FileLockInterruptionException.java,
6272         java/nio/channels/IllegalSelectorException.java,
6273         java/nio/channels/NoConnectionPendingException.java,
6274         java/nio/channels/NonReadableChannelException.java,
6275         java/nio/channels/NonWritableChannelException.java,
6276         java/nio/channels/NotYetBoundException.java,
6277         java/nio/channels/NotYetConnectedException.java,
6278         java/nio/channels/OverlappingFileLockException.java,
6279         java/nio/channels/UnresolvedAddressException.java,
6280         java/nio/channels/UnsupportedAddressTypeException.java:
6281         New files.
6282         * Makefile.am (ordinary_java_source_files): Added new files.
6283         * Makefile.in: Regenerated.
6284
6285 2002-11-21  Michael Koch <konqueror@gmx.de>
6286
6287         * include/posix.h
6288         (_Jv_socket): New method.
6289         (_Jv_connect): New method.
6290         (_Jv_close): New method.
6291         (_Jv_platform_close_on_exec): Prefixed system function with "::".
6292         (_Jv_bind): New method.
6293         (_Jv_listen): New method.
6294         (_Jv_write): New method.
6295         (_Jv_read): New method.
6296         * include/win32.h
6297         (_Jv_socket): New method.
6298         (_Jv_connect): New method.
6299         (_Jv_close): New method.
6300         (_Jv_bind): New method.
6301         (_Jv_listen): New method.
6302         (_Jv_write): New method.
6303         (_Jv_read): New method.
6304         * java/net/natNetworkInterface.cc:
6305         Include platform.h, removed inclusion of socket.h
6306         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6307         ::close() by _Jv_close().
6308         * java/net/natPlainDatagramSocketImpl.cc:
6309         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6310         added some new lines to make code more readable.
6311         (create): Replaced ::socket() by _Jv_socket().
6312         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6313         * java/net/natPlainSocketImpl.cc:
6314         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6315         removed include of socket.h, removed some windows defines
6316         (now in include/win32.h).
6317         (create): Replaced ::socket() by _Jv_socket().
6318         (close): Replaced NATIVE_CLOSE() by _Jv_close().
6319         (write): Replaced ::read by _Jv_write().
6320         (read): Replaced ::read by _Jv_read().
6321
6322 2002-11-20  Michael Koch <konqueror@gmx.de>
6323
6324         * Makefile.am (ordinary_java_source_files):
6325         Added java/nio/channels/FileChannel.java.
6326         * Makefile.in: Regenerated.
6327
6328 2002-11-20  Michael Koch <konqueror@gmx.de>
6329
6330         * java/io/FileInputStream.java
6331         (getChannel): New method.
6332         * java/io/FileOutputStream.java
6333         (getChannel): New method.
6334         * java/net/ServerSocket.java
6335         (bind): Removed duplicate code and called another bind method instead.
6336         * java/nio/channels/SelectionKey.java
6337         (isValid): Removed wrong exception documentation.
6338         * java/nio/channels/ServerSocketChannel.java
6339         (accept): Added exception documentation.
6340         (open): Fixed typo, added exception documentation.
6341         * java/nio/channels/spi/AbstractSelectableChannel.java
6342         (implCloseChannel): Added exception documentation.
6343         (add): Reformated.
6344         (register): Added exception documentation.
6345
6346 2002-11-20  Andreas Jaeger  <aj@suse.de>
6347
6348         * configure: Regenerated with new libtool.m4.
6349
6350 2002-11-19  Tom Tromey  <tromey@redhat.com>
6351
6352         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6353         `referent'.
6354         (finalize_referred_to_object): Don't modify `referent' or `copy'
6355         fields.
6356         (add_to_hash): Correctly set `n->next' when updating list.
6357         * java/lang/ref/Reference.java (enqueue): Return false if already
6358         enqueued.
6359
6360 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
6361
6362         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6363         to function and function pointer declarations in accordance with
6364         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6365         based on whether __GCJ_JNI_IMPL__ has been defined or not.
6366         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6367         JNI function definitions.
6368
6369 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6370
6371         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6372         that was causing CoderResults to be cached, not WeakReferences
6373         to CoderResults.
6374
6375 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
6376
6377         * java/security/KeyStore.java (getInstance): Fix
6378         comment and throw IllegalArgumentException if
6379         given provider is null.
6380         (getInstance): New method for jdk1.4 compatibility.
6381
6382 2002-11-18  Michael Koch <konqueror@gmx.de>
6383
6384         * java/net/PlainSocketImpl.java: Fix imports.
6385
6386 2002-11-18  Michael Koch <konqueror@gmx.de>
6387
6388         * java/nio/channels/SelectionKey.java
6389         (isValid): Added exception documentation.
6390         * java/nio/channels/Selector.java
6391         (open): Declare "throws IOException".
6392
6393 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
6394
6395         * java/nio/charset/Charset.java
6396         (<clinit>): New method.
6397         (encode): Synchronize use of cached encoder object.
6398         (decode): Synchronize use of cached encoder object.
6399
6400 2002-11-18  Michael Koch <konqueror@gmx.de>
6401
6402         * gnu/java/nio/ByteBufferImpl.java,
6403         gnu/java/nio/CharBufferImpl.java,
6404         gnu/java/nio/DatagramChannelImpl.java,
6405         gnu/java/nio/DoubleBufferImpl.java,
6406         gnu/java/nio/FileChannelImpl.java,
6407         gnu/java/nio/FloatBufferImpl.java,
6408         gnu/java/nio/IntBufferImpl.java,
6409         gnu/java/nio/LongBufferImpl.java,
6410         gnu/java/nio/PipeImpl.java,
6411         gnu/java/nio/SelectionKeyImpl.java,
6412         gnu/java/nio/SelectorImpl.java,
6413         gnu/java/nio/SelectorProviderImpl.java,
6414         gnu/java/nio/ServerSocketChannelImpl.java,
6415         gnu/java/nio/ShortBufferImpl.java,
6416         gnu/java/nio/SocketChannelImpl.java,
6417         java/nio/DoubleBuffer.java,
6418         java/nio/FloatBuffer.java,
6419         java/nio/IntBuffer.java,
6420         java/nio/LongBuffer.java,
6421         java/nio/ShortBuffer.java,
6422         java/nio/channels/FileChannel.java: New files.
6423
6424 2002-11-18  Michael Koch <konqueror@gmx.de>
6425
6426         * Makefile.am (ordinary_java_source_files):
6427         Added java/nio/ReadOnlyBufferException.java and
6428         java/nio/channels/ClosedSelectorException.java.
6429         * Makefile.in: Regenerated.
6430
6431 2002-11-18  Michael Koch <konqueror@gmx.de>
6432
6433         * java/net/PlainSocketImpl.java: Reworked imports.
6434         * java/net/ServerSocket.java
6435         (ServerSocket): Create socket.
6436         * java/net/SocketAddress.java: Documentation added.
6437         * java/net/natPlainSocketImpl.cc: Reindented.
6438         * java/nio/ReadOnlyBufferException.java: New file
6439         * java/nio/channels/ClosedChannelException.java: Documentation added.
6440         * java/nio/channels/ClosedSelectorException.java: New file.
6441
6442 2002-11-17  Mark Wielaard  <mark@klomp.org>
6443
6444         * java/net/HttpURLConnection.java ((getPermission): Take port
6445         into consideration.
6446         (getErrorStream): Implement.
6447
6448 2002-11-17  Mark Wielaard  <mark@klomp.org>
6449
6450         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6451
6452 2002-11-16  Mark Wielaard  <mark@klomp.org>
6453
6454         Integrate work by Raif S. Naffah (raif@fl.net.au)
6455         * java/security/DummyKeyPairGenerator.java (clone): New method.
6456         * java/security/DummyMessageDigest.java (clone): New method.
6457         (engineUpdate): Now public.
6458         (engineReset): Likewise.
6459         (engineDigest): Likewise.
6460         (engineGetDigestLength): New method.
6461         * java/security/DummySignature.java (clone): New method.
6462         * java/security/KeyPairGenerator.java (provider): Now package private.
6463         (getInstance(String)): Use getInstance(String,Provider).
6464         (getInstance(String,String): Use getInstance(String,Provider)
6465         (getInstance(String,Provider): New method.
6466         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6467         * java/security/KeyPairGeneratorSpi.java (clone): New method.
6468         * java/security/MessageDigest.java (provider): Now package private.
6469         (getInstance(String): Use getInstance(String,Provider).
6470         (getInstance(String,String): Use getInstance(String,Provider)
6471         (getInstance(String,Provider): New method.
6472         * java/security/Provider.java (toCanonicalKey): New method.
6473         (get): New method that uses toCanonicalKey().
6474         (put): Use toCanonicalKey().
6475         (remove): Likewise.
6476         * java/security/Security.java (insertProviderAt): Provider index is one
6477         based, not zero based.
6478         (addProvider): Likewise.
6479         (removeProvider): Likewise.
6480         * java/security/Signature.java (provider): Now package private.
6481         (getInstance(String)): Use getInstance(String,Provider).
6482         (getInstance(String,String): Use getInstance(String,Provider)
6483         (getInstance(String,Provider): New method.
6484         (getInstance(String,String,Provider): Don't cast DummySignature.
6485
6486 2002-11-15  Tom Tromey  <tromey@redhat.com>
6487
6488         For PR libgcj/8593:
6489         * java/util/zip/GZIPInputStream.java (read): Check file size.
6490         Look in inflater for remaining input bytes.
6491         (read4): Added buf and offset arguments.
6492
6493 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
6494
6495         * java/applet/AppletContext.java: Fix typo and remove redundant
6496         modifiers.
6497
6498 2002-11-14  Tom Tromey  <tromey@redhat.com>
6499
6500         * java/lang/natRuntime.cc (insertSystemProperties): Set
6501         gnu.classpath.home.
6502
6503 2002-11-13  Michael Koch <konqueror@gmx.de>
6504
6505         * java/nio/ByteBuffer.java
6506         (allocate): New method.
6507         (wrap): New method.
6508         (put): New method.
6509         (get): New method.
6510
6511 2002-11-13  Michael Koch <konqueror@gmx.de>
6512
6513         * java/nio/channels/AlreadyConnectedException.java:
6514         Removed unneeded import.
6515         (AlreadyConnectedException): Documentation added.
6516         * java/nio/channels/Pipe.java
6517         (SinkChannel.SinkChannel): Documentation added.
6518         (SinkChannel.validOps): New method.
6519         (SourceChannel.SourceChannel): Documentation added.
6520         (SourceChannel.validOps): New method.
6521         (Pipe): Documentation added.
6522         (open): Documentation added.
6523         (SinkChannel.channel): Documentation added.
6524         (SourceChannel.channel): Documentation added.
6525         * java/nio/channel/SelectableChannel.java
6526         (SelectableChannel): Documentation added.
6527         (blockingLock): Documentation added.
6528         (configureBlocking):Documentation added.
6529         (isBlocking):Documentation added.
6530         (isRegistered):Documentation added.
6531         (keyFor):Documentation added.
6532         (provider):Documentation added.
6533         (register): Documentation added.
6534         (validOps): Documentation added.
6535         * jaba/nio/channels/SelectionKey.java
6536         (SelectionKey): Documentation added.
6537         (attach): Documentation added.
6538         (attachment): Documentation added.
6539         (isAcceptable): Documentation added.
6540         (isConnetable): Documentation added.
6541         (isReadable): Documentation added.
6542         (isWritable): Documentation added.
6543         (cancel): Documentation added.
6544         (channel): Documentation added.
6545         (interestOps): Documentation added.
6546         (isValid): Documentation added.
6547         (readyOps): Documentation added.
6548         (selector): Documentation added.
6549         * jaba/nio/channels/Selector.java
6550         (Selector): Documentation added.
6551         (open): Documentation added.
6552         (close): Documentation added.
6553         (isOpen): Documentation added.
6554         (keys): Documentation added.
6555         (provider): Documentation added.
6556         (select): Documentation added.
6557         (selectedKeys): Documentation added.
6558         (selectNow): Documentation added.
6559         (wakeup): Documentation added.
6560         * java/nio/channels/spi/AbstractInterruptibleChannel.java
6561         (AbstractInterruptibleChannel): Documentation added.
6562         (opened): Default to true;
6563         (begin): Documentation added.
6564         (close): Set opened to false, documentation added.
6565         (isOpen): Documentation added.
6566         * java/nio/channels/spi/AbstractSelectionKey.java
6567         (AbstractSelectionKey): Documentation added.
6568         (cancel): Documentation added.
6569         (isValid): Documentation added.
6570         * java/nio/channels/spi/AbstractSelector.java
6571         (AbstractSelector): Documentation added.
6572         (begin): Documentation added.
6573         (close): Documentation added.
6574         (isOpen): Documentation added.
6575         (deregister): Documentation added.
6576         (end): Documentation added.
6577         (provider): Documentation added.
6578         (implCloseSelector): Documentation added.
6579         (register): Documentation added.
6580         * java/nio/channels/spi/SelectorProvider.java
6581         (SelectorProvider): Documentation added.
6582         (openDatagramChannel): Documentation added.
6583         (openPipe): Documentation added.
6584         (openSelector): Documentation added.
6585         (openServerSocketChannel): Documentation added.
6586         (openSocketChannel): Documentation added.
6587         (provider): Documentation added.
6588
6589 2002-11-12  Michael Koch <konqueror@gmx.de>
6590
6591         * java/nio/Buffer.java: Implemented.
6592         * java/nio/CharBuffer.java: New file.
6593         * java/nio/InvalidMarkException.java: New file.
6594         * java/nio/channels/DatagramChannel.java: Implemented.
6595         * java/nio/channels/ServerSocketChannel.java: Implemented.
6596         * java/nio/channels/SocketChannel.java: Implemented.
6597         * java/nio/channels/spi/AbstractChannel.java: Removed.
6598         * java/nio/channels/spi/AbstractSelectableChannel.java:
6599         Implemented.
6600         * java/nio/charset/Charset.java:
6601         Merge from Classpath.
6602         * java/nio/charset/CharsetDecoder.java: New file.
6603         * java/nio/charset/CharsetEncoder.java: New file.
6604         * java/nio/charset/CoderResult.java: New file.
6605         * Makefile.am (ordinary_java_source_files): Added new files.
6606         * Makefile.in: Regenerated.
6607
6608 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6609
6610         * gnu/java/nio/charset/ISO_8859_1.java,
6611         gnu/java/nio/charset/Provider.java,
6612         gnu/java/nio/charset/US_ASCII.java,
6613         gnu/java/nio/charset/UTF_16.java,
6614         gnu/java/nio/charset/UTF_16BE.java,
6615         gnu/java/nio/charset/UTF_16Decoder.java,
6616         gnu/java/nio/charset/UTF_16Encoder.java,
6617         gnu/java/nio/charset/UTF_16LE.java,
6618         gnu/java/nio/charset/UTF_8.java: New files.
6619
6620 2002-11-11  Michael Koch <konqueror@gmx.de>
6621
6622         * java/nio/charset/CharacterCodingException.java:
6623         This class must be public.
6624         * java/nio/charset/CoderMalfunctionError.java:
6625         This class must be public.
6626         * java/nio/charset/CodingErrorAction.java:
6627         This class must be public.
6628         * java/nio/charset/IllegalCharsetNameException.java:
6629         This class must be public, better implementation.
6630         * java/nio/charset/MalformedInputException.java:
6631         This class must be public, better implementation.
6632         * java/nio/charset/UnmappableCharacterException.java:
6633         This class must be public, better implementation.
6634         * java/nio/charset/UnsupportedCharsetException.java:
6635         This class must be public, better implementation.
6636
6637 2002-11-11  Michael Koch <konqueror@gmx.de>
6638
6639         * java/nio/BufferOverflowException.java,
6640         java/nio/BufferUnderflowException.java: New file.
6641         * Makefile.am (ordinary_java_source_files):
6642         Added new files.
6643         * Makefile.in: Regenerated.
6644
6645 2002-11-10  Tom Tromey  <tromey@redhat.com>
6646
6647         * java/awt/Container.java (validate): Use tree lock.
6648         (getComponent): Likewise.
6649         (getComponents): Likewise.
6650         (addImpl): Likewise.
6651         (remove): Likewise.
6652         (removeAll): Likewise.
6653         (processEvent): Fixed indentation.
6654         (getComponentAt): Use tree lock.
6655         (findComponentAt): Likewise.
6656         (removeNotify): Likewise.
6657         (isAncestorOf): Likewise.
6658         (list): Likewise.
6659         (visitChildren): Likewise.
6660         (findNextFocusComponent): Likewise.
6661         (addNotifyContainerChildren): Likewise.
6662         (getAccessibleChildrenCount): Likewise.
6663         (getAccessibleChild): Likewise.
6664
6665         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6666         (getSize): Likewise.
6667         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6668         (getSize): Likewise.
6669         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6670         (calcSize): Likewise.
6671         * java/awt/CardLayout.java (getSize): Use tree lock.
6672         (gotoComponent): Likewise.
6673         (layoutContainer): Likewise.
6674
6675         * java/io/natFileDescriptorWin32.cc (read): Handle case where
6676         count is 0.
6677         * java/io/natFileDescriptorPosix.cc (read): Handle case where
6678         count is 0.
6679
6680         * java/io/Externalizable.java, java/io/FilePermission.java,
6681         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6682         java/io/SerializablePermission.java, java/text/Format.java,
6683         java/util/AbstractMap.java, java/util/HashMap.java,
6684         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6685         versions from Classpath.
6686
6687 2002-11-10  Anthony Green  <green@redhat.com>
6688
6689         * java/util/jar/Attributes.java (Name): Fix name check.
6690
6691 2002-11-10  Mark Wielaard  <mark@klomp.org>
6692
6693         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6694         with getName() as message.
6695         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6696         type as message.
6697
6698         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6699         unused.
6700
6701 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
6702
6703         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6704         for Win32. JNICALL has been defined to __stdcall to be compatible
6705         with Sun's JDKs.
6706
6707 2002-11-10  Tom Tromey  <tromey@redhat.com>
6708
6709         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6710         (setRows): Check newRows, not rows.
6711
6712         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6713
6714 2002-11-09  Tom Tromey  <tromey@redhat.com>
6715
6716         * java/applet/Applet.java, java/applet/AppletContext.java,
6717         java/applet/AppletStub.java, java/applet/AudioClip.java,
6718         java/awt/CardLayout.java,
6719         java/awt/ContainerOrderFocusTraversalPolicy.java,
6720         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6721         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6722         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6723         java/awt/color/ICC_ColorSpace.java,
6724         java/awt/color/ICC_Profile.java,
6725         java/awt/color/ICC_ProfileGray.java,
6726         java/awt/color/ICC_ProfileRGB.java,
6727         java/awt/datatransfer/DataFlavor.java,
6728         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6729         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6730         New versions from Classpath.
6731         * Makefile.in: Rebuilt.
6732         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6733         ICC_ProfileRGB.
6734
6735         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6736         display policy.
6737
6738         * java/awt/List.java (processEvent): Added missing `else's.
6739
6740         * java/awt/Window.java (show): validate() before showing.  Make
6741         parent displayable.
6742         (isDisplayable): New method.
6743
6744 2002-11-07  Mark Wielaard  <mark@klomp.org>
6745
6746         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6747         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6748
6749         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6750         annotation.
6751         (loadClass): Take String as codebases.
6752         (getClassAnnotation): Use MyClassLoader annotations.
6753         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6754         call exportObject(this).
6755
6756         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6757         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6758         (setAnnotation): Don't set locBytesStream and locStream.
6759         (replaceObject): Removed.
6760         (flush): Don't test locStream.
6761         (getLocBytes): LikeWise.
6762         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6763         (leaseCache): New field.
6764         (dirty): Use leaseCache.
6765         (LeaseRecord): New inner class.
6766         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6767         explicitly call exportObject().
6768         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6769         false to communicate with Sun JDK130.
6770         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6771         * gnu/java/rmi/server/RMIObjectInputStream.java
6772         (UnicastConnectionManager): Removed field.
6773         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6774         Use UnicastServer.getExportedRef().
6775         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6776         (expireTime): Likewise.
6777         (CONNECTION_TIMEOUT): Likewise.
6778         (disconnect): Call sock.close().
6779         (isExpired): New method.
6780         (resetTime): Likewise.
6781         (run): Use do while loop and catch Exception for discardConnection().
6782         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6783         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6784         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6785         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6786         (exportObject): Use refcache.
6787         (unexportObject): Likewise.
6788         (getExportedRef): New method.
6789         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6790         constructor.
6791         (exportObject): Save manager.serverobj.
6792         (getStub): New method.
6793
6794 2002-11-07  Mark Wielaard  <mark@klomp.org>
6795
6796         * java/lang/reflect/natField.cc (getBoolean): Use getType().
6797         (getByte): Likewise.
6798         (getShort): Likewise.
6799         (getInt): Likewise.
6800         (getLong): Likewise.
6801         (getFloat): Likewise.
6802         (getDouble): Likewise.
6803         (get): Likewise.
6804         (setChar): Likewise.
6805         (setByte): Likewise.
6806         (setShort): Likewise.
6807         (setInt): Likewise.
6808         (setLong): Likewise.
6809         (setFloat): Likewise.
6810         (setDouble): Likewise.
6811
6812 2002-11-07  Michael Koch <konqueror@gmx.de>
6813
6814         * java/awt/Choice.java,
6815         java/awt/Container.java,
6816         java/awt/GridBagLayout.java:
6817         Fixed documentation.
6818         * java/awt/peer/ContainerPeer.java:
6819         Reindented.
6820
6821 2002-11-07  Michael Koch <konqueror@gmx.de>
6822
6823         * java/awt/color/ICC_Profile.java:
6824         Added missing constants.
6825         * java/awt/color/ICC_ColorSpace.java
6826         (getMinValue): Added dummy implementation.
6827         (getMaxValue): Added dummy implementation.
6828         * java/awt/datatransfer/DataFlavor.java
6829         (imageFlavor): Added.
6830         (isMimeTypeEqual): Must be final.
6831         (getDefaultRepresentationClass): Must be non-static.
6832         (getDefaultRepresentationClassAsString): Must be non-static.
6833         * java/awt/dnd/DragSourceContext.java
6834         (dragExit): Corrected argument.
6835         (dragDropEnd): Corrected argument.
6836         * java/awt/dnd/DragSourceListener.java.java
6837         (dragExit): Corrected argument.
6838         (dragDropEnd): Corrected argument.
6839         * java/awt/font/TextHitInfo.java
6840         (toString): Added stubbed implementation.
6841         * java/awt/geom/PathIterator.java:
6842         The constants must be static.
6843         * java/awt/image/VolatileImage.java
6844         (IMAGE_INCOMPATIBLE): Fixed typo.
6845         * java/awt/image/renderable/RenderableImage.java
6846         (HINTS_OBSERVED): Must be static.
6847         * java/beans/BeanInfo.java:
6848         Constants must be final.
6849
6850 2002-11-06  Tom Tromey  <tromey@redhat.com>
6851
6852         From svens@it.uu.se.  For PR libgcj/8481.
6853         * java/util/Random.java (nextInt(int)): Only use 31 bits.
6854
6855 2002-11-06  Tom Tromey  <tromey@redhat.com>
6856
6857         * jni.cc (array_from_valist): Assume that jlong won't be
6858         promoted.
6859
6860 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
6861
6862         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6863         Return 20.
6864         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6865         Return 16.
6866
6867 2002-11-03  Tom Tromey  <tromey@redhat.com>
6868
6869         * java/lang/ClassLoader.java (loadClass): Call loadClass on
6870         VMClassLoader, not findClass.
6871
6872 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
6873
6874         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6875         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6876         _Jv_DetermineVTableIndex, to determine vtable offset.
6877         (_Jv_DetermineVTableIndex): Remove.
6878         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
6879
6880         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6881
6882 2002-11-03  Tom Tromey  <tromey@redhat.com>
6883
6884         * java/nio/channels/AlreadyConnectedException.java: Extend
6885         IllegalStateException, per spec.
6886
6887 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
6888
6889         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6890
6891 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6892
6893         * java/util/ArrayList.java (readObject, writeObject): Only read/write
6894         size items.
6895
6896 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6897
6898         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6899         initial estimated size to avoid enlarge buffer frequently.
6900
6901 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
6902
6903         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6904         ClassLoader when null.
6905         (ProxyType.hashCode): Loader null check no longer needed.
6906         (ProxyType.sameTypes): New method.
6907         (ProxyType.equals): Use new method.
6908
6909 2002-10-31  Mark Wielaard  <mark@klomp.org>
6910
6911         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6912         length of String.
6913         * java/net/URLEncoder.java (encode): Likewise.
6914
6915 2002-10-31  Mark Wielaard  <mark@klomp.org>
6916
6917         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6918         when stream is closed.
6919         (closeEntry): Likewise.
6920         (read): Likewise.
6921         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6922         ZipException when no entry active.
6923         (closeEntry): Likewise.
6924         (write): Likewise.
6925
6926 2002-11-02  Tom Tromey  <tromey@redhat.com>
6927
6928         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6929         * java/lang/natClass.cc (initializeClass): Don't return just
6930         because self==thread.
6931
6932         For PR java/8415:
6933         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6934         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6935
6936 2002-11-02  Andreas Schwab  <schwab@suse.de>
6937
6938         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6939         pass GCJFLAGS.
6940         (FLAGS_TO_PASS): Define.
6941         * Makefile.in: Regenerated.
6942
6943 2002-11-01  Michael Koch  <konqueror@gmx.de>
6944
6945         * java/nio/ByteOrder.java: New file.
6946         * java/nio/channels/DatagramChannel.java:
6947         (DatagramChannel): New constructor.
6948         * java/nio/channels/Pipe.java: New file.
6949         * java/nio/channels/SelectableChannel.java: New file.
6950         * java/nio/channels/SelectionKey.java: New file.
6951         * java/nio/channels/Selector.java: New file.
6952         * java/nio/channels/ServerSocketChannel.java
6953         (ServerSocketChannel): New constructor.
6954         * java/nio/channels/SocketChannel.java
6955         (SocketChannel): New constructor.
6956         * java/nio/channels/Pipe.java: New file.
6957         * java/nio/channels/spi/AbstractChannel.java: New file.
6958         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6959         * java/nio/channels/spi/AbstractSelectableChannel.java:
6960         License added
6961         (AbstractSelectableChannel): New stubbed method.
6962         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6963         * java/nio/channels/spi/AbstractSelector.java: New file.
6964         * java/nio/channels/spi/SelectorProvider.java: New file.
6965         * java/nio/charset/Charset.java: New file.
6966         * java/nio/charset/CoderMalfunctionError.java: New file.
6967         * java/nio/charset/CodingErrorAction.java: New file.
6968         * java/nio/charset/spi/CharsetProvider.java
6969         (charsetForName): Uncommented.
6970         * Makefile.am (java_native_source_files): Added new files.
6971         * Makefile.in: Regenerated.
6972
6973 2002-11-01  Michael Koch  <konqueror@gmx.de>
6974
6975         * java/net/InetAddress.java:
6976         (isAnyLocalAddress): Implemented.
6977         (isLoopbackAddress): Implemented, comment added.
6978         (isLinkLocalAddress): Implemented, documentation added.
6979         (isSiteLocalAddress): Implemented, documentation added.
6980         (isMCGlobal): Implemented, documentation added.
6981         (isMCNodeLocal): Implemented, documentation added.
6982         (isMCLinkLocal): Implemented, documentation added.
6983         (isMCSiteLocal): Implemented, documentation added.
6984         (isMCOrgLocal): Implemented, documentation added.
6985         (getHostName): Documentation added.
6986         (getCanonicalHostName): Implemented, documentation added.
6987         (getAddress): Documentation added.
6988         (hashCode): Documentation added.
6989         (equals): Documentation added.
6990         (toString): Fixed implementation.
6991         (getByAddress): Use Inet4Address and Inet6Address.
6992         (lookup): New linewrap.
6993         (getByName): SecurityManager check added, support Inet4Address and
6994         Inet6address, comments added.
6995         (getAllByName): SecurityManager check added, comments added.
6996         * java/net/Inet6Address.java:
6997         (Inet6Address): Initialize parent class with addr instead of null.
6998         * java/net/URL.java
6999         (equals): Documentation added.
7000         (getFile): Documentation added.
7001         (hashCode): Documentation added.
7002         * java/net/natInetAddress.cc:
7003         (aton): Fix IPv6 support.
7004         * java/net/natPlainDatagramSocketImpl.cc:
7005         (peek): Throw PortUnreachableException when suitable.
7006         (peekData): Throw PortUnreachableException when suitable.
7007         (send): Throw PortUnreachableException when suitable.
7008         (receive): Throw PortUnreachableException when suitable.
7009
7010 2002-10-27  Mark Wielaard  <mark@klomp.org>
7011
7012         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7013         argument.
7014         (readLeShort): Likewise and use byte[].
7015         (readLeInt): Likewise.
7016         (readEntries): Use new versions of methods and use byte[] for reading
7017         a complete zip entry. Add ZipFile name to exceptions.
7018         (entries): Add ZipFile name to exceptions.
7019         (getEntry): Likewise.
7020         (checkLocalHeader): Use new versions of methods and add ZipFile name
7021         to exceptions.
7022
7023 2002-10-31  Mark Anderson  <mark@panonet.net>
7024
7025         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7026         added
7027
7028 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
7029
7030         * configure.in: Disable hash sync when not using threads.
7031         * configure: Regenerated.
7032
7033 2002-10-24  Tom Tromey  <tromey@redhat.com>
7034
7035         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7036         (_Jv_FindSymbolInExecutable): Removed argument name.
7037         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7038         java.library.path is set.
7039
7040         * gij.cc (help): Document --showversion.
7041         (version): Don't exit.
7042         (main): Handle --showversion.  Exit if --version given.
7043
7044 2002-10-23  Tom Tromey  <tromey@redhat.com>
7045
7046         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7047         (array_from_valist): Correctly handle promotion for jint, jlong,
7048         jfloat, and jdouble.
7049
7050 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
7051
7052         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7053         GetFileAttributesEx( ) to find file length and modification times,
7054         as the latter is not present on Windows 95.
7055
7056 2002-10-21  Michael Koch  <konqueror@gmx.de>
7057
7058         * java/net/URL.java
7059         (URL): Activate SecurityManager checks.
7060         (equals): Use URLStreamHandler implementation instead of doing it
7061         alone. This allows special protocol stream handlers to change default
7062         behaviour.
7063         (hashCode): Use URLStreamHandler implementation instead of doing it
7064         alone. This allows special protocol stream handlers to change default
7065         behaviour.
7066         * java/net/URLStreamHandler.java
7067         (equals): Implemented default URL equality check.
7068         (hostsEqual): Implemented default URL equality check.
7069         (hashCode): Implemented default URL hashCode algorithm.
7070         * java/net/natPlainDatagramSocketImpl.cc:
7071         No lines longer then 80 characters.
7072
7073 2002-10-20  Adam Megacz <adam@xwt.org>
7074
7075         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7076         * configure.in: enabled hash sync on Win32
7077         * include/win32-threads.h (_Jv_ThreadId_t): added.
7078         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7079         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7080         removed some posix-isms, use Thread::sleep() instead of usleep,
7081         added code to clear bottom three bits if platform has a broken
7082         linker.
7083         * include/win32-threads.h (_Jv_ThreadId_t): added.
7084
7085 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
7086
7087         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7088         runtime property "gnu.gcj.progname" containing the name used to
7089         invoke the current Java program (similar to argv[0] for C
7090         programs).
7091
7092 2002-10-15  Tom Tromey  <tromey@redhat.com>
7093
7094         Fix for PR libgcj/8234:
7095         * java/util/zip/natInflater.cc (reset): Reset avail_in.
7096         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7097
7098 2002-10-13  Mark Wielaard  <mark@klomp.org>
7099
7100         * mauve-libgcj: Enable Mauve tests that compile now.
7101
7102 2002-10-11  Mark Wielaard  <mark@klomp.org>
7103
7104         Fix for PR libgcj/8142
7105         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7106         loading native modules.
7107
7108 2002-10-10  Michael Koch  <konqueror@gmx.de>
7109
7110         * javax/swing/AbstractListModel.java
7111         (getListDataListeners): New stubbed method.
7112         javax/swing/DefaultBoundedRangeModel.java
7113         (getChangeListeners): New stubbed method.
7114         javax/swing/DefaultSingleSelectionModel.java
7115         (getChangeListeners): New stubbed method.
7116
7117 2002-10-10  Michael Koch  <konqueror@gmx.de>
7118
7119         * gcj/.cvsignore: New file to ignore files generated during build.
7120         * include/.cvsignore: New file to ignore files generated during build.
7121
7122 2002-10-10  Michael Koch  <konqueror@gmx.de>
7123
7124         * java/net/HttpURLConnection.java
7125         (getPermission): New method.
7126         (getErrorStream): New stub method.
7127         (getHeaderFieldDate): New stub method.
7128         * java/net/Inet4Address.java:
7129         (isLinkLocalAddress): Typo fixed.
7130         * java/net/InetAddress.java:
7131         (readResolve): New stubbed method (for serialization).
7132         (isAnyLocalAddress): New stubbed method.
7133         (isLoopbackAddress): New stubbed method.
7134         (isLinkLocalAddress): New stubbed method.
7135         (isSiteLocalAddress): New stubbed method.
7136         (isMCGlobal): New stubbed method.
7137         (isMCNodeGlobal): New stubbed method.
7138         (isMCLinkLocal): New stubbed method.
7139         (isMCSiteLocal): New stubbed method.
7140         (isMCOrgLocal): New stubbed method.
7141         (getCanonicalHostName): New stubbed method.
7142         (getByAddress): Create instances of Inet4Address/Inet6Address,
7143         instead of InetAddress, documentation added.
7144         * java/net/MulticastSocket.java
7145         (getInterface): Removed FIXME.
7146         (getNetworkInterface): New method.
7147         (setNetworkInterface): New method.
7148         * java/net/NetworkInterface.java:
7149         (toString): Use property "line.separator" instead of "\n".
7150         * java/net/URLConnection.java
7151         (getContent): New stubbed method.
7152         * java/net/URLStreamHandler.java:
7153         (equals): New stubbed method.
7154         (hostsEqual): New stubbed method.
7155         (hashCode): New stubbed method.
7156         * java/net/natNetworkInterface.cc:
7157         (getRealNetworkInterfaces): Create Inet4Address object
7158         instead of InetAddress.
7159
7160 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7161
7162         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7163         unsigned long temporary to implement insn_iushr shifts.
7164
7165 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
7166
7167         * configure.host [s390*-*]: Enable Java interpreter.
7168         Enable hash synchronization.  Add sysdeps dir.
7169         * sysdep/s390/locks.h: New file.
7170
7171 2002-10-06  Mark Wielaard  <mark@klomp.org>
7172
7173         * java/lang/Thread.java (setDaemon): Check startable_flag,
7174         not isAlive().
7175
7176 2002-10-07  Michael Koch  <konqueror@gmx.de>
7177
7178         * java/nio/Buffer.java: New stub file.
7179         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7180         of class Charset.
7181         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7182         * Makefile.in: Regenerated.
7183
7184 2002-10-07  Michael Koch  <konqueror@gmx.de>
7185
7186         * java/nio/ByteBuffer.java:
7187         removed import of not commited class.
7188
7189 2002-10-07  Michael Koch  <konqueror@gmx.de>
7190
7191         * java/nio/ByteBuffer.java,
7192         java/nio/MappedByteBuffer.java:
7193         New files, forgot to add these dummies.
7194         * Makefile.am (java_native_source_files): Added new files.
7195         * Makefile.in: Regenerated.
7196
7197 2002-10-07  Michael Koch  <konqueror@gmx.de>
7198
7199         * java/nio/channels/AlreadyConnectedException.java,
7200         java/nio/channels/ClosedChannelException.java,
7201         java/nio/channels/ReadableByteChannel.java,
7202         java/nio/channels/InterruptibleChannel.java,
7203         java/nio/channels/Channel.java,
7204         java/nio/channels/ByteChannel.java,
7205         java/nio/channels/GatheringByteChannel.java,
7206         java/nio/channels/ScatteringByteChannel.java,
7207         java/nio/channels/WritableByteChannel.java,
7208         java/nio/charset/CharacterCodingException.java,
7209         java/nio/charset/IllegalCharsetNameException.java,
7210         java/nio/charset/MalformedInputException.java,
7211         java/nio/charset/UnmappableCharacterException.java,
7212         java/nio/charset/UnsupportedCharsetException.java,
7213         java/nio/charset/spi/CharsetProvider.java: New file.
7214         These files are exceptions or interfaces,
7215         no real or abstract classes.
7216         * Makefile.am (java_native_source_files): Added new files.
7217         * Makefile.in: Regenerated.
7218
7219 2002-10-05  Michael Koch  <konqueror@gmx.de>
7220
7221         * java/net/InetAddress.java
7222         (getByAddress): Fixed documentation.
7223         (getByAddress): New method.
7224         * java/net/Inet4Address.java: New file.
7225         * java/net/URL.java
7226         (URL): Documentation added.
7227         (getContent): Documentation added.
7228         (getContent): New stubbed method.
7229         (getQuery): New method.
7230         (openConnection): Documentation added.
7231         (openStream): Documentation added.
7232         (setURLStreamHandlerFactory): Documentation added.
7233         * java/net/URI.java: New stub file.
7234         * Makefile.am
7235         (java_native_source_files): Added java/net/Inet4Address.java,
7236         java/net/Inet6Address.java and java/net/URI.java.
7237         * Makefile.in: Regenerated.
7238
7239 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7240
7241         * java/lang/ProtectionDomain.java (linesep): Remove field.
7242         (toString): Use System.getProperty("line.separator").
7243
7244 2002-10-04  Michael Koch  <konqueror@gmx.de>
7245
7246         * java/security/Identity.java: Added serialVersionUID.
7247         * java/security/KeyPair.java: Added serialVersionUID.
7248         * java/security/Provider.java: Added serialVersionUID.
7249         * java/security/SecureRandom.java: Added serialVersionUID.
7250         * java/security/SecureRandomSpi.java: Added serialVersionUID.
7251         * java/security/SignedObject.java: Added serialVersionUID.
7252         * java/security/cert/Certificate.java: Added serialVersionUID.
7253
7254 2002-10-04  Mark Wielaard <mark@klomp.org>
7255
7256         * java/security/Security.java: Use java.home or gnu.classpath.home
7257         to load providers.
7258         (loadProviders): Extra dir argument.
7259         (getProvider): Return null when not found.
7260
7261 2002-10-04  Mark Wielaard  <mark@klomp.org>
7262
7263         * java/lang/Throwable.java: Remerge with Classpath.
7264
7265 2002-10-04  Michael Koch  <konqueror@gmx.de>
7266
7267         * java/net/InetAddress.java:
7268         (isMulticastAddress): Added documentation.
7269         (getHostAddress): Added documentation.
7270         (toString): Added documentation.
7271         (getByAddress): Fixed documentation.
7272         (getByName): Added documentation.
7273         (getAllByName): Added documentation.
7274         (getLocalHost): Added documentation.
7275
7276 2002-10-04  Michael Koch  <konqueror@gmx.de>
7277
7278         * java/beans/beancontext/BeanContextChildSupport.java:
7279         Added serialVersionUID.
7280         * java/text/Collator.java: (compare): Made documentation HTML-aware.
7281         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7282         * javax/naming/Name.java: Added serialVersionUID.
7283
7284 2002-10-03  Adam Megacz <adam@xwt.org>
7285
7286         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7287         some functionality that isn't supported yet on WIN32.
7288
7289 2002-10-03  Tom Tromey  <tromey@redhat.com>
7290
7291         * Makefile.in: Rebuilt.
7292         * Makefile.am (awt_java_source_files): Added new files.
7293
7294 2002-10-03  Michael Koch  <konqueror@gmx.de>
7295
7296         * java/net/InetAddress.java
7297         (class InetAddress): Removed final keyword.
7298         (equals): Fixed typo.
7299         (getByAddress): New method.
7300
7301 2002-10-03  Michael Koch  <konqueror@gmx.de>
7302
7303         * java/awt/dnd/Autoscroll.java:
7304         New file, merge from Classpath.
7305         * java/awt/dnd/DragSourceAdapter.java:
7306         (dragExit): Fixed typos in argument type.
7307         (dragDropEnd): Fixed typos in argument type.
7308         * java/awt/dnd/DragSourceDropEvent.java:
7309         New file, merge from Classpath.
7310         * java/awt/dnd/DropTarget.java:
7311         Added stubs, merge from Classpath.
7312         * java/awt/dnd/DropTargetAdapter.java:
7313         New file, merge from Classpath.
7314         * java/awt/dnd/DropTargetContext.java:
7315         New file, merge from Classpath.
7316         * java/awt/dnd/DropTargetDragEvent.java:
7317         New file, merge from Classpath.
7318         * java/awt/dnd/DropTargetDropEvent.java:
7319         New file, merge from Classpath.
7320         * java/awt/dnd/DropTargetEvent.java:
7321         New file, merge from Classpath.
7322         * java/awt/dnd/DropTargetListener.java:
7323         New file, merge from Classpath.
7324         * java/awt/dnd/MouseDragGestureRecognizer.java:
7325         New file, merge from Classpath.
7326         * java/awt/dnd/peer/DropTargetContextPeer.java:
7327         New file, merge from Classpath.
7328
7329 2002-10-03  Michael Koch  <konqueror@gmx.de>
7330
7331         * java/net/DatagramPacket.java
7332         (setLength): Fixed typo and be HTML-aware.
7333         * java/net/InetSocketAddress.java
7334         (InetSocketAddress): Correct initialization of hostname, fixed typo.
7335         (equals): Added comment about equality of InetSocketAddress objects.
7336         * java/net/ServerSocket.java
7337         (accept): Added checks.
7338         (isClosed): New stubbed method.
7339         * java/net/SocketOptions.java: Reindention.
7340         * java/net/SocketPermission
7341         (SocketPermission): Documentation fixed.
7342
7343 2002-10-03  Michael Koch  <konqueror@gmx.de>
7344
7345         * java/net/DatagramSocket.java
7346         (receive): Check with SecurityManager AFTER the packet is received,
7347         check if connected to multicast address, documentation added.
7348         (send): Only check SecurityManager if connected, check address of
7349         packet to send.
7350         (connect): Implemented, documentation added.
7351         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7352         * java/net/InetSocketAddress.java
7353         (whole file): Reindented.
7354         (hostname): New attribute.
7355         (InetSocketAddress): Initialize new attribute.
7356         (getAddress): Documentation added.
7357         (getHostName): Documentation added.
7358         (getPort): Documentation added.
7359         (hashCode): Documentation added.
7360         (isUnresolved): Documentation added.
7361         (toString): Conform to output of JDK 1.4.1, documentation added.
7362         * java/net/MulticastSocket.java
7363         (joinGroup): Removed FIXME, documentation added.
7364         (leaveGroup): Removed FIXME, documentation added.
7365         (send): Documentation added.
7366         * java/net/Socket.java
7367         (inputShutdown): New variable.
7368         (outputShutdown): New variable.
7369         (Socket): Initialize new variables.
7370         (getRemoteSocketAddress): Check if connected.
7371         (shutdownInput): Set new variable.
7372         (shutdownOutput): Set new variable.
7373         (isConnected): New method.
7374         (isClosed): New method.
7375         (isInputShutdown): New method.
7376         (isOutputShutdown): New method.
7377         * java/net/URLStreamHandler.java
7378         (URLStreamHandler): New method.
7379         (openConnection): Added documentation.
7380         (parseURL): Added documentation.
7381         (getHostAddress): New method.
7382         (getDefaultPort): New method.
7383
7384 2002-10-02  Tom Tromey  <tromey@redhat.com>
7385
7386         * java/rmi/activation/ActivationDesc.java,
7387         java/rmi/activation/ActivationGroupDesc.java,
7388         java/rmi/activation/ActivationGroupID.java,
7389         java/rmi/activation/ActivationID.java: New versions from
7390         Classpath.
7391
7392 2002-09-30  Bo Thorsen  <bo@suse.de>
7393
7394         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7395
7396 2002-09-30  Tom Tromey  <tromey@redhat.com>
7397
7398         * java/io/ObjectInputStream.java (resolveProxyClass): New method
7399         from Classpath.
7400         * Makefile.in: Rebuilt.
7401         * Makefile.am (rmi_java_source_files): Added new files.
7402         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7403         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7404         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7405         Classpath.
7406         * gnu/java/rmi/dgc/DGCImpl.java,
7407         gnu/java/rmi/dgc/DGCImpl_Skel.java,
7408         gnu/java/rmi/dgc/DGCImpl_Stub.java,
7409         gnu/java/rmi/registry/RegistryImpl_Skel.java,
7410         gnu/java/rmi/registry/RegistryImpl_Stub.java,
7411         gnu/java/rmi/server/RMIHashes.java,
7412         gnu/java/rmi/server/RMIObjectInputStream.java,
7413         gnu/java/rmi/server/RMIObjectOutputStream.java,
7414         gnu/java/rmi/server/UnicastConnection.java,
7415         gnu/java/rmi/server/UnicastConnectionManager.java,
7416         gnu/java/rmi/server/UnicastRef.java,
7417         gnu/java/rmi/server/UnicastServer.java,
7418         gnu/java/rmi/server/UnicastServerRef.java,
7419         java/rmi/MarshalledObject.java,
7420         java/rmi/server/RMIClassLoader.java,
7421         java/rmi/server/RemoteObject.java,
7422         java/rmi/server/UnicastRemoteObject.java,
7423         java/security/SecureClassLoader.java: Merged from Classpath.
7424
7425 2002-09-29  Anthony Green  <green@redhat.com>
7426
7427         * java/lang/reflect/UndeclaredThrowableException.java: New file.
7428         Imported from GNU Classpath.
7429         * java/lang/reflect/natProxy.cc: New file.
7430         * java/lang/reflect/InvocationHandler.java: New file.  Imported
7431         from GNU Classpath.
7432         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
7433         Classpath.
7434         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7435         Classpath.
7436         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7437         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7438         New statics.
7439         * gcj/javaprims.h ("Java"): Add new classes.
7440         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7441         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7442         java/lang/reflect/Proxy$$ProxyType.h): And this.
7443         (inner_nat_headers): Add these new headers.
7444         (ordinary_java_source_files): Add new files.
7445         (nat_source_files): Add new file.
7446         * Makefile.in: Rebuilt.
7447
7448 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
7449
7450         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7451         a single configuration.
7452
7453 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7454
7455         * java/util/TimeZone.java (getDSTSavings): New method.
7456         Fixes PR libgcj/7786.
7457
7458 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7459
7460         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7461         to see if `the_method == 0' before looking up vtable index.
7462         Fixes PR libgcj/7709.
7463
7464 2002-09-25  Tom Tromey  <tromey@redhat.com>
7465
7466         * java/lang/natClassLoader.cc:
7467         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7468         * resolve.cc: Include NoClassDefFoundError.h, not
7469         ClassNotFoundException.h.
7470         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7471
7472         * defineclass.cc: Don't include ClassNotFoundException.h.
7473
7474         * resolve.cc: Include StringBuffer.
7475         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7476
7477         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7478         allocated but not initialized.
7479
7480 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7481
7482         Fix for PR libgcj/7766:
7483         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7484         (getNextEntry): Set it.
7485         (closeEntry): Likewise.
7486         (read): Likewise.
7487         (close): Likewise.
7488         (available): Use it.
7489
7490 2002-09-25  Michael Koch  <konqueror@gmx.de>
7491
7492         * java/net/DatagramSocket.java
7493         (DatagramSocket): Initialize new instance variables.
7494         (close): Reset new instance variables.
7495         (getLocalAddress): Remove unneeded SecurityManager usage.
7496         (getLocalPort): Check if socket is already bound.
7497         (isConnected): New method.
7498         (getInetAddress): Implemented.
7499         (getPort): Better Implementation, documentation fixed.
7500         (getRemoteSocketAddress): New method.
7501         * java/net/JarURLConnection.java
7502         (element): Typo fixed.
7503         (getMainAttributes): New method.
7504         (getAttributes): New method (stub only).
7505         (getManifest): New method (stub only).
7506         * java/net/NetPermission.java: Added serialVersionsUID.
7507         * java/net/Socket.java
7508         (connect): Check blocking mode of associated channel,
7509         documentation added.
7510         (getLocalSocketAddress): Better implementation.
7511         (getRemoteSocketAddress): Implemented.
7512         (isBound): New method.
7513         (setSendBufferSize): Documentation added.
7514         * java/net/SocketAddress.java: Added serialVersionsUID.
7515         * java/net/SocketPermission.java: Added serialVersionsUID.
7516         * java/net/URL.java
7517         (URL): Wrap for shorter lines, initialize new instance variables,
7518         documentation added.
7519         (equals): Check new instance variables too.
7520         (getContent): Documentation added.
7521         (getPath): Documentation added.
7522         (getAuthority): New method.
7523         (getHost): Documentation added.
7524         (getPort): Documentation added.
7525         (getDefaultPort): New method.
7526         (getProtocol): Documentation added.
7527         (getUserInfo): Documentation added.
7528         (set): Initialize new instance variables, documentation added.
7529         * java/net/URLStreamHandler.java
7530         (setURL): New method.
7531         * java/net/natPlainDatagramSocketImpl.cc
7532         (connect): Fix exception name.
7533         (disconnect): Fix exception name.
7534
7535 2002-09-25  Michael Koch  <konqueror@gmx.de>
7536
7537         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7538         * java/nio/channels/DatagramChannel.java:
7539         extends AbstractSelectableChannel
7540         * java/nio/channels/ServerSocketChannel.java:
7541         extends AbstractSelectableChannel
7542         * java/nio/channels/SocketChannel.java:
7543         extends AbstractSelectableChannel
7544         * Makefile.am (ordinary_java_source_files):
7545         java/nio/channels/spi/AbstractSelectableChannel.java added.
7546         * Makefile.in: Regenerated.
7547
7548 2002-09-25  Michael Koch  <konqueror@gmx.de>
7549
7550         * java/net/DatagramSocket.java
7551         (DatagramSocket): Exception documentation added.
7552         (bind): Exception documentation added, addded SecurityManager check,
7553         added SocketAddress type check.
7554         (getSoTimeout): Check impl.
7555         (receive): Fix SecurityManager check, check impl, documentation added.
7556         (send): Check channel mode, documentation added.
7557         (connect): New method.
7558         (disconnect): Implemented.
7559         (getLocalSocketAddress): New method.
7560         (getReceiveBufferSize): Check impl.
7561         (setReuseAddress): Check impl.
7562         (getReuseAddress): Check impl.
7563         (setBroadcast): Check impl.
7564         (getBroadcast): Check impl.
7565         (setTrafficClass): Check impl, Documentation cleared.
7566         (getTrafficClass): Check impl.
7567         (getSendBufferSize): Check impl.
7568         (setReceiveBufferSize): Check impl, documentation added.
7569         (setSendBufferSize): Documentation added.
7570         (setDatagramSocketImplFactory): New method.
7571         * java/net/HttpURLConnection.java
7572         (HTTP_INTERNAL_ERROR): The correct code is 500.
7573         (HTTP_NOT_IMPLEMENTED): Added new constant.
7574         (setFollowRedirects): Documentation added.
7575         (getInstanceFollowRedirects): New method.
7576         (setInstanceFollowRedirects): New method.
7577         (setRequestMethod): Documentation added.
7578         (getResponseCode): Documentation added.
7579         (getResponseMessage): Documentation added.
7580         * java/net/JarURLConnection.java
7581         (JarURLConnection): protected since JDK 1.4.
7582         (getJarEntry): java.io.IOException to IOException, documentation added.
7583         (getJarFile): Documentation added.
7584         * java/net/ServerSocket.java
7585         (ServerSocket): Private to public, exception added.
7586         (ServerSocket): java.io.IOException to IOException, documentation added.
7587         (bind): Check socket address type, documentation added.
7588         (bind): java.io.IOException to IOException, documentation added.
7589         (accept): Documentation added.
7590         (implAccept): Check ch is not non-blocking, documentation added.
7591         (setSoTimeout): Documentation fixed.
7592         (setReceiveBufferSize): Documentation added.
7593         * java/net/Socket.java
7594         (Socket): Documentation added.
7595         (bind): Documentation added.
7596         (connect): Check socket address type, documentation added.
7597         (getRemoteSocketAddress): New method.
7598         (getLocalSocketAddress): New method.
7599         (setSoLinger): Documentation added.
7600         (getReuseAddress): New method.
7601         (setReuseAddress): New method.
7602         (getTrafficClass): New method.
7603         (setTrafficClass): New method.
7604         * java/net/URLStreamHandler.java
7605         (openConnection): java.io.IOException to IOException.
7606         (parseURL): Documentation added.
7607         (sameFile): public to protected, documentation added.
7608         (setURL): Documentation added.
7609         * java/nio/IllegalBlockingModeException.java: New file.
7610         * Makefile.am (ordinary_java_source_files):
7611         added java/nio/IllegalBlockingModeException.java
7612         * Makefile.in: Regenerated.
7613
7614 2002-09-25  Michael Koch  <konqueror@gmx.de>
7615
7616         * java/net/DatagramPacket
7617         (DatagramPacket): Exception documentation added.
7618         (setData): Likewise.
7619         (setSocketAddress): Likewise.
7620         * java/net/DatagramSocketImpl.java
7621         (peek): Documentation addded.
7622         (peekData): Documentation addded.
7623         (send): Documentation addded.
7624         (receive): Documentation addded.
7625         (connect): New method.
7626         (disconnect): New method.
7627         (joinGroup): New abstract method.
7628         (leaveGroup): New abstract method.
7629         * java/net/InetSocketAddress.java
7630         (InetSocketAddress): Documentation added.
7631         (equals): final keyword added.
7632         (getAddress): final keyword added.
7633         (getHostName): final keyword added.
7634         (getPort): final keyword added.
7635         (hashCode): final keyword added.
7636         (isUnresolved): final keyword added.
7637         * java/net/MulticastSocket.java
7638         (MulticastSocket): Documentation added.
7639         (MulticastSocket): New method.
7640         (joinGroup): Documentation added.
7641         (joinGroup): New method.
7642         (leaveGroup): Documentation added.
7643         (leaveGroup): New method.
7644         (send): Documentation added.
7645         * java/net/NetworkInterface.java
7646         (getByName): Documentation added.
7647         (getByInetAddress): Documentation added.
7648         (getNetworkInterfaces): Documentation added.
7649         * java/net/PlainDatagramSocketImpl.java
7650         (connect): New method.
7651         (disconnect): New method.
7652         * java/net/SocketImpl.java
7653         (create): Documentation added.
7654         (shutdownInput): Convert public to protected, as it always was.
7655         (shutdownOutput): Convert public to protected, as it always was.
7656         * java/net/SocketOptions.java
7657         (whole file): Reintented.
7658         * java/net/URLClassLoader.java
7659         (URLClassLoader): SecurityManager check added, documentation added.
7660         (findResources): Documentation added.
7661         (findClass): Documentation added.
7662         (newInstance): More correct method arguments.
7663         * java/net/URLConnection.java
7664         (connect): Documentation added.
7665         (getContent): Documentation added.
7666         (getPermission): Documentation added.
7667         (getInputStream): Documentation added.
7668         (getOutputStream): Documentation added.
7669         (setDoInput): Throw correct exception, documentation added.
7670         (setDoOutput): Throw correct exception, documentation added.
7671         (setAllowUserInteraction): Throw correct exception, documentation added.
7672         (setUseCaches): Throw correct exception, documentation added.
7673         (setIfModifiedSince): Throw correct exception, documentation added.
7674         (setRequestProperty): Throw exception, documentation added.
7675         (addRequestProperty): Throw exception, documentation added.
7676         (getRequestProperty): Throw exception, documentation added.
7677         (getRequestProperties): Documentation added.
7678         (setContentHandlerFactory): Documentation added.
7679         (guessContentTypeFromName): protected to public.
7680         (setFileNameMap): Documentation added.
7681         * java/net/URLDecoder.java
7682         (URLDecoder): New method.
7683         (decode): Documentation added.
7684         (whole file): Reindented.
7685         * java/net/URLEncoder.java
7686         (encode): Documentation added.
7687         * java/net/natPlainDatagramSocketImpl.cc
7688         (connect): New method.
7689         (disconnect): New method.
7690         * javax/naming/RefAddr:
7691         (addrType): addrType was never final.
7692         (equals): Fix typo in method name.
7693         * javax/naming/BinaryRefAddr:
7694         (equals): Fix typo in method name.
7695
7696 2002-09-22  Tom Tromey  <tromey@redhat.com>
7697
7698         Fix for PR libgcj/6576:
7699         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7700         didn't find a given bundle.
7701         (getBundle): Don't require base bundle.
7702         (setParent): Removed old comment.
7703         (tryLocalBundle): Try components even if preceding components were
7704         empty.
7705
7706 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7707
7708         * Makefile.am (all-multi): Fix multilib parallel build.
7709
7710 2002-09-21  Michael Koch  <konqueror@gmx.de>
7711
7712         * java/net/Socket.java
7713         (sendUrgentData): New method.
7714         (getChannel): New method.
7715         * java/net/ServerSocket.java
7716         (getChannel): New method.
7717         (isBound): New method.
7718         * java/net/DatagramSocket.java
7719         (DatagramSocket): Two new methods.
7720         (bind): New method.
7721         (getChannel): New method.
7722         (isBound): New method.
7723         (send): Added newline to to make shorter lines.
7724         * java/net/PlainDatagramSocketImpl.java
7725         (mcastGrp): Added argument.
7726         (join): Use new mcastGrp.
7727         (leave): Use new mcastGrp.
7728         (joinGroup): New method.
7729         (leaveGroup): New method.
7730         * java/net/natPlainDatagramSocketImpl.cc
7731         (mcastGrp): Added argument, no yet really implemented.
7732         (getOption): Added newline for shorter lines.
7733         * java/net/natPlainSocketImpl.cc
7734         (read, setOption, getOption): Added newline for shorter lines.
7735
7736 2002-09-19  Tom Tromey  <tromey@redhat.com>
7737
7738        * java/lang/ClassLoader.java (resolveClass0): Set cause for
7739        newly-created exception.
7740
7741 2002-09-18  Michael Koch  <konqueror@gmx.de>
7742
7743         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7744         java/util/regex/PatternSyntaxException.java:
7745         Merge with classpath, new files.
7746         * Makefile.am (core_java_source_files):
7747         Added java/util/regex/Matcher.java,
7748         java/util/regex/Pattern.java,
7749         java/util/regex/PatternSyntaxException.java
7750         * Makefile.in: Regenerated.
7751         * include/config.h.in: Added HAVE_NET_IF_H.
7752         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7753         Removed #if 0 ... #endif.
7754
7755 2002-09-17  Michael Koch  <konqueror@gmx.de>
7756
7757         * java/net/natNetworkInterface.cc:
7758         Removed unneed and yet wrong includes.
7759
7760 2002-09-17  Michael Koch  <konqueror@gmx.de>
7761
7762         * java/net/NetworkInterface.java: New file.
7763         * java/net/natNetworkInterface.java: New file.
7764         * configure.in: Added check for net/if.h.
7765         * configure: Regenerated.
7766         * Makefile.am
7767         (ordinary_java_source_files): Added NetworkInterface.java.
7768         (nat_source_files): Added natNetworkInterface.cc.
7769         * Makefile.in: Regenerated.
7770
7771 2002-09-16  Tom Tromey  <tromey@redhat.com>
7772
7773         * java/net/URLClassLoader.java (findClass): Code source for a
7774         class from a jar is not necessarily a jar: URL.
7775
7776 2002-09-16  Michael Koch  <konqueror@gmx.de>
7777
7778         * java/lang/AssertionError.java:
7779         Merge with classpath, fixes HTML.
7780         * java/rmi/server/LogStream.java:
7781         Merge with classpath, fixes some constants.
7782         * java/net/server/RemoteServer.java:
7783         Merge with classpath, adds serialVersionUID.
7784         * javax/naming/BinaryRefAddr.java:
7785         Merge with classpath, s/equal/equals/.
7786         * javax/naming/NamingException.java:
7787         Merge with classpath, fixed typo.
7788         * javax/naming/RefAddr.java:
7789         Merge with classpath, s/equal/equals/.
7790         * java/awt/Toolkit.java:
7791         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7792         and typo fixed.
7793
7794 2002-09-15  Adam Megacz <adam@xwt.org>
7795
7796         * java/net/natPlainSocketImpl.cc: fixed typo.
7797
7798 2002-09-15  Adam Megacz <adam@xwt.org>
7799
7800         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7801         which don't work on Win32 (yet).
7802
7803 2002-09-14  Adam Megacz <adam@xwt.org>
7804
7805         * java/net/natPlainDatagramSocket.cc: removed #include
7806         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7807         * include/win32.h: included definition for IP_TOS to satisfy
7808         natPlainDatagramSocket.cc
7809
7810 2002-09-13  Michael Koch  <konqueror@gmx.de>
7811
7812         * java/net/DatagramPacket.java (DatagramPacket):
7813         Added linebreak for 80 chars per line.
7814         * java/net/JarURLConection.java
7815         (getInputStreami, getJarEntry): Likewise.
7816         * java/net/SocketPErmission.java
7817         (SocketPermission class docu, implies): Likewise.
7818         * java/net/URLClassLoader.java (findResources): Likewise.
7819         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7820
7821 2002-09-13  Michael Koch  <konqueror@gmx.de>
7822
7823         * java/nio/channels/DatagramChannel.java,
7824         java/nio/channels/ServerSocketChannel.java
7825         java/nio/channels/SocketChannel.java:
7826         New dummy files to make java.net fully JDK 1.4 compatible
7827         * Makefile.am (ordinary_java_source_files): Added
7828         java/net/DatagramSocketImplFactory.java (long forgotten),
7829         java/nio/SocketChannel.java,
7830         java/nio/ServerSocketChannel.java,
7831         java/nio/DatagramChannel.java
7832         * Makefile.in: Regenrated.
7833
7834 2002-09-12  Michael Koch  <konqueror@gmx.de>
7835
7836         * java/net/DatagramSocketImpl.java
7837         (peekData): New method.
7838         * java/net/PlainDatagramSocketImpl.java
7839         (peekData): New method.
7840         * java/net/natPlainDatagramSocketImpl.cc
7841         (peekData): New method.
7842         * java/net/URLConnection
7843         (getPermission): New method.
7844         (addRequestProperty): New method.
7845         (getRequestProperties): New method.
7846         (guessContentTypeFromStream): New method, not really implemented.
7847         (URLConnection): Added/updated documentation.
7848         (connect): Added/updated documentation.
7849         (getURL): Added/updated documentation.
7850         (getContentLength): Added/updated documentation.
7851         (getContentType: Added/updated documentation.
7852         (getContentEncoding): Added/updated documentation.
7853         (getExpiration): Added/updated documentation.
7854         (getDate): Added/updated documentation.
7855         (getLastModified): Added/updated documentation.
7856         (getHeaderField): Added/updated documentation.
7857         (getHeaderFields): Added/updated documentation.
7858         (getHeaderFieldInt): Added/updated documentation.
7859         (getHeaderFieldDate): Added/updated documentation.
7860         (getHeaderFieldKey): Added/updated documentation.
7861         (getContent): Added/updated documentation.
7862         (getInputStream): Added/updated documentation.
7863         (getOutputStream): Added/updated documentation.
7864         (toString): Added/updated documentation.
7865         (setDoInput): Added/updated documentation.
7866         (getDoInput): Added/updated documentation.
7867         (setDoOutput): Added/updated documentation.
7868         (getDoOutput): Added/updated documentation.
7869         (setAllowUserInteraction): Added/updated documentation.
7870         (getAllowUserInteraction): Added/updated documentation.
7871         (setDefaultAllowUserInteraction): Added/updated documentation.
7872         (getDefaultAllowUserInteraction): Added/updated documentation.
7873         (setUseCaches): Added/updated documentation.
7874         (getUseCaches): Added/updated documentation.
7875         (setIfModifiedSince): Added/updated documentation.
7876         (getIfModifiedSince): Added/updated documentation.
7877         (getDefaultUseCaches): Added/updated documentation.
7878         (setDefaultUseCaches): Added/updated documentation.
7879         (setRequestProperty): Added/updated documentation.
7880         (getRequestProperty): Added/updated documentation.
7881         (setDefaultRequestProperty): Added/updated documentation.
7882         (getDefaultRequestProperty): Added/updated documentation.
7883         (setContentHandlerFactory): Added/updated documentation.
7884         (guessContentTypeFromName): Added/updated documentation.
7885         (getFileNameMap): Added/updated documentation.
7886         (setFileNameMap): Added/updated documentation.
7887
7888 2002-09-11  Michael Koch  <konqueror@gmx.de>
7889
7890         * java/net/Socket.java
7891         (Socket): protected to public (since JDK 1.4). Added @specnote.
7892         (bind): New method.
7893         (connect): Two new methods.
7894         (getKeepalive): Get correct socket option.
7895         (setKeepalive): Set correct socket option.
7896         (getOOBInline): New method.
7897         (setOOBInline): New method.
7898         * java/net/ServerSocket.java
7899         (bind): Two new methods.
7900         (getInetAddress): Reimplemented, catch exception.
7901         (getLocalSocketAddress): New method.
7902         (setReuseAddress): New method.
7903         (getReuseAdress): New method.
7904         (setReceiveBufferSize): New method.
7905         (getReceiveBufferSize): New method.
7906         (toString): Made string JDK 1.4 compliant.
7907
7908 2002-09-10  Michael Koch  <konqueror@gmx.de>
7909
7910         * java/net/SocketImpl.java
7911         (connect): New method.
7912         (supportsUrgentData): New method.
7913         (sendUrgentData): New method.
7914         * java/net/PlainSocketImpl.java
7915         (connect): One new method and two new implementation.
7916         (sendUrgentData): New method.
7917         * java/natPlainSocketImpl.cc
7918         (connect): Arguments changed, added support for timeouts.
7919         (getOption): Another __java_boolean to jboolean.
7920
7921 2002-09-07  Adam Megacz <adam@xwt.org>
7922
7923         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7924         definition of IP_TOS.
7925
7926 2002-09-04  Michael Koch  <konqueror@gmx.de>
7927
7928         * java/net/DatagramSocket.java
7929         (DatagramSocket): Added documentation.
7930         (close): Likewise.
7931         (getLocalAddress): Likewise.
7932         (getLocalPort): Likewise.
7933         (receive): Likewise.
7934         (send): Likewise.
7935         (setSoTimeout): Likewise.
7936         (connect): New method.
7937         (disconnect): New method.
7938         (getInetAddress): New method (FIXME)
7939         (getPort): New method.
7940         (setReuseAddress): New method.
7941         (getReuseAddress): New method.
7942         (setBroadcast): New method.
7943         (getBroadcast): New method.
7944         (setTrafficClass): New method.
7945         (getTrafficClass): New method.
7946         * java/net/MulticastSocket.java):
7947         (getTTL): Added @see in documentation.
7948         (setTTL): Added @see in documentation.
7949         (setLoopbackMode): New method.
7950         (getLoopbackMode): New method.
7951         * java/net/PlainSocketImpl.java:
7952         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7953         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7954         * java/net/PlainDatagramSocketImpl.java
7955         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7956         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7957         * java/net/natPlainSocketImpl.cc
7958         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7959         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7960         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7961         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7962         This should also fix SO_KEEPALIVE
7963         * java/net/natPlainDatagramSocketImpl.cc
7964         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7965         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7966         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7967         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7968
7969 2002-09-04  Michael Koch  <konqueror@gmx.de>
7970
7971         * java/net/SocketOptions.java: added static variables to be JDK 1.4
7972         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7973         IP_MULTICAST_LOOP, IP_TOS
7974
7975 2002-09-03  Tom Tromey  <tromey@redhat.com>
7976
7977         * java/lang/Class.h (_getDeclaredMethod): Declare.
7978         (_getMethod): Now private.
7979         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7980         getDeclaredMethod.  Now returns NULL on failure.
7981         * java/lang/Class.java (_getDeclaredMethod): Declare.
7982         (getDeclaredMethod): No longer native; implements access checks.
7983
7984 2002-09-01  Mark Wielaard  <mark@klomp.org>
7985
7986         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7987         (sanitizeStack): Correctly reset unknown and interpreter counters,
7988         detect interpreter runtime frames.
7989         (demangleInterpreterMethod): New method.
7990         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7991         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7992         filling in addrs[].
7993
7994 2002-09-02  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7997         re-indented documentation.
7998
7999 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8000
8001         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8002         public, per 1.4 spec.  Fixes PR libgcj/7785.
8003
8004 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
8005
8006         * Makefile.in: Rebuilt.
8007         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8008
8009 2002-08-29  Tom Tromey  <tromey@redhat.com>
8010
8011         * java/net/JarURLConnection.java (getCertificates): New method
8012         from Classpath.
8013         * java/net/URLClassLoader.java (URLClassLoader): Extends
8014         SecureClassLoader.
8015         (definePackage): New method from Classpath.
8016         (getPermissions): Likewise.
8017         (newInstance): Likewise.
8018         (findClass): Construct CodeSource for new class (from Classpath).
8019         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8020         methods.
8021         * java/net/URL.java (getUserInfo): New method.
8022         (set(String,String,int,String,String,String,String,String)): New
8023         method.
8024         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8025         (shutdownInput, shutdownOutput): Declare.
8026         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8027         Define.
8028         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8029         (getOption): Likewise.
8030         (shutdownInput): New method.
8031         (shutdownOutput): Likewise.
8032         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8033         keepalive.
8034         (getOption): Likewise.
8035         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8036         * java/net/Socket.java (setKeepAlive): New method.
8037         (getKeepAlive): Likewise.
8038         (shutdownInput, shutdownOutput): New methods.
8039
8040 2002-08-29  Michael Koch  <konqueror@gmx.de>
8041
8042         * java/net/DatagramPacket.java: updated to JDK 1.4 API
8043         new methods are:
8044         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8045           address),
8046         DatagramPacket(byte[] buf, int length, SocketAddress address),
8047         void setSocketAddress(SocketAddress address)
8048         public SocketAddress getSocketAddress()
8049
8050 2002-08-29  Tom Tromey  <tromey@redhat.com>
8051
8052         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8053         ftruncate is missing.
8054         * configure, include/config.h.in: Rebuilt.
8055         * acconfig.h (HAVE_FTRUNCATE): Mention.
8056         * configure.in: Check for ftruncate.
8057
8058 2002-08-29  Tom Tromey  <tromey@redhat.com>
8059
8060         * include/jvm.h (struct _Jv_frame_info): New structure.
8061         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8062         java-interp.h.
8063         (lookupInterp): New method.
8064         (getAddrAsString): Use _Jv_frame_info.
8065         (dladdrLookup): Likewise.
8066         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8067         interpreted frame.
8068         (lookupInterp): Declare.
8069         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8070         (fillInStackTrace): Collect information on interpreted frames.
8071         Use _Jv_frame_info.
8072         * interpret.cc: Include Thread.h.
8073         (run): Create and push _Jv_MethodChain object.
8074         (_Jv_EndOfInterpreter): New global.
8075         * java/lang/Thread.java (interp_frame): New field.
8076         * include/java-interp.h (struct _Jv_MethodChain): New structure.
8077         Include NameFinder.h.
8078
8079 2002-08-28  Tom Tromey  <tromey@redhat.com>
8080
8081         * java/lang/Class.h: Include Package.h.
8082         (Class::getProtectionDomain): Declare.
8083         (Class::getPackage): Declare.
8084
8085 2002-08-28  Michael Koch <konqueror@gmx.de>
8086
8087         * java/net/InetSocketAddress.java: Added some documentation and argument
8088         checks for the port numbers.
8089         * java/net/DatagramSocketImplFactory.java: New file.
8090
8091 2002-08-28  Michael Koch <konqueror@gmx.de>
8092
8093         * java/net/Authenticator.java: added some documentation.
8094
8095 2002-08-27  Tom Tromey  <tromey@redhat.com>
8096
8097         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8098         class.
8099         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8100
8101 2002-08-27  Michael Koch <konqueror@gmx.de>
8102
8103         * java/net/BindException.java,
8104         java/net/JarURLConnection.java,
8105         java/net/FileNameMap.java,
8106         java/net/HttpURLConnection.java,
8107         java/net/InetSocketAddress.java,
8108         java/net/DatagramPacket.java,
8109         java/net/DatagramSocket.java,
8110         java/net/DatagramSocketImpl.java,
8111         java/net/MulticastSocket.java,
8112         java/net/PasswordAuthentication.java,
8113         java/net/ServerSocket.java,
8114         java/net/Socket.java,
8115         java/net/URLClassLoader.java,
8116         java/net/URLConnection.java: add/update of some @since/@deprecated
8117
8118 2002-08-27  Tony Kimball <alk@pobox.com>
8119             Tom Tromey  <tromey@redhat.com>
8120
8121         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8122         define.
8123         (::close): Removed.
8124         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8125         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8126         (::close): Removed.
8127         (PlainSocketImpl::close): Use NATIVE_CLOSE.
8128         * include/win32.h (getcwd): Removed declaration.  Include io.h.
8129
8130 2002-08-25  Adam Megacz <adam@xwt.org>
8131
8132         * include/win32.h (getcwd): copied function declaration as
8133         temporary fix for header confusion.
8134
8135 2002-08-24  Mark Wielaard <mark@klomp.org>
8136
8137         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8138         (core_java_source_files): Add VMThrowable.java and NameFinder.java
8139         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8140         and natNameFinder.cc.
8141         * Makefile.in: Regenerate.
8142         * prims.cc: Use trace_enabled from VMThrowable.
8143         * name-finder.cc: Removed.
8144         * gcj/javaprims.h: Add class VMThrowable.
8145         * gnu/gcj/runtime/NameFinder.java: New file.
8146         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8147         * include/name-finder.h: Removed.
8148         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8149         method stackTraceString().
8150         (printStackTrace (PrintWriter)): Likewise.
8151         (stackTraceString): Complete rewrite of old printStackTrace using
8152         StringBuffer.
8153         (stackTraceStringBuffer): New helper method for stackTraceString().
8154         (fillInStackTrace): Delegate to VMTrowable.
8155         (getStackTrace): Likewise.
8156         (getStackTrace0): Removed.
8157         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8158         (setStackTrace): Copy given array.
8159         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8160         * java/lang/VMThrowable.java: New class.
8161         * java/lang/natVMThrowable.cc: New file.
8162
8163 2003-08-23  Michael Koch  <konqueror@gmx.de>
8164
8165         * java/net/URLConnection.java,
8166         java/netJarURLConnection.java,
8167         gnu/gcj/protocol/core/Connection.java,
8168         gnu/gcj/protocol/file/Connection.java,
8169         gnu/gcj/protocol/http/Connection.java: Added implementation of
8170         getHeaderFields().
8171
8172 2002-08-22  Tom Tromey  <tromey@redhat.com>
8173
8174         * gij.cc (help): Document -cp and -classpath.
8175         (main): Handle -classpath.
8176
8177 2002-08-21  Tom Tromey  <tromey@redhat.com>
8178
8179         * Makefile.in: Rebuilt.
8180         * Makefile.am (ordinary_java_source_files): Added
8181         SocketAddress.java, InetSocketAddress.java.
8182         * java/net/PortUnreachableException.java: Merged with Classpath.
8183         * java/net/SocketTimeoutException.java: Likewise.
8184         * java/net/URISyntaxException.java: Likewise.
8185         * java/net/SocketAddress.java: New class from Classpath.
8186         * java/net/InetSocketAddress.java: Likewise.
8187
8188 2003-08-21  Michael Koch  <konqueror@gmx.de>
8189
8190         * java/net/Authenticator.java: updated JDK 1.4
8191         * java/net/ContentHandler.java: updated JDK 1.4
8192
8193 2002-08-20  Michael Koch  <konqueror@gmx.de>
8194
8195         * java/net/URISyntaxException.java: New file.
8196         * java/net/SocketTimeoutException.java: New file.
8197         * java/net/PortUnreachableException.java: New file.
8198         * Makefile.am: Updated.
8199         * Makefile.in: Rebuilt.
8200
8201 2002-08-18  Mark Wielaard  <mark@klomp.org>
8202
8203         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8204         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8205         MessageDigestSpi (fixes Classpath bug #783).
8206
8207 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8208
8209         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8210         (startProcess): Allocate path for chdir in async-signal-safe way.
8211
8212 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
8213
8214         Fix for PR libgcj/7570 and PR libgcj/7578:
8215         * java/lang/natPosixProcess.cc: Include java/io/File.h.
8216         (startProcess): Handle new `dir' argument.
8217         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8218         argument.
8219         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8220         argument.
8221         (startProcess): Likewise.
8222         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8223         argument.
8224         * java/lang/Runtime.java (execInternal): Added `dir' argument.
8225         (exec): Don't create new environment if ENV==null.  Pass DIR to
8226         execInternal.
8227         * java/lang/natRuntime.cc: Include java/io/File.h.
8228         (execInternal): Added `dir' argument.
8229
8230 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
8231
8232         * java/io/RandomAccessFile.java (skipBytes): Return number of
8233         bytes skipped.
8234
8235 2002-08-01  Mark Wielaard  <mark@klomp.org>
8236
8237         Reenable patch since shared library troubles on powerpc are solved:
8238         * gnu/java/security/provider/Gnu.java: Reference all implementation
8239         classes by using Class.getName().
8240         * gnu/java/security/der/DEREncodingException.java,
8241         gnu/java/security/provider/DERReader.java,
8242         gnu/java/security/provider/DERWriter.java,
8243         gnu/java/security/provider/DSAKeyPairGenerator.java,
8244         gnu/java/security/provider/DSAParameterGenerator.java,
8245         gnu/java/security/provider/DSAParameters.java,
8246         gnu/java/security/provider/DSASignature.java,
8247         gnu/java/security/provider/GnuDSAPrivateKey.java,
8248         gnu/java/security/provider/GnuDSAPublicKey.java,
8249         gnu/java/security/provider/MD5.java,
8250         gnu/java/security/util/Prime.java: New classes
8251         * Makefile.am (ordinary_java_source_files): Add above files.
8252         * Makefile.in: Regenerate.
8253         * gnu/java/security/provider/DefaultPolicy.java
8254         (getPermissions): Don't maintain static class variable of Permissions.
8255         * gnu/java/security/provider/SHA.java
8256         (engineUpdate): algorithm change.
8257         (engineDigest): algorithm change.
8258
8259 2002-08-09  Mark Wielaard  <mark@klomp.org>
8260
8261         * java/awt/image/MemoryImageSource.java: Change constructor to take
8262         int[] not byte[].
8263         * java/awt/Graphics2D.java: Uncomment methods that can now be
8264         compiled.
8265         * java/awt/GridBagLayout.java: New stub implementation.
8266         * javax/swing/text/html/HTML.java: Stub implementation.
8267         * javax/swing/text/html/parser/ParserDelegator.java: New stub
8268         implementation.
8269
8270         * Makefile.am: Add new files.
8271         * Makefile.in: Rebuilt.
8272
8273 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8274
8275         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8276         methods in Graphics2D.
8277
8278 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8279
8280         AWT/Swing merge from GNU Classpath.
8281
8282         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8283         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8284         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8285         java/awt/color/ProfileDataException.java,
8286         java/awt/CompositeContext.java, java/awt/Composite.java,
8287         java/awt/ContainerOrderFocusTraversalPolicy.java,
8288         java/awt/datatransfer/FlavorTable.java,
8289         java/awt/DefaultFocusTraversalPolicy.java,
8290         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8291         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8292         java/awt/dnd/DragGestureListener.java,
8293         java/awt/dnd/DragGestureRecognizer.java,
8294         java/awt/dnd/DragSourceAdapter.java,
8295         java/awt/dnd/DragSourceContext.java,
8296         java/awt/dnd/DragSourceDragEvent.java,
8297         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8298         java/awt/dnd/DragSourceListener.java,
8299         java/awt/dnd/DragSourceMotionListener.java,
8300         java/awt/dnd/DropTarget.java,
8301         java/awt/dnd/InvalidDnDOperationException.java,
8302         java/awt/dnd/peer/DragSourceContextPeer.java,
8303         java/awt/event/AWTEventListenerProxy.java,
8304         java/awt/event/MouseWheelEvent.java,
8305         java/awt/event/MouseWheelListener.java,
8306         java/awt/event/WindowFocusListener.java,
8307         java/awt/event/WindowStateListener.java,
8308         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8309         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8310         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8311         java/awt/geom/FlatteningPathIterator.java,
8312         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8313         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8314         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8315         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8316         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8317         java/awt/image/ImagingOpException.java,
8318         java/awt/image/RasterFormatException.java,
8319         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8320         java/awt/image/VolatileImage.java,
8321         java/awt/image/WritableRenderedImage.java,
8322         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8323         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8324         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8325         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8326         java/awt/PageAttributes.java, java/awt/print/Book.java,
8327         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8328         java/awt/print/Paper.java, java/awt/print/Printable.java,
8329         java/awt/print/PrinterAbortException.java,
8330         java/awt/print/PrinterException.java,
8331         java/awt/print/PrinterGraphics.java,
8332         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8333         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8334         java/awt/Stroke.java, java/awt/TexturePaint.java,
8335         javax/accessibility/AccessibleAction.java,
8336         javax/accessibility/AccessibleBundle.java,
8337         javax/accessibility/AccessibleComponent.java,
8338         javax/accessibility/AccessibleContext.java,
8339         javax/accessibility/AccessibleEditableText.java,
8340         javax/accessibility/AccessibleExtendedComponent.java,
8341         javax/accessibility/AccessibleExtendedTable.java,
8342         javax/accessibility/AccessibleHyperlink.java,
8343         javax/accessibility/AccessibleHypertext.java,
8344         javax/accessibility/AccessibleIcon.java,
8345         javax/accessibility/Accessible.java,
8346         javax/accessibility/AccessibleKeyBinding.java,
8347         javax/accessibility/AccessibleRelation.java,
8348         javax/accessibility/AccessibleRelationSet.java,
8349         javax/accessibility/AccessibleResourceBundle.java,
8350         javax/accessibility/AccessibleRole.java,
8351         javax/accessibility/AccessibleSelection.java,
8352         javax/accessibility/AccessibleState.java,
8353         javax/accessibility/AccessibleStateSet.java,
8354         javax/accessibility/AccessibleTable.java,
8355         javax/accessibility/AccessibleTableModelChange.java,
8356         javax/accessibility/AccessibleText.java,
8357         javax/accessibility/AccessibleValue.java,
8358         javax/swing/AbstractAction.java,
8359         javax/swing/AbstractButton.java,
8360         javax/swing/AbstractCellEditor.java,
8361         javax/swing/AbstractListModel.java,
8362         javax/swing/AbstractSet.java, javax/swing/Action.java,
8363         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8364         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8365         javax/swing/border/CompoundBorder.java,
8366         javax/swing/border/EmptyBorder.java,
8367         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8368         javax/swing/border/LineBorder.java,
8369         javax/swing/border/MatteBorder.java,
8370         javax/swing/border/TitledBorder.java,
8371         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8372         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8373         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8374         javax/swing/CellRendererPane.java,
8375         javax/swing/colorchooser/AbstractColorChooserPanel.java,
8376         javax/swing/colorchooser/ColorChooserComponentFactory.java,
8377         javax/swing/colorchooser/ColorSelectionModel.java,
8378         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8379         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8380         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8381         javax/swing/DefaultBoundedRangeModel.java,
8382         javax/swing/DefaultButtonModel.java,
8383         javax/swing/DefaultCellEditor.java,
8384         javax/swing/DefaultCellRenderer.java,
8385         javax/swing/DefaultComboBoxModel.java,
8386         javax/swing/DefaultDesktopManager.java,
8387         javax/swing/DefaultFocusManager.java,
8388         javax/swing/DefaultListCellRenderer.java,
8389         javax/swing/DefaultListModel.java,
8390         javax/swing/DefaultListSelectionModel.java,
8391         javax/swing/DefaultSingleSelectionModel.java,
8392         javax/swing/DesktopManager.java,
8393         javax/swing/event/AncestorEvent.java,
8394         javax/swing/event/AncestorListener.java,
8395         javax/swing/event/CaretEvent.java,
8396         javax/swing/event/CaretListener.java,
8397         javax/swing/event/CellEditorListener.java,
8398         javax/swing/event/ChangeEvent.java,
8399         javax/swing/event/ChangeListener.java,
8400         javax/swing/event/DocumentEvent.java,
8401         javax/swing/event/DocumentListener.java,
8402         javax/swing/event/EventListenerList.java,
8403         javax/swing/event/HyperlinkEvent.java,
8404         javax/swing/event/HyperlinkListener.java,
8405         javax/swing/event/InternalFrameAdapter.java,
8406         javax/swing/event/InternalFrameEvent.java,
8407         javax/swing/event/InternalFrameListener.java,
8408         javax/swing/event/ListDataEvent.java,
8409         javax/swing/event/ListDataListener.java,
8410         javax/swing/event/ListSelectionEvent.java,
8411         javax/swing/event/ListSelectionListener.java,
8412         javax/swing/event/MenuDragMouseEvent.java,
8413         javax/swing/event/MenuDragMouseListener.java,
8414         javax/swing/event/MenuEvent.java,
8415         javax/swing/event/MenuKeyEvent.java,
8416         javax/swing/event/MenuKeyListener.java,
8417         javax/swing/event/MenuListener.java,
8418         javax/swing/event/MouseInputAdapter.java,
8419         javax/swing/event/MouseInputListener.java,
8420         javax/swing/event/PopupMenuEvent.java,
8421         javax/swing/event/PopupMenuListener.java,
8422         javax/swing/event/SwingPropertyChangeSupport.java,
8423         javax/swing/event/TableColumnModelEvent.java,
8424         javax/swing/event/TableColumnModelListener.java,
8425         javax/swing/event/TableModelEvent.java,
8426         javax/swing/event/TableModelListener.java,
8427         javax/swing/event/TreeExpansionEvent.java,
8428         javax/swing/event/TreeExpansionListener.java,
8429         javax/swing/event/TreeModelEvent.java,
8430         javax/swing/event/TreeModelListener.java,
8431         javax/swing/event/TreeSelectionEvent.java,
8432         javax/swing/event/TreeSelectionListener.java,
8433         javax/swing/event/TreeWillExpandListener.java,
8434         javax/swing/event/UndoableEditEvent.java,
8435         javax/swing/event/UndoableEditListener.java,
8436         javax/swing/filechooser/FileFilter.java,
8437         javax/swing/filechooser/FileSystemView.java,
8438         javax/swing/filechooser/FileView.java,
8439         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8440         javax/swing/Icon.java, javax/swing/ImageIcon.java,
8441         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8442         javax/swing/JApplet.java, javax/swing/JButton.java,
8443         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8444         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8445         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8446         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8447         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8448         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8449         javax/swing/JLayeredPane.java, javax/swing/JList.java,
8450         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8451         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8452         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8453         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8454         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8455         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8456         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8457         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8458         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8459         javax/swing/JTextField.java, javax/swing/JTextPane.java,
8460         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8461         javax/swing/JToolTip.java, javax/swing/JTree.java,
8462         javax/swing/JViewport.java, javax/swing/JWindow.java,
8463         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8464         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8465         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8466         javax/swing/MenuSelectionManager.java,
8467         javax/swing/MutableComboBoxModel.java,
8468         javax/swing/OverlayLayout.java,
8469         javax/swing/plaf/ActionMapUIResource.java,
8470         javax/swing/plaf/basic/BasicBorders.java,
8471         javax/swing/plaf/basic/BasicButtonUI.java,
8472         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8473         javax/swing/plaf/basic/BasicDefaults.java,
8474         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8475         javax/swing/plaf/basic/BasicIconFactory.java,
8476         javax/swing/plaf/basic/BasicLabelUI.java,
8477         javax/swing/plaf/basic/BasicListUI.java,
8478         javax/swing/plaf/basic/BasicLookAndFeel.java,
8479         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8480         javax/swing/plaf/basic/BasicPanelUI.java,
8481         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8482         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8483         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8484         javax/swing/plaf/basic/BasicTextUI.java,
8485         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8486         javax/swing/plaf/basic/BasicTreeUI.java,
8487         javax/swing/plaf/basic/BasicViewportUI.java,
8488         javax/swing/plaf/BorderUIResource.java,
8489         javax/swing/plaf/ButtonUI.java,
8490         javax/swing/plaf/ColorChooserUI.java,
8491         javax/swing/plaf/ColorUIResource.java,
8492         javax/swing/plaf/ComboBoxUI.java,
8493         javax/swing/plaf/ComponentInputMapUIResource.java,
8494         javax/swing/plaf/ComponentUI.java,
8495         javax/swing/plaf/DesktopIconUI.java,
8496         javax/swing/plaf/DesktopPaneUI.java,
8497         javax/swing/plaf/DimensionUIResource.java,
8498         javax/swing/plaf/FileChooserUI.java,
8499         javax/swing/plaf/FontUIResource.java,
8500         javax/swing/plaf/IconUIResource.java,
8501         javax/swing/plaf/InputMapUIResource.java,
8502         javax/swing/plaf/InsetsUIResource.java,
8503         javax/swing/plaf/InternalFrameUI.java,
8504         javax/swing/plaf/LabelUI.java,
8505         javax/swing/plaf/ListUI.java,
8506         javax/swing/plaf/MenuBarUI.java,
8507         javax/swing/plaf/MenuItemUI.java,
8508         javax/swing/plaf/OptionPaneUI.java,
8509         javax/swing/plaf/PanelUI.java,
8510         javax/swing/plaf/PopupMenuUI.java,
8511         javax/swing/plaf/ProgressBarUI.java,
8512         javax/swing/plaf/RootPaneUI.java,
8513         javax/swing/plaf/ScrollBarUI.java,
8514         javax/swing/plaf/ScrollPaneUI.java,
8515         javax/swing/plaf/SeparatorUI.java,
8516         javax/swing/plaf/SliderUI.java,
8517         javax/swing/plaf/SplitPaneUI.java,
8518         javax/swing/plaf/TabbedPaneUI.java,
8519         javax/swing/plaf/TableHeaderUI.java,
8520         javax/swing/plaf/TableUI.java,
8521         javax/swing/plaf/TextUI.java,
8522         javax/swing/plaf/ToolBarUI.java,
8523         javax/swing/plaf/ToolTipUI.java,
8524         javax/swing/plaf/TreeUI.java,
8525         javax/swing/plaf/UIResource.java,
8526         javax/swing/plaf/ViewportUI.java,
8527         javax/swing/ProgressMonitorInputStream.java,
8528         javax/swing/ProgressMonitor.java,
8529         javax/swing/Renderer.java,
8530         javax/swing/RepaintManager.java,
8531         javax/swing/RootPaneContainer.java,
8532         javax/swing/Scrollable.java,
8533         javax/swing/ScrollPaneConstants.java,
8534         javax/swing/ScrollPaneLayout.java,
8535         javax/swing/SingleSelectionModel.java,
8536         javax/swing/SizeRequirements.java,
8537         javax/swing/SizeSequence.java,
8538         javax/swing/SwingConstants.java,
8539         javax/swing/SwingUtilities.java,
8540         javax/swing/table/AbstractTableModel.java,
8541         javax/swing/table/DefaultTableCellRenderer.java,
8542         javax/swing/table/DefaultTableColumnModel.java,
8543         javax/swing/table/DefaultTableModel.java,
8544         javax/swing/table/TableCellEditor.java,
8545         javax/swing/table/TableCellRenderer.java,
8546         javax/swing/table/TableColumn.java,
8547         javax/swing/table/TableColumnModel.java,
8548         javax/swing/table/TableModel.java,
8549         javax/swing/text/AbstractDocument.java,
8550         javax/swing/text/AttributeSet.java,
8551         javax/swing/text/BadLocationException.java,
8552         javax/swing/text/Caret.java,
8553         javax/swing/text/CharacterIterator.java,
8554         javax/swing/text/ComponentView.java,
8555         javax/swing/text/DefaultCaret.java,
8556         javax/swing/text/DefaultEditorKit.java,
8557         javax/swing/text/Document.java,
8558         javax/swing/text/EditorKit.java,
8559         javax/swing/text/Element.java,
8560         javax/swing/text/GapContent.java,
8561         javax/swing/text/JTextComponent.java,
8562         javax/swing/text/Keymap.java,
8563         javax/swing/text/MutableAttributeSet.java,
8564         javax/swing/text/PlainDocument.java,
8565         javax/swing/text/PlainEditorKit.java,
8566         javax/swing/text/Position.java,
8567         javax/swing/text/Segment.java,
8568         javax/swing/text/StyledDocument.java,
8569         javax/swing/text/StyledEditorKit.java,
8570         javax/swing/text/Style.java,
8571         javax/swing/text/TextAction.java,
8572         javax/swing/text/ViewFactory.java,
8573         javax/swing/text/View.java,
8574         javax/swing/Timer.java,
8575         javax/swing/ToggleButtonModel.java,
8576         javax/swing/ToolTipManager.java,
8577         javax/swing/tree/AbstractLayoutCache.java,
8578         javax/swing/tree/DefaultMutableTreeNode.java,
8579         javax/swing/tree/DefaultTreeCellEditor.java,
8580         javax/swing/tree/DefaultTreeCellRenderer.java,
8581         javax/swing/tree/DefaultTreeModel.java,
8582         javax/swing/tree/DefaultTreeSelectionModel.java,
8583         javax/swing/tree/ExpandVetoException.java,
8584         javax/swing/tree/FixedHeightLayoutCache.java,
8585         javax/swing/tree/MutableTreeNode.java,
8586         javax/swing/tree/RowMapper.java,
8587         javax/swing/tree/TreeCellEditor.java,
8588         javax/swing/tree/TreeCellRenderer.java,
8589         javax/swing/tree/TreeModel.java,
8590         javax/swing/tree/TreeNode.java,
8591         javax/swing/tree/TreePath.java,
8592         javax/swing/tree/TreeSelectionModel.java,
8593         javax/swing/tree/VariableHeightLayoutCache.java,
8594         javax/swing/UIDefaults.java,
8595         javax/swing/UIManager.java,
8596         javax/swing/undo/AbstractUndoableEdit.java,
8597         javax/swing/undo/CannotRedoException.java,
8598         javax/swing/undo/CannotUndoException.java,
8599         javax/swing/undo/CompoundEdit.java,
8600         javax/swing/undo/StateEditable.java,
8601         javax/swing/undo/StateEdit.java,
8602         javax/swing/undo/UndoableEdit.java,
8603         javax/swing/undo/UndoableEditSupport.java,
8604         javax/swing/undo/UndoManager.java,
8605         javax/swing/UnsupportedLookAndFeelException.java,
8606         javax/swing/ViewportLayout.java,
8607         javax/swing/WindowConstants.java: New files, from GNU Classpath.
8608
8609         * java/awt/ActiveEvent.java,
8610         java/awt/Adjustable.java, java/awt/AWTError.java,
8611         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8612         java/awt/AWTException.java, java/awt/AWTPermission.java,
8613         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8614         java/awt/Color.java, java/awt/Component.java,
8615         java/awt/ComponentOrientation.java, java/awt/Container.java,
8616         java/awt/datatransfer/MimeTypeParseException.java,
8617         java/awt/datatransfer/Transferable.java,
8618         java/awt/datatransfer/UnsupportedFlavorException.java,
8619         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8620         java/awt/event/ActionListener.java,
8621         java/awt/event/AdjustmentEvent.java,
8622         java/awt/event/AdjustmentListener.java,
8623         java/awt/event/AWTEventListener.java,
8624         java/awt/event/ComponentAdapter.java,
8625         java/awt/event/ComponentEvent.java,
8626         java/awt/event/ComponentListener.java,
8627         java/awt/event/ContainerAdapter.java,
8628         java/awt/event/ContainerEvent.java,
8629         java/awt/event/ContainerListener.java,
8630         java/awt/event/FocusAdapter.java,
8631         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8632         java/awt/event/HierarchyBoundsAdapter.java,
8633         java/awt/event/HierarchyBoundsListener.java,
8634         java/awt/event/HierarchyEvent.java,
8635         java/awt/event/HierarchyListener.java,
8636         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8637         java/awt/event/InputMethodListener.java,
8638         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8639         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8640         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8641         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8642         java/awt/event/MouseListener.java,
8643         java/awt/event/MouseMotionAdapter.java,
8644         java/awt/event/MouseMotionListener.java,
8645         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8646         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8647         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8648         java/awt/event/WindowListener.java, java/awt/Font.java,
8649         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8650         java/awt/geom/Ellipse2D.java,
8651         java/awt/geom/IllegalPathStateException.java,
8652         java/awt/geom/Line2D.java,
8653         java/awt/geom/NoninvertibleTransformException.java,
8654         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8655         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8656         java/awt/geom/RoundRectangle2D.java,
8657         java/awt/GraphicsConfiguration.java,
8658         java/awt/IllegalComponentStateException.java,
8659         java/awt/image/IndexColorModel.java,
8660         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8661         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8662         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8663         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8664         java/awt/MenuItem.java, java/awt/PaintContext.java,
8665         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8666         java/awt/Polygon.java, java/awt/PrintGraphics.java,
8667         java/awt/PrintJob.java, java/awt/Rectangle.java,
8668         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8669         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8670         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8671
8672         * java/awt/im/spi/InputMethod.java,
8673         java/awt/im/spi/InputMethodContext.java,
8674         java/awt/im/spi/InputMethodDescriptor.java,
8675         java/awt/image/renderable/ContextualRenderedImageFactory.java,
8676         java/awt/image/renderable/ParameterBlock.java,
8677         java/awt/image/renderable/RenderContext.java,
8678         java/awt/image/renderable/RenderableImage.java,
8679         java/awt/image/renderable/RenderableImageOp.java,
8680         java/awt/image/renderable/RenderableImageProducer.java,
8681         java/awt/image/renderable/RenderedImageFactory.java: New files from
8682         classpath.
8683
8684         * gnu/java/awt/EventModifier.java,
8685         gnu/java/awt/image/ImageDecoder.java,
8686         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8687
8688         * gnu/awt/xlib/XGraphicsConfiguration.java,
8689         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8690         API.
8691
8692         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8693         GNU Classpath.
8694
8695         * Makefile.am: Add new files.
8696         * Makefile.in: Rebuilt.
8697
8698 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8699
8700         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8701         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8702         findResource, getResources, findResources): Add javadoc from classpath.
8703         (getSystemResources): Implemented.
8704
8705 2002-08-01  Mark Wielaard  <mark@klomp.org>
8706
8707         Revert patch that breaks libgcj shared library on powerpc:
8708         * gnu/java/security/provider/Gnu.java: Reverse referencing all
8709         implementation classes by using Class.getName(). Uses Strings again.
8710         * gnu/java/security/der/DEREncodingException.java,
8711         gnu/java/security/provider/DERReader.java,
8712         gnu/java/security/provider/DERWriter.java,
8713         gnu/java/security/provider/DSAKeyPairGenerator.java,
8714         gnu/java/security/provider/DSAParameterGenerator.java,
8715         gnu/java/security/provider/DSAParameters.java,
8716         gnu/java/security/provider/DSASignature.java,
8717         gnu/java/security/provider/GnuDSAPrivateKey.java,
8718         gnu/java/security/provider/GnuDSAPublicKey.java,
8719         gnu/java/security/provider/MD5.java,
8720         gnu/java/security/util/Prime.java: Removed.
8721         * Makefile.am (ordinary_java_source_files): Remove above files.
8722         * Makefile.in: Regenerate.
8723         * gnu/java/security/provider/DefaultPolicy.java
8724         (getPermissions): Revert to maintaining static class variable of
8725         Permissions.
8726         * gnu/java/security/provider/SHA.java
8727         (engineUpdate): Revert algorithm change.
8728         (engineDigest): Revert algorithm change.
8729
8730 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
8731
8732         * configure.host: Add SH support.
8733         * sysdep/sh/locks.h: New file.
8734
8735 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8736
8737         * java/awt/Frame.java (Frame): Remove println calls.
8738
8739 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
8740
8741         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8742         * configure: Rebuilt.
8743
8744 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8745
8746         * sysdep/powerpc/locks.h: Formatting.
8747         (_LARX): Define.
8748         (_STCX): Define.
8749         (compare_and_swap): Use _LARX and _STCX.
8750         (compare_and_swap_release): Likewise.
8751
8752 2002-07-26  Tom Tromey  <tromey@redhat.com>
8753
8754         * java/net/Authenticator.java: New version from Classpath.
8755         * java/net/DatagramSocketImpl.java: New version from Classpath.
8756
8757 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
8758
8759         * configure.host: Add powerpc64*-* entry.
8760
8761 2002-07-26  Tom Tromey  <tromey@redhat.com>
8762
8763         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8764         fcntl.h.
8765
8766 2002-07-24  Tom Tromey  <tromey@redhat.com>
8767
8768         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8769         argument to _load.
8770
8771 2002-07-24  Tom Tromey  <tromey@redhat.com>
8772             Tony Kimball <alk@pobox.com>
8773
8774         * java/io/natFileDescriptorWin32.cc (setLength): New method.
8775         * java/io/natFileDescriptorPosix.cc (setLength): New method.
8776         * java/io/RandomAccessFile.java (setLength): New method.
8777         * java/io/natFileDescriptorEcos.cc (setLength): New method.
8778         * java/io/FileDescriptor.java (setLength): New method.
8779
8780 2002-07-24  Mark Wielaard  <mark@klomp.org>
8781
8782         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8783         * java/io/ObjectInputStream.java (setBooleanField): Before setting
8784         field call setAccessible(true).
8785         (setByteField): Likewise.
8786         (setCharField): Likewise.
8787         (setDoubleField): Likewise.
8788         (setFloatField): Likewise.
8789         (setIntField): Likewise.
8790         (setLongField): Likewise.
8791         (setShortField): Likewise.
8792         (setObjectField): Likewise.
8793
8794 2002-07-24  Tom Tromey  <tromey@redhat.com>
8795
8796         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8797         use toString() to format array element.
8798
8799 2002-07-23  Mark Wielaard  <mark@klomp.org>
8800
8801         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8802         MessageDigestSpi (fixes Classpath bug #783).
8803
8804 2002-07-21  Mark Wielaard  <mark@klomp.org>
8805
8806         * gnu/java/security/provider/Gnu.java: Reference all implementation
8807         classes by using Class.getName().
8808
8809 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
8810
8811         * java/lang/ieeefp.h: Add x86-64 support.
8812         * configure.in: Likewise.
8813         * configure.host: Likewise.
8814         * configure: Regenerated.
8815         * sysdep/x86-64/locks.h: New file with x86-64 locks.
8816
8817 2002-07-16  Mark Wielaard  <mark@klomp.org>
8818
8819         * java/io/StreamTokenizer.java (pushBack): Update documentation.
8820         (whitespaceChars): call resetChar().
8821
8822 2002-07-15  Tom Tromey  <tromey@redhat.com>
8823
8824         * Makefile.in: Rebuilt.
8825         * Makefile.am (awt_java_source_files): Added new files.
8826         * java/beans/ExceptionListener.java: Merged with Classpath.
8827         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8828         * java/beans/PropertyChangeListener.java: Merged with Classpath.
8829         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8830         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8831         * java/beans/VetoableChangeListener.java: Merged with Classpath.
8832         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8833         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8834
8835 2002-07-14  Mark Wielaard  <mark@klomp.org>
8836
8837         * gnu/java/security/der/DEREncodingException.java,
8838         gnu/java/security/provider/DERReader.java,
8839         gnu/java/security/provider/DERWriter.java,
8840         gnu/java/security/provider/DSAKeyPairGenerator.java,
8841         gnu/java/security/provider/DSAParameterGenerator.java,
8842         gnu/java/security/provider/DSAParameters.java,
8843         gnu/java/security/provider/DSASignature.java,
8844         gnu/java/security/provider/GnuDSAPrivateKey.java,
8845         gnu/java/security/provider/GnuDSAPublicKey.java,
8846         gnu/java/security/provider/MD5.java,
8847         gnu/java/security/util/Prime.java: New files from Classpath.
8848         * Makefile.am (ordinary_java_source_files): Add new files.
8849         * Makefile.in: Regenerate.
8850
8851 2002-07-14  C. Brian Jones <cbj@gnu.org>
8852
8853         * gnu/java/security/provider/DefaultPolicy.java
8854         (getPermissions): do not maintain static class variable of
8855         Permissions
8856         * gnu/java/security/provider/SHA.java
8857         (engineUpdate): algorithm change
8858         (engineDigest): algorithm change
8859
8860 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
8861
8862         For PR libgcj/7292:
8863         * java/lang/Character.java (toString(char)): Now static.
8864
8865 2002-07-12  Mark Wielaard  <mark@klomp.org>
8866
8867         * java/lang/natThrowable.cc (printRawStackTrace): removed.
8868         (getStackTrace0): new method.
8869         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8870         (printStackTrace(PrintWriter)): replace with pure java implementation.
8871         (printRawStackTrace): removed.
8872         (getStackTrace0): new method.
8873         * java/lang/StackTraceElement.java (toString): add extra whitespace.
8874         * gcj/javaprims.h: regenerate class list.
8875         * include/name-finder.h (lookup): new returns StackTraceElement*.
8876         (method_name, file_name): fields removed.
8877         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8878         (~_Jv_name_finder): close new descriptors.
8879         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8880         (createStackTraceElement): new method.
8881         (lookup): returns StackTraceElement*, uses createStackTraceElement().
8882
8883 2002-07-10  Tom Tromey  <tromey@redhat.com>
8884
8885         * configure: Rebuilt.
8886         * configure.in: Use `test' after `&&'.  From Chris Faylor.
8887
8888 2002-07-08  Mark Wielaard  <mark@klomp.org>
8889
8890         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8891         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8892         java.sql.DatabaseMetaData.TestJdbc20
8893
8894 2002-07-05  Tony Kimball  <alk@pobox.com>
8895
8896         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8897
8898 2002-07-04  Tom Tromey  <tromey@redhat.com>
8899             Jeff Sturm  <jsturm@one-point.com>
8900
8901         Fix for PR libgcj/7060:
8902         * java/lang/Class.h (_getMethod): Renamed from getMethod.
8903         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8904         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
8905         * java/lang/Class.java (getMethod): New Java implementation;
8906         complies with spec.
8907         (_getMethod): New native method.
8908
8909 2002-07-02  Tom Tromey  <tromey@redhat.com>
8910             David Hovemeyer  <daveho@cs.umd.edu>
8911
8912         * java/text/ChoiceFormat.java
8913         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8914         in check loop.
8915         * java/text/MessageFormat.java
8916         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8917         to MessageFormat.
8918
8919 2002-07-01  Tom Tromey  <tromey@redhat.com>
8920
8921         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8922         StringTokenizer on null string.  For PR libgcj/7180.
8923         From daveho@cs.umd.edu.
8924
8925 2002-06-24  Tom Tromey  <tromey@redhat.com>
8926
8927         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8928         (IntegerClass): Likewise.
8929         * java/lang/natClass.cc (CloneableClass): Removed.
8930         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8931         ConstructorClass): Likewise.
8932         * java/lang/natClassLoader.cc (CloneableClass): Removed.
8933         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8934         SerializableClass): Likewise.
8935         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8936         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8937         LongClass, FloatClass, DoubleClass): Likewise.
8938
8939         * verify.cc (branch_prepass): Updated for change to exception
8940         handler type.
8941         (verify_instructions_0): Likewise.
8942         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8943         (handleExceptionTableEntry): Updated for change to exception
8944         handler type.
8945         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8946         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8947         (union _Jv_InterpPC): New.
8948         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8949         (class _Jv_InterpMethod): Added new `prepared' field.
8950         (class _Jv_InterpMethod): Added `compile' method.  Removed
8951         `continue1' and `find_exception'.  Changed arguments to `run'.
8952         * interpret.cc (union insn_slot): New.
8953         (find_exception): Removed.
8954         (run_normal): Removed most logic.
8955         (run_synch_object): Likewise; also, use JvSynchronize.
8956         (run_synch_class): Likewise.
8957         (run): Removed.
8958         (continue1): Renamed as `run'.  Compile bytecode if required.
8959         Add new code to allow refinement of direct-threaded code at
8960         runtime.  Handle exceptions.
8961         (SAVE_PC): Removed.
8962         (compile): New method.
8963         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8964         (NULLARRAYCHECK): Don't use SAVE_PC.
8965         (pc_t): New typedef.
8966         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8967         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8968
8969 2002-06-23  Tom Tromey  <tromey@redhat.com>
8970
8971         * configure: Rebuilt.
8972         * configure.in (INTERPRETER): New subst.
8973         (AM_RUNTESTFLAGS): Don't subst.
8974
8975         * Makefile.in: Rebuilt.
8976         * Makefile.am ($(srcdir)/java/lang/Object.h,
8977         $(srcdir)/java/lang/Class.h): Added dummy targets.
8978
8979 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8980
8981         Reformat JDBC classes and add new JDK 1.4 classes and methods.
8982
8983         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8984         java/sql/Savepoint.java: New files.
8985         * java/sql/Array.java, java/sql/BatchUpdateException.java,
8986         java/sql/Blob.java, java/sql/CallableStatement.java,
8987         java/sql/Clob.java, java/sql/Connection.java,
8988         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8989         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8990         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8991         java/sql/Ref.java, java/sql/ResultSet.java,
8992         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8993         java/sql/SQLException.java, java/sql/SQLInput.java,
8994         java/sql/SQLOutput.java, java/sql/SQLWarning.java
8995         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8996         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8997         (JDK 1.4) specification.
8998         * javax/sql/ConnectionEvent.java,
8999         javax/sql/ConnectionEventListener.java,
9000         javax/sql/ConnectionPoolDataSource.java,
9001         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9002         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9003         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9004         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9005         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9006         javax/sql/XADataSource.java: New files.
9007         * Makefile.am: Add new files.
9008         * Makefile.in: Rebuilt.
9009
9010 2002-06-20  Tom Tromey  <tromey@redhat.com>
9011
9012         For PR libgcj/7073:
9013         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9014         exists.
9015         * defineclass.cc (handleClassBegin): Superclass for interface is
9016         `null'.
9017
9018 2002-06-18  Tom Tromey  <tromey@redhat.com>
9019
9020         * gcj/javaprims.h: Updated class declaration list.
9021         * Makefile.in: Rebuilt.
9022         * Makefile.am (core_java_source_files): Removed
9023         BasicMapEntry.java.
9024         * java/util/BasicMapEntry.java: Removed.
9025
9026 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
9027
9028         * java/net/natPlainDatagramSocketImpl.cc (receive):
9029         Check bounds of argument to FD_SET.
9030         (setOption): Throw exception if socket is closed.
9031
9032         * java/net/natPlainSocketImpl.cc (accept, read):
9033         Check bounds of argument to FD_SET.
9034         (setOption): Throw exception if socket is closed.
9035
9036 2002-06-18  Tom Tromey  <tromey@redhat.com>
9037
9038         * gcj/javaprims.h: Updated class declaration list.
9039         * Makefile.in: Rebuilt.
9040         * Makefile.am (core_java_source_files): Added
9041         PropertyPermissionCollection.java.
9042         * java/lang/Thread.java (group, name): Now package-private.
9043         * java/lang/ThreadGroup.java: Re-merge with Classpath.
9044         * java/util/AbstractList.java: Likewise.
9045         * java/util/AbstractMap.java: Likewise.
9046         * java/util/Calendar.java: Likewise.
9047         * java/util/Collections.java: Likewise.
9048         * java/util/HashMap.java: Likewise.
9049         * java/util/Hashtable.java: Likewise.
9050         * java/util/LinkedHashMap.java: Likewise.
9051         * java/util/LinkedList.java: Likewise.
9052         * java/util/List.java: Likewise.
9053         * java/util/ListResourceBundle.java: Likewise.
9054         * java/util/Map.java: Likewise.
9055         * java/util/Observable.java: Likewise.
9056         * java/util/Properties.java: Likewise.
9057         * java/util/PropertyPermission.java: Likewise.
9058         * java/util/PropertyPermissionCollection.java: Likewise.
9059         * java/util/PropertyResourceBundle.java: Likewise.
9060         * java/util/Random.java: Likewise.
9061         * java/util/SimpleTimeZone.java: Likewise.
9062         * java/util/StringTokenizer.java: Likewise.
9063         * java/util/TimerTask.java: Likewise.
9064         * java/util/TreeMap.java: Likewise.
9065         * java/util/WeakHashMap.java: Likewise.
9066         * java/util/jar/Attributes.java: Likewise.
9067         * java/util/jar/JarException.java: Likewise.
9068         * java/util/jar/Manifest.java: Likewise.
9069
9070 2002-06-17  Tom Tromey  <tromey@redhat.com>
9071
9072         * gcj/javaprims.h: Updated class declaration list.
9073         * Makefile.in: Rebuilt.
9074         * Makefile.am (core_java_source_files): Added new file.
9075         * java/util/EventListenerProxy.java: New file.
9076         * java/util/EventListener.java: Re-merge with Classpath.
9077         * java/util/EventObject.java: Re-merge with Classpath.
9078
9079 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9080
9081         * java/lang/ClassNotFoundException.java: New Classpath version.
9082
9083 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
9084
9085         * java/rmi/activation/ActivateFailedException.java: Remerge from
9086         Classpath version.
9087         * java/rmi/activation/ActivationException.java: Ditto.
9088         * java/rmi/activation/UnknownGroupException.java: Ditto.
9089         * java/rmi/activation/UnknownObjectException.java: Ditto.
9090         * java/rmi/server/ExportException: Ditto.
9091         * java/rmi/server/ServerCloneException: Ditto.
9092         * java/rmi/server/ServerNotActiveException: Ditto.
9093         * java/rmi/server/SkeletonMismatchException: Ditto.
9094         * java/rmi/server/SkeletonNotFoundException: Ditto.
9095         * java/rmi/server/SocketSecurityException: Ditto.
9096
9097 2002-06-16  Tom Tromey  <tromey@redhat.com>
9098
9099         * gcj/javaprims.h: Updated class declaration list.
9100
9101         * java/io/LineNumberInputStream.java: Merged with Classpath.
9102
9103         * java/lang/RuntimeException.java: Re-merge with Classpath.
9104         * java/util/ArrayList.java: Likewise.
9105         * java/util/Arrays.java: Likewise.
9106         * java/util/BitSet.java: Likewise.
9107         * java/util/Dictionary.java: Likewise.
9108         * java/util/IdentityHashMap.java: Likewise.
9109         * java/util/MissingResourceException.java: Likewise.
9110         * java/util/Observer.java: Likewise.
9111         * java/util/TooManyListenersException.java: Likewise.
9112         * java/util/zip/DataFormatException.java: Likewise.
9113         * java/util/zip/ZipException.java: Likewise.
9114
9115 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
9116
9117         * java/rmi/AccessException.java: Remerge from Classpath.
9118         * java/rmi/AlreadyBoundException.java: Ditto.
9119         * java/rmi/ConnectException.java: Ditto.
9120         * java/rmi/ConnectIOException.java: Ditto.
9121         * java/rmi/MarshalException.java: Ditto.
9122         * java/rmi/NoSuchObjectException.java: Ditto.
9123         * java/rmi/NotBoundException.java: Ditto.
9124         * java/rmi/RemoteException.java: Ditto.
9125         * java/rmi/RMISecurityException.java: Ditto.
9126         * java/rmi/ServerError.java: Ditto.
9127         * java/rmi/ServerException.java: Ditto.
9128         * java/rmi/ServerRuntimeException.java: Ditto.
9129         * java/rmi/StubNotFoundException.java: Ditto.
9130         * java/rmi/UnexpectedExcpetion.java: Ditto.
9131         * java/rmi/UnknownHostException.java: Ditto.
9132         * java/rmi/UnmarshalException.java: Ditto.
9133
9134 2002-06-15  Tom Tromey  <tromey@redhat.com>
9135
9136         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9137         * java/lang/ArithmeticException.java: Likewise.
9138         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9139         * java/lang/ArrayStoreException.java: Likewise.
9140         * java/lang/Byte.java: Likewise.
9141         * java/lang/CharSequence.java: Likewise.
9142         * java/lang/ClassCastException.java: Likewise.
9143         * java/lang/ClassCircularityError.java: Likewise.
9144         * java/lang/ClassFormatError.java: Likewise.
9145         * java/lang/CloneNotSupportedException.java: Likewise.
9146         * java/lang/Cloneable.java: Likewise.
9147         * java/lang/Comparable.java: Likewise.
9148         * java/lang/Compiler.java: Likewise.
9149         * java/lang/Error.java: Likewise.
9150         * java/lang/ExceptionInInitializerError.java: Likewise.
9151         * java/lang/IllegalAccessError.java: Likewise.
9152         * java/lang/IllegalAccessException.java: Likewise.
9153         * java/lang/IllegalArgumentException.java: Likewise.
9154         * java/lang/IllegalMonitorStateException.java: Likewise.
9155         * java/lang/IllegalStateException.java: Likewise.
9156         * java/lang/IllegalThreadStateException.java: Likewise.
9157         * java/lang/IncompatibleClassChangeError.java: Likewise.
9158         * java/lang/IndexOutOfBoundsException.java: Likewise.
9159         * java/lang/InheritableThreadLocal.java: Likewise.
9160         * java/lang/InstantiationError.java: Likewise.
9161         * java/lang/InstantiationException.java: Likewise.
9162         * java/lang/InternalError.java: Likewise.
9163         * java/lang/InterruptedException.java: Likewise.
9164         * java/lang/LinkageError.java: Likewise.
9165         * java/lang/NegativeArraySizeException.java: Likewise.
9166         * java/lang/NoClassDefFoundError.java: Likewise.
9167         * java/lang/NoSuchFieldError.java: Likewise.
9168         * java/lang/NoSuchFieldException.java: Likewise.
9169         * java/lang/NoSuchMethodError.java: Likewise.
9170         * java/lang/NoSuchMethodException.java: Likewise.
9171         * java/lang/NullPointerException.java: Likewise.
9172         * java/lang/NumberFormatException.java: Likewise.
9173         * java/lang/OutOfMemoryError.java: Likewise.
9174         * java/lang/Process.java: Likewise.
9175         * java/lang/Runnable.java: Likewise.
9176         * java/lang/RuntimePermission.java: Likewise.
9177         * java/lang/SecurityException.java: Likewise.
9178         * java/lang/Short.java: Likewise.
9179         * java/lang/StackOverflowError.java: Likewise.
9180         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9181         * java/lang/ThreadDeath.java: Likewise.
9182         * java/lang/ThreadLocal.java: Likewise.
9183         * java/lang/UnknownError.java: Likewise.
9184         * java/lang/UnsatisfiedLinkError.java: Likewise.
9185         * java/lang/UnsupportedClassVersionError.java: Likewise.
9186         * java/lang/UnsupportedOperationException.java: Likewise.
9187         * java/lang/VerifyError.java: Likewise.
9188         * java/lang/VirtualMachineError.java: Likewise.
9189         * java/lang/reflect/InvocationTargetException.java: Likewise.
9190         * java/net/BindException.java: Likewise.
9191         * java/net/ConnectException.java: Likewise.
9192         * java/net/MalformedURLException.java: Likewise.
9193         * java/net/NoRouteToHostException.java: Likewise.
9194         * java/net/ProtocolException.java: Likewise.
9195         * java/net/SocketException.java: Likewise.
9196         * java/net/UnknownHostException.java: Likewise.
9197         * java/net/UnknownServiceException.java: Likewise.
9198
9199         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9200         * java/io/CharConversionException.java: Likewise.
9201         * java/io/EOFException.java: Likewise.
9202         * java/io/FileNotFoundException.java: Likewise.
9203         * java/io/IOException.java: Likewise.
9204         * java/io/InterruptedIOException.java: Likewise.
9205         * java/io/InvalidClassException.java: Likewise.
9206         * java/io/InvalidObjectException.java: Likewise.
9207         * java/io/NotActiveException.java: Likewise.
9208         * java/io/NotSerializableException.java: Likewise.
9209         * java/io/ObjectStreamException.java: Likewise.
9210         * java/io/ObjectStreamConstants.java: Likewise.
9211         * java/io/OptionalDataException.java: Likewise.
9212         * java/io/PipedInputStream.java: Likewise.
9213         * java/io/PushbackInputStream.java: Likewise.
9214         * java/io/StreamCorruptedException.java: Likewise.
9215         * java/io/SyncFailedException.java: Likewise.
9216         * java/io/UTFDataFormatException.java: Likewise.
9217         * java/io/UnsupportedEncodingException.java: Likewise.
9218         * java/io/WriteAbortedException.java: Likewise.
9219
9220 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
9221
9222         * java/text/ChoiceFormat.java: Update comments from Classpath.
9223         * java/text/ParseException.java (serialVersionUID): New
9224         field from Classpath.
9225         * java/text/ParseException.java: Update formatting & comments
9226         from Classpath.
9227
9228 2002-06-15  Tom Tromey  <tromey@redhat.com>
9229
9230         * java/util/zip/InflaterInputStream.java (read): Loop if data has
9231         been read but none output by inflater.
9232         * java/util/zip/natDeflater.cc (reset): Set is_finished.
9233         * java/util/zip/natInflater.cc (reset): Set dist_needed and
9234         is_finished.
9235         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9236         version.
9237         * java/util/zip/ZipFile.java: Replaced with Classpath version.
9238         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9239         * java/util/zip/ZipInputStream.java: Replaced with Classpath
9240         version.
9241         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9242
9243 2002-06-13  Tom Tromey  <tromey@redhat.com>
9244
9245         * java/lang/natString.cc (init): Handle case where DONT_COPY is
9246         true and OFFSET!=0.
9247         * java/lang/String.java (String(char[],int,int,boolean): New
9248         constructor.
9249         * java/lang/Long.java: Imported new version from Classpath.
9250         * java/lang/Number.java: Likewise.
9251         * java/lang/Integer.java: Likewise.
9252         * java/lang/Long.java: Likewise.
9253         * java/lang/Float.java: Likewise.
9254         * java/lang/Boolean.java: Likewise.
9255         * java/lang/Double.java: Likewise.
9256         * java/lang/Void.java: Likewise.
9257
9258 2002-06-12  Tom Tromey  <tromey@redhat.com>
9259
9260         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9261         Fixes PR libgcj/6652.
9262
9263 2002-06-10  Tom Tromey  <tromey@redhat.com>
9264
9265         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9266         (Class::getPackagePortion): Likewise.
9267         * java/lang/Class.java (desiredAssertionStatus): New method from
9268         Classpath.
9269         (getPackagePortion): Likewise.
9270         * java/lang/VMClassLoader.java (defaultAssertionStatus,
9271         packageAssertionStatus, classAssertionStatus): New methods from
9272         Classpath.
9273         * java/lang/ClassLoader.java (defaultAssertionStatus,
9274         systemPackageAssertionStatus, packageAssertionStatus,
9275         systemClassAssertionStatus, classAssertionStatus): New fields from
9276         Classpath.
9277         (setDefaultAssertionStatus, setPackageAssertionStatus,
9278         setClassAssertionStatus, clearAssertionStatus): New methods from
9279         Classpath.
9280         * Makefile.in: Rebuilt.
9281         * Makefile.am (core_java_source_files): Added AssertionError.java.
9282         * java/lang/AssertionError.java: New from Classpath.
9283
9284 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9285
9286         * configure.host: Disable hash synchronization and slow_pthread_self
9287         for cygwin.
9288
9289 2002-06-06  Adam Megacz <adam@xwt.org>
9290
9291         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9292         locking, just like the Sun JVM does.
9293
9294 2002-06-05  H.J. Lu  (hjl@gnu.org)
9295
9296         * Makefile.am (libgcj_convenience.la): Revert the last change.
9297         (libgcj.la): Likewise.
9298         * Makefile.in: Regenerated.
9299
9300 2002-06-04  H.J. Lu  (hjl@gnu.org)
9301
9302         * Makefile.am (libgcj_convenience.la): New target.
9303         (libgcj.la): Depend on libgcj_convenience.la.
9304         * Makefile.in: Regenerated.
9305
9306 2002-06-04  H.J. Lu  (hjl@gnu.org)
9307
9308         * configure.in (--with-newlib): New option:
9309         Check ${with_newlib} instead of ${with_cross_host} for newlib.
9310         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9311         Linux.
9312         * configure: Regenerated.
9313
9314 2002-06-04  Tom Tromey  <tromey@redhat.com>
9315
9316         * java/util/natTimeZone.cc: Include <stdio.h>.
9317
9318 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
9319
9320         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9321         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9322         Set SIGNAL_HANDLER=include/s390-linux.h.
9323         * configure: Regenerate.
9324         * include/s390-linux.h: New file.
9325
9326 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9327
9328         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9329         not "stackTrace".
9330
9331 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9332
9333         Merge JDK 1.4 java.security changes from classpath.
9334
9335         * java/security/AccessControlException.java: Merge from Classpath.
9336         * java/security/AccessController.java: Likewise.
9337         * java/security/AllPermission.java: Likewise.
9338         * java/security/BasicPermission.java: Likewise.
9339         * java/security/Certificate.java: Likewise.
9340         * java/security/CodeSource.java: Likewise.
9341         * java/security/DigestException.java: Likewise.
9342         * java/security/DigestOutputStream.java: Likewise.
9343         * java/security/DomainCombiner.java: Likewise.
9344         * java/security/GeneralSecurityException.java: Likewise.
9345         * java/security/Guard.java: Likewise.
9346         * java/security/GuardedObject.java: Likewise.
9347         * java/security/InvalidAlgorithmParameterException.java: Likewise.
9348         * java/security/InvalidKeyException.java: Likewise.
9349         * java/security/InvalidParameterException.java: Likewise.
9350         * java/security/Key.java: Likewise.
9351         * java/security/KeyException.java: Likewise.
9352         * java/security/KeyManagementException.java: Likewise.
9353         * java/security/KeyStoreException.java: Likewise.
9354         * java/security/MessageDigest.java: Likewise.
9355         * java/security/NoSuchAlgorithmException.java: Likewise.
9356         * java/security/NoSuchProviderException.java: Likewise.
9357         * java/security/Permission.java: Likewise.
9358         * java/security/PermissionCollection.java: Likewise.
9359         * java/security/Permissions.java: Likewise.
9360         * java/security/Policy.java: Likewise.
9361         * java/security/Principal.java: Likewise.
9362         * java/security/PrivateKey.java: Likewise.
9363         * java/security/PrivilegedAction.java: Likewise.
9364         * java/security/PrivilegedActionException.java: Likewise.
9365         * java/security/PrivilegedExceptionAction.java: Likewise.
9366         * java/security/ProtectionDomain.java: Likewise.
9367         * java/security/ProviderException.java: Likewise.
9368         * java/security/PublicKey.java: Likewise.
9369         * java/security/SecureClassLoader.java: Likewise.
9370         * java/security/SecurityPermission.java: Likewise.
9371         * java/security/SignatureException.java: Likewise.
9372         * java/security/UnrecoverableKeyException.java: Likewise.
9373         * java/security/UnresolvedPermission.java: Likewise.
9374         * java/security/acl/AclNotFoundException.java: Likewise.
9375         * java/security/acl/LastOwnerException.java: Likewise.
9376         * java/security/acl/NotOwnerException.java: Likewise.
9377         * java/security/cert/CRLException.java: Likewise.
9378         * java/security/cert/CertificateEncodingException.java: Likewise.
9379         * java/security/cert/CertificateException.java: Likewise.
9380         * java/security/cert/CertificateExpiredException.java: Likewise.
9381         * java/security/cert/CertificateFactory.java: Likewise.
9382         * java/security/cert/CertificateNotYetValidException.java: Likewise.
9383         * java/security/cert/CertificateParsingException.java: Likewise.
9384         * java/security/spec/InvalidKeySpecException.java: Likewise.
9385         * java/security/spec/InvalidParameterSpecException.java: Likewise.
9386
9387         * java/security/cert/CertPath.java: New file.
9388         * java/security/cert/CertPathBuilderException.java: New file.
9389         * java/security/cert/CertPathValidatorException.java: New file.
9390         * java/security/cert/CertStoreException.java: New file.
9391
9392         * Makefile.am: Add new CertPath classes.
9393         * Makefile.in: Rebuilt.
9394
9395         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9396
9397 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9398
9399         Merge JDK 1.4 exception chaining support from classpath.
9400
9401         * java/lang/Throwable.java: Merge 1.4 support from classpath.
9402         (stackTraceBytes): Rename from stackTrace.
9403         * java/lang/Exception.java: Merge from classpath.
9404         * java/lang/StackTraceElement: New file from classpath.
9405         * gcj/javaprims.h: Rebuild CNI namespace declarations.
9406         * Makefile.am: Add StackTraceElement.
9407         * Makefile.in: Rebuilt.
9408
9409 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9410
9411         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9412         they build first.
9413         * Makefile.in: Rebuilt.
9414
9415 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9416
9417         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9418         * configure.in: Likewise.
9419         * aclocal.m4: Regenerate.
9420         * configure: Regenerate.
9421
9422 2002-05-13  Tom Tromey  <tromey@redhat.com>
9423
9424         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9425         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9426         Include platform.h.
9427
9428         Fixes PR libgcj/6389:
9429         * Makefile.in: Rebuilt.
9430         * Makefile.am (nat_source_files): Added natTimeZone.cc.
9431         * java/util/natTimeZone.cc: New file.
9432         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9433         * java/lang/System.java: Merged with Classpath.
9434         * java/lang/Runtime.java: Merged with Classpath.
9435         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9436         security check.
9437         (setIn0): Renamed from setIn; don't run security check.
9438         (setOut0): Renamed from setOut; don't run security check.
9439         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9440         init_properties): Moved to natRuntime.cc.
9441         Moved many includes to natRuntime.cc.
9442         (isWordsBigEndian): New method.
9443         * java/lang/natRuntime.cc: Include Long.h, also other includes
9444         previously in natSystem.cc.
9445         (maxMemory): New function.
9446         (exitInternal): Renamed from `_exit'.
9447         (exit): Removed.
9448         (init): Don't set finalize_on_exit.
9449         (exitInternal): Use `finalizeOnExit'.
9450         (file_encoding, getpwuid_adaptor): New functions from
9451         natSystem.cc.
9452         (insertSystemProperties): New method, renamed from
9453         System::init_properties.  Don't set user.timezone.
9454         (_load): Don't call checkLink.
9455         (execInternal): New method.
9456         (availableProcessors): Likewise.
9457         (nativeGetLibname): Likewise.
9458
9459 2002-05-11  Mark Wielaard  <mark@klomp.org>
9460
9461         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9462         space characters.
9463         (previous_internal): Likewise.
9464
9465 2002-05-09  Tom Tromey  <tromey@redhat.com>
9466
9467         * jni.cc (_Jv_JNIFunctions): Fixed typo.
9468
9469         * java/util/ResourceBundle.java: New version from Classpath.
9470         * java/util/Locale.java: Likewise.
9471
9472 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
9473
9474         * testsuite/lib/libjava.exp (libjava_arguments): Append all
9475         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9476         LD_LIBRARY_PATH.
9477
9478 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
9479
9480         * libjava/Makefile.am (all_java_source_files): New variable.
9481         (all_java_class_files): Likewise.
9482         .java.class: New rule.
9483         (CLEANFILES): Remove tmp-list.
9484         * libjava/Makefile.in: Regenerated.
9485
9486 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
9487
9488         * testsuite/lib/libjava.exp (test_libjava_from_javac):
9489         Append .exe to executable names.  Fix for cygwin.
9490
9491 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
9492
9493         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9494         script entry, and set LD to it when configuring multilibs.
9495         * configure: Rebuilt.
9496
9497 2002-05-07  Tom Tromey  <tromey@redhat.com>
9498
9499         * java/lang/natString.cc (unintern): Fixed typo.
9500
9501 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9502
9503         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9504         with -no-install on *-*-cygwin*.
9505
9506 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
9507
9508         * testsuite/lib/libjava.exp (test_libjava_from_source):
9509         Add comment explaining last patch
9510
9511 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
9512
9513         * testsuite/lib/libjava.exp (test_libjava_from_source):
9514         Append .exe to executable names.  If no suffix is present,
9515         then ".exe" is added by default on win32.  Harmless
9516         elsewhere so always do it.
9517
9518 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
9519             Tom Tromey  <tromey@redhat.com>
9520
9521         * java/lang/natSystem.cc (getSystemTimeZone): Use
9522         HAVE_UNDERSCORE_TIMEZONE.
9523         * include/config.h.in: Rebuilt.
9524         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9525         * aclocal.m4, configure: Rebuilt.
9526         * acinclude.m4: Run AC_EXEEXT.
9527         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9528         Add test for `_timezone'.
9529
9530 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
9531
9532         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9533         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9534         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9535         * Makefile.in: Rebuilt.
9536
9537 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
9538
9539         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9540         use sigaction instead of __libc_sigaction.
9541
9542 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9543
9544         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9545         (libjava_init): Use it to find libgcj.spec.
9546         (libjava_arguments): Likewise.
9547
9548 2002-05-02  David S. Miller  <davem@redhat.com>
9549
9550         PR bootstrap/6525
9551         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9552         __libc_sigaction on Sparc.
9553
9554 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
9555
9556         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9557         sys/filio.h, if present.
9558
9559 2002-04-30  Tom Tromey  <tromey@redhat.com>
9560
9561         * java/io/BufferedReader.java (fill): Handle case where markPos
9562         point to ignored \n.  Fixes PR libgcj/6301.
9563
9564 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
9565
9566         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9567
9568 2002-04-29  Adam King <aking@dreammechanics.com>
9569
9570         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9571         of file in APPEND mode.
9572
9573 2002-04-25  David S. Miller  <davem@redhat.com>
9574
9575         PR target/6422
9576         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9577         program counter to next program counter minus 8.  Update
9578         comments in this macro to explain why.
9579
9580 2002-04-26  Tom Tromey  <tromey@redhat.com>
9581
9582         * verify.cc (construct_primitive_array_type) [void_type]: New
9583         case.
9584         (branch_prepass): Added dummy entries for unused instruction
9585         values.
9586         (verify_instructions_0): Likewise.
9587         * interpret.cc (continue1): Comment fix.
9588         * include/java-insns.h (op_xxxunusedxxx1): Removed.
9589         * Makefile.in: Rebuilt.
9590         * Makefile.am: Added -Wswitch-enum.
9591
9592 2002-04-24  Tom Tromey  <tromey@redhat.com>
9593
9594         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9595         correct length of UTF-8 encoded name.  Strip leading `/'.
9596         (_Jv_RegisterResource): Use _Jv_Malloc.
9597
9598 2002-04-23  Adam Megacz <adam@xwt.org>
9599
9600         * win32.cc, include/win32.cc (backtrace): Added this function
9601         because Win32 does not supply it.
9602
9603 2002-04-21  David S. Miller  <davem@redhat.com>
9604
9605         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9606         magic instruction reading sequence.
9607
9608 2002-04-21  Mark Wielaard  <mark@klomp.org>
9609
9610         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9611
9612 2002-04-19  David S. Miller  <davem@redhat.com>
9613
9614         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9615         arg.
9616         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9617         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9618         on Sparc too.
9619         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9620         for 64-bit sparc.
9621         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9622         * sysdeps/sparc/locks.h: New file.
9623         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9624         on all sparc Solaris configurations.  Set to
9625         include/dwarf2-signal.h on sparc Linux.
9626         * configure: Regenerate
9627         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9628
9629 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
9630
9631         * configure: Rebuilt.
9632         * configure.in (backtrace): Function doesn't work on IA-64.
9633
9634 2002-04-17  Adam King <aking@dreammechanics.com>
9635
9636         * java/io/File.java (normalizePath): Add Win32 support for auto
9637         conversion of a '/' path separator to Win32's '\' separator.
9638
9639 2002-04-16  Tom Tromey  <tromey@redhat.com>
9640
9641         Fix for PR libgcj/6081:
9642         * Makefile.in: Rebuilt.
9643         * Makefile.am (install-data-local): Use GNU make trick to avoid
9644         shell limit.
9645
9646 2002-04-16  Adam King <aking@dreammechanics.com>
9647             Tom Tromey  <tromey@redhat.com>
9648
9649         * java/io/natFileWin32.cc (performList): Return the correct array
9650         type.  Don't duplicate the creation of a File since it's already
9651         done earlier in the method and the existing code would cause a
9652         ArrayStoreException.  Don't use fixed-size array.
9653         (_access, _stat, attr, getCanonicalPath, performMkdir,
9654         performRenameTo): Don't use fixed-size array.
9655         (getCanonicalPath): Use throw, not _Jv_Throw.
9656
9657 2002-04-15  DJ Delorie  <dj@redhat.com>
9658
9659         * configure.in: Allow building in $srcdir.
9660         * configure: Regenerated.
9661
9662 2002-04-14  Mark Wielaard <mark@klomp.org>
9663
9664         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9665         * java/net/natSocketImpl.cc (close): Likewise.
9666
9667 2002-04-14  Mark Wielaard <mark@klomp.org>
9668
9669         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9670
9671 2002-04-13  Adam King <aking@dreammechanics.com>
9672
9673         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9674         the f/F/d/D modifiers.
9675
9676 2002-04-12  Anthony Green  <green@redhat.com>
9677
9678         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9679         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9680         * Makefile.in: Rebuilt.
9681         * configure.in: Substitute gcc_version.
9682         * configure: Rebuilt.
9683
9684 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9685
9686         * configure.host: Set can_unwind_signal on hosts which support it.
9687         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9688         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9689         exceptions and can_unwind_signal isn't set.
9690         * configure: Rebuilt.
9691
9692 2002-04-11  Tom Tromey  <tromey@redhat.com>
9693
9694         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9695
9696 2002-04-11  Adam King <aking@dreammechanics.com>
9697             Tom Tromey  <tromey@redhat.com>
9698
9699         * include/jvm.h (_Jv_ThrowBadArrayIndex,
9700         _Jv_ThrowNullPointerException): Mark as noreturn.
9701         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9702         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
9703         fixes.
9704
9705 2002-04-10  Tom Tromey  <tromey@redhat.com>
9706
9707         * Makefile.in: Rebuilt.
9708         * Makefile.am (java/lang/Thread.h): Mark
9709         _Jv_AttachCurrentThreadAsDaemon as friend.
9710         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9711         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9712         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9713         function.
9714         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9715         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9716         (_Jv_JNI_InvokeFunctions): Added
9717         _Jv_JNI_AttachCurrentThreadAsDaemon.
9718         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9719         (JNI_GetDefaultJavaVMInitArgs): Likewise.
9720         (JNI_CreateJavaVM): Likewise.
9721         (_Jv_JNI_AttachCurrentThread): Likewise.
9722         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9723         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9724         (_Jv_JNIFunctions): Initialize new fields.
9725         (_Jv_JNI_NewDirectByteBuffer): New function.
9726         (_Jv_JNI_GetDirectBufferAddress): Likewise.
9727         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9728         * include/jni.h (JNI_VERSION_1_4): New macro.
9729         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9730         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9731         (JNINativeInterface::NewDirectByteBuffer): New field.
9732         (JNINativeInterface::GetDirectBufferAddress): New field.
9733         (JNINativeInterface::GetDirectBufferCapacity): New field.
9734         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9735         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9736         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9737
9738 2002-04-09  Tom Tromey  <tromey@redhat.com>
9739
9740         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9741
9742 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
9743
9744         Fix for PR libgcj/6187:
9745         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9746         distance.
9747
9748 2002-04-07  Mark Wielaard <mark@klomp.org>
9749
9750         * java/util/AbstractMap.java (putAll): Use entrySet size.
9751         (toString): Explicitly use getKey() and getValue().
9752
9753 2002-04-07  Mark Wielaard <mark@klomp.org>
9754
9755         * java/util/Hashtable.java (contains): Remove NullPointer check.
9756         (containsValue): Add NullPointer check.
9757         (remove): Always throw NullPointerException when key
9758         is null.
9759
9760 2002-04-07  Adam King <aking@dreammechanics.com>
9761
9762         * java/lang/natSystem.cc (init_properties): Call new function
9763         _Jv_platform_initProperties.
9764         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9765         support for the System properties os.name, os.arch, os.version,
9766         user.name, user.home, and user.dir.
9767         * include/posix.h, include/win32.h, posix.cc: New function
9768         _Jv_platform_initProperties.
9769
9770 2002-04-06  Mark Wielaard <mark@klomp.org>
9771
9772         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9773
9774 2002-04-06  Mark Wielaard <mark@klomp.org>
9775
9776         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9777         all of the remaining elements.
9778         * java/util/Vector.java (addAll(int,Collection)): Likewise.
9779         (removeRange): If toIndex == fromIndex do
9780         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9781         (removeAll): Always throw NullPointerException when collection is
9782         null.
9783         (retrainAll): Likewise.
9784
9785 2002-04-05  Mark Wielaard <mark@klomp.org>
9786
9787         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9788         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9789
9790 2002-04-05  Adam Megacz <adam@xwt.org>
9791
9792         * exception.cc (abort): added static modifier
9793
9794 2002-04-04  Adam Megacz <adam@xwt.org>
9795
9796         * include/win32.h (_Jv_platform_close_on_exec): added inline
9797         modifier.
9798
9799 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
9800
9801         * configure.host: Add case statement to support generic port
9802         properties.  Add *-*-freebsd* section.
9803
9804 2002-04-04  Mark Wielaard  <mark@klomp.org>
9805
9806         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9807         test.
9808         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9809         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9810         that depend on awt code and BufferedByteOutputStream.interrupt.
9811
9812 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9813
9814         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9815         incorrect "hi" value when count > 40.
9816
9817 2002-04-03  Mark Wielaard  <mark@klomp.org>
9818
9819         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9820         ordering.
9821
9822 2002-04-02  Tom Tromey  <tromey@redhat.com>
9823
9824         * java/lang/natClassLoader.cc (findClass): Compare against `3',
9825         not `0'.
9826
9827 2002-04-02  Mark Wielaard  <mark@klomp.org>
9828
9829         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9830         list of testsuite crashers.
9831
9832 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9833
9834         * java/util/IdentityHashMap.java (put): Set new threshold correctly
9835         when resizing table.
9836
9837 2002-04-01  Mark Wielaard  <mark@klomp.org>
9838
9839         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9840         NegativeArraySizeException
9841         (clear(int)): Use sign extended shift.
9842         (flip(int)): Likewise.
9843         (get(int)): Likewise.
9844         (nextClearBit(int)): Likewise.
9845         (nextSetBit(int)): Likewise.
9846         (set(int)): Likewise.
9847
9848 2002-04-01  Mark Wielaard  <mark@klomp.org>
9849
9850         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9851         that can be compiled now and add testsuite crashers to ignore list.
9852
9853 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
9854
9855         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9856
9857         * libgcj.spec.in: Override libgcc, not lib.
9858         * libgcj-test.spec.in: Likewise.
9859
9860 2002-03-29  Tom Tromey  <tromey@redhat.com>
9861
9862         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9863         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9864
9865 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
9866
9867         * java/net/PlainDatagramSocketImpl.java
9868         (close): Use native implementation.
9869         (finalize): New method.
9870
9871         * java/net/PlainSocketImpl.java (finalize): New method.
9872
9873         * java/net/natPlainDatagramSocketImpl.cc
9874         (java/io/FileDescriptor.h): Don't include.
9875         (close): Implement method here.
9876         (create): Don't assign fd.
9877
9878         * java/net/natPlainSocketImpl.cc
9879         (java/io/FileDescriptor.h): Don't include.
9880         (create): Don't assign fd.
9881         (accept): Likewise.
9882         (close): Synchronize.
9883
9884 2002-03-27  Richard Henderson  <rth@redhat.com>
9885
9886         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9887
9888 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9889
9890         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9891         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9892         instead of syscall on IA-64.
9893         Add FIXME comment.
9894
9895 2002-03-27  Anthony Green  <green@redhat.com>
9896
9897         * libgcj.spec.in: Add CHECKREFSPEC.
9898         * configure.in: Ditto.
9899         * configure.host: Ditto.  Check references for xscale-elf.
9900         * configure: Rebuilt.
9901
9902 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
9903
9904         * include/dwarf2-signal.h: Temporarily back out last change.
9905
9906 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
9907
9908         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9909
9910 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9911
9912         * configure.in, configure: enable dwarf2-exception-style
9913         exception handling on IA-64.
9914         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9915         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9916         Add FIXME comment.
9917
9918 2002-03-25  Tom Tromey  <tromey@redhat.com>
9919
9920         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9921         (jv_convert_LDFLAGS): Likewise.
9922         (gij_LDFLAGS): Likewise.
9923         (rmic_LDFLAGS): Likewise.
9924         (rmiregistry_LDFLAGS): Likewise.
9925         * configure.in (THREADLDFLAGS): New subst; set correctly for
9926         *BSD.
9927
9928 2002-03-25  Tom Tromey  <tromey@redhat.com>
9929
9930         For PR libgcj/5303:
9931         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9932         and --version.
9933         (help): New method.
9934         (version): Likewise.
9935         * gnu/gcj/convert/Convert.java (version): Removed extraneous
9936         "GNU".
9937         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9938         "GNU".
9939
9940 2002-03-25  Tom Tromey  <tromey@redhat.com>
9941
9942         * java/awt/Component.java (processEvent): Check ComponentEvent
9943         after KeyEvent.
9944
9945 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9946
9947         * java/io/PushbackReader.java: Reformat.
9948
9949         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9950         calculate correct number of bytes skipped.
9951
9952         Based on patch from Intel's ORP team:
9953         * java/io/PushbackInputStream.java (available): Calculate correct
9954         number of bytes in buffer.
9955         (read): Remove redundant bound check. Return bytes from both the
9956         buffer and the stream.
9957
9958 2002-03-24  Tom Tromey  <tromey@redhat.com>
9959
9960         * java/awt/TextComponent.java (TextComponent): Editable by
9961         default.
9962
9963         * java/awt/MenuItem.java (eventMask): No longer private.
9964         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9965         superclass if we didn't handle event.
9966         * java/awt/Checkbox.java (dispatchEventImpl): New method.
9967         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9968         * java/awt/Choice.java (dispatchEventImpl): New method.
9969         * java/awt/List.java (dispatchEventImpl): New method.
9970         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9971         * java/awt/TextComponent.java (dispatchEventImpl): New method.
9972         * java/awt/TextField.java (dispatchEventImpl): New method.
9973
9974 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9975
9976         * java/beans/IntrospectionException.java: Update to 1.4.
9977         * java/beans/PropertyVetoException.java: Ditto.
9978
9979 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
9980
9981         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9982         Arrays.equals instead of ArrayHelper.equalsArray.
9983
9984 2002-03-24  C. Brian Jones <cbj@gnu.org>
9985
9986         * java/beans/Introspector.java: added new static final fields
9987         introduced in 1.2, lots of other updates remain to be done
9988
9989 2002-03-24  C. Brian Jones <cbj@gnu.org>
9990
9991         * java/beans/Introspector.java: reformatting
9992
9993 2002-03-24  C. Brian Jones <cbj@gnu.org>
9994
9995         * java/beans/Introspector.java: default beanInfoSearchPath will
9996         not include sun.beans.infos given we provide no such package and
9997         the API doesn't really require it; gnu.java.beans.info is the
9998         default.
9999
10000 2002-03-24  Mark Wielaard  <mark@klomp.org>
10001
10002         Thanks to Orp developers
10003         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10004         switch TRUE and FALSE return values.
10005
10006 2002-03-23  Tom Tromey  <tromey@redhat.com>
10007
10008         * include/name-finder.h (_Jv_name_finder::myclose): New method.
10009         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10010
10011 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
10012
10013         * java/util/GregorianCalendar.java (minimums, maximums): Correct
10014         MONTH entry.  Fixes PR libgcj/6045.
10015
10016 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
10017
10018         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10019
10020 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10021
10022         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10023         not release_set.
10024         * sysdep/powerpc/locks.h (write_barrier): New function.
10025         * sysdep/i386/locks.h (write_barrier): New function.
10026
10027 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
10028
10029         * include/jni.h Use correct C comments.
10030
10031 2002-03-18  Tom Tromey  <tromey@redhat.com>
10032
10033         * include/jni.h (JNIIMPORT): New macro.
10034         (JNIEXPORT): Likewise.
10035         (JNICALL): Likewise.
10036
10037 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10038
10039         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10040         systems.
10041
10042 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
10043
10044         * include/i386-signal.h (old_i386_kernel_sigaction): New.
10045         INIT_SEGV: Use old_i386_kernel_sigaction.
10046         INIT_FP: Likewise.
10047
10048 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10049
10050         * java/lang/natSystem.cc (init_properties): Update VM version
10051         properties.
10052         * configure.in: Set GCJVERSION.
10053         * acconfig.h: Add GCJVERSION.
10054         * configure: Rebuilt.
10055         * include/config.h.in: Rebuilt.
10056
10057 2002-03-17  Anthony Green  <green@redhat.com>
10058
10059         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10060
10061 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10062
10063         Build a single libgcj.so, without separate gc and zlib libraries.
10064         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10065         SYS_ZLIBS if system zlib is used.
10066         * configure: Rebuilt.
10067         * Makefile.am: Use boehm-gc and zlib convenience libraries.
10068         * Makefile.in: Rebuilt.
10069         * libtool-version: Increment .so version number.
10070
10071         * Makefile.am: Escape quotes in echo.
10072         * Makefile.in: Rebuilt.
10073
10074 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10075
10076         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10077         * Makefile.in: Rebuilt.
10078
10079 2002-03-15  Anthony Green  <green@redhat.com>
10080
10081         * configure.host (FILE): New macro for specifing File
10082         implementation.
10083         * configure: Rebuilt.
10084         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
10085
10086 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
10087
10088         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10089         already implicitly brought in from libgcj.la.
10090         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10091         * Makefile.in: Rebuilt.
10092
10093 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
10094
10095         * THANKS: Fix punctuation, alphabetization.
10096
10097 2002-03-15  Tom Tromey  <tromey@redhat.com>
10098             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10099
10100         Fix for PR libgcj/5944.
10101         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10102
10103 2002-03-15  Anthony Green  <green@redhat.com>
10104
10105         * configure.in (tool_include_dir): Define.
10106         * configure: Rebuilt.
10107         * gcj/Makefile.am: Install libgcj-config.h relative to
10108         tool_include_dir.
10109         * gcj/Makefile: Rebuilt.
10110         * gcj/libgcj-config.h: Add warning comment.
10111
10112 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
10113
10114         * configure.host (powerpc*-darwin*): Enable interpreter.
10115
10116 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10117
10118         * include/posix.h: Add multiple include header protection.
10119         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10120
10121 2002-03-10  Adam Megacz <adam@xwt.org>
10122
10123         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10124
10125 2002-03-10  Tom Tromey  <tromey@redhat.com>
10126
10127         * java/awt/GridLayout.java (layoutContainer): Handle case where
10128         there are no items in container.
10129
10130         * java/lang/Win32Process.java: Added comment.
10131         * include/posix.h (_Jv_platform_close_on_exec): New function.
10132         Include fcntl.h.
10133         * include/win32.h (_Jv_platform_close_on_exec): New function.
10134         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10135         flag.
10136         (accept): Likewise.
10137         * java/net/natPlainDatagramSocketImpl.cc (create): Set
10138         close-on-exec flag.
10139         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10140         flag.
10141
10142 2002-03-09  Tom Tromey  <tromey@redhat.com>
10143
10144         * verify.cc (state::NO_STACK): New constant.
10145         (state::is_unmerged_ret_state): Handle case where stacktop is
10146         NO_STACK.
10147         (state::merge): Handle NO_STACK merges.
10148         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10149         for instruction following jsr.
10150         (stacktop, stackdepth): Removed unused variables.
10151         (pop_jump): Ignore case where all remaining states are skipped.
10152
10153 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10154
10155         * java/awt/ImageMediaEntry: Removed.
10156         * java/awt/MediaEntry: Removed.
10157
10158 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10159
10160         Hashtable synchronization for PowerPC.
10161         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10162         slow_pthread_self. Set up symlink for sysdeps directory.
10163         * configure: Rebuild.
10164         * configure.host: Document more shell variables. Set sysdeps_dir
10165         for most platforms. Set slow_pthread_self for i686. Set
10166         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10167         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10168         that memory barrier is emitted where required.
10169         * prims.cc: 64-bit align static primitive class instances.
10170         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10171         read_barrier() to enforce ordering of reads.
10172         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10173         primitives for PowerPC.
10174         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10175         moved from natObject.cc.
10176         * sysdep/alpha/locks.h: Likewise.
10177         * sysdep/ia64/locks.h: Likewise.
10178         * sysdep/generic/locks.h: Likewise.
10179         * java/lang/natObject.cc: Move thread synchronization primitives to
10180         system-dependent headers.
10181
10182 2002-03-09  Adam Megacz  <adam@xwt.org>
10183
10184         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10185         bytes read and no failure code returned.
10186
10187 2002-03-09  Adam Megacz  <adam@xwt.org>
10188
10189         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10190         definitions to simulate -mthreads.
10191
10192 2002-03-09  Adam Megacz  <adam@xwt.org>
10193
10194         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10195         avoid precision loss.
10196
10197 2002-03-09  Per Bothner  <per@bothner.com>
10198
10199         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
10200         * gnu/gcj/xlib/XImage.java:  Likewise.
10201         * gnu/gcj/xlib/XColor.java:  Likewise.
10202
10203 2002-03-09  Adam Megacz  <adam@xwt.org>
10204
10205         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10206         IOException so that Throwable.printStackTrace fails correctly.
10207
10208 2002-03-08  Adam Megacz  <adam@xwt.org>
10209
10210         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10211         fixed.
10212
10213 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10214
10215         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10216         truncated to int.
10217
10218 2002-03-08  Tom Tromey  <tromey@redhat.com>
10219
10220         * include/jni.h: Include stdio.h.
10221
10222 2002-03-08  Tom Tromey  <tromey@redhat.com>
10223
10224         * posix.cc (internal_gettimeofday): New function.
10225         (_Jv_select): Use it.
10226
10227 2002-03-07  Adam Megacz  <adam@xwt.org>
10228
10229         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10230         WIN32, and added thunks for read(), write(), and close().
10231         * java/net/natPlainSocketImpl.cc (accept, read, read):
10232         Disabled timeouts on WIN32 pending discussion.
10233
10234 2002-03-07  Adam Megacz  <adam@xwt.org>
10235
10236         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10237         returns jlong. Added implementation
10238         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10239         returns jlong.
10240         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10241         returns jlong.
10242         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10243         returns jlong.
10244         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10245         _Jv_platform_gettimeofday signature.
10246
10247 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10248
10249         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10250         (read): Call recv() directly, not _Jv_recv().
10251
10252 2002-03-06  Tom Tromey  <tromey@redhat.com>
10253
10254         * java/io/natFileDescriptorEcos.cc (init): Don't use
10255         GetStdHandle.
10256         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10257         is negative.
10258         (init): Don't use GetStdHandle.
10259
10260         * include/config.h.in: Rebuilt.
10261         * configure: Rebuilt.
10262         * Makefile.in: Rebuilt.
10263
10264 2002-03-06  Adam Megacz  <adam@xwt.org>
10265
10266         * java/io/FileDescriptor.java: Initialize in/out/err in init().
10267         * java/io/natFileDescriptorWin32.cc (init()): Added function.
10268         * java/io/natFileDescriptorPosix.cc (init()): Added function.
10269         * java/io/natFileDescriptorEcos.cc (init()): Added function.
10270
10271 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
10272
10273         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10274         the code for generating include/java-chartables.h.
10275         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10276         merge with Classpath.
10277         * scripts/unicode-muncher.pl: Copy from Classpath.
10278         * scritps/MakeCharTables.java: New file.
10279         * gnu/gcj/convert/Blocks-3.txt: New file.
10280         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10281         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10282         * gnu/java/lang/CharData.java: Copy from Classpath.
10283         * Makefile.am (ordinary_java_source_files): Add
10284         gnu/java/lang/CharData.java.
10285         * configure.in: Remove --enable-fast-character option.
10286         * java/lang/Character.java: Merge algorithms and Javadoc with
10287         Classpath.
10288         * java/lang/natCharacter.cc: Implement Unicode lookup table more
10289         efficiently.
10290         * include/java-chardecomp.h: Regenerate.
10291         * include/java-chartables.h: Regenerate.
10292
10293 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10294
10295         * java/awt/MediaTracker.java: Implemented.
10296         * Makefile.am: Add MediaTracker.
10297         * Makefile.in: Rebuilt.
10298
10299 2002-03-05  Tom Tromey  <tromey@redhat.com>
10300
10301         * java/lang/natPosixProcess.cc (fail): Removed.
10302         (startProcess): Simplified error-handling.  Preserve
10303         LD_LIBRARY_PATH across exec.
10304
10305         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10306         AbstractMethodError.
10307
10308 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10309
10310         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10311         * Makefile.in: Rebuilt.
10312
10313 2002-03-03 Mark Wielaard <mark@klomp.org>
10314
10315         * java/util/Timer (TaskQueue.stop): set elements to zero.
10316
10317 2002-02-28  Anthony Green  <green@redhat.com>
10318
10319         * java/lang/reflect/natMethod.cc (result): Add void* element.
10320         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
10321         constructor test.
10322
10323 2002-02-27  Adam Megacz <adam@xwt.org>
10324
10325         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10326         '#undef STRICT'.
10327
10328 2002-02-26  Tom Tromey  <tromey@redhat.com>
10329
10330         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10331         * gij.cc (version): Use __VERSION__.
10332         * include/config.h.in: Rebuilt.
10333         * acconfig.h (GCJVERSION): Removed.
10334         * configure: Rebuilt.
10335         * configure.in (GCJVERSION): Removed.
10336
10337 2002-02-26  Andreas Schwab  <schwab@suse.de>
10338
10339         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10340         glibcpp_CXX, since libjava uses even another CXX.
10341         * aclocal.m4, configure: Regenerated.
10342
10343 2002-02-26  Tom Tromey  <tromey@redhat.com>
10344
10345         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10346         `1'.
10347
10348 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10349
10350         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10351         dependency tracking for .java files.
10352         * Makefile.in: Rebuilt.
10353
10354 2002-02-24  Adam Megacz  <adam@xwt.org>
10355
10356         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10357         typo. Sorry.
10358
10359 2002-02-24  Adam Megacz  <adam@xwt.org>
10360
10361         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10362         for Win32, changed #ifdefs to check WIN32 instead of the
10363         (now-obsolete) USE_WINSOCK, and removed support for socket
10364         timeouts on Win32 pending further discussion.
10365
10366 2002-02-24  Adam Megacz  <adam@xwt.org>
10367
10368         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10369         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10370         delete
10371
10372 2002-02-24  Adam Megacz  <adam@xwt.org>
10373
10374         * java/lang/Win32Process.java: Created a dummy class to allow
10375         build process to run to completion.
10376
10377 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
10378
10379         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10380         Define ffi_result union for ffi_call result.  Cast
10381         ffi_result members to jvalue.
10382
10383 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
10384
10385         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10386         * testsuite/Makefile.in: Likewise.
10387
10388 2002-02-20  Per Bothner  <per@bothner.com>
10389
10390         * java/net/URL.java (getPath):  New JDK 1.3 method.
10391
10392         * java/net/URLStreamHandler.java (parseURL):
10393         It is wrong to prepend '/' to the file part of a relative url.
10394
10395         * java/net/URLStreamHandler.java (parseURL):
10396         Minor optizations - append '/' rather than "/".
10397
10398         * java/net/URLStreamHandler.java (parseURL):
10399         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10400         We probably should canonicalize for a context-relative url, though.
10401         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
10402         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
10403         (sameFile):  New method.  Uses canonicalizeFilename.
10404
10405 2002-02-22  Tom Tromey  <tromey@redhat.com>
10406
10407         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10408         java.vendor and java.vm.vendor.
10409         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10410         recent copyright date.
10411         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10412         * gij.cc (version): Print `Inc'.
10413
10414 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10415
10416         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10417         * aclocal.m4, configure: Rebuilt.
10418
10419 2002-02-20  Per Bothner  <per@bothner.com>
10420
10421         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
10422         and/or output streams immediately here, instead of using File.exists.
10423         (inputStream, outputStream):  New fields to save open streams.
10424         (getInputStream, getOutputStream):  Use already-opened streams.
10425
10426 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
10427
10428         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10429         Use it.
10430         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10431         * aclocal.m4, configure, Makefile.in: Rebuilt.
10432
10433 2002-02-19  Tom Tromey  <tromey@redhat.com>
10434
10435         Fix for PR libgcj/5696:
10436         * verify.cc (is_assignable_from_slow): Never call
10437         _Jv_IsAssignableFrom.
10438         (verify_instructions_0): Added new debug statement.
10439         (state::print): Print information about whether local has
10440         changed.
10441         (state::merge): Don't call note_variable when merging locals.
10442         (state::set_exception): Removed old FIXME comment.
10443
10444 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10445
10446         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10447         enable SO_BROADCAST.
10448
10449 2002-02-18  Jason Merrill  <jason@redhat.com>
10450
10451         * name-finder.cc (toHex): Use word mode, not long long.
10452
10453         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10454
10455 2002-02-15  Tom Tromey  <tromey@redhat.com>
10456
10457         Fix for PR libgcj/5695:
10458         * verify.cc (is_assignable_from_slow): Check to see if target is
10459         an Object before checking to see if source is an interface.
10460         (verify_instructions_0) [op_invokeinterface]: Handle case where
10461         we're making an interface call on Object.
10462
10463 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10464
10465         * Makefile.in: Rebuilt with Eric's change below.
10466
10467         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10468         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10469         Removed functions which are now implemented in Math.java.
10470
10471 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10472
10473         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10474         * Makefile.am (core_java_source_files): Add
10475         java/lang/StrictMath.java.
10476         * java/lang/Math.java: Merge with Classpath.
10477         * java/lang/StrictMath.java: New file - merge with Classpath.
10478
10479 2002-02-14  Mark Wielaard  <mark@klomp.org>
10480
10481         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10482         package as a workaround for gcj 3.0.x
10483
10484 2002-02-14  Mark Wielaard <mark@klomp.org>
10485
10486         * java/security/BasicPermission.java: extends with fully qualified
10487         classname as workaround for gcj 3.0.4.
10488
10489 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10490
10491         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10492         around gcj bug of wrong emitted qualifier for inherited method.
10493         * java/net/SocketImpl.java (setOption, getOption): Ditto.
10494         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10495         constructor to reduce amount of emitted bytecode. While this
10496         happens to work around a jikes 1.15 bug, it is still a useful
10497         patch even for correct compilers.
10498         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10499         * gnu/java/rmi/server/UnicastRemoteCall.java
10500         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10501
10502 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
10503
10504         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10505         * java/net/SocketImpl.java: Ditto.
10506         * java/rmi/server/RMIClassLoader.java: Ditto.
10507         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10508
10509 2002-02-14  Mark Wielaard <mark@klomp.org>
10510
10511         Thanks to Takashi Okamoto
10512         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10513         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10514         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10515
10516 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10517
10518         Fix for PR libgcj/5670:
10519         * verify.cc (is_assignable_from_slow): If `source' is interface,
10520         recursively look for merge with `target'.
10521
10522 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
10523
10524         * include/jni.h: Fix typo.
10525
10526 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
10527
10528         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10529         correctly.
10530
10531 2002-02-13  Todd Stock  <toddastock@yahoo.com>
10532
10533         Fix for PR libgcj/5671:
10534         * verify.cc (state::merge): Handle case where we're merging
10535         against an interface.
10536
10537 2002-02-12  Tom Tromey  <tromey@redhat.com>
10538
10539         * exception.cc (std::abort): Mark as noreturn.
10540
10541 2002-02-12  Adam Megacz <adam@xwt.org>
10542
10543         * java/lang/Win32Process.java: Filled in a placeholder
10544         implementation so Win32 will build.
10545
10546 2002-02-12  Adam Megacz <adam@xwt.org>
10547
10548         * java/io/natFilePosix.cc: Copied this from natFile.cc.
10549         * java/io/natFile.cc: Removed from repository.
10550         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10551
10552 2002-02-12  Adam Megacz <adam@xwt.org>
10553
10554         * win32.cc: Added two #includes to make win32.cc compile.
10555
10556 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10557
10558         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10559         declarations.
10560         (_Jv_InitGC): Don't bother locking, as this is always called from a
10561         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10562
10563 2002-02-11  Adam Megacz <adam@xwt.org>
10564
10565         * include/win32.h: Added _Jv_platform_gettimeofday.
10566         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10567
10568 2002-02-11  Adam Megacz <adam@xwt.org>
10569
10570         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10571         Added #undef STRICT to make windows.h and
10572         java/lang/reflect/Modifier.h cooperate.
10573
10574 2002-02-11  Adam Megacz <adam@xwt.org>
10575
10576         * java/io/natFileWin32.cc: Created a placeholder class with lots
10577         of FIXMEs.
10578
10579 2002-02-11  Adam Megacz <adam@xwt.org>
10580
10581         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10582         std::abort() to simply abort(). Also added "fake" std::abort() so
10583         we can #include unwind-pe.h without having to link against
10584         libstdc++-v3.
10585
10586 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
10587
10588         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10589
10590 2002-02-08  Tom Tromey  <tromey@redhat.com>
10591
10592         * interpret.cc (convert): New function.
10593         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10594         convert.
10595         Include Long.h.
10596
10597 2002-02-08  Anthony Green  <green@redhat.com>
10598
10599         * configure.host: Add support for xscale-elf embedded target.
10600
10601 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
10602
10603         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10604         dereferenced.
10605         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10606         frame.
10607
10608 2002-02-07  Tom Tromey  <tromey@redhat.com>
10609
10610         * java/io/natFile.cc (_access): Use __builtin_alloca.
10611         (_stat): Likewise.
10612         (attr): Likewise.
10613         (getCanonicalPath): Likewise.
10614         (performList): Likewise.
10615         (performMkdir): Likewise.
10616         (performSetReadOnly): Likewise.
10617         (performRenameTo): Likewise.
10618         (performSetLastModified): Likewise.
10619         (performCreate): Likewise.
10620         (performDelete): Likewise.
10621
10622 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10623
10624         * HACKING: Fix URL for the automake-gcj.
10625
10626 2002-02-07  Tom Tromey  <tromey@redhat.com>
10627
10628         * java/lang/natThrowable.cc: Updated copyright.
10629         * java/io/natFileWin32.cc: Updated copyright.
10630         * java/io/natFileDescriptorWin32.cc: Updated copyright.
10631         * win32-threads.cc: Updated copyright.
10632         * name-finder.cc: Updated copyright.
10633         * include/name-finder.h: Updated copyright.
10634
10635         * include/name-finder.h: Conditionally include sys/wait.h.
10636         * include/config.h.in: Rebuilt.
10637
10638         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10639         Size buffer based on real size of string.
10640         (_stat): Likewise.
10641         (attr): Likewise.
10642         (getCanonicalPath): Likewise.
10643         (performList): Likewise.
10644         (performMkdir): Likewise.
10645         (performSetReadOnly): Likewise.
10646         (unixroot): Removed.
10647         (performRenameTo): Likewise.
10648         (performSetLastModified): Likewise.
10649         (performCreate): Likewise.
10650         (performDelete): Likewise.
10651         (performListRoots): Always return new array.
10652
10653         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10654         * win32.cc (win32_exception_handler): Now static.
10655         * include/win32.h (_Jv_platform_initialize): Declare.
10656         (win32_exception_handler): Don't declare.
10657         * java/lang/natSystem.cc (currentTimeMillis): Use
10658         _Jv_platform_gettimeofday.
10659         * posix.cc (_Jv_platform_gettimeofday): Renamed.
10660         (_Jv_select): Use new name.
10661         (_Jv_platform_initialize): New function.
10662         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10663         _Jv_gettimeofday.
10664         (_Jv_platform_initialize): Declare.
10665
10666         * configure: Rebuilt.
10667         * configure.in: Removed unnecessary parens.
10668
10669 2002-02-06  Adam Megacz <adam@xwt.org>
10670
10671        * configure.in: Changed mingw) to *mingw*).
10672        * win32.cc: Created this file.
10673        * win32.h: Created this file.
10674        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10675        win32_exception_handler from prims.cc to win32.cc, added
10676        header in win32.h.
10677        * prims.cc: removed some #ifdef-WIN32'd headers which are no
10678        longer needed now that we have platform.h
10679
10680 2002-02-06  Adam Megacz <adam@xwt.org>
10681
10682         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10683         use uint<n>_t instead of LONG and BYTE
10684
10685 2002-02-06  Adam Megacz <adam@xwt.org>
10686
10687         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10688
10689 2002-02-06  Anthony Green  <green@redhat.com>
10690
10691         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10692         Implement missing method stubs.
10693         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10694         targets.
10695         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10696         concept of timezones.
10697         (init_properties): Don't refer to _Jv_Environment_Properties
10698         when this feature is not available.
10699         * include/config.h.in: Rebuilt.
10700         * acconfig.h: Add DISABLE_MAIN_ARGS.
10701         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10702         * configure: Rebuilt.
10703         * configure.in: Add --disable-main-args option.  Test for
10704           opendir function.  Replace AC_CHECK_SIZEOF with
10705           AC_COMPILE_CHECK_SIZEOF.
10706         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10707         * aclocal.m4: Rebuilt.
10708         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10709
10710 2002-02-06  Tom Tromey  <tromey@redhat.com>
10711
10712         * verify.cc (require_array_type): If argument is a null array of
10713         references, return null as the element type.
10714
10715 2002-02-06  Mark Wielaard  <mark@klomp.org>
10716
10717         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10718         duplicate of a wide type.
10719
10720 2002-02-06  Tom Tromey  <tromey@redhat.com>
10721
10722         * verify.cc (type::isnull): New method.
10723         (require_array_type): Handle case where array is null.
10724         (verify_instructions_0) [op_arraylength]: Likewise.
10725
10726 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10727
10728         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10729         Symlink PLATFORMH to platform.h.
10730         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10731         PLATFORMOBJS.
10732         * java/lang/natSystem.cc: #include platform.h not posix.h.
10733         * Makefile.in: Rebuilt with libgcj automake.
10734         * configure: Rebuilt.
10735
10736 2002-02-05  Richard Henderson  <rth@redhat.com>
10737
10738         * Makefile.in: Undo munging last change.
10739
10740 2002-02-04  Adam Megacz <adam@xwt.org>
10741
10742         * win32.cc: Created it.
10743         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10744         which is set to posix.cc or win32.cc.
10745         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10746
10747 2002-02-04  Adam Megacz <adam@xwt.org>
10748
10749         * configure.in: Corrected mingw case branches; added * before
10750         and after.
10751
10752 2002-02-04  Adam Megacz <adam@xwt.org>
10753
10754         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10755         if compiling for win32
10756
10757 2002-02-04  Adam Megacz <adam@xwt.org>
10758
10759         * win32-threads.cc: #undef STRICT after gc.h inclusion
10760
10761 2002-02-02  Tom Tromey  <tromey@redhat.com>
10762
10763         * Makefile.in: Rebuilt.
10764
10765 2002-02-02  Jason Merrill  <jason@redhat.com>
10766
10767         * Makefile.am (clean-nat): New target.
10768
10769 2002-02-02  Tom Tromey  <tromey@redhat.com>
10770
10771         * java/io/natFile.cc: Removed old "FIXME" comments.
10772
10773 2002-02-01  Tom Tromey  <tromey@redhat.com>
10774
10775         * java/lang/natPosixProcess.cc (myclose): New function.
10776         (fail): Use it.
10777         (startProcess): Likewise.
10778
10779 2002-02-01  Adam Megacz <adam@xwt.org>
10780
10781         * prims.cc: Added #undef STRICT after #include<windows.h>.
10782
10783 2002-02-01  Adam Megacz <adam@xwt.org>
10784
10785         * prims.cc
10786         (_Jv_CreateJavaVM): We now use WIN32 instead of
10787         USE_WIN32_SIGNALLING and USE_WINSOCK.
10788         (win32_exception_handler): Now throws an exception out of
10789         the signal handler; assumes SJLJ.
10790
10791 2002-02-01  Adam Megacz <adam@xwt.org>
10792
10793         * win32-threads.cc:
10794         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10795         wait() algorithm to make it safe.
10796         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10797         Added lazy creation of Win32 Events for better performance
10798         (really_start): This now uses GC_CreateThread so boehm-gc
10799         knows about new threads even when statically linked.
10800
10801 2002-02-01  Adam Megacz <adam@xwt.org>
10802
10803         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10804         enable safer wait() algorithm.
10805         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10806         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10807         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10808         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10809         instead of mutex.
10810         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10811
10812 2002-02-01  Adam Megacz <adam@xwt.org>
10813
10814         * configure.in: Added support for mingw.
10815         * java/lang/Win32Process.java: Created as empty file.
10816         * java/lang/natWin32Process.cc: Created as empty file.
10817
10818 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
10819
10820         PR java/4972
10821         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10822         for libiconv in LIBICONV variable.
10823         * configure: Regenerated.
10824
10825 2002-01-31  Tom Tromey  <tromey@redhat.com>
10826
10827         * verify.cc (state::enter_subroutine): New method.
10828         (handle_jsr_insn): Use it.
10829         (state::merge): When processing a `ret', correctly use
10830         subroutine's state to determine which local variables have
10831         changed.
10832         (push_exception_jump): Don't let stack overflow.
10833
10834 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
10835
10836         * gnu/gcj/convert/Convert.java: Only include one copyright year in
10837         --version output.
10838
10839 2002-01-30  Tom Tromey  <tromey@redhat.com>
10840
10841         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10842         parameter for `recv' return type.
10843
10844         * verify.cc (handle_ret_insn): Check for subroutine merge here...
10845         (state::merge): ... not here.
10846         (subr_entry_info): New structure.
10847         (entry_points): New field.
10848         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
10849         entry_points.
10850
10851 2002-01-29  Tom Tromey  <tromey@redhat.com>
10852
10853         * java/awt/List.java (addNotify): Correctly check to see if peer
10854         does not exist.
10855
10856         * java/awt/GridLayout.java (layoutContainer): Use number of rows
10857         to compute height of each cell, and number of columns to compute
10858         width of each cell.
10859         * java/awt/Window.java (getOwnedWindows): Don't return null.
10860         * java/awt/FlowLayout.java (layoutContainer): Set width and height
10861         of component.  Increment x using horizontal gap, not vertical
10862         gap.
10863
10864 2002-01-28  Tom Tromey  <tromey@redhat.com>
10865
10866         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10867         `nargs' byte is number of words, not number of arguments.
10868
10869 2002-01-27  Tom Tromey  <tromey@redhat.com>
10870
10871         * java/awt/event/MouseEvent.java (modifiers): Removed field.
10872         (when): Likewise.
10873         * java/awt/event/InputEvent.java (modifiers, when): Now
10874         package-private.
10875
10876         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10877         and to-do list.
10878         (state::merge): Use current class' class loader.
10879         (state::print): Print subroutine.
10880         (state::merge): Don't look at subroutine of unmerged `ret'.
10881
10882 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10883
10884         * nogc.cc: Remove warnings.
10885         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10886         New functions.
10887
10888 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10889
10890         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10891         int, int):  Remove empty "if" statement to work around compiler bug.
10892         (newPixels(int[], ColorModel, int, int): Likewise.
10893
10894 2002-01-25  Per Bothner  <per@bothner.com>
10895
10896         * verify.cc (verify_fail):  Change from being a top-level function
10897         to e method of _Jv_BytecodeVerifier.  Emit current method name.
10898         Pass the current verifier to type: and state: methods as needed,
10899         for better error messages, and for resolve.
10900         (resolve):  Pass current class's loader for Class.forName and
10901         _Jv_FindClassFromSignature, rather than using the default loader.
10902         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
10903         (get_type_val_for_signature):  Make non-static.
10904         (various methods):  Pass start_PC implicitly, not explicitly.
10905
10906 2002-01-25  Tom Tromey  <tromey@redhat.com>
10907
10908         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10909         loop termination condition.
10910         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10911         width.
10912
10913 2002-01-24  Tom Tromey  <tromey@redhat.com>
10914
10915         * java/awt/Shape.java: Merged with Classpath.
10916         * java/awt/Scrollbar.java: Merged with Classpath.
10917
10918         * java/awt/Container.java (addNotify): Unconditionally call
10919         addNotifyContainerChildren and superclass addNotify.
10920
10921         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10922         getAlpha, not getBlue.
10923
10924 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
10925
10926         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10927
10928         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10929         (grabPixels(long)): Wait to be notified that the ImageProducer has
10930         completed.
10931
10932 2002-01-24  Per Bothner  <per@bothner.com>
10933
10934         * verify.cc (is_assignable_from_slow): If target is an interface,
10935         we must still check the source's superclass before giving up.
10936
10937 2002-01-24  Tom Tromey  <tromey@redhat.com>
10938
10939         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10940
10941 2002-01-23  Tom Tromey  <tromey@redhat.com>
10942
10943         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10944         `else'.
10945
10946         * Makefile.in: Rebuilt.
10947         * Makefile.am (awt_java_source_files): Added new files.
10948         * java/awt/Toolkit.java: Merged with Classpath.
10949         * java/awt/PrintGraphics.java: New file from Classpath.
10950         * java/awt/PrintJob.java: New file from Classpath.
10951         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10952         * java/awt/datatransfer/ClipboardOwner.java: New file from
10953         Classpath.
10954         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10955         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10956         * java/awt/datatransfer/MimeTypeParseException.java: New file from
10957         Classpath.
10958         * java/awt/datatransfer/StringSelection.java: New file from
10959         Classpath.
10960         * java/awt/datatransfer/SystemFlavorMap.java: New file from
10961         Classpath.
10962         * java/awt/datatransfer/Transferable.java: New file from
10963         Classpath.
10964         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10965         from Classpath.
10966
10967         * Makefile.in: Rebuilt.
10968         * Makefile.am (awt_java_source_files): Added new files.
10969         * java/awt/image/AreaAveragingScaleFilter.java: New file from
10970         Classpath.
10971         * java/awt/image/CropImageFilter.java: New file from Classpath.
10972         * java/awt/image/FilteredImageSource.java: New file from
10973         Classpath.
10974         * java/awt/image/ImageFilter.java: New file from Classpath.
10975         * java/awt/image/MemoryImageSource.java: New file from Classpath.
10976         * java/awt/image/PixelGrabber.java: New file from Classpath.
10977         * java/awt/image/RGBImageFilter.java: New file from Classpath.
10978         * java/awt/image/ReplicateScaleFilter.java: New file from
10979         Classpath.
10980         * java/awt/image/ImageProducer.java: Replaced with Classpath
10981         version.
10982         * java/awt/image/ImageObserver.java: Replaced with Classpath
10983         version.
10984         * java/awt/image/ImageConsumer.java: Replaced with Classpath
10985         version.
10986         * java/awt/GridBagConstraints.java (clone): Catch
10987         CloneNotSupportedException.
10988
10989 2002-01-23  Per Bothner  <per@bothner.com>
10990
10991         * java/lang/reflect/natField.cc (setAddr):  New function.
10992         Calls getAddr and then checks that the field isn't final.
10993         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10994         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
10995         (set):  Call setAddr before check that new value has right type,
10996         to better match specified semantics.
10997
10998 2002-01-22  Tom Tromey  <tromey@redhat.com>
10999
11000         * java/awt/TextField.java: Replaced with Classpath version.
11001         * java/awt/TextArea.java: Replaced with Classpath version.
11002         * java/awt/TextComponent.java: Replaced with Classpath version.
11003
11004         * java/awt/GridBagConstraints.java: Updated copyright.
11005
11006 2002-01-22  Mark Wielaard <mark@klomp.org>
11007
11008         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11009         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11010         java/awt/Dialog.java java/awt/FileDialog.java
11011         java/awt/Font.java java/awt/FontMetrics.java
11012         java/awt/Image.java java/awt/ImageMediaEntry.java
11013         java/awt/Insets.java java/awt/List.java
11014         java/awt/MediaEntry.java java/awt/MediaTracker.java
11015         java/awt/Menu.java java/awt/MenuBar.java
11016         java/awt/MenuContainer.java java/awt/MenuShortcut.java
11017         java/awt/PaintContext.java java/awt/Panel.java
11018         java/awt/PopupMenu.java java/awt/SystemColor.java
11019         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11020         java/awt/peer/CheckboxMenuItemPeer.java
11021         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11022         java/awt/peer/ComponentPeer.java
11023         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11024         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11025         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11026         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11027         java/awt/peer/MenuBarPeer.java
11028         java/awt/peer/MenuComponentPeer.java
11029         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11030         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11031         java/awt/peer/ScrollPanePeer.java
11032         java/awt/peer/ScrollbarPeer.java
11033         java/awt/peer/TextAreaPeer.java
11034         java/awt/peer/TextComponentPeer.java
11035         java/awt/peer/TextFieldPeer.java
11036         java/awt/peer/WindowPeer.java: Add license clarification.
11037
11038 2002-01-22  Mark Wielaard <mark@klomp.org>
11039
11040         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11041         gnu/gcj/runtime/StringBuffer.java
11042         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11043         gnu/java/awt/ComponentDataBlitOp.java
11044         gnu/java/awt/GLightweightPeer.java
11045         gnu/java/beans/BeanInfoEmbryo.java
11046         gnu/java/beans/EmptyBeanInfo.java
11047         gnu/java/beans/ExplicitBeanInfo.java
11048         gnu/java/beans/IntrospectionIncubator.java
11049         gnu/java/beans/editors/ColorEditor.java
11050         gnu/java/beans/editors/FontEditor.java
11051         gnu/java/beans/editors/NativeBooleanEditor.java
11052         gnu/java/beans/editors/NativeByteEditor.java
11053         gnu/java/beans/editors/NativeDoubleEditor.java
11054         gnu/java/beans/editors/NativeFloatEditor.java
11055         gnu/java/beans/editors/NativeIntEditor.java
11056         gnu/java/beans/editors/NativeLongEditor.java
11057         gnu/java/beans/editors/NativeShortEditor.java
11058         gnu/java/beans/editors/StringEditor.java
11059         gnu/java/beans/info/ComponentBeanInfo.java
11060         gnu/java/io/ClassLoaderObjectInputStream.java
11061         gnu/java/io/NullOutputStream.java
11062         gnu/java/io/ObjectIdentityWrapper.java
11063         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11064         gnu/java/lang/reflect/TypeSignature.java
11065         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11066         gnu/java/locale/Calendar_en.java
11067         gnu/java/locale/Calendar_nl.java
11068         gnu/java/locale/LocaleInformation.java
11069         gnu/java/locale/LocaleInformation_de.java
11070         gnu/java/locale/LocaleInformation_en.java
11071         gnu/java/locale/LocaleInformation_nl.java
11072         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11073         gnu/java/rmi/registry/RegistryImpl.java
11074         gnu/java/rmi/rmic/Compile_gcj.java
11075         gnu/java/rmi/rmic/Compiler.java
11076         gnu/java/rmi/rmic/CompilerProcess.java
11077         gnu/java/rmi/rmic/RMIC.java
11078         gnu/java/rmi/rmic/TabbedWriter.java
11079         gnu/java/rmi/server/ProtocolConstants.java
11080         gnu/java/rmi/server/RMIDefaultSocketFactory.java
11081         gnu/java/rmi/server/RMIHashes.java
11082         gnu/java/rmi/server/RMIObjectInputStream.java
11083         gnu/java/rmi/server/RMIObjectOutputStream.java
11084         gnu/java/rmi/server/UnicastConnection.java
11085         gnu/java/rmi/server/UnicastConnectionManager.java
11086         gnu/java/rmi/server/UnicastRef.java
11087         gnu/java/rmi/server/UnicastRemoteCall.java
11088         gnu/java/rmi/server/UnicastRemoteStub.java
11089         gnu/java/rmi/server/UnicastServer.java
11090         gnu/java/rmi/server/UnicastServerRef.java
11091         gnu/java/security/provider/DefaultPolicy.java
11092         gnu/java/security/provider/Gnu.java
11093         gnu/java/security/provider/SHA.java
11094         gnu/java/security/provider/SHA1PRNG.java
11095         gnu/java/text/BaseBreakIterator.java
11096         gnu/java/text/CharacterBreakIterator.java
11097         gnu/java/text/LineBreakIterator.java
11098         gnu/java/text/SentenceBreakIterator.java
11099         gnu/java/text/WordBreakIterator.java
11100         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11101         java/applet/AppletContext.java java/applet/AppletStub.java
11102         java/applet/AudioClip.java java/awt/AWTError.java
11103         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11104         java/awt/AWTException.java java/awt/AWTPermission.java
11105         java/awt/ActiveEvent.java java/awt/BorderLayout.java
11106         java/awt/Button.java java/awt/Canvas.java
11107         java/awt/CardLayout.java java/awt/Checkbox.java
11108         java/awt/CheckboxGroup.java java/awt/Component.java
11109         java/awt/ComponentOrientation.java java/awt/Container.java
11110         java/awt/Dimension.java java/awt/Event.java
11111         java/awt/EventDispatchThread.java java/awt/EventQueue.java
11112         java/awt/FlowLayout.java java/awt/Frame.java
11113         java/awt/Graphics.java java/awt/Graphics2D.java
11114         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11115         java/awt/IllegalComponentStateException.java
11116         java/awt/ItemSelectable.java java/awt/Label.java
11117         java/awt/LayoutManager.java java/awt/LayoutManager2.java
11118         java/awt/MenuComponent.java java/awt/MenuItem.java
11119         java/awt/Paint.java java/awt/Point.java
11120         java/awt/Rectangle.java java/awt/RenderingHints.java
11121         java/awt/Transparency.java java/awt/Window.java
11122         java/awt/color/ColorSpace.java
11123         java/awt/color/ICC_ColorSpace.java
11124         java/awt/color/ICC_Profile.java
11125         java/awt/event/HierarchyBoundsAdapter.java
11126         java/awt/event/HierarchyBoundsListener.java
11127         java/awt/event/HierarchyEvent.java
11128         java/awt/event/HierarchyListener.java
11129         java/awt/geom/AffineTransform.java
11130         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11131         java/awt/geom/IllegalPathStateException.java
11132         java/awt/geom/Line2D.java
11133         java/awt/geom/NoninvertibleTransformException.java
11134         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11135         java/awt/geom/Rectangle2D.java
11136         java/awt/geom/RectangularShape.java
11137         java/awt/geom/RoundRectangle2D.java
11138         java/awt/image/BufferedImage.java
11139         java/awt/image/ColorModel.java
11140         java/awt/image/ComponentColorModel.java
11141         java/awt/image/ComponentSampleModel.java
11142         java/awt/image/DataBuffer.java
11143         java/awt/image/DataBufferByte.java
11144         java/awt/image/DataBufferInt.java
11145         java/awt/image/DataBufferUShort.java
11146         java/awt/image/DirectColorModel.java
11147         java/awt/image/PackedColorModel.java
11148         java/awt/image/Raster.java java/awt/image/RasterOp.java
11149         java/awt/image/SampleModel.java
11150         java/awt/image/SinglePixelPackedSampleModel.java
11151         java/awt/image/WritableRaster.java
11152         java/beans/AppletInitializer.java
11153         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11154         java/beans/Beans.java java/beans/Customizer.java
11155         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11156         java/beans/FeatureDescriptor.java
11157         java/beans/IndexedPropertyDescriptor.java
11158         java/beans/IntrospectionException.java
11159         java/beans/Introspector.java java/beans/MethodDescriptor.java
11160         java/beans/ParameterDescriptor.java
11161         java/beans/PropertyChangeEvent.java
11162         java/beans/PropertyChangeListener.java
11163         java/beans/PropertyChangeSupport.java
11164         java/beans/PropertyDescriptor.java
11165         java/beans/PropertyEditor.java
11166         java/beans/PropertyEditorManager.java
11167         java/beans/PropertyEditorSupport.java
11168         java/beans/PropertyVetoException.java
11169         java/beans/SimpleBeanInfo.java
11170         java/beans/VetoableChangeListener.java
11171         java/beans/VetoableChangeSupport.java
11172         java/beans/Visibility.java
11173         java/beans/beancontext/BeanContext.java
11174         java/beans/beancontext/BeanContextChild.java
11175         java/beans/beancontext/BeanContextChildComponentProxy.java
11176         java/beans/beancontext/BeanContextChildSupport.java
11177         java/beans/beancontext/BeanContextContainerProxy.java
11178         java/beans/beancontext/BeanContextEvent.java
11179         java/beans/beancontext/BeanContextMembershipEvent.java
11180         java/beans/beancontext/BeanContextMembershipListener.java
11181         java/beans/beancontext/BeanContextProxy.java
11182         java/beans/beancontext/BeanContextServiceAvailableEvent.java
11183         java/beans/beancontext/BeanContextServiceProvider.java
11184         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11185         java/beans/beancontext/BeanContextServiceRevokedEvent.java
11186         java/beans/beancontext/BeanContextServiceRevokedListener.java
11187         java/beans/beancontext/BeanContextServices.java
11188         java/beans/beancontext/BeanContextServicesListener.java
11189         java/io/BufferedInputStream.java
11190         java/io/BufferedOutputStream.java java/io/BufferedReader.java
11191         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11192         java/io/ByteArrayOutputStream.java
11193         java/io/CharArrayReader.java java/io/CharArrayWriter.java
11194         java/io/CharConversionException.java java/io/DataInput.java
11195         java/io/DataInputStream.java java/io/DataOutput.java
11196         java/io/EOFException.java java/io/Externalizable.java
11197         java/io/FileFilter.java java/io/FileNotFoundException.java
11198         java/io/FilePermission.java java/io/FileReader.java
11199         java/io/FileWriter.java java/io/FilenameFilter.java
11200         java/io/FilterInputStream.java java/io/FilterOutputStream.java
11201         java/io/FilterReader.java java/io/FilterWriter.java
11202         java/io/IOException.java java/io/InputStream.java
11203         java/io/InterruptedIOException.java
11204         java/io/InvalidClassException.java
11205         java/io/InvalidObjectException.java
11206         java/io/NotActiveException.java
11207         java/io/NotSerializableException.java java/io/ObjectInput.java
11208         java/io/ObjectInputStream.java
11209         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11210         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11211         java/io/ObjectStreamConstants.java
11212         java/io/ObjectStreamException.java
11213         java/io/ObjectStreamField.java
11214         java/io/OptionalDataException.java java/io/OutputStream.java
11215         java/io/PipedInputStream.java java/io/PipedOutputStream.java
11216         java/io/PipedReader.java java/io/PipedWriter.java
11217         java/io/PrintWriter.java java/io/PushbackInputStream.java
11218         java/io/PushbackReader.java java/io/Reader.java
11219         java/io/SequenceInputStream.java java/io/Serializable.java
11220         java/io/SerializablePermission.java
11221         java/io/StreamCorruptedException.java
11222         java/io/StreamTokenizer.java
11223         java/io/StringBufferInputStream.java java/io/StringReader.java
11224         java/io/StringWriter.java java/io/SyncFailedException.java
11225         java/io/UTFDataFormatException.java
11226         java/io/UnsupportedEncodingException.java
11227         java/io/WriteAbortedException.java java/io/Writer.java
11228         java/lang/AbstractMethodError.java
11229         java/lang/ArithmeticException.java
11230         java/lang/ArrayIndexOutOfBoundsException.java
11231         java/lang/ArrayStoreException.java java/lang/Boolean.java
11232         java/lang/Byte.java java/lang/CharSequence.java
11233         java/lang/ClassCastException.java
11234         java/lang/ClassCircularityError.java
11235         java/lang/ClassFormatError.java
11236         java/lang/ClassNotFoundException.java
11237         java/lang/CloneNotSupportedException.java
11238         java/lang/Cloneable.java java/lang/Comparable.java
11239         java/lang/Compiler.java java/lang/Double.java
11240         java/lang/Error.java java/lang/Exception.java
11241         java/lang/ExceptionInInitializerError.java
11242         java/lang/Float.java java/lang/IllegalAccessError.java
11243         java/lang/IllegalAccessException.java
11244         java/lang/IllegalArgumentException.java
11245         java/lang/IllegalMonitorStateException.java
11246         java/lang/IllegalStateException.java
11247         java/lang/IllegalThreadStateException.java
11248         java/lang/IncompatibleClassChangeError.java
11249         java/lang/IndexOutOfBoundsException.java
11250         java/lang/InheritableThreadLocal.java
11251         java/lang/InstantiationError.java
11252         java/lang/InstantiationException.java java/lang/Integer.java
11253         java/lang/InternalError.java
11254         java/lang/InterruptedException.java
11255         java/lang/LinkageError.java java/lang/Long.java
11256         java/lang/NegativeArraySizeException.java
11257         java/lang/NoClassDefFoundError.java
11258         java/lang/NoSuchFieldError.java
11259         java/lang/NoSuchFieldException.java
11260         java/lang/NoSuchMethodError.java
11261         java/lang/NoSuchMethodException.java
11262         java/lang/NullPointerException.java java/lang/Number.java
11263         java/lang/NumberFormatException.java
11264         java/lang/OutOfMemoryError.java java/lang/Package.java
11265         java/lang/Process.java java/lang/Runnable.java
11266         java/lang/RuntimeException.java
11267         java/lang/RuntimePermission.java
11268         java/lang/SecurityException.java
11269         java/lang/SecurityManager.java java/lang/Short.java
11270         java/lang/StackOverflowError.java java/lang/StringBuffer.java
11271         java/lang/StringIndexOutOfBoundsException.java
11272         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11273         java/lang/ThreadLocal.java java/lang/UnknownError.java
11274         java/lang/UnsatisfiedLinkError.java
11275         java/lang/UnsupportedClassVersionError.java
11276         java/lang/UnsupportedOperationException.java
11277         java/lang/VerifyError.java java/lang/VirtualMachineError.java
11278         java/lang/Void.java java/lang/ref/PhantomReference.java
11279         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11280         java/lang/ref/SoftReference.java
11281         java/lang/ref/WeakReference.java
11282         java/lang/reflect/AccessibleObject.java
11283         java/lang/reflect/InvocationTargetException.java
11284         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11285         java/lang/reflect/ReflectPermission.java
11286         java/math/BigDecimal.java java/math/BigInteger.java
11287         java/net/Authenticator.java java/net/BindException.java
11288         java/net/ConnectException.java java/net/ContentHandler.java
11289         java/net/ContentHandlerFactory.java
11290         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11291         java/net/FileNameMap.java java/net/MalformedURLException.java
11292         java/net/MulticastSocket.java java/net/NetPermission.java
11293         java/net/NoRouteToHostException.java
11294         java/net/PasswordAuthentication.java
11295         java/net/ProtocolException.java java/net/ServerSocket.java
11296         java/net/Socket.java java/net/SocketException.java
11297         java/net/SocketImpl.java java/net/SocketImplFactory.java
11298         java/net/SocketOptions.java java/net/SocketPermission.java
11299         java/net/URLDecoder.java java/net/URLEncoder.java
11300         java/net/URLStreamHandlerFactory.java
11301         java/net/UnknownHostException.java
11302         java/net/UnknownServiceException.java
11303         java/rmi/AccessException.java
11304         java/rmi/AlreadyBoundException.java
11305         java/rmi/ConnectException.java
11306         java/rmi/ConnectIOException.java
11307         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11308         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11309         java/rmi/NotBoundException.java
11310         java/rmi/RMISecurityException.java
11311         java/rmi/RMISecurityManager.java java/rmi/Remote.java
11312         java/rmi/RemoteException.java java/rmi/ServerError.java
11313         java/rmi/ServerException.java
11314         java/rmi/ServerRuntimeException.java
11315         java/rmi/StubNotFoundException.java
11316         java/rmi/UnexpectedException.java
11317         java/rmi/UnknownHostException.java
11318         java/rmi/UnmarshalException.java
11319         java/rmi/activation/Activatable.java
11320         java/rmi/activation/ActivateFailedException.java
11321         java/rmi/activation/ActivationDesc.java
11322         java/rmi/activation/ActivationException.java
11323         java/rmi/activation/ActivationGroup.java
11324         java/rmi/activation/ActivationGroupDesc.java
11325         java/rmi/activation/ActivationGroupID.java
11326         java/rmi/activation/ActivationID.java
11327         java/rmi/activation/ActivationInstantiator.java
11328         java/rmi/activation/ActivationMonitor.java
11329         java/rmi/activation/ActivationSystem.java
11330         java/rmi/activation/Activator.java
11331         java/rmi/activation/UnknownGroupException.java
11332         java/rmi/activation/UnknownObjectException.java
11333         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11334         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11335         java/rmi/registry/Registry.java
11336         java/rmi/registry/RegistryHandler.java
11337         java/rmi/server/ExportException.java
11338         java/rmi/server/LoaderHandler.java
11339         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11340         java/rmi/server/Operation.java
11341         java/rmi/server/RMIClassLoader.java
11342         java/rmi/server/RMIClientSocketFactory.java
11343         java/rmi/server/RMIFailureHandler.java
11344         java/rmi/server/RMIServerSocketFactory.java
11345         java/rmi/server/RMISocketFactory.java
11346         java/rmi/server/RemoteCall.java
11347         java/rmi/server/RemoteObject.java
11348         java/rmi/server/RemoteRef.java
11349         java/rmi/server/RemoteServer.java
11350         java/rmi/server/RemoteStub.java
11351         java/rmi/server/ServerCloneException.java
11352         java/rmi/server/ServerNotActiveException.java
11353         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11354         java/rmi/server/SkeletonMismatchException.java
11355         java/rmi/server/SkeletonNotFoundException.java
11356         java/rmi/server/SocketSecurityException.java
11357         java/rmi/server/UID.java
11358         java/rmi/server/UnicastRemoteObject.java
11359         java/rmi/server/Unreferenced.java
11360         java/security/AccessControlContext.java
11361         java/security/AccessControlException.java
11362         java/security/AccessController.java
11363         java/security/AlgorithmParameterGenerator.java
11364         java/security/AlgorithmParameterGeneratorSpi.java
11365         java/security/AlgorithmParameters.java
11366         java/security/AlgorithmParametersSpi.java
11367         java/security/AllPermission.java
11368         java/security/BasicPermission.java
11369         java/security/Certificate.java java/security/CodeSource.java
11370         java/security/DigestException.java
11371         java/security/DigestInputStream.java
11372         java/security/DigestOutputStream.java
11373         java/security/DomainCombiner.java
11374         java/security/DummyKeyPairGenerator.java
11375         java/security/DummyMessageDigest.java
11376         java/security/DummySignature.java
11377         java/security/GeneralSecurityException.java
11378         java/security/Guard.java java/security/GuardedObject.java
11379         java/security/Identity.java java/security/IdentityScope.java
11380         java/security/InvalidAlgorithmParameterException.java
11381         java/security/InvalidKeyException.java
11382         java/security/InvalidParameterException.java
11383         java/security/Key.java java/security/KeyException.java
11384         java/security/KeyFactory.java java/security/KeyFactorySpi.java
11385         java/security/KeyManagementException.java
11386         java/security/KeyPair.java java/security/KeyPairGenerator.java
11387         java/security/KeyPairGeneratorSpi.java
11388         java/security/KeyStore.java
11389         java/security/KeyStoreException.java
11390         java/security/KeyStoreSpi.java
11391         java/security/MessageDigest.java
11392         java/security/MessageDigestSpi.java
11393         java/security/NoSuchAlgorithmException.java
11394         java/security/NoSuchProviderException.java
11395         java/security/Permission.java
11396         java/security/PermissionCollection.java
11397         java/security/Permissions.java java/security/Policy.java
11398         java/security/Principal.java java/security/PrivateKey.java
11399         java/security/PrivilegedAction.java
11400         java/security/PrivilegedActionException.java
11401         java/security/PrivilegedExceptionAction.java
11402         java/security/ProtectionDomain.java
11403         java/security/Provider.java
11404         java/security/ProviderException.java
11405         java/security/PublicKey.java
11406         java/security/SecureClassLoader.java
11407         java/security/SecureRandom.java
11408         java/security/SecureRandomSpi.java java/security/Security.java
11409         java/security/SecurityPermission.java
11410         java/security/Signature.java
11411         java/security/SignatureException.java
11412         java/security/SignatureSpi.java
11413         java/security/SignedObject.java java/security/Signer.java
11414         java/security/UnrecoverableKeyException.java
11415         java/security/UnresolvedPermission.java
11416         java/security/acl/Acl.java java/security/acl/AclEntry.java
11417         java/security/acl/AclNotFoundException.java
11418         java/security/acl/Group.java
11419         java/security/acl/LastOwnerException.java
11420         java/security/acl/NotOwnerException.java
11421         java/security/acl/Owner.java java/security/acl/Permission.java
11422         java/security/cert/CRL.java
11423         java/security/cert/CRLException.java
11424         java/security/cert/Certificate.java
11425         java/security/cert/CertificateEncodingException.java
11426         java/security/cert/CertificateException.java
11427         java/security/cert/CertificateExpiredException.java
11428         java/security/cert/CertificateFactory.java
11429         java/security/cert/CertificateFactorySpi.java
11430         java/security/cert/CertificateNotYetValidException.java
11431         java/security/cert/CertificateParsingException.java
11432         java/security/cert/X509CRL.java
11433         java/security/cert/X509CRLEntry.java
11434         java/security/cert/X509Certificate.java
11435         java/security/cert/X509Extension.java
11436         java/security/interfaces/DSAKey.java
11437         java/security/interfaces/DSAKeyPairGenerator.java
11438         java/security/interfaces/DSAParams.java
11439         java/security/interfaces/DSAPrivateKey.java
11440         java/security/interfaces/DSAPublicKey.java
11441         java/security/interfaces/RSAKey.java
11442         java/security/interfaces/RSAPrivateCrtKey.java
11443         java/security/interfaces/RSAPrivateKey.java
11444         java/security/interfaces/RSAPublicKey.java
11445         java/security/spec/AlgorithmParameterSpec.java
11446         java/security/spec/DSAParameterSpec.java
11447         java/security/spec/DSAPrivateKeySpec.java
11448         java/security/spec/DSAPublicKeySpec.java
11449         java/security/spec/EncodedKeySpec.java
11450         java/security/spec/InvalidKeySpecException.java
11451         java/security/spec/InvalidParameterSpecException.java
11452         java/security/spec/KeySpec.java
11453         java/security/spec/PKCS8EncodedKeySpec.java
11454         java/security/spec/RSAKeyGenParameterSpec.java
11455         java/security/spec/RSAPrivateCrtKeySpec.java
11456         java/security/spec/RSAPrivateKeySpec.java
11457         java/security/spec/RSAPublicKeySpec.java
11458         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11459         java/sql/BatchUpdateException.java java/sql/Blob.java
11460         java/sql/CallableStatement.java java/sql/Clob.java
11461         java/sql/Connection.java java/sql/DataTruncation.java
11462         java/sql/DatabaseMetaData.java java/sql/Date.java
11463         java/sql/Driver.java java/sql/DriverManager.java
11464         java/sql/DriverPropertyInfo.java
11465         java/sql/PreparedStatement.java java/sql/Ref.java
11466         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11467         java/sql/SQLData.java java/sql/SQLException.java
11468         java/sql/SQLInput.java java/sql/SQLOutput.java
11469         java/sql/SQLWarning.java java/sql/Statement.java
11470         java/sql/Struct.java java/sql/Time.java
11471         java/sql/Timestamp.java java/sql/Types.java
11472         java/text/Annotation.java
11473         java/text/AttributedCharacterIterator.java
11474         java/text/AttributedString.java
11475         java/text/AttributedStringIterator.java
11476         java/text/BreakIterator.java java/text/CharacterIterator.java
11477         java/text/ChoiceFormat.java java/text/Collator.java
11478         java/text/DateFormat.java java/text/DateFormatSymbols.java
11479         java/text/DecimalFormat.java
11480         java/text/DecimalFormatSymbols.java
11481         java/text/FieldPosition.java java/text/Format.java
11482         java/text/MessageFormat.java java/text/NumberFormat.java
11483         java/text/ParseException.java java/text/ParsePosition.java
11484         java/text/SimpleDateFormat.java
11485         java/text/StringCharacterIterator.java
11486         java/util/AbstractCollection.java java/util/AbstractList.java
11487         java/util/AbstractMap.java
11488         java/util/AbstractSequentialList.java
11489         java/util/AbstractSet.java java/util/ArrayList.java
11490         java/util/Arrays.java java/util/BasicMapEntry.java
11491         java/util/BitSet.java java/util/Calendar.java
11492         java/util/Collection.java java/util/Collections.java
11493         java/util/Comparator.java
11494         java/util/ConcurrentModificationException.java
11495         java/util/Date.java java/util/Dictionary.java
11496         java/util/EmptyStackException.java java/util/Enumeration.java
11497         java/util/EventListener.java java/util/EventObject.java
11498         java/util/GregorianCalendar.java java/util/HashMap.java
11499         java/util/HashSet.java java/util/Hashtable.java
11500         java/util/IdentityHashMap.java java/util/Iterator.java
11501         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11502         java/util/LinkedList.java java/util/List.java
11503         java/util/ListIterator.java java/util/ListResourceBundle.java
11504         java/util/Locale.java java/util/Map.java
11505         java/util/MissingResourceException.java
11506         java/util/NoSuchElementException.java
11507         java/util/Observable.java java/util/Observer.java
11508         java/util/Properties.java java/util/PropertyPermission.java
11509         java/util/PropertyResourceBundle.java java/util/Random.java
11510         java/util/RandomAccess.java java/util/ResourceBundle.java
11511         java/util/Set.java java/util/SimpleTimeZone.java
11512         java/util/SortedMap.java java/util/SortedSet.java
11513         java/util/Stack.java java/util/StringTokenizer.java
11514         java/util/TimeZone.java java/util/Timer.java
11515         java/util/TimerTask.java
11516         java/util/TooManyListenersException.java
11517         java/util/TreeMap.java java/util/TreeSet.java
11518         java/util/Vector.java java/util/WeakHashMap.java
11519         java/util/jar/Attributes.java java/util/jar/JarEntry.java
11520         java/util/jar/JarException.java java/util/jar/JarFile.java
11521         java/util/jar/JarInputStream.java
11522         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11523         java/util/zip/Adler32.java java/util/zip/CRC32.java
11524         java/util/zip/CheckedInputStream.java
11525         java/util/zip/CheckedOutputStream.java
11526         java/util/zip/Checksum.java
11527         java/util/zip/DataFormatException.java
11528         java/util/zip/Deflater.java
11529         java/util/zip/DeflaterOutputStream.java
11530         java/util/zip/GZIPInputStream.java
11531         java/util/zip/GZIPOutputStream.java
11532         java/util/zip/Inflater.java
11533         java/util/zip/InflaterInputStream.java
11534         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11535         java/util/zip/ZipException.java java/util/zip/ZipFile.java
11536         java/util/zip/ZipInputStream.java
11537         java/util/zip/ZipOutputStream.java
11538         javax/naming/BinaryRefAddr.java
11539         javax/naming/InvalidNameException.java javax/naming/Name.java
11540         javax/naming/NamingException.java javax/naming/RefAddr.java
11541         javax/naming/StringRefAddr.java: Add license clarification.
11542
11543 2002-01-22  Tom Tromey  <tromey@redhat.com>
11544
11545         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11546         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11547         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11548         version.
11549         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11550         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11551         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11552         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11553         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11554         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11555         * java/awt/peer/FontPeer.java: Replace with Classpath version.
11556         * java/awt/peer/FramePeer.java: Replace with Classpath version.
11557         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11558         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11559         * java/awt/peer/ListPeer.java: Replace with Classpath version.
11560         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11561         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11562         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11563         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11564         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11565         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11566         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11567         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11568         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11569         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11570         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11571         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11572         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11573         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11574         (minimumSize, preferredSize, reshape): Likewise.
11575         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11576         getColorModel): New methods.
11577         * java/awt/PopupMenu.java: Merged with Classpath.
11578         * java/awt/MenuBar.java: Merged with Classpath.
11579         * java/awt/SystemColor.java: Replace with Classpath version.
11580         * java/awt/Panel.java: Merged with Classpath.
11581         * java/awt/PaintContext.java: Updated copyright.
11582         * java/awt/MenuShortcut.java: Merged with Classpath.
11583         * java/awt/MenuContainer.java: Merged with Classpath.
11584         * java/awt/Menu.java: Merged with Classpath.
11585         * java/awt/MediaEntry.java: New file from Classpath.
11586         * java/awt/MediaTracker.java: New file from Classpath.
11587         * java/awt/List.java: Merged with Classpath version.
11588         * java/awt/Insets.java: Merged with Classpath version.
11589         * java/awt/ImageMediaEntry.java: New file from Classpath.
11590         * java/awt/Image.java: Replaced with Classpath version.
11591         * java/awt/FontMetrics.java: Merged with Classpath version.
11592         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11593         constant.
11594         * java/awt/Font.java: Merged with Classpath version.
11595         * java/awt/Dialog.java: Merged with Classpath version.
11596         * java/awt/Color.java: Merged with Classpath version.
11597         * java/awt/Choice.java: Merged with Classpath version.
11598         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11599         * java/awt/Adjustable.java: Replace with Classpath version.
11600         * java/awt/MenuItem.java (paramString): Don't include class name
11601         or brackets.  Call superclass paramString.
11602         * java/awt/MenuComponent.java (toString): Call paramString.
11603         (paramString): Compute string; don't call toString.
11604         * java/awt/Label.java (paramString): Don't include class name
11605         or brackets.  Call superclass paramString.
11606         * java/awt/Checkbox.java (paramString): Don't include class name
11607         or brackets.  Call superclass paramString.
11608         * java/awt/Button.java (paramString): Don't include class name or
11609         brackets.  Call superclass paramString.
11610         * java/awt/MenuComponent.java (getTreeLock): Now protected.
11611
11612 2002-01-20  Andreas Schwab  <schwab@suse.de>
11613
11614         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11615         function and of parameter recv_func to ssize_t, as specified by
11616         POSIX.
11617
11618 2002-01-19  Per Bothner  <per@bothner.com>
11619
11620         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
11621         uncompressed_size in readiness for next entry.
11622
11623 2002-01-18  Tom Tromey  <tromey@redhat.com>
11624
11625         * java/net/natPlainSocketImpl.cc: Include
11626         IllegalArgumentException.h.
11627         (_Jv_recv): New template function.
11628         (BooleanClass): Removed.
11629         (read): Use _Jv_recv.
11630         (setOption): Use Boolean::class$.  Throw exception if object is
11631         not Boolean or Integer.
11632
11633 2002-01-17  Tom Tromey  <tromey@redhat.com>
11634
11635         * java/awt/MenuComponent.java: Merged with Classpath.
11636         * java/awt/MenuItem.java: Merged with Classpath.
11637         * java/awt/Button.java: Merged with Classpath.
11638
11639         * java/awt/ActiveEvent.java: Updated copyright.
11640
11641         * java/awt/AWTError.java: Replaced with Classpath version.
11642         * java/awt/AWTException.java: Replaced with Classpath version.
11643         * java/awt/IllegalComponentStateException.java: Replaced with
11644         Classpath version.
11645
11646 2002-01-16  Tom Tromey  <tromey@redhat.com>
11647
11648         * java/awt/Canvas.java (serialVersionUID): New constant.
11649         Updated copyright.  Added javadoc from Classpath.
11650         * java/awt/ItemSelectable.java: Replaced with Classpath version.
11651
11652         * java/awt/CheckboxGroup.java: Merged with Classpath.
11653         * java/awt/Checkbox.java: Merged with Classpath.
11654
11655         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
11656         Classpath.
11657         * java/awt/Point.java: Updated copyright.
11658
11659         * java/awt/Point.java (toString): Use getClass().getName().
11660         Added javadoc.
11661
11662         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11663         commented code.
11664         (hash): Correctly compute initial value for `h'.
11665
11666         * java/awt/Label.java: Merged with Classpath.
11667
11668 2002-01-15  Tom Tromey  <tromey@redhat.com>
11669
11670         * java/awt/AWTPermission.java: Updated copyright.
11671
11672         * java/awt/LayoutManager2.java: Merged with Classpath.
11673         * java/awt/LayoutManager.java: Merged with Classpath.
11674         * java/awt/GridLayout.java: Updated copyright and javadoc.
11675         (getSize): Use `parent.ncomponents'.  Handle insets.
11676         (layoutContainer): Use `parent.ncomponents'.  Handle case where
11677         there are fewer children than columns.  Correctly compute size of
11678         each cell in the grid.  Handle case where there isn't enough
11679         space.
11680         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
11681         all users.
11682         (gotoComponent): Use parent.ncomponents.  Ensure child exists
11683         before calling setVisible() on it.  Last item is `num - 1', not
11684         `num'.
11685         (layoutContainer): Hoist invariants out of loop.
11686
11687         Start of AWT merge with Classpath:
11688         * Makefile.in: Rebuilt.
11689         * Makefile.am (awt_java_source_files): Reference files in
11690         gnu/java/awt, not gnu/gcj/awt.
11691         * java/awt/image/BufferedImage.java: Updated copyright.
11692         * java/awt/image/ComponentColorModel.java: Updated copyright.
11693         * java/awt/image/ComponentSampleModel.java: Updated copyright.
11694         * java/awt/image/DataBuffer.java: Updated copyright.
11695         * java/awt/image/DataBufferByte.java: Updated copyright.
11696         * java/awt/image/DataBufferInt.java: Updated copyright.
11697         * java/awt/image/DataBufferUShort.java: Updated copyright.
11698         * java/awt/image/IndexColorModel.java: Updated copyright.
11699         * java/awt/image/PackedColorModel.java: Updated copyright.
11700         * java/awt/image/Raster.java: Updated copyright.
11701         * java/awt/image/RasterOp.java: Updated copyright.
11702         * java/awt/image/SampleModel.java: Updated copyright.
11703         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11704         * java/awt/image/WritableRaster.java: Updated copyright.
11705         * java/awt/color/ColorSpace.java: Updated copyright.
11706         * java/awt/color/ICC_ColorSpace.java: Updated copyright
11707         * java/awt/color/ICC_Profile.java: Updated copyright.
11708         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11709         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11710         * java/awt/event/HierarchyEvent.java: Updated copyright.
11711         * java/awt/event/HierarchyListener.java: Updated copyright.
11712         * java/awt/geom/AffineTransform.java: Updated copyright.
11713         * java/awt/geom/Dimension2D.java: Updated copyright.
11714         * java/awt/geom/Ellipse2D.java: Updated copyright.
11715         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11716         * java/awt/geom/Line2D.java: Updated copyright.
11717         * java/awt/geom/NoninvertibleTransformException.java: Updated
11718         copyright.
11719         * java/awt/geom/PathIterator.java: Updated copyright.
11720         * java/awt/geom/Point2D.java: Updated copyright.
11721         * java/awt/geom/Rectangle2D.java: Updated copyright.
11722         * java/awt/geom/RectangularShape.java: Updated copyright.
11723         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11724         * java/awt/Toolkit.java: Updated import for file moves.
11725         * java/awt/Rectangle.java: Updated copyright; added javadoc from
11726         Classpath.
11727         (hashCode): New method from Classpath.
11728         * java/awt/Graphics2D.java: Updated copyright.
11729         * java/awt/Transparency.java: Updated copyright.
11730         * java/awt/Paint.java: Updated copyright.
11731         * java/awt/Graphics.java: New version from Classpath.
11732         * java/awt/EventDispatchThread.java: Updated copyright.
11733         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11734         children.
11735         (gotoComponent): Wrap around on next/previous.
11736         * gnu/gcj/awt/BitMaskExtent.java: Removed.
11737         * gnu/gcj/awt/Buffers.java: Removed.
11738         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11739         * gnu/gcj/awt/GLightweightPeer.java: Removed.
11740         * gnu/java/awt/BitMaskExtent.java: Added.
11741         * gnu/java/awt/Buffers.java: Added.
11742         * gnu/java/awt/ComponentDataBlitOp.java: Added.
11743         * gnu/java/awt/GLightweightPeer.java: Added.
11744         * java/awt/geom/Line2D.java (clone): Ignore
11745         CloneNotSupportedException.
11746         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11747         * java/awt/Frame.java: Merged with Classpath.
11748         * java/awt/RenderingHints.java: Copyright update.
11749         * java/awt/Paint.java: Copyright update.
11750         * java/awt/image/DirectColorModel.java: Merged with Classpath.
11751         * java/awt/image/ColorModel.java: Merged with Classpath.
11752         * java/awt/Window.java (show): New Implementation from Classpath.
11753         (isShowing): Use super.isShowing().
11754         * java/awt/EventQueue.java: Merged with Classpath.
11755         * java/awt/AWTEventMulticaster.java (save): Throw
11756         RuntimeException.
11757         (saveInternal): Likewise.
11758         * java/awt/AWTEvent.java: Now implements Serializable.
11759         * java/awt/Event.java: Copyright update.
11760         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11761         * java/awt/image/BufferedImage.java: Copyright update.
11762         * java/awt/GraphicsConfiguration.java: Copyright update.
11763         * java/awt/Component.java: (addNotify): Don't call
11764         addNotifyContainerChildren().
11765         (addNotifyContainerChildren): Removed.
11766         (setPeer): New method from Classpath.
11767         (setTreeLock): Likewise.
11768         (setVisible): Rewrote.
11769         (show): Use it.
11770         (hide): Likewise.
11771         (validate): Set `valid'.
11772         (checkImage(Image,ImageObserver)): Implementation from Classpath.
11773         (createImage(ImageProducer)): Likewise.
11774         (prepareImage): Likewise.
11775         * java/awt/Container.java (addImpl): Handle case where constraint
11776         is not a String.  Post event via system event queue.
11777         (remove): Post event via system event queue.
11778         (validateTree): Only validate child if it is invalid.
11779         (getAlignmentX): Call super method as default.
11780         (getAlignmentY): Likewise.
11781         (addContainerListener): Now synchronized.
11782         (removeContainerListener): Likewise.
11783         (addNotifyContainerChildren): Now private.
11784         * java/awt/ComponentOrientation.java: Updated copyright.  Added
11785         @author.
11786         * java/awt/FlowLayout.java (serialVersionUID): New field.
11787         (setAlignment): Better exception message.
11788         (layoutContainer): Don't compute component's preferred size unless
11789         we're going to use it.
11790         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11791         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11792         (firstLine, lastLine, firstItem, lastItem): New fields.
11793         (addLayoutComponent): Handle case where constraints is null.
11794         Also, handle relative locations.
11795         (removeLayoutComponent): Handle relative locations.
11796         (MIN, MAX, PREF): New constants.
11797         (calcCompSize): New method.
11798         (calcSize): New method.
11799         (minimumLayoutSize): Use it.
11800         (preferredLayoutSize): Likewise.
11801         (maximumLayoutSize): Likewise.
11802         (toString): Include more information.
11803         (setBounds): New method.
11804         (layoutContainer): Use libgcj implementation; extended to handle
11805         relative locations.
11806
11807 2002-01-15  Tom Tromey  <tromey@redhat.com>
11808
11809         * java/lang/Float.java (equals): Preserve old code.
11810         * java/lang/Double.java (equals): Preserve old code.
11811
11812 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
11813
11814         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11815         * java/lang/Float.java (equals, compare): Ditto.
11816
11817 2002-01-13  Mark Wielaard  <mark@klomp.org>
11818
11819         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11820         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11821         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11822         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11823
11824 2002-01-11  Mark Wielaard  <mark@klomp.org>
11825
11826         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11827         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11828         InetAddress.
11829         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11830         * java/net/Socket.java: Merge with Classpath.
11831         * java/net/ServerSocket.java: Likewise.
11832
11833 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
11834
11835         * interpret.cc (NULLARRAYCHECK): New macro.
11836         (SAVE_PC): Just store `pc'.
11837         (find_exception): Subtract one from `pc' here.
11838         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11839         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11840         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11841         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11842         don't call SAVE_PC.
11843         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11844         call SAVE_PC.
11845
11846 2002-01-11  Tom Tromey  <tromey@redhat.com>
11847
11848         * java/lang/natSystem.cc (init_properties): Only look for default
11849         locale if LC_MESSAGES is defined.
11850         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11851         * configure.in: Call AM_LC_MESSAGES.
11852         * acinclude.m4 (AM_LC_MESSAGES): New macro.
11853
11854 2002-01-10  Tom Tromey  <tromey@redhat.com>
11855
11856         For PR libgcj/5303:
11857         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11858         --version.  Recognize GNU-style long options.  Print GNU-style
11859         error messages.
11860         (usage): Print GNU-style help.  Exit with status 0.
11861         (error): New method.
11862         (run): Print error message if no class names found.
11863         (main): Don't print usage on error.
11864
11865 2002-01-09  Tom Tromey  <tromey@redhat.com>
11866
11867         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11868         property.
11869         (help, version): Use println(), not println("").
11870
11871         For PR libgcj/5303:
11872         * gnu/gcj/convert/Convert.java (error): Program is called
11873         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
11874         -1.
11875         (main): Handle --help and --version.
11876         (help): New method.
11877         (version): Likewise.
11878
11879 2002-01-08  Tom Tromey  <tromey@redhat.com>
11880
11881         * Makefile.in: Rebuilt.
11882         * Makefile.am (ordinary_java_source_files): Added new files.
11883         * gnu/java/locale/LocaleInformation.java: Extend
11884         LocaleInformation_en.
11885         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11886         and time/date formats.
11887         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11888         generated.
11889         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11890         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11891         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11892         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11893         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11894         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11895         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11896         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11897         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11898         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11899         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11900         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11901         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11902         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11903         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11904         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11905         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11906         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11907         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11908         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11909         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11910         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11911         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11912         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11913         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11914         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11915         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11916         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11917         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11918         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11919         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11920         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11921         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11922         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11923         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11924         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11925         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11926         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11927         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11928         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11929         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11930         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11931         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11932         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11933         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11934         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11935         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11936         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11937         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11938         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11939         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11940         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11941         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11942         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11943         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11944         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11945         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11946         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11947         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11948         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11949         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11950         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11951         * gnu/java/locale/LocaleInformation_es_US.java: New file.
11952         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11953         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11954         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11955         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11956         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11957         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11958         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11959         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11960         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11961         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11962         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11963         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11964         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11965         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11966         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11967         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11968         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11969         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11970         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11971         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11972         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11973         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11974         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11975         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11976         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11977         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11978         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11979         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11980         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11981         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11982         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11983         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11984         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11985         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11986         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11987         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11988         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11989         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11990         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11991         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11992         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11993         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11994         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11995         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11996         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11997         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11998         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11999         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12000         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12001         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12002         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12003         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12004         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12005         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12006         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12007         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12008         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12009         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12010         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12011         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12012         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12013         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12014         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12015         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12016         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12017         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12018         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12019
12020         For PR libgcj/5031:
12021         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12022         choose default locale.
12023
12024         * Makefile.in: Rebuilt.
12025         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12026
12027 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
12028
12029         * java/net/natPlainSocketImpl.cc: Added timeout handling for
12030         sockets.
12031         (close): New function closes the socket.
12032         (write): New functions for output to socket.
12033         (read): New functions for reading from socket.
12034         * java/net/PlainSocketImpl.java: Glue for new timeout
12035         implementation.
12036         (write): Call the native impl.
12037         (read): Likewise.
12038         (getInputStream): Get a stream to read from the socket.
12039         (getOutputStream): Get a stream to write to the socket.
12040
12041 2002-01-08  Tom Tromey  <tromey@redhat.com>
12042
12043         * resolve.cc (_Jv_PrepareClass): Enable verifier.
12044
12045 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
12046
12047         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12048         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12049
12050 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
12051
12052         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12053         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12054         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12055         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12056         insn_bastore, insn_castore, insn_sastore]: Use it.
12057         (continue1) [insn_arraylength]: Check for null array.
12058
12059 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12060
12061         * configure, include/config.h.in: Rebuilt.
12062         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12063         * configure.in: Call AC_STRUCT_TIMEZONE.
12064
12065 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12066
12067         * configure.host: Disable the interpreter for Darwin.
12068
12069 2002-01-04  Tom Tromey  <tromey@redhat.com>
12070
12071         * java/lang/Thread.java (stop): No longer synchronized.
12072         (start): Likewise.
12073
12074 2002-01-02  Tom Tromey  <tromey@redhat.com>
12075
12076         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12077         patch.
12078
12079 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
12080
12081         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12082         PPC Darwin, not for all of Darwin.