2006-06-09 Paolo Carlini <pcarlini@suse.de>
[official-gcc.git] / libjava / ChangeLog
blob838ecf3e3d349f9519fb90943db2d46836411d12
1 2006-06-09  Tom Tromey  <tromey@redhat.com>
3         PR libgcj/27730:
4         * java/lang/Thread.java (threadId): New field.
5         (nextThreadId): New static field.
6         (Thread): Initialize new field.
7         (getId): New method.
9 2006-06-09  Tom Tromey  <tromey@redhat.com>
11         * java/lang/Class.java (getClassLoaderInternal): Now native.
13 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
15         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
16         (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
17         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
18         Likewise.
19         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
20         Likewise.
22 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
24         * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
25         classpath/native/jni/qt-peer/eventmethods.h,
26         classpath/native/jni/qt-peer/qtmenupeer.cpp,
27         classpath/native/jni/qt-peer/.cvsignore,
28         classpath/native/jni/gtk-peer/gdkdisplay.h,
29         classpath/native/jni/gtk-peer/cairographics2d.h,
30         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
31         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
32         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
33         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
34         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
35         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
36         classpath/native/jni/gtk-peer/.cvsignore,
37         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
38         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
39         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
40         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
41         classpath/native/jni/gtk-peer/gtkpeer.h,
42         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
43         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
44         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
45         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
46         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
47         classpath/native/jni/gtk-peer/Makefile.am,
48         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
49         classpath/native/jawt/Makefile.am,
50         classpath/native/jawt/.cvsignore,
51         classpath/native/target/Linux/Makefile.in,
52         classpath/native/plugin/gcjwebplugin.cc,
53         classpath/native/plugin/Makefile.am,
54         classpath/native/plugin/.cvsignore,
55         classpath/resource/Makefile.in,
56         classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
57         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
58         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
59         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
60         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
61         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
62         classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
63         classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
64         classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
65         classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
66         classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
67         classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
68         classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
69         classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
70         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
71         classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
72         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
73         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
74         classpath/gnu/java/awt/peer/gtk/GtkImage.java,
75         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
76         classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
77         classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
78         classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
79         classpath/gnu/java/awt/peer/swing/SwingComponent.java,
80         classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
81         classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
82         classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
83         classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
84         classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
85         classpath/gnu/java/awt/print/JavaPrinterJob.java,
86         classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
87         classpath/gnu/java/awt/print/SpooledDocument.java,
88         classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
89         classpath/gnu/java/awt/BitwiseXORComposite.java,
90         classpath/gnu/java/awt/font/GNUGlyphVector.java,
91         classpath/gnu/java/awt/font/opentype/NameDecoder.java,
92         classpath/gnu/java/awt/java2d/RasterGraphics.java,
93         classpath/gnu/java/awt/java2d/TexturePaintContext.java,
94         classpath/gnu/java/awt/java2d/PolyEdge.java,
95         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
96         classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
97         classpath/gnu/java/awt/java2d/ImagePaint.java,
98         classpath/gnu/java/awt/Buffers.java,
99         classpath/gnu/classpath/Configuration.java.in,
100         classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
101         classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
102         classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
103         classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
104         classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
105         classpath/tools/toolwrapper.c,
106         classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
107         classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
108         classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
109         classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
110         classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
111         classpath/tools/gnu/classpath/tools/getopt/Messages.java,
112         classpath/tools/gnu/classpath/tools/getopt/Option.java,
113         classpath/tools/gnu/classpath/tools/getopt/Parser.java,
114         classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
115         classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
116         classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
117         classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
118         classpath/tools/gnu/classpath/tools/jarsigner/package.html,
119         classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
120         classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
121         classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
122         classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
123         classpath/tools/gnu/classpath/tools/keytool/Messages.java,
124         classpath/tools/gnu/classpath/tools/keytool/package.html,
125         classpath/tools/gnu/classpath/tools/keytool/Command.java,
126         classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
127         classpath/tools/gnu/classpath/tools/keytool/Main.java,
128         classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
129         classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
130         classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
131         classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
132         classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
133         classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
134         classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
135         classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
136         classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
137         classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
138         classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
139         classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
140         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
141         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
142         classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
143         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
144         classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
145         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
146         classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
147         classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
148         classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
149         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
150         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
151         classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
152         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
153         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
154         classpath/tools/gnu/classpath/tools/serialver/Messages.java,
155         classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
156         classpath/tools/gnu/classpath/tools/jar/Creator.java,
157         classpath/tools/gnu/classpath/tools/jar/Entry.java,
158         classpath/tools/gnu/classpath/tools/jar/Lister.java,
159         classpath/tools/gnu/classpath/tools/jar/Main.java,
160         classpath/tools/gnu/classpath/tools/jar/Updater.java,
161         classpath/tools/gnu/classpath/tools/jar/Messages.java,
162         classpath/tools/gnu/classpath/tools/jar/Extractor.java,
163         classpath/tools/gnu/classpath/tools/jar/Action.java,
164         classpath/tools/gnu/classpath/tools/jar/Indexer.java,
165         classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
166         classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
167         classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
168         classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
169         classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
170         classpath/tools/keytool.in, classpath/tools/appletviewer.in,
171         classpath/tools/.cvsignore, classpath/configure.ac,
172         classpath/javax/swing/JTabbedPane.java,
173         classpath/javax/swing/AbstractButton.java,
174         classpath/javax/swing/JViewport.java,
175         classpath/javax/swing/KeyboardManager.java,
176         classpath/javax/swing/JMenuItem.java,
177         classpath/javax/swing/JMenuBar.java,
178         classpath/javax/swing/MenuSelectionManager.java,
179         classpath/javax/swing/JOptionPane.java,
180         classpath/javax/swing/JSpinner.java,
181         classpath/javax/swing/JCheckBoxMenuItem.java,
182         classpath/javax/swing/JEditorPane.java,
183         classpath/javax/swing/JFormattedTextField.java,
184         classpath/javax/swing/JTree.java,
185         classpath/javax/swing/CellRendererPane.java,
186         classpath/javax/swing/JScrollPane.java,
187         classpath/javax/swing/tree/VariableHeightLayoutCache.java,
188         classpath/javax/swing/tree/TreeNode.java,
189         classpath/javax/swing/tree/FixedHeightLayoutCache.java,
190         classpath/javax/swing/tree/DefaultTreeCellEditor.java,
191         classpath/javax/swing/tree/TreePath.java,
192         classpath/javax/swing/tree/RowMapper.java,
193         classpath/javax/swing/tree/DefaultMutableTreeNode.java,
194         classpath/javax/swing/tree/DefaultTreeModel.java,
195         classpath/javax/swing/tree/AbstractLayoutCache.java,
196         classpath/javax/swing/tree/TreeSelectionModel.java,
197         classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
198         classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
199         classpath/javax/swing/tree/ExpandVetoException.java,
200         classpath/javax/swing/JList.java,
201         classpath/javax/swing/table/JTableHeader.java,
202         classpath/javax/swing/table/AbstractTableModel.java,
203         classpath/javax/swing/table/DefaultTableModel.java,
204         classpath/javax/swing/table/TableCellEditor.java,
205         classpath/javax/swing/table/TableCellRenderer.java,
206         classpath/javax/swing/ProgressMonitor.java,
207         classpath/javax/swing/JToolBar.java,
208         classpath/javax/swing/TransferHandler.java,
209         classpath/javax/swing/DefaultCellEditor.java,
210         classpath/javax/swing/DefaultButtonModel.java,
211         classpath/javax/swing/JLayeredPane.java,
212         classpath/javax/swing/text/DefaultEditorKit.java,
213         classpath/javax/swing/text/DefaultCaret.java,
214         classpath/javax/swing/text/FieldView.java,
215         classpath/javax/swing/text/JTextComponent.java,
216         classpath/javax/swing/text/TextAction.java,
217         classpath/javax/swing/text/StyleContext.java,
218         classpath/javax/swing/text/html/HTMLDocument.java,
219         classpath/javax/swing/text/html/MinimalHTMLWriter.java,
220         classpath/javax/swing/text/html/ImageView.java,
221         classpath/javax/swing/text/html/HTMLEditorKit.java,
222         classpath/javax/swing/text/AbstractWriter.java,
223         classpath/javax/swing/text/GapContent.java,
224         classpath/javax/swing/text/Utilities.java,
225         classpath/javax/swing/text/PlainView.java,
226         classpath/javax/swing/UIManager.java,
227         classpath/javax/swing/JSplitPane.java,
228         classpath/javax/swing/JComponent.java,
229         classpath/javax/swing/SwingUtilities.java,
230         classpath/javax/swing/border/AbstractBorder.java,
231         classpath/javax/swing/border/CompoundBorder.java,
232         classpath/javax/swing/border/TitledBorder.java,
233         classpath/javax/swing/border/MatteBorder.java,
234         classpath/javax/swing/border/BevelBorder.java,
235         classpath/javax/swing/RepaintManager.java,
236         classpath/javax/swing/JTable.java,
237         classpath/javax/swing/UIDefaults.java,
238         classpath/javax/swing/DefaultDesktopManager.java,
239         classpath/javax/swing/JMenu.java,
240         classpath/javax/swing/JLabel.java,
241         classpath/javax/swing/JSlider.java,
242         classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
243         classpath/javax/swing/plaf/basic/BasicButtonUI.java,
244         classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
245         classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
246         classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
247         classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
248         classpath/javax/swing/plaf/basic/BasicSliderUI.java,
249         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
250         classpath/javax/swing/plaf/basic/BasicComboPopup.java,
251         classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
252         classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
253         classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
254         classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
255         classpath/javax/swing/plaf/basic/BasicPanelUI.java,
256         classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
257         classpath/javax/swing/plaf/basic/BasicTreeUI.java,
258         classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
259         classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
260         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
261         classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
262         classpath/javax/swing/plaf/basic/BasicListUI.java,
263         classpath/javax/swing/plaf/basic/BasicIconFactory.java,
264         classpath/javax/swing/plaf/basic/BasicTextUI.java,
265         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
266         classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
267         classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
268         classpath/javax/swing/plaf/basic/BasicTableUI.java,
269         classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
270         classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
271         classpath/javax/swing/plaf/multi/MultiListUI.java,
272         classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
273         classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
274         classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
275         classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
276         classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
277         classpath/javax/swing/plaf/metal/MetalSliderUI.java,
278         classpath/javax/swing/plaf/metal/MetalIconFactory.java,
279         classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
280         classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
281         classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
282         classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
283         classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
284         classpath/javax/swing/plaf/metal/MetalBorders.java,
285         classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
286         classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
287         classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
288         classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
289         classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
290         classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
291         classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
292         classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
293         classpath/javax/swing/plaf/metal/MetalUtils.java,
294         classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
295         classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
296         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
297         classpath/javax/swing/JPopupMenu.java,
298         classpath/javax/swing/JProgressBar.java,
299         classpath/javax/swing/WindowConstants.java,
300         classpath/javax/swing/JFrame.java,
301         classpath/javax/swing/JFileChooser.java,
302         classpath/javax/swing/JComboBox.java,
303         classpath/javax/swing/event/EventListenerList.java,
304         classpath/javax/swing/ListSelectionModel.java,
305         classpath/javax/swing/JScrollBar.java,
306         classpath/java/text/SimpleDateFormat.java,
307         classpath/java/text/NumberFormat.java,
308         classpath/java/text/class-dependencies.conf,
309         classpath/java/awt/image/ColorModel.java,
310         classpath/java/awt/image/BufferedImage.java,
311         classpath/java/awt/Window.java,
312         classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
313         classpath/java/awt/LightweightDispatcher.java,
314         classpath/java/awt/EventDispatchThread.java,
315         classpath/java/awt/BasicStroke.java,
316         classpath/java/awt/ColorPaintContext.java,
317         classpath/java/awt/Container.java,
318         classpath/java/awt/TexturePaint.java,
319         classpath/java/awt/Component.java, classpath/java/awt/Font.java,
320         classpath/java/awt/GraphicsConfiguration.java,
321         classpath/java/awt/DefaultKeyboardFocusManager.java,
322         classpath/java/awt/print/PrinterJob.java,
323         classpath/java/awt/im/InputContext.java,
324         classpath/java/awt/dnd/DragGestureRecognizer.java,
325         classpath/java/awt/Toolkit.java,
326         classpath/java/awt/font/GraphicAttribute.java,
327         classpath/java/awt/font/ImageGraphicAttribute.java,
328         classpath/java/awt/font/GlyphVector.java,
329         classpath/java/awt/font/GlyphMetrics.java,
330         classpath/java/awt/font/ShapeGraphicAttribute.java,
331         classpath/java/awt/Graphics2D.java,
332         classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
333         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
334         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
335         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
336         classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
337         classpath/include/config.h.in,
338         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
339         classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
340         classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
341         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
342         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
343         classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
344         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
345         classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
346         Merge from GNU Classpath HEAD.
348 2006-06-08  Tom Tromey  <tromey@redhat.com>
350         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
351         Set gnu.gcj.user.realname.
353 2006-06-09  Andreas Tobler  <a.tobler@schweiz.ch>
355         * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
357 2006-06-07  Andrew Haley  <aph@redhat.com>
359         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
360         (_Jv_Linker::uaddr): New.
361         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
362         instead of an open-coded loop around search_method_in_class.
363         (search_method_in_class): Add a new arg, check_perms.
364         (search_method_in_superclasses): New.
365         (link_symbol_table): Call maybe_adjust_signature() to extract the
366         least significnt bit of the signature pointer.  Do this three
367         times, for instace method calls, static methods, and interfaces.
368         Call search_method_in_superclasses() instead of
369         _Jv_LookupDeclaredMethod.
370         (typedef uaddr): Delete.
371         
372 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
374         * scripts/makemake.tcl (emit_bc_rule): Do not skip
375         gnu-java-awt-peer-qt.lo.
376         * configure.ac (QT_AWT): Remove conditional.
377         Do not add gnu/java/awt/peer/qt to standard.omit.
378         * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
379         in GCJ's versioned library directory.
380         * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
381         Load libqtpeer.so unconditionally.
382         * gij.cc (main): Do not re-exec gij.
383         * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
384         (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
385         when linking gij.
387 2006-06-06  David Daney  <ddaney@avtrex.com>
389         * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
390         (showRaw): New method.
391         * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
392         (getLineNumberForFrame): Show IP offset in trace if line number
393         not available and show_raw true.
395 2006-06-06  Gary Benson  <gbenson@redhat.com>
397         * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
398         * configure.ac: Remove realpath check and add checks for
399         lstat and readlink.
400         * configure: Rebuilt.
401         * include/config.h.in: Likewise.
402         * java/io/File.java: Javadoc fix.
404 2006-06-05  Andreas Schwab  <schwab@suse.de>
406         PR libgcj/27860
407         * link.cc: Check for closure support in libffi with FFI_CLOSURES.
409 2006-06-05  Tom Tromey  <tromey@redhat.com>
411         PR libgcj/27892:
412         * gij.cc (main): Use putenv.
414 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
416         * scripts/jar.in: Ensure return with argument has non-empty argument.
418 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
420         * configure.ac (ZIP, UNZIP): New programs.
421         (JAR): Fall back to bash script.  Generate it.
422         (BASH_JAR): New conditional.
423         * Makefile.am (bin_SCRIPTS): New.
424         * scripts/jar.in: New file.
426 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
428         * gnu/java/lang/MainThread (run): Revert exception chaining change.
430 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
432         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
433         name, not Latin1.
434         * gnu/java/lang/MainThread.java (run): Allow file separator char to
435         be used in place of '.' as class-name separator. Don't chain
436         ClassNotFoundException.
438 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
440         * java/lang/VMClassLoader.java (initialize): Set default library
441         control to LIB_NEVER.
443 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
445         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
446         interpreted classes.
448 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
450         * scripts/makemake.tcl (emit_bc_rule): Do not skip
451         gnu-java-awt-peer-gtk.lo.
452         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
453         ABI for gnu/java/awt/peer/gtk package.
454         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
455         New function.
456         (insertSystemProperties): Only set java.ext.dirs if it is not
457         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
458         path where necessary.
459         * configure.ac (GTK_AWT): Remove automake conditional.
460         Do not add gnu/java/awt/peer/gtk to standard.omit.
461         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
462         declaration.
463         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
464         and re-exec self.
465         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
466         PATH_SEPARATOR macros.
467         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
468         * prims.cc (_Jv_PrependVersionedLibdir): New function.
470 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
472         * java/lang/natThread.cc (countStackFrames): Do not throw
473         UnsupportedOperationException.
474         (resume): Likewise.
475         (stop): Likewise.
476         (suspend): Likewise.
478 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
480         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
481         * configure: Rebuilt.
482         * include/config.h.in: Likewise.
483         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
484         <sys/rw_lock.h>.
486 2006-05-24  Tom Tromey  <tromey@redhat.com>
488         PR libgcj/27024:
489         * sources.am, Makefile.in: Rebuilt.
490         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
491         * java/net/URLConnection.java: Removed.
493 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
495         * Makefile.am: Add install-html target. Add install-html to .PHONY
496         * Makefile.in: Regenerate.
497         * aclocal.m4: Regenerate.
498         * gcj/Makefile.in: Regenerate.
499         * include/Makefile.in: Regenerate.
500         * testsuite/Makefile.in: Regenerate.
502 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
504         * testsuite/libjava.lang/stacktrace.java: New file.
505         * testsuite/libjava.lang/stacktrace.out: Likewise.
507 2006-05-24  Tom Tromey  <tromey@redhat.com>
509         * sources.am, Makefile.in: Rebuilt.
510         * scripts/makemake.tcl: Accept -verbose command-line option.
511         (is_verbose): New global.
512         (verbose): Use it.
513         (classify_source_file): Don't special case '.' for 'package'
514         type.
516 2006-05-24  Tom Tromey  <tromey@redhat.com>
518         PR libgcj/27729:
519         * java/lang/reflect/natField.cc (getAddr): Added parens.
520         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
521         Renamed.  Don't mask flags.
522         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
523         constant.
524         (getModifiersInternal): Renamed.
525         (getModifiers): Rewrote.
526         (isSynthetic, isVarArgs): New methods.
527         (hashCode): Rewrote.
528         (addTypeParameters, toGenericString): New methods.
529         (getTypeParameters): Rewrote.
530         (getSignature): New method.
531         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
532         * java/lang/reflect/natMethod.cc (getModifiersInternal):
533         Renamed.  Don't mask flags.
534         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
535         Don't mask flags.
536         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
537         ENUM): New constants.
538         (INVISIBLE): Changed value.
539         * java/lang/reflect/Method.java: Mostly merged with Classpath.
540         (getModifiersInternal): Renamed.
541         (getModifiers): Rewrote.
542         (isBridge, isSynthetic, isVarArgs): New methods.
543         (toGenericString): Likewise.
544         (getTypeParameters): Likewise.
545         (getSignature): Likewise.
546         (getGenericExceptionTypes, getGenericParameterTypes,
547         getGenericReturnType): Likewise.
548         (METHOD_MODIFIERS): New constant.
549         * java/lang/reflect/Field.java: Mostly merged with Classpath.
550         Added javadoc everywhere.
551         (getModifiersInternal): Renamed.
552         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
553         (toGenericString): New method.
554         (getGenericType, getSignature): Likewise.
555         (FIELD_MODIFIERS): New constant.
557 2006-05-24  Tom Tromey  <tromey@redhat.com>
559         PR libgcj/27731:
560         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
561         tanh): New methods.
562         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
563         tanh): Declare.
565 2006-05-22  Mark Wielaard  <mark@klomp.org>
567         * HACKING: Update GNU Classpath import instructions.
569 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
571         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
572         signature as MAYBE_UNUSED for HAVE_TLS == 0.
573         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
574         HAVE_TLS == 0.
576 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
577             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
579         * configure.ac: Add the POSIX thread libs to the HP-UX PA
580         configuration. Add signal specification for HP-UX PA.
581         * configure: Rebuilt.
582         * configure.host: Add defaults for the HP-UX PA architecture.
583         Add descriptor files for HP-UX PA 32-bit and 64-bit.
584         * include/hppa-signal.h: New file.
585         * include/posix.h: Add shared library suffix for HP-UX.
586         * sysdep/pa/descriptor-pa32-hpux.h: New file.
587         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
589 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
591         * ChangeLog: Correct incorrect GNU Classpath version in the
592         entry for the latest import.
594 2006-05-18  Tom Tromey  <tromey@redhat.com>
596         * source.am, Makefile.in: Rebuilt.
597         * Makefile.am (property_files): Removed.
598         * scripts/makemake.tcl (properties_map): New global.
599         (properties_files): Likewise.
600         (emit_property_files): New proc.
601         (scan_packages): Scan META-INF.
602         Print property_files variable.  Scan classpath/resource.
604 2006-05-18  Tom Tromey  <tromey@redhat.com>
606         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
607         Renamed.
608         (gcj_write_and_byte_compile): New proc.
609         (gcj_special_lazy_illegal_access): Likewise.
611 2006-05-18  Mark Wielaard  <mark@klomp.org>
613         Imported GNU Classpath 0.91
614         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
616         * sources.am: Regenerated.
617         * gcj/javaprims.h: Regenerated.
618         * Makefile.in: Regenerated.
619         * gcj/Makefile.in: Regenerated.
620         * include/Makefile.in: Regenerated.
621         * testsuite/Makefile.in: Regenerated.
623         * gnu/java/lang/VMInstrumentationImpl.java: New override.
624         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
625         * gnu/classpath/jdwp/VMMethod.java: Likewise.
626         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
627         interface.
628         * java/lang/Thread.java: Add UncaughtExceptionHandler.
629         * java/lang/reflect/Method.java: Implements GenericDeclaration and
630         isSynthetic(),
631         * java/lang/reflect/Field.java: Likewise.
632         * java/lang/reflect/Constructor.java
633         * java/lang/Class.java: Implements Type, GenericDeclaration,
634         getSimpleName() and getEnclosing*() methods.
635         * java/lang/Class.h: Add new public methods.
636         * java/lang/Math.java: Add signum(), ulp() and log10().
637         * java/lang/natMath.cc (log10): New function.
638         * java/security/VMSecureRandom.java: New override.
639         * java/util/logging/Logger.java: Updated to latest classpath
640         version.
641         * java/util/logging/LogManager.java: New override.
643 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
645         PR libgcj/27352
646         * java/lang/Class.java (getClassLoaderInternal): New method.
647         (forName (String, Class)): Use getClassLoaderInternal.
648         (getPackage): Likewise.
649         (getResource): Likewise.
650         (getResourceAsStream): Likewise.
651         (desiredAssertionStatus): Likewise.
653 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
655         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
656         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
657         klass->methods[j].ncode.
659 2006-05-13  Tom Tromey  <tromey@redhat.com>
661         * sources.am, Makefile.in: Rebuilt.
662         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
663         natChannels.cc.
664         * java/nio/channels/natVMChannels.cc: Renamed from
665         natChannels.cc.
666         * java/nio/channels/Channels.java: Removed.
667         * java/nio/channels/natChannels.cc: Removed.
668         * java/nio/channels/VMChannels.java: New file.
670 2006-05-13  Tom Tromey  <tromey@redhat.com>
672         * sources.am, Makefile.in: Rebuilt.
673         * java/text/DateFormat.java: Removed.
675 2006-05-13  Tom Tromey  <tromey@redhat.com>
677         * sources.am, Makefile.in: Rebuilt.
678         * gnu/java/net/protocol/jar/Connection.java: Removed.
679         * java/net/JarURLConnection.java: Removed.
681 2006-05-13  Tom Tromey  <tromey@redhat.com>
683         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
684         declaration.
686 2006-05-12  Tom Tromey  <tromey@redhat.com>
688         * sources.am, Makefile.in: Rebuilt.
689         * java/util/logging/LogManager.java: Removed.
690         * java/util/logging/Logger.java (resetLogger): New method, from
691         Classpath.
692         * java/io/RandomAccessFile.java: Removed.
693         * gnu/java/nio/channels/FileChannelImpl.java (create): New
694         method.
695         (FileChannelImpl): Now private.
696         * java/io/FileInputStream.java: Removed.
697         * java/io/FileOutputStream.java: Removed.
698         * java/security/AccessControlContext.java: Removed.
699         * java/lang/ThreadLocal.java: Removed.
700         * java/lang/InheritableThreadLocal.java: Removed.
701         * java/lang/Thread.java (locals): New field.
702         (getThreadLocals): New method.
703         * java/lang/natThread.cc (finish_): Clear 'locals'.
705 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
707         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
708         fails, don't try again.
709         (use_addr2line): Field no longer final.
711 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
713         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
714         (lookup): If addr2line fails to find an address, flag the binary as
715         having no debug info and avoid calling addr2line on it again.
717 2006-05-11  David Daney  <ddaney@avtrex.com>
719         * testsuite/libjava.compile/PR20418.java: New.
720         * testsuite/libjava.compile/PR20418.xfail: New.
722 2006-05-11  Andrew Haley  <aph@redhat.com>
724         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
725         line.
727 2006-05-10  Andrew Haley  <aph@redhat.com>
729         * java/lang/natClassLoader.cc: Add comments.
731 2006-05-09  Andrew Haley  <aph@redhat.com>
733         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
734         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
735         Remove body.
736         (_Jv_CompiledEngine::allocate_field_initializers): New.
737         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
738         allocate_field_initializers.
739         (class _Jv_IndirectCompiledClass): New.
740         (struct _Jv_IndirectCompiledEngine): New.
741         * java/lang/Class.h: (IndirectCompiledEngine): New.
742         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
743         engine to _Jv_soleIndirectCompiledEngine
744         * link.cc (ensure_fields_laid_out): Call
745         engine->allocate_field_initializers().
747 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
749         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
750         HP-UX and add appropriate extension for shared libraries, sl.
751         (gcj_jni_test_one): Likewise.
753         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
754         library extensions.
756 2006-05-05  Tom Tromey  <tromey@redhat.com>
758         PR libgcj/27294:
759         * java/lang/natVMClassLoader.cc (defineClass): Throw
760         VirtualMachineError if no interpreter configured.
762 2006-05-03  Andrew Haley  <aph@redhat.com>
764         PR libgcj/27352
765         * java/lang/Class.java (getClassLoader(Class)): New.
766         forName(String, Class): New.
767         * java/lang/natClass.cc (getClassLoader(Class)): New.
769 2006-05-02  Andrew Haley  <aph@redhat.com>
771         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
773 2006-05-04  Tom Tromey  <tromey@redhat.com>
775         PR libgcj/26861:
776         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
777         <insn_putfield>: Likewise.
778         (NULLCHECK): Define unconditionally.
779         * link.cc (ensure_class_linked): Removed dead code.
781 2006-05-04  Tom Tromey  <tromey@redhat.com>
783         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
784         * Makefile.in: Rebuilt.
785         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
786         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
787         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
788         New field.
789         (loadedClasses): Removed.
790         (findClass): Declare.
791         (addClass): Add to nativeClasses, not loadedClasses.
793 2006-05-04  Andrew Haley  <aph@redhat.com>
795         PR java/26858
796         * testsuite/libjava.lang/PR26858.xfail: Delete.
798 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
800         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
801         -findirect-dispatch compilation.
803 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
805         * configure.ac: Simplify the mmap check a bit more.
806         * configure: Rebuilt.
807         * include/config.h.in: Likewise.
809 2006-05-01  Roger Sayle  <roger@eyesopen.com>
810             Andrew Haley  <aph@redhat.com>
812         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
813         before calling GC_register_has_static_roots_callback.
814         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
815         HAVE_DLADDR before calling dladdr.
817 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
819         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
820         to resolve_method.
821         * interpret.cc (insn_invokevirtual): Use method->index, not
822         vtable_index. Check accflag FINAL to determine finals. Only do
823         explicit null check if calling a final method. Use
824         throw_null_pointer_exception.
825         (invokevirtual_resolved): Likewise.
826         (null_pointer_exc): Remove static field.
827         (throw_null_pointer_exception): Always define. Throw a new
828         NullPointerException every time.
829         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
830         field.
831         * include/execution.h (resolve_method): Remove vtable_index argument.
833 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
835         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
836         * configure: Rebuilt.
838 2006-04-25  Tom Tromey  <tromey@redhat.com>
840         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
841         Include platform.h.  Set GC_DEBUG before including gc.h, if
842         needed.
844 2006-04-25  Andrew Haley  <aph@redhat.com>
846         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
847         * boehm.cc: Don't include link.h.
848         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
850 2006-04-24  Tom Tromey  <tromey@redhat.com>
852         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
854 2006-04-21  Andrew Haley  <aph@redhat.com>
856         * include/execution.h (struct _Jv_CompiledEngine): Define for
857         compiled classes.
858         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
859         _Jv_RegisterLibForGc.
860         (_Jv_RegisterClasses_Counted): Likewise.
861         (_Jv_NewClassFromInitializer): New.
862         (_Jv_RegisterNewClasses): New.
863         * sources.am: Regenerate.
864         * boehm.cc (_Jv_GC_has_static_roots): new.
865         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
866         (filename_node, find_file, _Jv_print_gc_store, new_node,
867         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
868         * scripts/makemake.tcl: Add -fno-indirect-classes.
869         * Makefile.in: Regenerate.
870         * link.cc (resolve_pool_entry): Allocate constant pool.
871         Allocate fields.
872         
873 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
875         * configure.ac: Weaken the check for MMAP.
876         * configure: Rebuilt.
877         * include/config.h.in: Likewise.
879 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
881         PR libgcj/27170
882         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
883         dlopen(). From Anthony Green.
885 2006-04-20  Tom Tromey  <tromey@redhat.com>
887         PR libgcj/21941:
888         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
889         UnknownHostException if needed.
890         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
891         UnknownHostException if needed.
893 2006-04-19  Tom Tromey  <tromey@redhat.com>
895         * Makefile.in: Rebuilt.
896         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
897         all_java_deps_files.
899 2006-04-19  Tom Tromey  <tromey@redhat.com>
901         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
902         handle EINTR.
904 2006-04-17  Tom Tromey  <tromey@redhat.com>
906         PR libgcj/27171:
907         * testsuite/libjava.lang/pr27171.java: New file.
908         * testsuite/libjava.lang/pr27171.out: New file.
909         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
910         true if we've seen a high surrogate.
911         (write): Handle high surrogates at the end of the stream.
912         Properly emit isolated low surrogates.
914 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
916         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
917         of failure.
919 2006-04-13  Tom Tromey  <tromey@redhat.com>
921         PR libgcj/26522:
922         * Makefile.in: Rebuilt.
923         * Makefile.am (libsubdir): New variable.
925 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
927         PR libgcj/23829
928         * configure.ac: Link against -lpthread rather than -lc_r on
929         FreeBSD 5 and above.
930         * configure: Regenerate.
932 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
934         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
935         of package-private field "loadedClasses" using reflection.
936         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
937         block.
939 2006-04-10  Matthias Klose  <doko@debian.org>
941         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
942         directory names containing underscores.
944 2006-04-10  Andrew Haley  <aph@redhat.com>
946         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
947         (SIGNAL_HANDLER): Mark arg as unused.
948         * configure.host (x86_64-* DIVIDESPEC): Use
949         fno-use-divide-subroutine.
951 2006-04-07  Andrew Haley  <aph@redhat.com>
953         * java/net/InetAddress.java: Throw an UnknownHostException if
954         lookup fails.
956 2006-04-05  Tom Tromey  <tromey@redhat.com>
958         PR libgcj/26625:
959         * Makefile.in: Rebuilt.
960         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
961         classpath/lib/compile-classes.
963 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
965         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
966         MinGW since EBP is used for backtracking through call frames on this
967         platform.
969 2006-04-05  Archit Shah  <ashah@redhat.com>
971         PR java/25414
972         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
973         Add classpath argument.
974         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
975         caller.
976         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
977         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
978         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
979         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
980         mkdirs for destination directory, correct handling of superclasses
981         and interfaces of the remote class, correct handling of exceptions
982         declared by remote methods.
984 2006-04-04  Tom Tromey  <tromey@redhat.com>
986         PR libgcj/26990:
987         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
988         * gnu/java/lang/natMainThread.cc (call_main): Use
989         exitNoChecksAccessor.
990         * testsuite/libjava.lang/pr26990.out: New file.
991         * testsuite/libjava.lang/pr26990.java: New file.
992         * java/lang/Runtime.java (exitNoChecks): New method.
993         (exitNoChecksAccessor): Likewise.
994         (exit): Call exitNoChecks.
996 2006-04-03  Tom Tromey  <tromey@redhat.com>
998         * Makefile.in: Rebuilt.
999         * Makefile.am (ZIP): Removed.
1000         (libgcj-$(gcc_version).jar): Use $(JAR).
1001         (src.zip): Likewise.
1002         * configure: Rebuilt.
1003         * configure.ac: Check for jar.  Removed code to set ZIP.
1005 2006-04-03  Andrew Haley  <aph@redhat.com>
1007         * testsuite/libjava.lang/Float_2.java: New file.
1009 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
1011         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
1013 2006-03-30  Tom Tromey  <tromey@redhat.com>
1015         PR java/26042:
1016         * testsuite/libjava.compile/pr26042.java: New file.
1018 2006-03-29  Tom Tromey  <tromey@redhat.com>
1020         * sources.am, Makefile.in: Rebuilt.
1021         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
1023 2006-03-29  Tom Tromey  <tromey@redhat.com>
1025         PR java/26390:
1026         * testsuite/libjava.lang/pr26390.out: New file.
1027         * testsuite/libjava.lang/pr26390.java: New file.
1028         * sources.am, Makefile.in: Rebuilt.
1029         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
1031 2006-03-29  Tom Tromey  <tromey@redhat.com>
1033         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
1034         CLOCK_HIGHRES.
1036 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
1038         * scripts/unicode-muncher.pl: Removed this file.
1039         * scripts/MakeCharTables.java: Likewise.
1040         * scripts/unicode-to-chartables.pl: New file.
1041         * java/lang/natCharacter.cc: 
1042         (UNASSIGNED_TYPE): New field.
1043         (UNASSIGNED_DIGIT): Likewise.
1044         (UNASSIGNED_DIRECTION): Likewise.
1045         (UNASSIGNED_NUMERIC_VALUE): Likewise.
1046         (PRIVATE_TYPE): Likewise.
1047         (PRIVATE_DIRECTION): Likewise.
1048         (readCodePoint): New method.
1049         (getType(jint)): Likewise.
1050         (toLowerCase(jint)): Likewise.
1051         (toUpperCase(jint)): Likewise.
1052         (toTitleCase(jint)): Likewise.
1053         (digit(jint, jint)): Likewise.
1054         (getNumericValue(jint)): Likewise.
1055         (getDirectionality(jint)): Likewise.
1056         (readChar),
1057         (getType(jchar)),
1058         (toLowerCase(jchar)),
1059         (toUpperCase(jchar)),
1060         (toTitleCase(jchar)),
1061         (digit(jchar, jint)),
1062         (getNumericValue(jchar)),
1063         (getDirectionality(jchar)): Changed references from data to data[0], 
1064         blocks to blocks[0], direction to direction[0], numValue to 
1065         numValue[0], upper to upper[0], lower to lower[0], and shift to 
1066         shift[0] to reflect the new structures in java-chartables.h.    
1067         * java/lang/Character.java:
1068         (readCodePoint): Declared new native method.
1069         (getType(int)): Likewise.
1070         (toLowerCase(int)): Likewise.
1071         (toUpperCase(int)): Likewise.
1072         (toTitleCase(int)): Likewise.
1073         (digit(int, int)): Likewise.
1074         (getNumericValue(int)): Likewise.
1075         (getDirectionality(int)): Likewise.
1076         (isLowerCase(int)): New method.
1077         (isUpperCase(int)): Likewise.
1078         (itTitleCase(int)): Likewise.
1079         (isDigit(int)): Likewise.
1080         (isDefined(int)): Likewise.
1081         (isLetter(int)): Likewise.
1082         (isLetterOrDigit(int)): Likewise.
1083         (isJavaIdentifierStart(int)): Likewise.
1084         (isJavaIdentifierPart(int)): Likewise.
1085         (isUnicodeIdentifierStart(int)): Likewise.
1086         (isUnicodeIdentifierPart(int)): Likewise.
1087         (isIdentifierIgnorable(int)): Likewise.
1088         (isSpaceChar(int)): Likewise.
1089         (isWhitespace(int)): Likewise.
1090         (isISOControl(int)): Likewise.
1091         (isMirrored(int)): Likewise.
1092         * include/java-chartables.h: Generated from 
1093         scripts/unicode-to-chartables.h.
1095 2006-03-24  David Daney  <ddaney@avtrex.com)
1097         * testsuite/libjava.lang/PR26858.java: New test.
1098         * testsuite/libjava.lang/PR26858.out: Ditto.
1099         * testsuite/libjava.lang/PR26858.xfail: Ditto.
1101 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
1103         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
1104         macro.
1105         
1106 2006-03-15  Tom Tromey  <tromey@redhat.com>
1108         * testsuite/libjava.jacks/jacks.xfail: Removed
1109         13.1-runtime-method-5.
1111 2006-03-15  Tom Tromey  <tromey@redhat.com>
1113         PR java/26638:
1114         * link.cc (get_interfaces): Skip <clinit>.
1115         (append_partial_itable): Likewise.
1117 2006-03-10  Tom Tromey  <tromey@redhat.com>
1119         PR libgcj/25713:
1120         * java/util/zip/Deflater.java (flush): New method.
1121         * sources.am, Makefile.in: Rebuilt.
1122         * java/util/zip/DeflaterOutputStream.java: Removed.
1123         * java/util/zip/InflaterInputStream.java: Likewise.
1124         * java/util/zip/GZIPInputStream.java: Likewise.
1125         * java/util/zip/GZIPOutputStream.java: Likewise.
1127 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
1129         * include/powerpc-signal.h: Fix typo in comment.
1131 2006-03-09  Mark Wielaard  <mark@klomp.org>
1133         Imported GNU Classpath 0.90
1134         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
1135         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
1136         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
1137         * java/lang/Math.java: New override file.
1138         * java/lang/Character.java: Merged from Classpath.
1139         (start, end): Now 'int's.
1140         (canonicalName): New field.
1141         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
1142         (UnicodeBlock): Added argument.
1143         (of): New overload.
1144         (forName): New method.
1145         Updated unicode blocks.
1146         (sets): Updated.
1147         * sources.am: Regenerated.
1148         * Makefile.in: Likewise.
1150 2006-03-09  Tom Tromey  <tromey@redhat.com>
1152         PR libgcj/23495:
1153         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
1154         (equals): Use memcmp.
1155         (contentEquals): Likewise.
1156         (getChars): Use memcpy.
1157         (toCharArray): Likewise.
1158         (regionMatches): Use memcmp.
1159         (regionMatches): Likewise.
1160         (startsWith): Likewise.
1161         (concat): Use memcpy.
1162         (valueOf): Likewise.
1164 2006-03-09  Tom Tromey  <tromey@redhat.com>
1166         * configure: Rebuilt.
1167         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
1168         well.
1170 2006-03-09  Tom Tromey  <tromey@redhat.com>
1172         PR libgcj/24461:
1173         * java/util/zip/InflaterInputStream.java (fill): Throw exception
1174         if stream is truncated.
1176 2006-03-09  Tom Tromey  <tromey@redhat.com>
1178         * win32.cc (_Jv_platform_nanotime): New function.
1179         * include/win32.h (_Jv_platform_nanotime): Declare.
1180         * posix.cc (_Jv_platform_nanotime): New function.
1181         * include/posix.h (_Jv_platform_nanotime): Declare.
1182         * java/lang/natSystem.cc (nanoTime): New method.
1183         * java/lang/System.java (nanoTime): Declare.
1184         * include/config.h.in, configure: Rebuilt.
1185         * configure.ac: Check for clock_gettime.
1187 2006-03-08  David Daney  <ddaney@avtrex.com>
1189         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
1190         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
1191         (LD_FINISH_STATIC_SPEC): Ditto
1192         * configure: Regenerated.
1193         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
1194         LD_FINISH_STATIC_SPEC.
1195         
1196 2006-03-07  Tom Tromey  <tromey@redhat.com>
1198         PR libgcj/26103:
1199         * java/lang/ClassLoader.java (loadClass): Don't throw
1200         StringIndexOutOfBoundsException if name is empty.
1201         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
1202         if class not found.
1204 2006-03-07  David Daney  <ddaney@avtrex.com>
1206         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
1208 2006-03-07  David Daney  <ddaney@avtrex.com>
1210         * link.cc: Include ffi.h if USE_LIBFFI defined.
1211         
1212 2006-03-03  Tom Tromey  <tromey@redhat.com>
1214         * interpret.cc (do_allocate_static_fields): Added comment.
1216 2006-03-01  Tom Tromey  <tromey@redhat.com>
1218         PR java/24321:
1219         * testsuite/libjava.lang/pr24321.java: New file.
1220         * testsuite/libjava.lang/pr24321.out: New file.
1221         * java/lang/natClass.cc (isInstance): Don't initialize class.
1222         (isAssignableFrom): Likewise.
1224 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
1226         PR other/26208
1227         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
1228         of _Unwind_GetIP.
1229         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
1230         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
1231         to throw.
1232         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
1233         macro.
1234         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
1235         macro.
1237 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
1239         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
1240         before returning, handle null clip.
1241         (getClipBounds): Handle null clip.
1242         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
1243         * gnu/awt/xlib/XCanvasPeer.java (): 
1244         (getLocationOnScreen): Implement.
1245         * classpath/gnu/java/awt/peer/GLightweightPeer.java
1246         (repaint): Merged with Classpath.
1247         * classpath/java/awt/Graphics.java (hitClip): Merged with
1248         Classpath.
1250 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
1252         * link.cc: Added variant of create_error_method that
1253         will not complain about unused parameter if compiled with
1254         USE_LIBFFI not being defined.
1255         (_Jv_Linker::find_field_helper): Fixed indentation.
1256         (_Jv_Linker::create_error_method): Fixed indentation.
1257         (_Jv_Linker::link_symbol_table): Fixed indentation.
1259 2006-02-16  Andrew Haley  <aph@redhat.com>
1261         * stacktrace.cc (GetStackTraceElements): Call
1262         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
1263         non-Java frames should be removed from a printed stack trace.
1264         Pass methodName to getLineNumberForFrame().
1265         (getLineNumberForFrame): Set method_name from info.dli_sname.
1266         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
1267         (remove_unknown): New variable.
1268         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
1269         Add methodName arg.
1271 2006-02-15  Matthias Klose  <doko@debian.org>
1273         * gnu/java/nio/charset, gnu/java/net/protocol/file,
1274         gnu/regexp: Remove empty directories.
1276 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
1278         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
1279         'itable' inline, instead of as a pointer.
1280         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
1281         * link.cc (null_idt): Update definition.
1282         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
1283         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
1284         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
1285         (_Jv_Linker::find_iindex): Likewise. Update comment.
1286         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
1287         _Jv_IDispatchTable change.
1288         (_Jv_IsAssignableFrom): Likewise.
1290 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
1292         PR libgcj/25187:
1293         * gnu/gcj/io/natSimpleSHSStream.cc
1294         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
1295         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
1296         _Jv_InterpFrame(). 
1297         * boehm.cc: #undef some autoconf macros before including gc-config.h.
1298         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
1299         (_Jv_MarkArray): Likewise.
1300         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
1301         Simplify _Jv_GCRegisterDisappearingLink() call.
1302         * java/lang/Class.h (getComponentType): Use element_type.
1303         (element_type): New field declaration, as a union with "methods".
1304         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
1305         * java/net/natVMNetworkInterfacePosix.cc
1306         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
1307         avoid sign comparison warning.  
1308         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
1309         argument, not parent call frame.
1310         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
1311         without a cast.
1312         (restore_rt): Declare with hidden visibility, not "static".
1313         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
1314         constant.
1315         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
1316         warning.
1318 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
1320         PR libgcj/26113:
1321         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
1322         as "const char *".
1323         * verify.cc (verify_fail): Likewise.
1324         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
1325         * interpret.cc (throw_internal_error, throw_class_format_error):
1326         Likewise.
1327         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
1328         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
1329         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
1330         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
1331         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
1332         is_attribute_name): Likewise.
1333         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
1334         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
1336 2006-02-08  Tom Tromey  <tromey@redhat.com>
1338         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
1339         * defineclass.cc (parse): Use _Jv_AllocRawObj.
1340         (read_constpool): Likewise.
1341         (read_one_code_attribute): Use internal function name.
1342         (handleConstantPool): Use _Jv_AllocRawObj.
1343         (handleInterfacesBegin): Likewise.
1344         (handleFieldsBegin): Likewise.
1345         (handleMethodsBegin): Likewise.
1346         (handleCodeAttribute): Likewise.
1347         (handleMethodsEnd): Likewise.
1348         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
1349         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
1350         Allocate reference fields separately.
1351         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
1352         (add_miranda_methods): Likewise.
1353         (generate_itable): Use _Jv_AllocBytes.
1354         (find_iindex): Likewise.
1355         (struct method_closure): New structure.
1356         (create_error_method): Use struct method_closure; allocate with
1357         _Jv_AllocBytes.
1358         (ensure_fields_laid_out): Separate reference fields from
1359         non-reference fields.
1360         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
1361         of Class.
1362         (_Jv_MarkArray): Mark vtable.
1363         (_Jv_AllocRawObj): Don't allocate objects of size 0.
1364         * include/execution.h
1365         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
1366         parameter.
1367         (struct _Jv_CompiledEngine): Updated.
1368         (class _Jv_InterpreterEngine): Updated.
1370 2006-02-08  Tom Tromey  <tromey@redhat.com>
1372         PR java/22578:
1373         * gcj/javaprims.h: Updated.
1374         * sources.am, Makefile.in: Rebuilt.
1375         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
1376         (doubleToRawLongBits): Likewise.
1377         (longBitsToDouble): Likewise.
1378         (toString): Likewise.
1379         (parseDouble): Likewise.
1380         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
1381         (floatToRawIntBits): Likewise.
1382         (intBitsToFloat): Likewise.
1383         * java/lang/VMDouble.java: New file.
1384         * java/lang/VMFloat.java: New file.
1385         * java/lang/Float.java, java/lang/Double.java: Removed.
1387 2006-02-06  Tom Tromey  <tromey@redhat.com>
1389         * gij.cc (version): Use 2006.
1390         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
1391         * gnu/gcj/convert/Convert.java (version): Use 2006.
1392         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
1394 2006-02-04  Tom Tromey  <tromey@redhat.com>
1396         PR java/25676:
1397         * testsuite/libjava.lang/pr25676.out: New file.
1398         * testsuite/libjava.lang/pr25676.java: New file.
1400 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1402         * Makefile.am (src.zip): Update src.zip file search to look in
1403         classpath directory.
1404         * Makefile.in: Regenerate.
1406 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
1408         * link.cc:
1409         (_Jv_Linker::create_error_method): Added missing (void *) cast.
1411 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
1413         * include/jvm.h:
1414         (_Jv_Linker::create_error_method): New method declaration.
1415         * link.cc:
1416         (_Jv_Linker::create_error_method): New method.
1417         (_Jv_Linker::link_symbol_table): Use new method above.
1419 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
1421         * link.cc:
1422         (_Jv_Linker::find_field_helper): Added checks.
1423         (_Jv_Linker::find_field): Use exception swallowing class resolution
1424         and added early return.
1425         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
1426         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
1427         resolution, added ffi_closure installation routine, use
1428         _Jv_ThrowNoClassDefFoundError for missing static method.
1429         (_Jv_Linker::ensure_class_linked): Added string check which does
1430         not trigger class resolution.
1431         * java/lang/natClassLoader.cc:
1432         (_Jv_FindClassNoException): New method.
1433         * java/lang/Class.h:
1434         (_Jv_FindClassNoException): New method declaration.
1435         * include/jvm.h:
1436         (_Jv_FindClassNoException): New method declaration.
1437         (_Jv_FindClassFromSignatureNoException): New method declaration.
1438         * prims.cc:
1439         (_Jv_FindClassFromSignatureNoException): New method.
1440         * gcj/javaprims.h:
1441         (_Jv_equalsUtf8Classname): New method declaration.
1442         (_Jv_isPrimitiveOrDerived): Dito.
1443         * prims.cc:
1444         (_Jv_equalsUtf8Classnames): New method.
1445         (_Jv_isPrimitiveOrDerived): New method.
1446         * verify.cc:
1447         (ref_intersection::equals): Use new classname comparison method.
1448         (type::compatible): Use new classname comparison method. Added
1449         check whether LHS' type is java.lang.Object .
1450         (type::resolve): Added new optional debug message and simplified
1451         if-expression.
1452         (type::to_array): Added codepath that generates an array type
1453         without resolving the element type.
1455 2006-01-31  Mark Wielaard  <mark@klomp.org>
1457         * NEWS: Add 4.1 updates.
1459 2006-01-30  Keith Seitz  <keiths@redhat.com>
1461         * include/java-interp.h (insn_index): New declaration.
1462         (num_insn_slots): New private variable.
1463         (get_line_table): New declaration.
1464         * interpret.cc (insn_index): New function.
1465         (get_line_table): New function.
1467 2006-01-24  Archit Shah  <ashah@redhat.com>
1468             Tom Tromey  <tromey@redhat.com>
1470         * prims.cc (next_property_value): Never return NULL.
1471         (process_gcj_properties): Copy 'props' before using it.
1473 2006-01-23  Keith Seitz  <keiths@redhat.com>
1475         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
1476         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
1478 2006-01-23  David Daney  <ddaney@avtrex.com>
1480         * configure.host (disable_dladdr): Remove variable and its
1481         documentation.
1482         * configure.ac: Do not test for disable_dladdr.
1483         * configure: Regenerate.
1484         * include/config.h.in: Regenerate.
1486 2006-01-18  Tom Tromey  <tromey@redhat.com>
1488         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
1489         already exists.
1491 2006-01-18  Keith Seitz  <keiths@redhat.com>
1493         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
1494         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
1495         * interpret.cc (_Jv_CompileMethod): New function.
1496         (run):  Massage code to allow for NULL args.
1497         Update comments to explain NULL args.
1498         Return if compiling the method and args is NULL.
1500 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1502         PR libgcj/25840
1503         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
1505 2006-01-17  Tom Tromey  <tromey@redhat.com>
1507         PR classpath/20198:
1508         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
1509         (JarURLLoader): Likewise.
1510         (addURLImpl): Canonicalize file URLs.
1512 2006-01-16  Mark Wielaard  <mark@klomp.org>
1514         Imported GNU Classpath 0.20
1515         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
1516         * java/nio/charset/spi/CharsetProvider.java: New override file.
1517         * java/security/Security.java: Likewise.
1518         * sources.am: Regenerated.
1519         * Makefile.in: Likewise.
1521 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
1523         * configure.ac (dbexecdir): New substituted var.
1524         * configure: Rebuilt.
1525         * Makefile.am (dbexecdir): Remove.
1526         * Makefile.in: Rebuilt.
1528 2006-01-13  Tom Tromey  <tromey@redhat.com>
1530         * gnu/regexp/MessagesBundle_fr.properties: Removed.
1531         * gnu/regexp/MessagesBundle.properties: Removed.
1533 2006-01-13  Tom Tromey  <tromey@redhat.com>
1535         * java/security/classpath.security: Removed.
1536         * Makefile.in: Rebuilt.
1537         * Makefile.am (install-data-local): Don't install
1538         classpath.security.
1540 2006-01-08  Chris Burdess  <dog@gnu.org>
1542         * java/lang/Character.java (toChars,toCodePoint): Correct these
1543           methods to use algorithms from Unicode specification.
1545 2006-01-08  Tom Tromey  <tromey@redhat.com>
1547         * java/lang/StringBuilder.java (appendCodePoint): New method.
1548         (insert): New overloads.
1549         * java/lang/StringBuffer.java (StringBuffer): New constructor.
1550         (charAt): Remerged javadoc.
1551         (codePointAt, codePointBefore): New methods.
1552         (appendCodePoint): New method.
1553         (append): New overloads.
1554         (insert): Likewise.
1555         (trimToSize, codePointCount, offsetByCodePoints): New methods.
1556         * java/lang/Float.java (SIZE): New field.
1557         (valueOf): New method.
1558         * java/lang/natDouble.cc (initIDs): Removed.
1559         * java/lang/Double.java (static initializer): Removed.
1560         (SIZE): New field.
1561         (valueOf): New method.
1562         (initIDs): Removed.
1564 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
1566         PR libgcj/24940
1567         * shlibpath.m4: Replace $SED with sed.
1568         * configure: Rebuilt.
1570 2006-01-06  Tom Tromey  <tromey@redhat.com>
1572         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
1573         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
1574         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
1575         MAX_LOW_SURROGATE): Javadoc fixes.
1576         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
1577         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
1578         methods from Classpath.
1579         * java/lang/String.java (codePointAt, codePointBefore,
1580         codePointCount, contains, replace): New methods from Classpath.
1581         (contentEquals): Declare.
1582         * java/lang/natString.cc (contentEquals): New method.
1584 2005-12-26  Anthony Green  <green@redhat.com>
1586         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
1587         of data to read (dst.remaining()).
1588         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
1590 2005-11-11  Mark Wielaard  <mark@klomp.org>
1592         Reported by john.zigman@anu.edu.au as bug #24608.
1593         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
1594         destination ByteBuffer when it doesn't have an array instead of len
1595         bytes.
1597 2006-01-05  Tom Tromey  <tromey@redhat.com>
1599         * java/lang/natThread.cc (finish_): Don't clear 'group'.
1600         * sources.am, Makefile.in: Rebuilt.
1601         * java/lang/Runtime.java (exit): Merged with Classpath.
1602         (runShutdownHooks): New method from Classpath.
1603         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
1604         FileDeleter.
1605         * gnu/gcj/runtime/FileDeleter.java: Removed.
1606         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
1607         (exitInternal): Don't run finalizers or delete files.
1609 2006-01-05  Tom Tromey  <tromey@redhat.com>
1611         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
1613 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
1615         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
1617 2006-01-04  Tom Tromey  <tromey@redhat.com>
1619         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
1620         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
1621         Changed argument type.  Use SystemClassLoader.addClass.
1622         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
1624 2005-12-24  David Daney <ddaney@avtrex.com>
1625             Tom Tromey  <tromey@redhat.com>
1627         PR libgcj/9715, PR libgcj/19132:
1628         * java/nio/charset/Charset.java (charsetForName): Try default
1629         provider first.
1630         (availableCharsets): Re-merged.
1631         (providers2): Likewise.
1632         (defaultCharset): Likewise.
1633         * sources.am, Makefile.in: Rebuilt.
1634         * gnu/java/nio/charset/Provider.java: Removed.
1635         * java/io/OutputStreamWriter.java
1636         (OutputStreamWriter(OutputStream,Charset)): New constructor.
1637         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
1638         * java/io/InputStreamReader.java
1639         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
1640         (InputStreamReader(InputStream,Charset)): Likewise.
1641         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
1642         BytesToCharsetAdaptor.
1643         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
1644         CharsetToBytesAdaptor.
1645         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
1646         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
1647         * mauve-libgcj: Remove getEncoding exclusion.
1649 2005-12-28  Anthony Green  <green@redhat.com>
1651         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
1652         as previous patch, but for win32.
1654 2005-12-28  Anthony Green  <green@redhat.com>
1656         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
1657         address and port before attempting anything.
1659 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1661         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
1662         operation atomic.
1664 2005-12-22  Andrew Haley  <aph@redhat.com>
1666         PR java/25535
1667         * testsuite/libjava.lang/PR25535.java: New test.
1669 2005-12-22  Tom Tromey  <tromey@redhat.com>
1671         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
1672         reference NUM_OBJECT_METHODS.
1673         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
1675 2005-12-18  Anthony Green  <green@redhat.com>
1677         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
1678         New helper function.
1679         (setOption): Use getLocalAddress.  Don't downcast value to
1680         InetAddress.
1681         (getOption): Use getLocalAddress.
1683 2005-12-16  Tom Tromey  <tromey@redhat.com>
1685         * java/lang/Class.java (getPackage): Get package from
1686         VMClassLoader if needed.
1688 2005-12-16  Tom Tromey  <tromey@redhat.com>
1690         * testsuite/libjava.jacks/jacks.xfail
1691         (8.5.2-accessible-static-member-usage-3): Removed.
1693 2005-12-15  Tom Tromey  <tromey@redhat.com>
1695         * testsuite/libjava.compile/rh175833.java: New file.
1696         * testsuite/libjava.compile/pr25429.java: New file.
1698 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
1700         * testsuite/lib/libjava.exp: Revert 2005-12-01.
1701         * testsuite/libjava.lang/Array_3.xfail: Delete.
1703 2005-12-14  Andrew Haley  <aph@redhat.com>
1705         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
1706         handle stdout from the child process.
1708 2005-12-14  Tom Tromey  <tromey@redhat.com>
1710         PR classpath/25389:
1711         * java/io/File.java (File): Throw IllegalArgumentException if URI is
1712         non-hierarchical.
1714 2005-12-12  Andrew Haley  <aph@redhat.com>
1716         * java/lang/VMCompiler.java: Directly generate a new instance of
1717         gnu.java.security.provider.MD5.
1719 2005-12-08  Andrew Haley  <aph@redhat.com>
1721         PR libgcj/25265
1722         * java/lang/Object.h (throwNoSuchMethodError): New method.
1723         * java/lang/Object.java (throwNoSuchMethodError): New method.
1724         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
1725         * link.cc (_Jv_ThrowNoSuchFieldError): New.
1726         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
1727         missing.  Instead, set the otable entry to zero.
1728         (link_symbol_table): If we don't find a nonstatic method, insert
1729         the vtable offset of Object.throwNoSuchMethodError() into the
1730         otable.
1732 2005-12-05  Tom Tromey  <tromey@redhat.com>
1734         * testsuite/libjava.compile/rh174912.java: New file.
1736 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
1738         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
1739         xfail-byte-exec.
1740         * testsuite/libjava.lang/Array_3.xfail: New file.
1742 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
1744         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
1745         to compare _Jv_InterpMethod::run against current func.
1747 2005-11-30  Andrew Haley  <aph@redhat.com>
1749         * classpath/lib/Makefile.am (resources): Use `cp -p'.
1750         Remove `@' from start of line.
1752 2005-11-28  Tom Tromey  <tromey@redhat.com>
1754         PR java/18278:
1755         * testsuite/libjava.jni/pr18278.out: New file.
1756         * testsuite/libjava.jni/pr18278.c: New file.
1757         * testsuite/libjava.jni/pr18278.java: New file.
1758         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1759         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1760         (call): Unwrap return value if needed.
1762 2005-11-25  Mark Wielaard  <mark@klomp.org>
1764         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1765         gnu/javax/rmi.
1766         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1767         gnu/javax/rmi to bc.
1768         * gnu/CORBA/ObjectCreator.java: New override file for missing
1769         VMStackWalker issue.
1770         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1771         * gnu/CORBA/DynAn/RecordAny.java: Likewise
1772         * sources.am: Regenerated.
1773         * Makefile.in: Regenerated
1775 2005-11-25  Andrew Haley  <aph@redhat.com>
1777         PR libgcj/25016
1778         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1779         struct timespec we pass to pthread_cond_timedwait.
1781 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
1783         * testsuite/libjava.jacks/jacks.xfail: Remove
1784         non-jls-argument-expansion-13 and add
1785         non-jls-argument-expansion-error-1 in response to the @file support
1786         patch in the main GCC driver.
1788 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1790         * sysdep/ia64-frame.h: Removed.
1791         * sysdep/ia64.c: Removed.
1792         * sysdep/dwarf2-backtrace.cc: Removed.
1793         * configure.ac: Remove references to HAVE_BACKTRACE and
1794         SUPPLY_BACKTRACE.
1795         * Makefile.am: Remove SUPPLY_BACKTRACE support.
1796         * configure: Rebuilt.
1797         * Makefile.in: Rebuilt.
1799 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1801         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1803 2005-11-17  Mark Wielaard  <mark@klomp.org>
1805         Imported GNU Classpath gcj-import-20051117.
1806         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1807         * sources.am: Regenerated.
1808         * Makefile.in: Likewise.
1810 2005-11-17  Mark Wielaard  <mark@klomp.org>
1812         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1813         * java/net/ServerSocket.java: Likewise.
1814         * sources.am: Regenerated.
1815         * Makefile.in: Regenerated.
1817 2005-11-17  Mark Wielaard  <mark@klomp.org>
1819         Fixes bug #24006
1820         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1822 2005-11-17  Tom Tromey  <tromey@redhat.com>
1824         * java/net/ServerSocket.java (accept): Use correct security manager
1825         call.
1827 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1829         * java/net/ServerSocket.java
1830         (bound): Removed.
1831         (local): New field.
1832         (bind): Cache local socket address.
1833         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1834         Use cached local socket address.
1835         (close): bound field was removed.
1837 2005-11-17  Tom Tromey  <tromey@redhat.com>
1839         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1840         (setDoOutput): Likewise.
1841         (setContentHandlerFactory): Likewise.
1842         (setFileNameMap): Likewise.
1844 2005-11-17  Mark Wielaard  <mark@klomp.org>
1846         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1848 2005-11-17  Mark Wielaard  <mark@klomp.org>
1850         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1851         call urls.add() and addURLImpl() directly on each URL.
1853 2005-11-17  Tom Tromey  <tromey@redhat.com>
1855         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1857 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1859         * java/net/URLClassLoader.java
1860         (Resource.name): Removed field.
1861         (JarURLResource.name): Added field.
1862         (FileResource.getURL): Use File.toURL() instead of doing it in
1863         a way that breaks on Windows.
1865 2005-11-17  Roman Kennke  <roman@kennke.org>
1867         Reported by: Ingo Proetel  <proetel@aicas.com>
1868         * java/net/URLClassLoader.java
1869         (findClass): Added null check to avoid NullPointerException.
1871 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1873         * java/net/URLClassLoader.java: reordered some API doc comments to
1874         suppress Eclipse warnings, and fixed API doc link.
1876 2005-11-17  Tom Tromey  <tromey@redhat.com>
1878         * java/net/URLClassLoader.java (URLClassLoader): Removed
1879         unused constructor.
1881 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1883         * java/net/URLClassLoader (findClass): Close InputStream after we're
1884         done with it.
1886 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1888         Implement -Xss.
1889         * include/jvm.h (gcj::stack_size): Declare.
1890         (_Jv_StackSize): Declare.
1891         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1892         (_Jv_ThreadStart): Set stack size if specified.
1893         * prims.cc (gcj::stack_size): Define.
1894         (parse_memory_size): Renamed from parse_heap_size.
1895         (_Jv_SetStackSize): Parse stack size argument and set 
1896         gcj::stack_size.
1898 2005-11-17  Mark Wielaard  <mark@klomp.org>
1900         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1901         * sources.am: Regenerated.
1902         * Makefile.in: Regenerated.
1904 2005-11-17  Sven de Marothy  <sven@physto.se>
1906         * java/text/SimpleDateFormat.java
1907         (computeOffset): Allow timezone to be first in the parsed String.
1909 2005-11-17  Mark Wielaard  <mark@klomp.org>
1911         * java/text/SimpleDateFormat.java (field, size): Make package private.
1913 2005-11-17  Tom Tromey  <tromey@redhat.com>
1915         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1916         handle quoted single quotes.  PR classspath/23183.
1918 2005-11-17  Tom Tromey  <tromey@redhat.com>
1920         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1922 2005-11-17  Tom Tromey  <tromey@redhat.com>
1924         * java/text/DateFormat.java (serialVersionUID): New field.
1926 2005-11-17  Mark Wielaard  <mark@klomp.org>
1928         * java/text/DateFormat.java (equals): Reimplement.
1930 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1932         * java/text/Collator.java: API doc fixes,
1933         * java/text/DateFormat.java: likewise,
1934         * java/text/DecimalFormatSymbols.java: likewise,
1935         * java/text/DateFormatSymbols.java: likewise,
1936         * java/text/SimpleDateFormat.java: likewise.
1938 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1940         * java/text/Collator.java (getInstance(Locale)):
1941         Added default collation pattern to handle case when resource
1942         is missing and throw InternalError instead of returning null
1943         should parsing fail.
1945 2005-11-15  Mark Wielaard  <mark@klomp.org>
1947         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1948         * java/util/zip/ZipFile.java: Likewise.
1949         * sources.am: Regenerated.
1950         * Makefile.in: Regenerated.
1952 2005-11-15  Tom Tromey  <tromey@redhat.com>
1954         classpath/23890:
1955         * java/util/Calendar.java (equals): Include other calendar
1956         attributes.
1957         (hashCode): Updated.
1958         * java/util/GregorianCalendar.java (hashCode): New method.
1959         (equals): Use super.equals().
1961 2005-11-15  Sven de Marothy  <sven@physto.se>
1963         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1965 2005-11-15  Mark Wielaard  <mark@klomp.org>
1967         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1968         * java/util/Date.java: Likewise.
1969         * sources.am: Regenerated.
1970         * Makefile.in: Regenerated.
1972 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1974         * java/util/Calendar.java: fixed minor problems in API docs,
1975         * java/util/Date.java: likewise,
1976         * java/util/ResourceBundle.java: likewise,
1977         * java/util/SimpleTimeZone.java: likewise,
1979 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1981         * java/io/ObjectInputStream.java
1982         (parseContent): Removed bogus println and fixed bug #24422.
1983                 
1984 2005-11-15  Mark Wielaard  <mark@klomp.org>
1986         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1987         * sources.am: Regenerated.
1988         * Makefile.in: Regenerated.
1990 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1992         * java/io/ObjectInputStream.java
1993         (processResolution): Pass Error, RuntimeException and
1994         ObjectStreamException through to the caller.
1995         (readObject): Documentation update.
1997 2005-11-15  Mark Wielaard  <mark@klomp.org>
1999         Imported GNU Classpath 0.19 + gcj-import-20051115.
2000         * sources.am: Regenerated.
2001         * Makefile.in: Likewise.
2002         * scripts/makemake.tcl: Use glob -nocomplain.
2004 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
2006         * Makefile.in: Re-generated.
2007         * gnu/awt/xlib/XGraphicsDevice.java: New file.
2008         * gnu/awt/xlib/XToolkit.java
2009         (getLocalGraphicsEnvironment): Implemented. 
2010         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
2011         * sources.am: Re-generated.
2013 2005-15-09  David Daney <ddaney@avtrex.com>
2015         PR libgcj/15430
2016         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
2017         function.
2018         (accept): Call it.
2019         (close): Call shutdown before closing.
2020         (read()): Call read_helper with proper parameters.
2021         (read(buffer, int, int)): Likewise.
2022         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
2023         and timeout parameters.  Make prototype to match. Use 
2024         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
2025         in two places.
2027 2005-11-15  Andrew Haley  <aph@redhat.com>
2029         * Merge from Classpath head:
2031    2005-09-16  Andrew Haley  <aph@redhat.com>
2032    
2033            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
2034            protected readResolve().  Rewrite accessibility check.
2035    
2036    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
2037    
2038            * java/io/ObjectStreamClass.java
2039            (findAccessibleMethod): Added code to make method accessible.
2040    
2041    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
2042    
2043            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
2044            (findAccessibleMethod): Likewise.
2045            (cacheMethods): Lookup readResolve and writeReplace using the new
2046            findAccessibleMethod().
2047    
2048 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
2050         * java/net/natVMNetworkInterfaceWin32.cc: Include
2051         java/net/VMNetworkInterface.h.
2053 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
2054             David Daney  <ddaney@avtrex.com>
2056         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
2057         (read): Handle count == 0 case.
2059 2005-11-09  Tom Tromey  <tromey@redhat.com>
2061         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
2062         passes.
2064 2005-11-08  Tom Tromey  <tromey@redhat.com>
2066         PR libgcj/24587:
2067         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
2069 2005-11-08  Tom Tromey  <tromey@redhat.com>
2071         PR libgcj/23763.  From aeby@graeff.com.
2072         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
2073         before exec.
2075 2005-11-08  Mark Wielaard  <mark@klomp.org>
2077         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
2079 2005-11-07  David Daney  <ddaney@avtrex.com>
2081         * mauve-libgcj: Disable javax.rmi.* and
2082         java.io.InputStreamReader.getEncoding.
2084 2005-11-04  Tom Tromey  <tromey@redhat.com>
2086         PR libgcj/14358, libgcj/24552:
2087         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
2088         aliases for 'euc_jp' and 'eucjp'.
2089         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
2090         canonical names in output.
2091         (%map): Added UnicodeLittle and UnicodeBig.
2093 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2095         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
2097 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
2099         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
2100         library extensions.
2102 2005-10-12  Andrew Haley  <aph@redhat.com>
2104         PR java/24251
2105         * link.cc (ensure_method_table_complete): Install Miranda methods
2106         for interfaces too.
2108 2005-10-10  Tom Tromey  <tromey@redhat.com>
2110         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
2111         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
2112         Now static.
2114 2005-10-05  Richard Henderson  <rth@redhat.com>
2116         PR target/23602
2117         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
2118         but not BACKTRACESPEC.
2119         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
2121 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
2123         * testsuite/lib/jni.exp (gcj_jni_test_one): For
2124         darwin, use -shared-libgcc not -lgcc_s, and explain why.
2125         (gcj_jni_invocation_test_one): Likewise.
2127 2005-09-30  Tom Tromey  <tromey@redhat.com>
2129         PR libgcj/24051:
2130         * Makefile.in: Rebuilt.
2131         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
2132         requested.
2133         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
2134         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
2135         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
2136         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
2137         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
2138         * configure: Rebuilt.
2139         * configure.ac: Pass --enable-qt-peers when qt is requested.
2141 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
2143         * configure.ac: Fix typo.
2144         * configure: Regenerate.
2146 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
2148         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
2149         __LP64__ is defined rather than __powerpc64__.
2150         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
2151         (compare_and_swap_release): Likewise.
2153 2005-09-28  David Daney  <ddaney@avtrex.com>
2155         * HACKING: Update instructions for classpath import.
2157 2005-09-27  Tom Tromey  <tromey@redhat.com>
2159         PR libgcj/23367:
2160         * include/jvm.h (_Jv_FreeMethodCache): Declare.
2161         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
2162         (struct _Jv_mcache): Likewise.
2163         (method_cache): Likewise.
2164         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
2165         (_Jv_AddMethodToCache): Likewise.
2166         (_Jv_FreeMethodCache): New function.
2167         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
2168         * aclocal.m4, configure, include/config.h.in: Rebuilt.
2169         * configure.ac: Invoke GCC_CHECK_TLS.
2171 2005-09-27  Tom Tromey  <tromey@redhat.com>
2173         * configure, Makefile.in: Rebuilt.
2174         * sources.am: Rebuilt.
2175         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
2176         * configure.ac (TOOLKIT): Handle Qt peers properly.
2178 2005-09-23  Tom Tromey  <tromey@redhat.com>
2180         Imported Classpath 0.18.
2181         * sources.am, Makefile.in: Updated.
2182         * Makefile.am (nat_source_files): Removed natProxy.cc.
2183         * java/lang/reflect/natProxy.cc: Removed.
2184         * gnu/classpath/jdwp/VMFrame.java,
2185         gnu/classpath/jdwp/VMIdManager.java,
2186         gnu/classpath/jdwp/VMVirtualMachine.java,
2187         java/lang/reflect/VMProxy.java: New files.
2189 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2191         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
2192         list.
2194 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2196         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
2197         Remove ClasspathToolkit references.
2199 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2201         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
2202         * gnu/awt/xlib/XFramePeer.java: Likewise.
2203         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
2205 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2207         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
2208         classpath/native/jawt/jawt.c.
2209         * Makefile.in: Regenerate.
2210         * jawt.c: Remove file.
2211         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
2212         jawt_md.h.  Add ../classpath/include/jawt.h and
2213         ../classpath/include/jawt_md.h.
2214         * include/Makefile.in: Regenerate.
2215         * include/jawt.h: Regenerate.
2216         * include/jawt_md.h: Regenerate.
2218 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
2220         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
2221         `null' parent ClassLoader to parent constructor.
2222         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
2223         constructor.
2225 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
2227         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
2229 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
2231         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
2232         Use libjava_find_lib to find the proper libgcj.
2234 2005-09-16  Anthony Green  <green@redhat.com>
2236         PR libgcj/20198
2237         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
2238         resources should all have canonicalized names.
2240 2005-09-15  Tom Tromey  <tromey@redhat.com>
2242         PR libgcj/16032:
2243         * interpret.cc (AVAL1U): Resolve pool entry when not direct
2244         threaded.
2245         (AVAL2U): Likewise.
2246         (compile): Handle 'ldc class' specially.
2247         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
2248         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
2249         * defineclass.cc (handleCodeAttribute): Set new field.
2250         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
2251         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
2252         (parse): Check version numbers.
2253         (_Jv_ClassReader::is_15): New field.
2254         (_Jv_ClassReader): Initialize it.
2255         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
2257 2005-09-15  Tom Tromey  <tromey@redhat.com>
2259         For PR libgcj/23288:
2260         * java/net/URLClassLoader.java (definePackage): Correctly order
2261         arguments to definePackage.  Look up per-entry Attributes.
2262         (getAttributeValue): New method.
2264 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2266         PR libgcj/23762
2267         * shlibpath.m4: New file.
2268         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
2269         macro.
2270         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
2271         [USE_LTDL]: If it was not defined with -D set java.library.path to
2272         the value of LTDL_SHLIBPATH_VAR.
2274 2005-09-08  Andrew Haley  <aph@redhat.com>
2276         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
2277         loader.
2278         (toString): Likewise.
2280 2005-09-08  Andrew Haley  <aph@redhat.com>
2282         PR java/22084
2283         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
2284         R/M field in instruction is 100.
2286 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2288         PR libgcj/23761
2289         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
2290         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
2291         lt_dlinit.
2292         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
2293         Define variable.
2294         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
2295         _Jv_Module_Load_Path.
2297 2005-09-06  Tom Tromey  <tromey@redhat.com>
2299         PR libgcj/23739:
2300         * testsuite/libjava.jni/pr23739.c: New file.
2301         * testsuite/libjava.jni/pr23739.java: New file.
2302         * testsuite/libjava.jni/pr23739.out: New file.
2303         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
2304         * java/lang/reflect/natMethod.cc (invoke): Updated.
2305         * java/lang/natClass.cc (isAssignableFrom): Updated.
2306         (isInstance): Likewise.
2307         (_Jv_IsAssignableFrom): Reversed arguments.
2308         (_Jv_IsInstanceOf): Updated.
2309         (_Jv_CheckCast): Likewise.
2310         (_Jv_CheckArrayStore): Likewise.
2311         (_Jv_IsAssignableFromSlow): Reversed arguments.
2312         (_Jv_InterfaceAssignableFrom): Likewise.
2313         * link.cc (verify_type_assertions): Updated.
2314         * prims.cc (_Jv_CheckAccess): Updated.
2316 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
2318         Testsuite changes for PR java/23431.
2319         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
2320         8.4.6.2-hiding-5.
2321         * testsuite/libjava.compile/PR23431_1.java: New testcase.
2322         * testsuite/libjava.compile/PR23431_2.java: Likewise.
2323         * testsuite/libjava.compile/PR23431_1.xfail: New file.
2324         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
2326 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2328         PR libgcj/23549
2329         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
2330         -disableassertions and -da.
2332 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
2334         * configure.ac: Replace "*-*-darwin[0-7].*" with
2335         "*-*-darwin[[0-7]].*"
2336         * configure: Regenerate.
2338 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
2340         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
2341         darwin < 8.
2342         * configure: Regenerate.
2344 2005-08-23  Roman Kennke  <roman@kennke.org>
2346         * java/lang/Character.java
2347         (toChars(int)): New JDK1.5 method.
2348         (toChars(int, char[], int)): New JDK1.5 method.
2349         (charCount): New JDK1.5 method.
2350         (isSupplementaryCodePoint): New JDK1.5 method.
2351         (isValidCodePoint): New JDK1.5 method.
2353 2005-08-23  Tom Tromey  <tromey@redhat.com>
2355         * aclocal.m4, Makefile.in: Rebuilt.
2356         * Makefile.am (property_files): Added META-INF files.
2357         (propertyo_files): Changed definition.
2358         ($(propertyo_files)): Updated patterns.
2360 2005-08-22  Tom Tromey  <tromey@redhat.com>
2362         PR libgcj/22622:
2363         * configure: Rebuilt.
2364         * configure.ac: Correctly create Configuration.java (for
2365         temporary use).
2367 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
2369         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
2370         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
2371         * mingwld.m4: ... this new file.
2372         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
2373         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
2375 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2377         PR libgcj/23507
2378         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
2379         assignment.  Cast operands of compare to function pointer type.
2381 2005-08-21  Tom Tromey  <tromey@redhat.com>
2383         * HACKING: Updated for hacking classpath in libgcj.
2385 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2387         PR libgcj/21692
2388         * sysdep/pa/descriptor.h: New file.
2389         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
2391 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
2393         * Makefile.am (extra_ldflags_libjava): New variable to
2394         substitute in.
2395         (LIBLINK): Add extra_ldflags_libjava to it.
2396         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
2397         "-Wl,-single_module".
2398         * Makefile.in: Regenerate.
2399         * aclocal.m4: Regenerate.
2400         * configure: Regenerate.
2401         * gcj/Makefile.in: Regenerate.
2402         * include/Makefile.in: Regenerate.
2403         * testsuite/Makefile.in: Regenerate.
2405 2005-08-17  Tom Tromey  <tromey@redhat.com>
2407         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
2408         friend.
2409         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
2410         * testsuite/libjava.lang/bclink.java: New file.
2411         * testsuite/libjava.lang/bclink.out: New file.
2412         * link.cc (print_class_loaded): Changed ABI test to look at
2413         various _syms fields.
2415 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
2417         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
2418         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
2420 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
2422         More testsuite adjustments for PR java/19870.
2423         * testsuite/libjava.lang/PR19870_2.java: New testcase.
2424         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
2425         new testcase.
2426         * testsuite/libjava.jacks/jacks.xfail: Remove
2427         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
2429 2005-08-16  Tom Tromey  <tromey@redhat.com>
2431         * gnu/xml/xpath/XPathParser.y: Removed.
2433 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
2435         PR libgcj/23353:
2436         * java/lang/natObject.cc (clone): Clear sync_info.
2438 2005-07-26  Tom Tromey  <tromey@redhat.com>
2440         * gnu/java/net/protocol/ftp/package.html,
2441         gnu/javax/swing/text/html/package.html,
2442         gnu/javax/swing/text/html/parser/package.html,
2443         gnu/javax/swing/text/html/parser/models/package.html,
2444         gnu/javax/swing/text/html/parser/support/package.html,
2445         gnu/javax/swing/text/html/parser/support/low/package.html,
2446         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
2447         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
2448         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
2449         java/awt/geom/doc-files/CubicCurve2D-1.png,
2450         java/awt/geom/doc-files/CubicCurve2D-2.png,
2451         java/awt/geom/doc-files/CubicCurve2D-3.png,
2452         java/awt/geom/doc-files/CubicCurve2D-4.png,
2453         java/awt/geom/doc-files/CubicCurve2D-5.png,
2454         java/awt/geom/doc-files/Ellipse-1.png,
2455         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
2456         java/awt/geom/doc-files/GeneralPath-1.png,
2457         java/awt/geom/doc-files/QuadCurve2D-1.png,
2458         java/awt/geom/doc-files/QuadCurve2D-2.png,
2459         java/awt/geom/doc-files/QuadCurve2D-3.png,
2460         java/awt/geom/doc-files/QuadCurve2D-4.png,
2461         java/awt/geom/doc-files/QuadCurve2D-5.png,
2462         javax/imageio/package.html, javax/imageio/event/package.html,
2463         javax/imageio/metadata/package.html,
2464         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
2465         javax/swing/border/doc-files/BevelBorder-1.png,
2466         javax/swing/border/doc-files/BevelBorder-2.png,
2467         javax/swing/border/doc-files/BevelBorder-3.png,
2468         javax/swing/border/doc-files/EmptyBorder-1.png,
2469         javax/swing/border/doc-files/EtchedBorder-1.png,
2470         javax/swing/border/doc-files/EtchedBorder-2.png,
2471         javax/swing/border/doc-files/LineBorder-1.png,
2472         javax/swing/border/doc-files/MatteBorder-1.png,
2473         javax/swing/border/doc-files/MatteBorder-2.png,
2474         javax/swing/border/doc-files/MatteBorder-3.png,
2475         javax/swing/border/doc-files/MatteBorder-4.png,
2476         javax/swing/border/doc-files/MatteBorder-5.png,
2477         javax/swing/border/doc-files/MatteBorder-6.png,
2478         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2479         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2480         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2481         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2482         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2483         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2484         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2485         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2486         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2487         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2488         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2489         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2490         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2491         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
2492         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2493         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2494         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2495         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2496         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2497         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2498         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
2499         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2500         javax/swing/plaf/doc-files/ComponentUI-1.png,
2501         javax/swing/plaf/doc-files/TreeUI-1.png,
2502         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
2503         javax/xml/parsers/package.html, javax/xml/transform/package.html,
2504         javax/xml/transform/dom/package.html,
2505         javax/xml/transform/sax/package.html,
2506         javax/xml/transform/stream/package.html,
2507         javax/xml/validation/package.html, javax/xml/xpath/package.html:
2508         Removed.
2510 2005-07-22  Tom Tromey  <tromey@redhat.com>
2512         * include/Makefile.in: Rebuilt.
2513         * include/Makefile.am (tool_include__HEADERS): Include
2514         classpath's jni.h.
2516 2005-07-20  Tom Tromey  <tromey@redhat.com>
2518         * sources.am, Makefile.in: Rebuilt.
2519         * Makefile.am (all_xlib_lo_files): Removed.
2520         (all_libgcj_lo_files): Likewise.
2521         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
2522         (xlib_java_source_files): Removed.
2523         (xlib_nat_headers): Updated.
2524         * configure: Rebuilt.
2525         * configure.ac: Create standard.omit.
2526         * standard.omit.in: New file.
2527         * standard.omit: Removed.
2528         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
2529         'package'.
2530         (emit_package_rule): Special case xlib peers.
2531         (emit_source_var): Likewise.
2532         Read standard.omit.in.
2533         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
2535 2005-07-18  Tom Tromey  <tromey@redhat.com>
2537         * HACKING: Updated.
2539 2005-07-19  Matthias Klose  <doko@debian.org>
2541         * classpath/java/awt/im/InputContext.java (clinit): Initialize
2542           line, im.
2544 2005-07-18  Tom Tromey  <tromey@redhat.com>
2546         PR libgj/21058:
2547         * sources.am, Makefile.in: Rebuilt.
2548         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
2549         file.
2550         (emit_source_var): Don't emit patsubst with './'.
2552 2005-07-18  Tom Tromey  <tromey@redhat.com>
2554         * Makefile.in: Rebuilt.
2555         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
2557 2005-07-17  Andreas Jaeger  <aj@suse.de>
2559         * defineclass.cc (handleClassBegin): Remove unused variable.
2561 2005-07-16  Andreas Schwab  <schwab@suse.de>
2563         * scripts/makemake.tcl (emit_package_rule): Emit command to create
2564         target directory.
2565         * Makefile.am (%.lo): Don't create it here.
2566         * sources.am, Makefile.in: Regenerated.
2568 2005-07-15  Tom Tromey  <tromey@redhat.com>
2570         Major merge with Classpath.
2571         Removed many duplicate files.
2572         * HACKING: Updated.x
2573         * classpath: Imported new directory.
2574         * standard.omit: New file.
2575         * Makefile.in, aclocal.m4, configure: Rebuilt.
2576         * sources.am: New file.
2577         * configure.ac: Run Classpath configure script.  Moved code around
2578         to support.  Disable xlib AWT peers (temporarily).
2579         * Makefile.am (SUBDIRS): Added 'classpath'
2580         (JAVAC): Removed.
2581         (AM_CPPFLAGS): Added more -I options.
2582         (BOOTCLASSPATH): Simplified.
2583         Completely redid how sources are built.
2584         Include sources.am.
2585         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
2586         * include/jni.h: Removed (in Classpath).
2587         * scripts/classes.pl: Updated to look at built classes.
2588         * scripts/makemake.tcl: New file.
2589         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
2590         -I options.
2591         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2593 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
2595         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
2596         (eventMask): New field.
2597         (XCanvasPeer(Component)): Use attributes field.
2598         (setBackground): Implemented.
2599         (setEventMask): Process mask only if changed.
2600         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
2601         (eventLoopThread): New field.
2602         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
2603         (interrupt): Removed.
2604         (run): New method.
2605         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
2606         and Component events.
2607         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
2608         field.
2609         (configureNotify): Set and clear processingConfigureNotify.
2610         (setBounds): Process only if processingConfigureNotify is false.
2611         (toBack): Implemented.
2612         (toFront): Implemented.
2613         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
2614         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
2615         color.
2616         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
2617         (wakeNativeQueue): Do nothing.
2618         (iterateNativeQueue): Do queue.wait if blocking.
2619         * gnu/gcj/xlib/Font.java (loadFont): New method.
2620         (loadFontImpl): Renamed native method, was loadFont. 
2621         * gnu/gcj/xlib/Window.java (toFront): New method.
2622         (toBack): New method.
2623         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
2624         loadFont.
2625         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
2626         (toFront): New method. 
2627         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
2629 2005-07-14  Andrew Haley  <aph@redhat.com>
2631         * gnu/java/net/protocol/file/Connection.java (unquote): New
2632         method.
2633         (connect): Unquote filename.
2634         gnu/java/net/protocol/jar/Connection.java (getInputStream):
2635         Likewise.  
2636         (getJarFile): Likewise.
2638         * java/net/URLConnection.java (getContentHandler): Guard cast with
2639         instaceof.
2641         * java/net/URL.java (URL): If the file part of a spec is absolute,
2642         ignore the file part of its context.
2644 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
2646         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
2647         Implemented VirtualMachine Command Set.
2649 2005-07-14  Tom Tromey  <tromey@redhat.com>
2651         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
2652         Classpath.
2654 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2656         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
2657         Implemented the Field CommandSet.
2658         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
2659         Implemented the InterfaceType CommandSet.
2661 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2663         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
2664         shutdown to jdwp instead of connection.
2666 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2668         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
2669         New file.
2671 2005-07-08  Colin Walters  <walters@verbum.org>
2673         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
2674         check for abstract classes or interfaces here; JVM spec
2675         says it should throw an exception, so we'll do so later.
2676         * interpret.cc (run): Throw an InstantiationException for
2677         abstract classes and interfaces.
2679 2005-07-08  Andrew Haley  <aph@redhat.com>
2681         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
2682         (regular, non-realtime scheduling), not SCHED_RR (realtime,
2683         round-robin).
2685 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2687         * gnu/classpath/jdwp/util/Signature.java
2688         (computeFieldSignature): New Method.
2690 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2692         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
2693         file.
2695 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2697         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
2698         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
2700 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2702         * testsuite/libjava.compile/PR21045.java: New test.
2703         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
2704         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
2706 2005-07-06  Tom Tromey  <tromey@redhat.com>
2708         * java/io/InputStreamReader.java (refill): Handle no-progress
2709         case correctly.
2710         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
2712 2005-07-06  Tom Tromey  <tromey@redhat.com>
2714         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
2716 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2718         * testsuite/libjava.compile/PR19674.java: New test.
2720 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
2722         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
2723         New file.
2725 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
2727         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
2728         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
2729         CommandSets to handle JdwpCommandPackets.
2730         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
2731         Constructor.
2733 2005-07-01  Tom Tromey  <tromey@redhat.com>
2735         * libtool-version: Updated.
2737 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
2739         * gnu/classpath/jdwp/util/JdwpString.java: New file.
2741 2005-06-30  Keith Seitz  <keiths@redhat.com>
2743         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
2744         (myWrite): New abstract method.
2745         (toBytes): Remove.
2746         (myToBytes): Remove.
2747         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2748         method.
2749         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2750         method.
2751         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2752         JdwpPacket.write instead of JdwpPacket.toBytes.
2754 2005-06-30  Keith Seitz  <keiths@redhat.com>
2756         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2757         method.
2758         (_bytes): New member.
2759         (_doStream): New member.
2760         (JdwpConnection): Initialize new members.
2762 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
2764         * all files: Update for new FSF address.
2766 2005-06-29  Tom Tromey  <tromey@redhat.com>
2768         PR libgcj/22211:
2769         * testsuite/libjava.lang/pr22211.java: New file.
2770         * java/lang/natThread.cc (finish_): Synchronize when updating
2771         alive_flag.
2772         (_Jv_AttachCurrentThread): Likewise.
2773         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2774         * java/lang/Thread.java (isAlive): Now synchronized.
2776 2005-06-29  Tom Tromey  <tromey@redhat.com>
2778         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2779         _Jv_CheckCast.
2781 2005-06-28  Robin Green  <greenrd@greenrd.org>
2783         PR java/22189
2784         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2785         error.
2787 2005-06-27  Tom Tromey  <tromey@redhat.com>
2789         PR java/21540, PR java/13788:
2790         * testsuite/libjava.compile/pr21540.java: New file.
2791         * testsuite/libjava.compile/pr13788.java: New file.
2792         * testsuite/libjava.jacks/jacks.xfail: Updated.
2794 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2796         * testsuite/libjava.mauve/xfails: Updated to reflect current state
2797         of mauve and libjava. 
2799 2005-06-24  Tom Tromey  <tromey@redhat.com>
2801         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2802         where class' name is NULL.
2803         (_Jv_FindClass): Don't wait for class state.
2804         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2805         name found.
2806         * include/java-interp.h (_Jv_DefineClass): Updated.
2807         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2808         (struct _Jv_ClassReader): Likewise.
2809         (found_name): New field.
2810         (handleClassBegin): Set *found_name.
2811         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2812         (handleClassBegin): Throw error if super class not set.
2813         (read_methods): Correctly call check_tag and prepare_pool_entry.
2815 2005-06-24  Tom Tromey  <tromey@redhat.com>
2817         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2819 2005-06-24  Tom Tromey  <tromey@redhat.com>
2821         * verify.cc (verify_instructions_0): Correctly handle situation
2822         where PC falls off end.
2824 2005-06-24  Tom Tromey  <tromey@redhat.com>
2826         * interpret.cc (compile): Handle case where table entry is
2827         outside of PC range.
2829 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2831         * testsuite/libjava.compile/PR20697.java: New test-case.
2833 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2835         * Makefile.am (SUBDIRS): Use append for conditional.
2836         (toolexeclib_LTLIBRARIES): Likewise.
2837         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2838         a conditional append.
2839         * Makefile.in: Regenerate.
2841 2005-06-17  Keith Seitz  <keiths@redhat.com>
2843         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2844         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2845         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2846         file.
2847         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2848         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2849         file.
2850         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2851         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2852         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2853         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2854         file.
2855         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2856         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2858 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2860         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2861         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2862         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2863         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2864         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2865         * Makefile.in: Regenerate.
2867 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2869         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2870         (USING_POSIX_PLATFORM): ... here.
2871         * Makefile.am: Delete USING_ECOS_PLATFORM.
2872         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2873         external/Makefile.in, external/sax/Makefile.in,
2874         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2876 2005-06-15  Tom Tromey  <tromey@redhat.com>
2878         PR libgcj/17536:
2879         * testsuite/libjava.lang/pr17536.java: New file.
2880         * testsuite/libjava.lang/pr17536.out: New file.
2882 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2884         PR libgcj/21074:
2885         * gnu/java/net/protocol/http/HTTPURLConnection.java
2886         (getHeaderFieldKey): Check index.
2888 2005-06-15  Tom Tromey  <tromey@redhat.com>
2890         PR libgcj/21906:
2891         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2892         methods.
2893         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2894         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2895         static.
2896         (append_partial_itable): Use it.
2897         (set_vtable_entries): Likewise.
2899 2005-06-15  Tom Tromey  <tromey@redhat.com>
2901         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2902         last_was_sep in loop.
2904 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2906         * configure.host: Handle Solaris 10/x86.
2908 2005-06-14  Keith Seitz  <keiths@redhat.com>
2910         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2911         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2913 2005-06-14  Keith Seitz  <keiths@redhat.com>
2915         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2916         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2917         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2918         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2919         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2920         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2921         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2922         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2923         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2924         * gnu/classpath/jdwp/id/StringId.java: New file.
2925         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2926         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2928 2005-06-14  Tom Tromey  <tromey@redhat.com>
2930         PR libgcj/19877:
2931         * configure, aclocal.m4, Makefile.in: Rebuilt.
2933 2005-06-14  Tom Tromey  <tromey@redhat.com>
2935         * java/lang/Class.java (getClasses): New method.
2936         (internalGetClasses): Likewise.
2937         (getClassLoader): Updated documentation.
2938         (getDeclaredClasses): New overload; old overload no longer
2939         native.
2940         (_getConstructors): Removed.
2941         (resourcePath): Updated.
2942         * java/lang/natClass.cc (getClasses): Removed.
2943         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2944         Updated.
2945         (_getConstructors): Removed.
2947 2005-06-13  Jim Huang  <jserv@kaffe.org>
2949         PR libgcj/22036:
2950         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2951         (_Jv_JNI_NewObject): Likewise.
2953 2005-06-13  Tom Tromey  <tromey@redhat.com>
2955         PR java/21844:
2956         * testsuite/libjava.lang/pr21844.java: New file.
2957         * testsuite/libjava.lang/pr21844.out: New file.
2959 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2961         PR libgcj/21949
2962         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2963         From Gary Benson.
2965 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2967         * java/text/MessageFormat.java (parse): When parsing strings, check
2968         for an empty pattern trailer.
2970 2005-06-06  Keith Seitz  <keiths@redhat.com>
2972         * gnu/classpath/jdwp/util/Signature.java: New file.
2973         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2975 2005-06-05  Anthony Green  <green@redhat.com>
2977         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2978         fall-through bug.
2980 2005-06-04  Anthony Green  <green@redhat.com>
2982         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2983         and gnu.java.net.protocol.core.CoreInputStream.
2984         (CureURLLoader): New class.
2985         (CoreResource): New class.
2986         (addURLImpl): Add special treatment for the "core" protocol.
2987         * gnu/gcj/natCore.cc (find): New method.
2988         * gnu/gcj/Core.java (find): New method.
2990 2005-06-03  Keith Seitz  <keiths@redhat.com>
2992         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2993         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2994         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2996 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2998         * jawt.c: Remove malloc.h, covered by stdlib.h.
3000         * testsuite/libjava.jni/jni.exp
3001         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
3002         the build process.
3004 2005-06-02  Keith Seitz  <keiths@redhat.com>
3006         * gnu/classpath/jdwp/transport/TransportException.java: New file.
3008 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
3010         * mauve-libgcj: Remove implemented classes from the fail section.
3011         Add two new not implemented to it.
3013 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
3015         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
3016         AC_SUBST definition from configure.host.
3017         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
3018         to -fomit-frame-pointer on 32-bit x86 targets.
3020 2005-06-01  Tom Tromey  <tromey@redhat.com>
3022         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
3024 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
3026         PR libgcj/20435:
3027         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
3028         (static): Add possessive matching to JAVA_1_4 syntax.
3029         * gnu/regexp/RETokenRepeated.java (possessive): New field.
3030         (makePossessive, isPossessive): New methods.
3031         (match): Don't back off during possessive matching.
3032         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
3033         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
3034         to JAVA_1_4.
3036 2005-06-01  Keith Seitz  <keiths@redhat.com>
3038         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
3039         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
3040         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
3042 2005-06-01  Tom Tromey  <tromey@redhat.com>
3044         PR libgcj/21785:
3045         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
3046         (currentLoader): New method.
3047         * java/io/ObjectInputStream.java (resolveProxyClass): Use
3048         currentLoader.
3049         (currentLoader): Now native.
3050         (currentClassLoader): Removed.
3051         * testsuite/libjava.lang/pr21785.java: New file.
3052         * testsuite/libjava.lang/pr21785.out: New file.
3054 2005-06-01  Tom Tromey  <tromey@redhat.com>
3056         PR libgcj/21753:
3057         * java/lang/natString.cc (substring): Changed sharing heuristic.
3059 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
3061         PR libgcj/21821
3062         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
3063         MAXPATHLEN. Format exception message using a StringBuffer instead.
3065 2005-05-29  Michael Koch  <konqueror@gmx.de>
3067         PR libgcj/20273:
3068         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
3070 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
3072         * ChangeLog: Fix typo.
3074 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
3076         Testsuite adjustments for PR java/19870.
3077         * testsuite/libjava.lang/PR19870.java: New testcase.
3078         * testsuite/libjava.lang/PR19870.out: Expected output for the
3079         testcase.
3080         * testsuite/libjava.jacks/jacks.xfail: Add
3081         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
3084 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
3086         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
3087         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
3088         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
3089         classes.
3090         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
3091         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
3092         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
3093         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
3095 2005-05-25  Richard Henderson  <rth@redhat.com>
3097         PR libgcj/21692
3098         * sysdep/descriptor-n.h: New file.
3099         * sysdep/descriptor-y.h: New file.
3100         * sysdep/powerpc/descriptor.h: New file.
3101         * configure.host: Set $descriptor_h appropriate for the host.
3102         * configure.ac: Link it.
3103         * configure: Regenerate.
3104         * stacktrace.cc: Include sysdep/descriptor.h.
3105         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
3107 2005-05-25  Chris Burdess  <dog@gnu.org>
3109         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
3110         end entity callbacks.
3112 2005-05-24  Gary Benson  <gbenson@redhat.com>
3114         PR libgcj/21736:
3115         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
3116         Handle DateFormat.DEFAULT case correctly.
3118 2005-05-21  Tom Tromey  <tromey@redhat.com>
3120         PR libgcj/21703:
3121         * java/lang/ref/natReference.cc (find_slot): Handle case where
3122         table has no NULL entries.
3123         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
3124         table has no NULL entries.
3126 2005-05-22  Andreas Jaeger  <aj@suse.de>
3128         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
3129         avoid warnings.
3131 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
3133         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
3135 2005-05-19  Richard Henderson  <rth@redhat.com>
3137         * exception.cc: Revert 05-17 gcc_unreachable change.
3139 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
3141         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
3142         _Jv_RegisterInitiatingLoader to register array classes, not
3143         _Jv_RegisterClass.
3144         (_Jv_RegisterInitiatingLoader): Give up if called very early during
3145         bootstrapping. Add a FIXME to handle this case better.
3147 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
3149         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
3150         convenience library.
3151         (libgcj_la_SOURCES): New. Move sources here.
3152         (libgcj.la): Remove rule.
3154 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3156         PR libgcj/19729
3157         * gnu/java/security/provider/DSASignature.java: Import updates
3158         from GNU Crypto.
3160 2005-05-18  Anthony Green  <green@redhat.com>
3162         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
3163         classpath_jawt_object_unlock, classpath_jawt_create_lock,
3164         classpath_jawt_destroy_lock): New functions.
3165         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
3166         classpath_jawt_object_unlock, classpath_jawt_create_lock,
3167         classpath_jawt_destroy_lock): New functions.
3168         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
3169         field.
3170         * jawt.c: #include malloc.h.
3171         (_Jv_Lock): Use lock.
3172         (_Jv_Unlock): Ditto.
3173         (_Jv_GetDrawingSurface): Initialize lock.
3174         (_Jv_FreeDrawingSurface): Destroy lock.
3175         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
3177 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
3179         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
3180         * Makefile.in: Regenerate.
3182 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
3184         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
3185         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
3186         * aclocal.m4, configure, config.h.in, include/config.h.in,
3187         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3188         external/Makefile.in, external/sax/Makefile.in,
3189         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
3191 2005-05-17  David Daney  <ddaney@avtrex.com>
3193         PR libgcj/18220
3194         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
3196 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3198         * exception.cc (abort): Remove std::abort hack.
3199         (gcc_unreacheable): Define.
3201 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
3203         * Makefile.am (Makefile.deps): Do not create native.list and
3204         bytecodes.list.
3205         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
3206         * Makefile.in: Regenerate.
3208 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
3210         * configure.ac (--enable-libgcj-multifile): Remove.
3212         * Makefile.am (all_native_compiled_source_files,
3213         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
3214         all_libgcj_lo_files, all_xlib_lo_files,
3215         all_java_deps_files, all_java_stamp_files,
3216         all_java_filelist_files): New variables.
3217         (EXTRA_DIST): New Automake variable.
3218         (CLEANFILES): Add .stamp, .list and .lo files.
3219         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
3220         (classes.stamp): Depend on $(all_java_stamp_files).
3221         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
3222         going through write_entries_to_file.
3224         (all_java_source_files, all_property_files): Move earlier.
3225         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
3226         all_java_class_files): Remove.
3227         (gtk_awt_peer_sources): Rename to...
3228         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
3230         (ONESTEP): Remove.
3231         (libgcj0_convenience_la_SOURCES): Remove Java source files.
3232         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
3233         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
3234         (libgcj_la_SOURCES): Remove.
3235         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
3236         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
3237         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
3239         * configure: Regenerate.
3240         * Makefile.in: Regenerate.
3241         * external/Makefile.in: Regenerate.
3242         * external/sax/Makefile.in: Regenerate.
3243         * external/w3c_dom/Makefile.in: Regenerate.
3244         * gcj/Makefile.in: Regenerate.
3245         * include/Makefile.in: Regenerate.
3246         * libltdl/Makefile.in: Regenerate.
3247         * testsuite/Makefile.in: Regenerate.
3249 2005-05-16  Tom Tromey  <tromey@redhat.com>
3251         * java/nio/charset/Charset.java (encode, decode): Synchronize on
3252         'this', not the class.
3254 2005-05-16  Tom Tromey  <tromey@redhat.com>
3256         * gnu/java/net/protocol/http/Headers.java (parse): Include final
3257         character of line.
3259 2005-05-16  Tom Tromey  <tromey@redhat.com>
3261         PR libgcj/21606:
3262         * java/net/URI.java (unquote): Handle lower-case letters as well.
3264 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
3266         PR libgcj/20504
3267         * gnu/regexp/RE.java: Add support for quoting constructs.
3269 2005-05-15  Tom Tromey  <tromey@redhat.com>
3271         * java/lang/String.java (startsWith): Fixed javadoc.
3273 2005-05-15  Tom Tromey  <tromey@redhat.com>
3275         PR java/21519:
3276         * testsuite/libjava.compile/pr21519.java: New file.
3277         * testsuite/libjava.compile/pr21519.no-link: New file.
3279 2005-05-15  Tom Tromey  <tromey@redhat.com>
3281         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
3283 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
3285         PR libgcj/21557
3286         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
3287         interrupt status flag if _Jv_CondWait is interrupted.
3289 2005-05-13  Tom Tromey  <tromey@redhat.com>
3291         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
3292         element in path.
3294 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
3296         * include/jvm.h (gcj::verifyClasses): Declare.
3297         * link.cc (gcj::verbose_class_flag): Moved.
3298         * prims.cc (gcj::verifyClasses): Define here.
3299         (gcj::verbose_class_flag): Move definition here.
3300         (_Jv_Linker::wait_for_state): Don't call verify_class
3301         if gcj::verifyClasses is not set.
3302         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
3304 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
3306         * gij.cc (main): Recognize '-verify', '-noverify', and
3307         '-verifyremote'
3309 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3311         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
3313 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3315         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
3316         libgcjawt.la.
3318 2005-05-11  Tom Tromey  <tromey@redhat.com>
3320         * external/w3c_dom/Makefile.in: Rebuilt.
3321         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
3322         -fbootstrap-classes.
3323         * external/sax/Makefile.in: Rebuilt.
3324         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
3325         -fbootstrap-classes.
3326         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
3327         friend.
3328         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3329         Call _Jv_CopyClassesToSystemLoader.
3330         * java/lang/natClassLoader.cc (system_class_list): New global.
3331         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
3332         classes differently.
3333         (_Jv_CopyClassesToSystemLoader): New function.
3334         (SYSTEM_LOADER_INITIALIZED): New define.
3335         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
3336         (_Jv_CheckABIVersion): Use it.
3337         (_Jv_ClassForBootstrapLoader): New function.
3338         * Makefile.in: Rebuilt.
3339         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
3341 2005-05-10  Tom Tromey  <tromey@redhat.com>
3343         * gcj/javaprims.h: Updated.
3344         * java/lang/String.java (String(StringBuilder)): New constructor.
3345         * java/lang/natStringBuilder.cc: New file.
3346         * java/lang/StringBuilder.java: New file.
3347         * Makefile.in: Rebuilt.
3348         * Makefile.am (core_java_source_files): Added StringBuilder.java.
3349         (nat_source_files): Added natStringBuilder.cc.
3351 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
3353         PR java/21436
3354         * testsuite/libjava.jacks/jacks.xfail: Adjust.
3356 2005-05-09  Mike Stump  <mrs@apple.com>
3358         * configure: Regenerate.
3360 2005-05-09  David Daney  <ddaney@avtrex.com>
3362         * java/util/BitSet.java (get(int, int)): Fix breakage when
3363         requested set doesn't start on a multiple of 64.
3365 2005-05-07  Matthias Klose  <doko@debian.org>
3367         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
3369 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
3371         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
3372         * Makefile.in: Regenerate.
3373         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
3374         (createCompatibleVolatileImage(int,int)): Implement.
3375         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
3376         Likewise.
3377         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
3378         New fields.
3379         (createVolatileImage): Implement.
3380         (createBuffers): Likewise.
3381         (getBackBuffer): Likewise.
3382         (flip): Likewise.
3383         (destroyBuffers): Likewise.
3384         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
3385         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
3386         (CanvasFlipBufferStrategy): Likewise.
3387         (createBufferStrategy(int)): New method.
3388         (createBufferStrategy(int,BufferCapabilities)): Likewise.
3389         * java/awt/Component.java (BltBufferStrategy): Implement and
3390         document class.
3391         (FlipBufferStrategy): Likewise.
3392         * java/awt/Window.java (WindowBltBufferStrategy): New class.
3393         (WindowFlipBufferStrategy): Likewise.
3394         (createBufferStrategy(int)): New method.
3395         (createBufferStrategy(int,BufferCapabilities)): Likewise.
3396         (getBufferStrategy): Likewise.
3397         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
3398         front to frontCaps and back to backCaps.
3400 2005-05-06  Michael Koch  <konqueror@gmx.de>
3402         * java/awt/BufferCapabilities.java
3403         (BufferCapabilities): Merged javadoc.
3405 2005-05-06  Michael Koch  <konqueror@gmx.de>
3407         * java/util/Locale.java
3408         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
3409         (getLocale): New methods. Use it everywhere where instances of Locales
3410         are needed.
3411         (getDisplayLanguage): Merged javadoc.
3412         (getDisplayCountry): Likewise.
3413         (getDisplayVariant): Likewise.
3415 2005-05-06  Archie Cobbs  <archie@dellroad.org>
3417         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3418         use DeleteLocalRef() to avoid exhausting local native references.
3420 2005-05-06  Mark Wielaard  <mark@klomp.org>
3422         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3423         (window_delete_cb): Don't use C++ style comments.
3425 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
3427         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
3428         copyright header.
3430 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
3432         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3433         (window_delete_cb): Made the function return TRUE.
3435 2005-05-06  Roman Kennke  <roman@kennke.org>
3437         * javax/swing/text/PlainView.java
3438         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
3439         offset parameter.
3440         * javax/swing/text/Utilities.java
3441         (drawTabbedText): Initilialize local variable pos correctly.
3443 2005-05-06  Roman Kennke  <roman@kennke.org>
3445         * javax/swing/text/AbstractDocument.java
3446         (LeafElement): Made start and end package private fields for
3447         effective reindexing.
3448         * javax/swing/text/PlainDocument.java
3449         (constructor): The field rootElement is always BranchElement,
3450         so we handle it as such.
3451         (removeUpdate): Rewritten reindexing for removeUpdate so that
3452         the actual removal is taken into account.
3454 2005-05-06  Roman Kennke  <roman@kennke.org>
3456         * javax/swing/text/GapContent.java:
3457         Removed debugging output stuff, which I accidentally left in.
3459 2005-05-06  Roman Kennke  <roman@kennke.org>
3461         * javax/swing/text/GapContent.java:
3462         Implemented a real GapContent. Only the public methods have
3463         been implemented so far and still no UndoableEdit support.
3465 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3467         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
3468         the typo.
3470 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3472         * java/awt/image/BufferStrategy.java: Document.
3474         * java/awt/BufferCapabilities.java: Document.
3476 2005-05-04  Tom Tromey  <tromey@redhat.com>
3478         * java/nio/channels/FileLock.java (toString): Entirely avoid
3479         String "+".
3481 2005-05-04  Andrew Overholt  <overholt@redhat.com>
3483         * java/nio/channels/FileLock.java (toString): Re-implement using
3484         StringBuffer.
3486 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3488         * java/awt/ImageCapabilities.java: Document.
3490         * java/awt/image/VolatileImage.java: Unindent copyright header.
3492 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3494         * java/awt/image/VolatileImage.java: Document.
3496 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3499         (init_glib_threads): Check if threading system is already
3500         initialized.
3502 2005-05-03  Andrew Overholt  <overholt@redhat.com>
3504         PR libgcj/21372:
3505         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
3506         could not be acquired.
3507         * java/nio/channels/FileLock.java (toString): Re-implement to be
3508         in line with other implementations.
3510 2005-05-03  Tom Tromey  <tromey@redhat.com>
3512         * java/lang/VMSecurityManager.java (currentClassLoader): Use
3513         'systemClasssLoader' directly.
3515 2005-05-03  Tom Tromey  <tromey@redhat.com>
3517         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
3518         call VMClassLoader.getSystemClassLoader.
3520 2005-04-29  Michael Koch  <konqueror@gmx.de>
3522         * java/net/NetworkInterface.java
3523         (static): Removed.
3524         (NetworkInterface(String,InetAddress)): Made package-private.
3525         (NetworkInterface(String,InetAddress[])): New constructor.
3526         (getRealNetworkInterfaces): Removed.
3527         (getByName): Use VMNetworkInterface.getInterfaces().
3528         (getByInetAddress): Likewise.
3529         (getNetworkInterfaces): Likewise.
3530         * java/net/VMNetworkInterface.java,
3531         java/net/natVMNetworkInterfaceNoNet.cc,
3532         java/net/natVMNetworkInterfacePosix.c,c
3533         java/net/natVMNetworkInterfaceWin32.cc: New files.
3534         * java/net/natNetworkInterfaceNoNet.cc,
3535         java/net/natNetworkInterfacePosix.cc,
3536          java/net/natNetworkInterfaceWin32.cc: Removed.
3537         * configure.ac
3538         * Makefile.am
3539         * configure, Makefile.in: Regenerated.
3541 2005-04-29  Andrew Haley  <aph@redhat.com>
3543         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
3545 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
3547         * java/nio/channels/FileChannelImpl.java
3548         (FileChannelImpl(String, int)): Removed.
3549         (FileChannelImpl(File, int)): Added. Check if opened file is a
3550         directory.
3551         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
3552         Call FileChannelImpl(File, int).
3553         * java/io/FileOutputStream.java (FileInputStream): Call
3554         FileChannelImpl(File, int).
3555         * java/io/RandomAccessFile.java (RandomAccessFile):
3556         Call FileChannelImpl(File, int). Switched constructors around.
3558 2005-04-27  Andrew Haley  <aph@redhat.com>
3560         PR java/19285
3561         * prims.cc (_Jv_ResolvePoolEntry): New function.
3562         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
3563         * link.cc (_Jv_Linker::find_field): New arg: found_class.
3564         (resolve_pool_entry): Initialize the class in which a field is
3565         found.
3566         (link_symbol_table): Pass new arg to found_class.
3568 2005-04-29  Michael Koch  <konqueror@gmx.de>
3570         * java/nio/charset/Charset.java
3571         (provider): Reformatted.
3573 2005-04-29  Michael Koch  <konqueror@gmx.de>
3575         * gnu/java/net/protocol/http/HTTPConnection.java:
3576         (userAgent): Initialize from system properties.
3577         (initUserAgent): Removed.
3579 2005-04-29  Mark Wielaard  <mark@klomp.org>
3581         * java/util/ResourceBundle.java (getObject): Clarify
3582         MissingResourceException detailed message.
3583         (tryBundle(String,ClassLoader)): Likewise.
3585 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3587         * java/beans/FeatureDescriptor.java:
3588         (getShortDescription): Implemented fallback mechanism and fixed
3589         documentation (fixes bug #12637).
3590         (getDisplayName): Dito.
3592 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3594         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
3595         will now be set correctly.
3596         (flushCaches): Now flushes all cached intermediate data.
3598 2005-04-28  Michael Koch  <konqueror@gmx.de>
3600         * java/net/InetAddress.java
3601         (aton): Fixed javadoc.
3602         (lookup): Likewise.
3604 2005-04-28  Tom Tromey  <tromey@redhat.com>
3606         * javax/swing/Timer.java
3607         (drainEvents, queueEvent): Now package-private.
3609 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3611         * javax/swing/Timer.java
3612         (constructor): Assigning initialDelay.
3614 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3616         * javax/swing/Timer.java
3617         (Waker.run): firing the first action event.
3619 2005-04-28  Michael Koch  <konqueror@gmx.de>
3621         * javax/swing/Timer.java: Reordered all fields and methods,
3622         Added more javadocs.
3624 2005-04-28  Michael Koch  <konqueror@gmx.de>
3626         * javax/swing/Timer.java: Javadocs merged
3627         from GNU classpath.
3629 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
3631         * gnu/java/net/protocol/file/Connection.java
3632         (StaticData): New inner class to contain statics.
3633         (connect, getHeaderField): Modified to use StaticData.
3635 2005-04-28  Michael Koch  <konqueror@gmx.de>
3637         * gnu/java/net/protocol/file/Connection.java
3638         (lineSeparator): Initialize with SystemProperties.getProperty().
3640 2005-04-27  Chris Burdess  <dog@gnu.org>
3642         * gnu/java/net/protocol/file/Connection.java: Return correct content
3643         length for directory listing.
3644         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
3645         #11285: return valid URLs for directories.i
3647 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3649         * Makefile.am (ordinary_java_source_files): Add
3650         gnu/java/net/protocol/https/Handler.java.
3651         * Makefile.in: Regenerate.
3652         * java/net/URL.java: Remove org.metastatic.jessie from default
3653         protocol search path.
3655 2005-04-27  Chris Burdess  <dog@gnu.org>
3657         * gnu/java/net/protocol/https/Handler.java: New file.
3659 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
3661         * javax/imageio/spi/IIORegistry.java (IIORegistry):
3662         Don't assume that awt Toolkit is always ClasspathToolkit.
3664 2005-04-27  Chris Burdess  <dog@gnu.org>
3666         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
3667         absolute and relative paths in Location header.
3669 2005-04-27  Chris Burdess  <dog@gnu.org>
3671         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
3672         FileNotFoundException and implement getErrorStream on 404.
3674 2005-04-27  Sven de Marothy <sven@physto.se>
3676         * java/util/TimeZone.java,
3677         (getDefaultDisplayName): Fix previous fix.
3679 2005-04-27  Sven de Marothy <sven@physto.se>
3681         * java/util/TimeZone.java,
3682         (getDefaultDisplayName): Don't print zero offsets.
3684 2005-04-27  Roman Kennke  <roman@kennke.org>
3686         * javax/swing/plaf/basic/BasicScrollBarUI
3687         (getThumbBounds): Do not make thumb smaller than
3688         minimumThumbSize.
3689         * javax/swing/plaf/metal/MetalLookAndFeel
3690         (initComponentDefaults): Added color defaults for ScrollBar.
3691         * javax/swing/plaf/metal/MetalScrollBarUI
3692         (paintThumb): Added.
3693         (getMinimumThumbSize): Added.
3695 2005-04-27  Roman Kennke  <roman@kennke.org>
3697         * javax/swing/plaf/metal/MetalLookAndFeel
3698         (initComponentDefaults): Added some default colors.
3700 2005-04-27  Roman Kennke  <roman@kennke.org>
3702         * javax/swing/plaf/basic/BasicScrollBarUI.java
3703         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
3704         to 'ScrollBar.thumbShadow'. The formes does not exist.
3705         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
3707 2005-04-27  Roman Kennke  <roman@kennke.org>
3709         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
3710         * javax/swing/BoxLayout.java: Likewise.
3711         * javax/swing/UIManager.java: Likewise.
3712         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3713         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
3714         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3715         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3716         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
3717         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
3718         * javax/swing/text/Document.java: Likewise.
3719         * javax/swing/text/GapContent.java: Likewise.
3720         * javax/swing/text/SimpleAttributeSet.java: Likewise.
3721         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
3723 2005-04-27  Roman Kennke  <roman@kennke.org>
3725         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3726         (getPropertyPrefix): Added.
3728 2005-04-27  Roman Kennke  <roman@kennke.org>
3730         * javax/swing/plaf/basic/BasicButtonUI.java
3731         (getPropertyPrefix): Added.
3732         (installDefaults): Use getPropertyPrefix instead of hard-coded
3733         prefix.
3735 2005-04-27  Roman Kennke  <roman@kennke.org>
3737         * javax/swing/JToggleButton.java
3738         (JToggleButton): Removed horizontalAlignment setting, this
3739         was wrong. Added setting of an actionCommand, ToggleButtons
3740         have "" as default actionCommand.
3742 2005-04-27  Michael Koch  <konqueror@gmx.de>
3744         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
3745         to work around CNI limitation.
3747 2005-04-27  Sven de Marothy  <sven@physto.se>
3749         * java/nio/charset/Charset.java:
3750         (defaultCharset()): New method.
3751         Status updated to 1.5
3753 2005-04-27  Sven de Marothy  <sven@physto.se>
3755         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3757 2005-04-27  Sven de Marothy  <sven@physto.se>
3759         * java/nio/charset/Charset.java: Reset cached de/encoders.
3761 2005-04-27  Robert Schuster <thebohemian@gmx.net>
3763         * java/nio/charset/Charset.java (forName): Throws
3764         IllegalArgumentException when argument is null
3765         and added documentation.
3767 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3769         * java/nio/charset/Charset.java (providers):
3770         New method to make an array of CharsetProviders defined in
3771         META-INF/services/java.nio.charset.spi.CharsetProvider.
3772         (charsetForName, availableCharsets): Use the
3773         new method providers().
3775 2005-04-26  Michael Koch  <konqueror@gmx.de>
3777         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3778         Fixed typos in javadocs.
3779         (isSiteLocalAddress): Fixed handling of byte values.
3780         (isMCLinkLocal): Likewise.
3781         * java/net/Inet4Address.java
3782         (isMulticastAddress): Call super method.
3783         (isLoopbackAddress): Likewise.
3784         (isAnyLocalAddress): Likewise.
3785         (isLinkLocalAddress): Likewise.
3786         (isSiteLocalAddress): Likewise.
3787         (isMCGlobal): Likewise.
3788         (isMCNodeLocal): Likewise.
3789         (isMCLinkLocal): Likewise.
3790         (isMCSiteLocal): Likewise.
3791         (isMCOrgLocal): Likewise.
3792         (getHostAddress): Likewise.
3794 2005-04-26  Sven de Marothy  <sven@physto.se>
3796         * java/net/InetAddress.java
3797         (toString): Don't print empty hostnames.
3799 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
3801         PR libgcj/21136:
3802         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3803         'false' to native lock().
3804         (lock): Pass 'true' to native lock().
3806 2005-04-26  Michael Koch  <konqueror@gmx.de>
3808         * java/net/InetAddress.java:
3809         Fixed typos in javadocs.
3811 2005-04-26  Andrew Haley  <aph@redhat.com>
3813         PR libgcj/21020:
3814         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3815         field's type.
3817 2005-04-26  Tom Tromey  <tromey@redhat.com>
3819         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3820         gnu): Now package-private.
3821         * javax/swing/text/html/parser/DocumentParser.java (parser,
3822         callBack, gnu): Now package-private.
3823         * javax/swing/text/StringContent.java (content, setOffset,
3824         checkLocation): Now package-private.
3825         * javax/swing/text/JTextComponent.java (doc): Now
3826         package-private.
3827         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3828         lastGoodOrientation, origParent, borders, cachedBounds,
3829         cachedOrientation, DragWindow): Now package-private.
3830         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3831         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3832         tabAreaRect, contentRect, createIncreaseButton,
3833         createDecreaseButton, findPointForIndex): Now package-private.
3834         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3835         (currentDividerLocation, moveDividerTo): Now package-private.
3836         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3837         package-private.
3838         * javax/swing/plaf/basic/BasicScrollBarUI.java
3839         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3840         Now package-private.
3841         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3842         (topWindowListener): Now package-private.
3843         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3844         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3845         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3846         package-private.
3847         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3848         package-private.
3849         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3850         Now package-private.
3851         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3852         package-private.
3853         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3854         borderInsets): Now package-private.
3855         (arrowButtonWidth): Likewise.  Now a constant.
3856         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3857         makeTabs, updatePreviewPanel): Now package-private.
3858         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3859         darkShadow, highlight): Now package-private.
3860         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3861         (addColorToQueue): Now package-private.
3862         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3863         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3864         GSpinner, BSpinner): Now package-private.
3865         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3866         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3867         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3868         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3869         updateTrack): Now package-private.
3870         * javax/swing/TransferHandler.java (clipboard): Now
3871         package-private.
3872         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3873         package-private.
3874         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3875         package-private.
3876         * javax/swing/RepaintManager.java (globalManager): Now
3877         package-private.
3878         * javax/swing/JFormattedTextField.java (editValid): Now
3879         package-private.
3880         * javax/swing/JColorChooser.java (makeModal): Now
3881         package-private.
3882         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3883         index, path): Now package-private.
3884         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3885         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3886         pointEquals): Now package-private.
3887         * java/awt/geom/Arc2D.java (type): Now package-private.
3888         * java/awt/Window.java (windowFocusOwner): Now package-private.
3889         * java/awt/TextComponent.java (editable, selectionStart,
3890         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3891         package-private.
3892         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3893         package-private.
3894         * java/awt/MenuComponent.java (focusListener): Now
3895         package-private.
3896         * java/awt/Frame.java (state): Now package-private.
3897         * java/awt/Choice.java (pItems): Now package-private.
3898         * java/awt/Checkbox.java (state): Now package-private.
3899         * java/awt/Button.java (actionCommand, label): Now
3900         package-private.
3901         * gnu/javax/swing/text/html/parser/support/Parser.java
3902         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3903         package-private.
3904         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3905         package-private.
3906         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3907         clip, transform, font, comp): Now package-private.
3909 2005-04-26  Tom Tromey  <tromey@redhat.com>
3911         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3912         static way.
3914 2005-04-26  Mark Wielaard  <mark@klomp.org>
3916         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3917         to MalformedURLException.
3919 2005-04-26  Michael Koch  <konqueror@gmx.de>
3921         * java/security/AccessControlContext.java:
3922         Reformated.
3923         (protectedDomains): Renamed from 'protectionDomain'.
3924         * java/security/AccessController.java:
3925         Reformatted.
3927 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3929         * gnu/java/security/action/GetSecurityPropertyAction.java
3930         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3931         of extending GetPropertyAction.
3932         (name): New field.
3933         (value): Likewise.
3934         (setParamters): New methods.
3935         (GetSecurityPropertyAction): Use new setParameters methods.
3937 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3939         * java/security/Security.java,
3940         java/security/cert/X509CRLSelector.java,
3941         java/security/cert/X509CertSelector.java:
3942         Modified to use SystemProperties.
3944 2005-04-26  Michael Koch  <konqueror@gmx.de>
3946         * java/lang/System.java
3947         (setSecurityManager): Fixed comment.
3948         (getSecurityManager): Removed obsolete comment.
3950 2005-04-25  Tom Tromey  <tromey@redhat.com>
3952         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3954 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3957         (connectSignals): Realize the window widget after connecting
3958         signals.
3960 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3962         * java/awt/GraphicsEnvironment.java
3963         (localGraphicsEnvironment): New field.
3964         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3965         property.
3966         (isHeadless): Added support for java.awt.headless property.
3967         (isHeadlessInstance): Call headless().
3969 2005-04-25  Roman Kennke  <roman@kennke.org>
3971         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3972         (getDisplayMode): Added. Returns the current display mode.
3973         (isFullScreenSupported): Added.
3974         * java/awt/GraphicsDevice.java
3975         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3976         This resizes and relocates the fullscreen window so that it uses
3977         the whole screen. This is not a fully accelerated fullscreen
3978         exclusive mode.
3980 2005-04-25  Michael Koch  <konqueror@gmx.de>
3982         * java/lang/Runtime.java,
3983         java/lang/SecurityManager.java,
3984         java/lang/System.java,
3985         java/lang/ThreadGroup.java:
3986         Replaced java.lang.Runtime.securityManager by
3987         java.lang.SecurityManager.current (as used in GNU classpath).
3989 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
3991         * java/awt/Transparency.java
3992         (getTransparency): fixed API docs.
3994 2005-04-25  Archie Cobbs  <archie@dellroad.org>
3996         * java/lang/Throwable.java: simplify initializing cause in constructor
3998 2005-04-25  Michael Koch  <konqueror@gmx.de>
4000         * gnu/classpath/SystemProperties.java: New file.
4001         * gnu/classpath/natSystemProperties.cc: New file.
4002         * java/lang/Runtime.java
4003         (defaultProperties): Removed.
4004         (static): Likewise.
4005         (): Made thrown exceptions more verbose.
4006         (insertSystemProperties): Removed.
4007         * java/lang/System.java
4008         (static): Likewise.
4009         (properties): Likewise.
4010         (setSecurityManager): Reordered modifiers.
4011         (getenv): Improved javadoc.
4012         (): Likewise.
4013         (isWordsBigEndian): Removed.
4014         * java/lang/natRuntime.cc
4015         (_Jv_SetDLLSearchPath): Likewise.
4016         (file_encoding): Likewise.
4017         (default_file_encoding): Likewise.
4018         (getpwuid_adaptor): Likewise.
4019         (insertSystemProperties): Likewise.
4020         * java/lang/natSystem.cc
4021         (isWordsBigEndian): Likewise.
4022         * Makefile.am
4023         (ordinary_java_source_files):
4024         Added gnu/classpath/SystemProperties.java.
4025         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
4026         * Makefile.in: Regenerated.
4028 2005-04-25  Roman Kennke  <roman@kennke.org>
4030         * javax/swing/plaf/basic/BasicScrollBarUI.java
4031         (initDefaults): Initialize thumb*Color fields correctly.
4033 2005-04-25  Roman Kennke  <roman@kennke.org>
4035         * javax/swing/text/GapContent.java:
4036         Added API comments.
4038 2005-04-25  Roman Kennke  <roman@kennke.org>
4040         * javax/swing/plaf/metal/MetalBorders.java:
4041         Added inner class ScrollPaneBorder.
4042         * javax/swing/plaf/metal/MetalLookAndFeel.java
4043         (initComponentDefaults): Added default for "ScrollPane.border"
4044         to use the new ScrollPaneBorder.
4046 2005-04-25  Roman Kennke  <roman@kennke.org>
4048         * javax/swing/text/AbstractDocument.java:
4049         Added FIXME comments. This class still has to be
4050         implemented thread-safe.
4052 2005-04-25  Roman Kennke  <roman@kennke.org>
4054         * javax/swing/tree/DefaultTreeSelectionModel.java
4055         (DefaultTreeSelectionModel): Initialize listenerList here.
4057 2005-04-25  Roman Kennke  <roman@kennke.org>
4059         * javax/swing/plaf/metal/MetalTextFieldUI.java
4060         (createUI): Return one instance per Component instead of a
4061         shared instance.
4063 2005-04-25  Roman Kennke  <roman@kennke.org>
4065         * javax/swing/text/Document.java:
4066         Added API documentation comments.
4068 2005-04-25  Roman Kennke  <roman@kennke.org>
4070         * javax/swing/text/AbstractDocument.java
4071         (getDocumentProperties): Implemented.
4072         (setDocumentProperties): Implemented.
4073         (getProperty): Implemented.
4074         (putProperty): Implemented.
4076 2005-04-25  Roman Kennke  <roman@kennke.org>
4078         * javax/swing/BoxLayout
4079         (preferredLayoutSize): Fixed computation so that it correctly
4080         adds the top and bottom insets of the container.
4082 2005-04-25  Roman Kennke  <roman@kennke.org>
4084         * javax/swing/plaf/basic/BasicMenuItemUI.java
4085         (paintText): Make use of the 'selectionForeground' UI default
4086         for text painting.
4088 2005-04-25  Roman Kennke  <roman@kennke.org>
4090         * javax/swing/plaf/basic/BasicLookAndFeel.java
4091         (initSystemColorDefaults): Modified colors to match the
4092         BasicLookAndFeel in the reference implementation.
4093         (initComponentDefaults): Likewise.
4095 2005-04-25  Tom Tromey  <tromey@redhat.com>
4097         * include/jni.h (_Jv_va_list): Removed.
4098         Moved configuration code...
4099         * include/jni_md.h: ... here.  New file.
4100         * include/Makefile.in: Rebuilt.
4101         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
4103 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
4105         * java/io/FileInputStream.java (FileInputStream(File)),
4106         java/io/FileOutputStream.java (FileOutputStream(File)):
4107         Removed unnecessary File.isDirectory() check.
4109 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
4111         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
4112         gij if get_multilibs fails.
4114 2005-04-22  Anthony Green  <green@redhat.com>
4116         * jni.cc (natrehash): Don't bother clearing memory again.
4117         * interpret.cc (do_allocate_static_fields): Ditto.
4118         * java/lang/natString.cc (rehash): Ditto.
4120 2005-04-22  Roman Kennke  <roman@kennke.org>
4122         * javax/swing/plaf/basic/BasicLookAndFeel.java
4123         (initComponentDefaults): Changed Button.border to be
4124         BasicBorders.getButtonBorder as it should be.
4126 2005-04-22  Roman Kennke  <roman@kennke.org>
4128         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4129         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
4130         should according to a mauve testcase, instead of the preferred
4131         size.
4133 2005-04-22  Roman Kennke  <roman@kennke.org>
4135         * javax/swing/JMenu.java
4136         (add): add(Component) now calls PopupMenu.insert(..) instead of
4137         PopupMenu.add(..). add(..) is not implemented for Component,
4138         so JComponent.add(..) is called instead, adding the component
4139         in the wrong place.
4141 2005-04-22  Roman Kennke  <roman@kennke.org>
4143         * javax/swing/plaf/basic/BasicButtonListener.java
4144         (mousePressed): replaced query to getModifiersEx with getModifiers.
4145         This method relied on faulty behaviour in getModifierEx.
4146         (mouseReleased): replaced query to getModifiersEx with getModifiers.
4147         This method relied on faulty behaviour in getModifierEx.
4149 2005-04-22  Roman Kennke  <roman@kennke.org>
4151         * javax/swing/plaf/metal/MetalLookAndFeel.java
4152         (getDefaults): Call addCustomEntriesToTable on the theme.
4154 2005-04-22  Roman Kennke  <roman@kennke.org>
4156         * javax/swing/tree/DefaultTreeSelectionModel.java
4157         (constructor): Added implementation.
4158         (getRowMapper): Added implementation.
4159         (setSelectionMode): Added implementation.
4160         (getSelectionMode): Added implementation.
4161         (getSelectionPath): Added implementation.
4162         (getSelectionPaths): Added implementation.
4163         (getSelectionCount): Added implementation.
4164         (isSelectionEmpty): Added implementation.
4165         (getSelectionRows): Added implementation.
4166         (getMinSelectionRow): Added implementation.
4167         (getMaxSelectionRow): Added implementation.
4168         (getLeadSelectionRow): Added implementation.
4169         (getLeadSelectionPath): Added implementation.
4171 2005-04-22  Casey Marshall <csm@gnu.org>
4173         * gnu/java/security/der/DERValue.java
4174         (getValueAs): new method.
4175         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
4176         (<init>): read both dates with 'DERValue.getValueAs', with
4177         'GENERALIZED_TIME' as the argument.
4179 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
4181         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
4182         be null, check for that case and don't deference it.
4184 2005-04-22  Sven de Marothy  <sven@physto.se>
4186         * java/util/logging/LogManager.java: Reformatted.
4187         (readConfiguration): If a logger for a key is not found, create one.
4189 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4191         * java/rmi/Naming.java:
4192         Added class documentation.
4193         (lookup(String)): Call parseURL and getName.
4194         (bind(String,java.rmi.Remote)): Likewise.
4195         (unbind(String)): Likewise.
4196         (rebind(String, java.rmi.Remote)): Likewise.
4197         (list(String)): Call parseURL.
4198         (parseURL(String)): New method to handle parsing and defaults.
4199         (getName(java.net.URL)): New method to handle finding the service name.
4201 2005-04-21  Tom Tromey  <tromey@redhat.com>
4203         * java/lang/natClass.cc (initializeClass): Link class.
4205 2005-04-21  Tom Tromey  <tromey@redhat.com>
4207         * java/lang/AssertionError.java: Typo fix.
4209 2005-04-21  Tom Tromey  <tromey@redhat.com>
4211         * java/lang/VMClassLoader.java (transformException): Removed.
4212         (resolveClass): No longer native.  Now does nothing.
4213         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
4215 2005-04-21  Anthony Green  <green@redhat.com>
4217         PR libgcj/21115
4218         * testsuite/libjava.special/special.exp,
4219         testsuite/libjava.special/pr21115I.java,
4220         testsuite/libjava.special/pr21115.java,
4221         testsuite/libjava.special/pr21115.out: New files.
4223 2005-04-21  Chris Burdess  <dog@gnu.org>
4225         * gnu/java/net/CRLFInputStream.java: Rewrite to return
4226         CRLF-delimited chunks.
4228 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4230         * java/net/URI.java:
4231         Added class documentation.
4232         (parseURI(String)): Only handle scheme-specific parts
4233         if URI is not opaque.  Allow for parts that can't be null.
4234         (toString()): Output the scheme-specific part whole, rather
4235         than as its possibly non-existent components.
4237 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4239         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
4240         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
4241         Adjusted to match new regexp.
4243 2005-04-20  Michael Koch  <konqueror@gmx.de>
4245         * gnu/java/net/protocol/file/Connection.java,
4246         gnu/java/net/protocol/jar/Connection.java:
4247         Reorganized import statements. Fixed @author tags.
4249 2005-04-20  Chris Burdess  <dog@gnu.org>
4251         * java/io/DataOutputStream.java (writeUTF): Use block write for
4252         output.
4254 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4256         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
4257         (readLine): Changed newline handling.
4259 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4261         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
4262         ColorModel,byte[],int,int): Fixed byte to int conversion.
4264 2005-04-20  Michael Koch  <konqueror@gmx.de>
4266         * java/io/FilePermission.java
4267         (serialVersionUID): Made private.
4268         (ALL_FILES): New constant.
4269         (implies): Handle '<<ALL FILES>>' case.
4271 2005-04-20  Sven de Marothy  <sven@physto.se>
4273         * gnu/java/awt/peer/gtk/GdkGraphics.java:
4274         (drawImage): Don't notify the image observer for offscreen images.
4275         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
4276         (setPixels): Don't notify the image observer.
4278 2005-04-20  Sven de Marothy  <sven@physto.se>
4280         * java/nio/ByteBufferImpl.java:
4281         (putChar): Inlined for speed.
4282         (put, get): Bulk methods can use arraycopy.
4283         * java/nio/CharBufferImpl.java:
4284         (put, get): Bulk methods can use arraycopy.
4286 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4288         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
4289         and field updates.
4290         * java/nio/CharBufferImpl.java
4291         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
4292         (get(), put(char)): Inlined checks and field updates. Fixed to
4293         take array_offset into account.
4294         (get(int), put(int, char)): Fixed to take array_offset into account.
4296 2005-04-20  Sven de Marothy  <sven@physto.se>
4298         * java/text/SimpleDateFormat.java:
4299         (formatWithAttribute): Pad year before truncating digits.
4301 2005-04-20  Michael Koch  <konqueror@gmx.de>
4303         * gnu/java/net/PlainDatagramSocketImpl.java:
4304         Merged copyright header.
4305         * gnu/java/net/PlainSocketImpl.java:
4306         Reorganized import statements. Fixed @author tags.
4308 2005-04-20  Michael Koch  <konqueror@gmx.de>
4310         * gnu/java/lang/ClassHelper.java,
4311         gnu/java/lang/reflect/TypeSignature.java:
4312         Fixed @author tag.
4314 2005-04-20  Michael Koch  <konqueror@gmx.de>
4316         * gnu/java/beans/IntrospectionIncubator.java:
4317         Fixed HTML tags in javadocs.
4319 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4321         * gnu/java/beans/IntrospectionIncubator.java
4322         (addToPropertyHash, addToListenerHash): Don't confuse get(),
4323         set(), is(), add() and remove() with properties or events.
4325 2005-04-20  Michael Koch  <konqueror@gmx.de>
4327         * gnu/java/awt/image/XBMDecoder.java:
4328         Fixed modifier order.
4330 2005-04-20  Roman Kennke  <roman@kennke.org>
4332         * javax/swing/plaf/basic/BasicButtonUI.java
4333         (paint): This should not care about margin and insets
4334         at the same time, as insets already include the margin
4335         through the border.
4336         * javax/swing/plaf/basic/BasicGraphicsUtils.java
4337         (getPreferredButtonSize): Likewise.
4338         * javax/swing/plaf/metal/MetalBorders.java
4339         (getBorderInsets): Likewise.
4341 2005-04-20  Roman Kennke  <roman@kennke.org>
4343         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4344         (createMessageArea): The JPanel that holds the message area
4345         doesn't need to override getPreferredSize. This prevents some
4346         message components from rendering nicely.
4348 2005-04-20  Roman Kennke  <roman@kennke.org>
4350         * javax/swing/plaf/metal/MetalInternalFrameUI.java
4351         (createUI): Do not share instances between components.
4352         * javax/swing/plaf/metal/MetalSliderUI.java
4353         (createUI): Do not share instances between components.
4355 2005-04-20  Roman Kennke  <roman@kennke.org>
4357         * javax/swing/plaf/metal/MetalBorders:
4358         (PopupMenuBorder): Added.
4359         * javax/swing/plaf/metal/MetalLookAndFeel
4360         (initComponentDefaults): Added PopupMenuBorder.
4362 2005-04-20  Roman Kennke  <roman@kennke.org>
4364         * javax/swing/tree/DefaultTreeSelectionModel.java:
4365         Added API documentation all over the class.
4367 2005-04-20  Roman Kennke  <roman@kennke.org>
4369         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4370         (installDefaults): Link managed JScrollPane in instance field.
4371         (uninstallDefaults): Unlink managed JScrollPane in instance field.
4373 2005-04-20  Roman Kennke  <roman@kennke.org>
4375         * javax/swing/plaf/basic/BasicScrollBarUI.java
4376         (PropertyChangeHandler.propertyChange): Add default
4377         to switch statement to avoid errors with unusual values
4378         for orientation.
4379         (installComponents): Likewise.
4381 2005-04-20  Roman Kennke  <roman@kennke.org>
4383         * javax/swing/plaf/metal/MetalScrollBarUI.java:
4384         (createUI): Instances cannot be shared among JScrollPanes.
4386 2005-04-20  Roman Kennke  <roman@kennke.org>
4388         * javax/swing/plaf/metal/MetalLookAndFeel.java
4389         (initComponentDefaults): Added defaults for Menu, MenuBar
4390         MenuEntry fonts.
4392 2005-04-20  Roman Kennke  <roman@kennke.org>
4394         * javax/swing/plaf/basic/BasicScrollBarUI.java
4395         (installUI): Install listeners after everything all, otherwise
4396         we get strange NPEs in some situations, especially with
4397         custom L&Fs.
4398         (createIncreaseButton): Orientation is expected to be
4399         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4400         HORIZONTAL or VERTICAL.
4401         (createDecreaseButton): Orientation is expected to be
4402         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4403         HORIZONTAL or VERTICAL.
4404         (installComponents): Orientation for buttons is expected to be
4405         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4406         HORIZONTAL or VERTICAL.
4408 2005-04-20  Roman Kennke  <roman@kennke.org>
4410         * javax/swing/JToolBar.java
4411         (addImpl): Adjust added AbstractButtons to look and feel like
4412         toolbar buttons.
4413         * javax/swing/plaf/metal/MetalBorders.java:
4414         Adjusted insets of ButtonBorder.
4415         (RolloverMarginBorder): Added class for toolbar buttons.
4416         (getButtonBorder): Adjusted factory method to return a shared
4417         instance of button border.
4418         (getToolbarButtonBorder): Added factory method to return a shared
4419         instance of toolbar button border.
4420         (getMarginBorder): Added factory method to return a shared
4421         instance of margin border.
4422         * javax/swing/plaf/metal/MetalButtonUI.java
4423         (installDefauls): If button is child of a JToolBar then set
4424         special border on this button.
4426 2005-04-20  Michael Koch  <konqueror@gmx.de>
4428         * java/net/URLConnection.java
4429         (getContent): Fixed javadoc comment.
4431 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4433         * java/net/URL.java:
4434         (toURI()): Implemented.
4436 2005-04-19  Michael Koch  <konqueror@gmx.de>
4438         * java/net/InetAddress.java
4439         (InetAddress): Fixed javadoc comment.
4440         (aton): Likewise.
4441         (lookup): Added javadoc.
4442         (getFamily): Likewise.
4443         * java/net/ServerSocket.java
4444         (getChannel): Improved javadoc comment.
4446 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4448         * gnu/xml/dom/html2/DomHTMLParser.java:
4449         Changed 'enum' references to become 'enumeration'.
4451 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4453         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
4455 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4457         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
4458         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
4459         * gnu/javax/swing/text/html/parser/htmlValidator.java:
4460         (validateParameters(TagElement,htmlAttributeSet)):
4461         Replaced 'enum' with 'enumeration'.
4462         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
4463         Likewise.
4465 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4467         * javax/swing/text/html/parser/Entity.java (getType): New method.
4468         * javax/swing/text/html/parser/DocumentParser.java:
4469         Inherit from javax.swing.text.html.parser.Parser.
4471 2005-04-19  Chris Burdess  <dog@gnu.org>
4473         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
4474         check for HTML/XHTML namespace.
4476 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4478         * javax/swing/text/html/parser/Parser.java,
4479         javax/swing/text/html/parser/Entity.java:
4480         Inheriting from DTDConstants.
4481         * javax/swing/text/html/parser/AttributeList.java
4482         (getValues): Changed return type.
4483         * javax/swing/text/html/parser/DocumentParser
4484         (parse): Adding the callback parameter that receives
4485         the parsing events.
4487 2005-04-19  Chris Burdess  <dog@gnu.org>
4489         * gnu/xml/dom/DomImpl.java,
4490         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
4491         gnu/xml/dom/html2/DomHTMLDocument.java,
4492         gnu/xml/dom/html2/DomHTMLElement.java,
4493         gnu/xml/dom/html2/DomHTMLFormElement.java,
4494         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4495         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4496         gnu/xml/dom/html2/DomHTMLImpl.java,
4497         gnu/xml/dom/html2/DomHTMLInputElement.java,
4498         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4499         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4500         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4501         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4502         gnu/xml/dom/html2/DomHTMLTableElement.java,
4503         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4504         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4505         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
4506         UI events, and tree utility functions.
4508 2005-04-19  Michael Koch  <konqueror@gmx.de>
4510         * gnu/javax/swing/text/html/parser/HTML_401F.java,
4511         gnu/javax/swing/text/html/parser/gnuDTD.java,
4512         gnu/javax/swing/text/html/parser/models/node.java:
4513         Reworked import statements.
4515 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
4517         * javax/swing/text/html/HTMLDocument.java: New file.
4519 2005-04-19  Michael Koch  <konqueror@gmx.de>
4521         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
4522         Reformatted.
4523         * javax/swing/text/html/parser/AttributeList.java:
4524         Fixed order of modifiers.
4525         (AttributeList): Made final.
4526         * javax/swing/text/html/parser/ContentModel.java:
4527         Fixed html characters in javadocs.
4528         * javax/swing/text/html/parser/DTD.java
4529         (DTD): Don't implement java.io.Serializable directly.
4530         (getElement): Simplified.
4531         * javax/swing/text/html/parser/DTDConstants.java:
4532         Reformatted file.
4533         * javax/swing/text/html/parser/Element.java:
4534         Fixed order of modifiers.
4535         * javax/swing/text/html/parser/Parser.java:
4536         Reformatted. Don't use fully-qualified class names.
4537         * javax/swing/text/html/parser/ParserDelegator.java:
4538         Fixed order of modifiers.
4539         * javax/swing/text/rtf/RTFParser.java:
4540         Re-ordered import statements.
4541         * javax/swing/text/rtf/RTFScanner.java:
4542         Removed unused import statement.
4544 2005-04-19  Chris Burdess  <dog@gnu.org>
4546         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
4547         gnu/xml/dom/html2/DomHTMLCollection.java,
4548         gnu/xml/dom/html2/DomHTMLDocument.java,
4549         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
4550         types.
4551         * gnu/xml/dom/html2/DomHTMLDListElement.java,
4552         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
4553         gnu/xml/dom/html2/DomHTMLDivElement.java,
4554         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
4555         gnu/xml/dom/html2/DomHTMLFontElement.java,
4556         gnu/xml/dom/html2/DomHTMLFormElement.java,
4557         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4558         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
4559         gnu/xml/dom/html2/DomHTMLHRElement.java,
4560         gnu/xml/dom/html2/DomHTMLHeadElement.java,
4561         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
4562         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
4563         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4564         gnu/xml/dom/html2/DomHTMLImageElement.java,
4565         gnu/xml/dom/html2/DomHTMLInputElement.java,
4566         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
4567         gnu/xml/dom/html2/DomHTMLLIElement.java,
4568         gnu/xml/dom/html2/DomHTMLLabelElement.java,
4569         gnu/xml/dom/html2/DomHTMLLegendElement.java,
4570         gnu/xml/dom/html2/DomHTMLLinkElement.java,
4571         gnu/xml/dom/html2/DomHTMLMapElement.java,
4572         gnu/xml/dom/html2/DomHTMLMenuElement.java,
4573         gnu/xml/dom/html2/DomHTMLMetaElement.java,
4574         gnu/xml/dom/html2/DomHTMLModElement.java,
4575         gnu/xml/dom/html2/DomHTMLOListElement.java,
4576         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4577         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
4578         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4579         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
4580         gnu/xml/dom/html2/DomHTMLParamElement.java,
4581         gnu/xml/dom/html2/DomHTMLPreElement.java,
4582         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
4583         gnu/xml/dom/html2/DomHTMLScriptElement.java,
4584         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4585         gnu/xml/dom/html2/DomHTMLStyleElement.java,
4586         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
4587         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4588         gnu/xml/dom/html2/DomHTMLTableColElement.java,
4589         gnu/xml/dom/html2/DomHTMLTableElement.java,
4590         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4591         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4592         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
4593         gnu/xml/dom/html2/DomHTMLTitleElement.java,
4594         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
4596 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4598         * javax/swing/text/ChangedCharSetException.java,
4599         javax/swing/text/html/HTMLEditorKit.java,
4600         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
4601         javax/swing/text/html/parser/AttributeList.java,
4602         javax/swing/text/html/parser/ContentModel.java,
4603         javax/swing/text/html/parser/DocumentParser.java,
4604         javax/swing/text/html/parser/DTD.java,
4605         javax/swing/text/html/parser/DTDConstants.java,
4606         javax/swing/text/html/parser/Element.java,
4607         javax/swing/text/html/parser/Entity.java,
4608         javax/swing/text/html/parser/Parser.java,
4609         javax/swing/text/html/parser/TagElement.java,
4610         gnu/javax/swing/text/html/package.html,
4611         gnu/javax/swing/text/html/parser/gnuDTD.java,
4612         gnu/javax/swing/text/html/parser/HTML_401F.java,
4613         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
4614         gnu/javax/swing/text/html/parser/htmlValidator.java,
4615         gnu/javax/swing/text/html/parser/package.html,
4616         gnu/javax/swing/text/html/parser/models/list.java,
4617         gnu/javax/swing/text/html/parser/models/node.java,
4618         gnu/javax/swing/text/html/parser/models/noTagModel.java,
4619         gnu/javax/swing/text/html/parser/models/package.html,
4620         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
4621         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
4622         gnu/javax/swing/text/html/parser/models/transformer.java,
4623         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
4624         gnu/javax/swing/text/html/parser/support/package.html,
4625         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
4626         gnu/javax/swing/text/html/parser/support/Parser.java,
4627         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
4628         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
4629         gnu/javax/swing/text/html/parser/support/low/Constants.java,
4630         gnu/javax/swing/text/html/parser/support/low/Location.java,
4631         gnu/javax/swing/text/html/parser/support/low/node.java,
4632         gnu/javax/swing/text/html/parser/support/low/package.html,
4633         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
4634         gnu/javax/swing/text/html/parser/support/low/pattern.java,
4635         gnu/javax/swing/text/html/parser/support/low/Queue.java,
4636         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
4637         New files.
4638         * javax/swing/text/html/HTML.java,
4639         javax/swing/text/html/parser/ParserDelegator.java:
4640         New files (replacing).
4641         * javax/swing/text/html/package.html,
4642         javax/swing/text/html/parser/package.html: Documenting the
4643         packages.
4645 2005-04-19  Chris Burdess  <dog@gnu.org>
4647         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
4648         gnu/xml/dom/html2/DomHTMLAppletElement.java,
4649         gnu/xml/dom/html2/DomHTMLAreaElement.java,
4650         gnu/xml/dom/html2/DomHTMLBaseElement.java,
4651         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
4652         gnu/xml/dom/html2/DomHTMLBodyElement.java,
4653         gnu/xml/dom/html2/DomHTMLBRElement.java,
4654         gnu/xml/dom/html2/DomHTMLButtonElement.java,
4655         gnu/xml/dom/html2/DomHTMLCollection.java,
4656         gnu/xml/dom/html2/DomHTMLDocument.java,
4657         gnu/xml/dom/html2/DomHTMLElement.java: New files.
4659 2005-04-19  Michael Koch  <konqueror@gmx.de>
4661         * Makefile.am: Added new files.
4662         * Makefile.in: Regenerated.
4664 2005-04-19  Roman Kennke  <roman@kennke.org>
4666         * javax/swing/text/JTextComponent.java
4667         (JTextComponent): Added repaintListener which issues repaint
4668         requests when the underlying document changes.
4669         (setDocument): Adds repaintListener to document when the
4670         document is changed.
4671         * javax/swing/text/DefaultEditorKit.java:
4672         Removed repaint calls on JTextComponent. This is now handled
4673         through a DocumentListener in JTextComponent that repaints
4674         the component when needed.
4676 2005-04-19  Roman Kennke  <roman@kennke.org>
4678         PR libgcj/21064
4679         * javax/swing/text/StyleContext.java
4680         (NamedStyle.setResolveParent): Added null
4681         pointer check.
4683 2005-04-19  Michael Koch  <konqueror@gmx.de>
4685         * java/rmi/server/RemoteObject.java:
4686         Removed unused import statement.
4688 2005-04-19  Michael Koch  <konqueror@gmx.de>
4690         * java/net/URL.java: Formatting cleanups.
4692 2005-04-19  Michael Koch  <konqueror@gmx.de>
4694         * java/awt/FontMetrics.java: Reformatted.
4695         (getFontRenderContext): Handle case when java.awt.Graphics context is
4696         given.
4698 2005-04-19  Michael Koch  <konqueror@gmx.de>
4700         * java/awt/FontMetrics.java
4701         (getStringBounds): New methods.
4704 2005-04-19  Michael Koch  <konqueror@gmx.de>
4706         * gnu/java/security/x509/X509Certificate.java
4707         (parse): Handle val == null case.
4709 2005-04-19  Roman Kennke  <roman@kennke.org>
4711         * javax/swing/plaf/metal/MetalLookAndFeel.java
4712         (initComponentDefaults): Added defaults for Menu, MenuBar
4713         MenuEntry fonts.
4715 2005-04-19  Roman Kennke  <roman@kennke.org>
4717         * javax/swing/plaf/metal/MetalLookAndFeel.java
4718         (initComponentDefaults): Added Label.font.
4719         (initSystemColorDefaults): Added this method and adjusted the
4720         general control color.
4722 2005-04-19  Roman Kennke  <roman@kennke.org>
4724         * javax/swing/plaf/metal/MetalBorders.java:
4725         Added.
4726         * javax/swing/plaf/metal/MetalButtonUI.java:
4727         (installDefaults): Install button font.
4728         * javax/swing/plaf/metal/MetalLookAndFeel.java:
4729         (initComponentDefaults): Added button border, font and margin.
4730         Changed components background color to the Metal current themes
4731         standard color.
4733 2005-04-19  Roman Kennke  <roman@kennke.org>
4735         * javax/swing/plaf/metal/MetalLookAndFeel.java
4736         (initComponentDefaults): Added to set Metal specific component
4737         defaults.
4739 2005-04-19  Mark Wielaard  <mark@klomp.org>
4741         * javax/swing/plaf/metal/MetalLookAndFeel.java
4742         (initClassDefaults): Call super.initClassDefaults().
4744 2005-04-19  Roman Kennke  <roman@kennke.org>
4746         * javax/swing/plaf/metal/MetalLookAndFeel.java
4747         (initClassDefaults): Added to include the *UI classes.
4749 2005-04-19  Roman Kennke  <roman@kennke.org>
4751         * javax/swing/plaf/metal/MetalComboBoxUI.java:
4752         Added.
4753         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
4754         Added.
4755         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
4756         Added.
4757         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
4758         Added.
4759         * javax/swing/plaf/metal/MetalProgressBarUI.java:
4760         Added.
4761         * javax/swing/plaf/metal/MetalRootPaneUI.java:
4762         Added.
4763         * javax/swing/plaf/metal/MetalScrollBarUI.java:
4764         Added.
4765         * javax/swing/plaf/metal/MetalSeparatorUI.java:
4766         Added.
4767         * javax/swing/plaf/metal/MetalSliderUI.java:
4768         Added.
4769         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
4770         Added.
4771         * javax/swing/plaf/metal/MetalTextFieldUI.java:
4772         Added.
4773         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
4775 2005-04-19  Roman Kennke  <roman@kennke.org>
4777         * javax/swing/plaf/metal/MetalButtonUI.java:
4778         Added skeleton class.
4779         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
4780         Added skeleton class.
4781         * javax/swing/plaf/metal/MetalLabelUI.java:
4782         Added skeleton class.
4783         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
4784         Added skeleton class.
4785         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
4786         Added skeleton class.
4787         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
4788         Added skeleton class.
4790 2005-04-19  Roman Kennke  <roman@kennke.org>
4792         * javax/swing/UIDefaults.java:
4793         Added API documentation for all methods.
4795 2005-04-19  Roman Kennke  <roman@kennke.org>
4797         * javax/swing/UIDefaults.java
4798         (put): Now uses new checkAndPut method instead of checking
4799         directly.
4800         (putDefaults): Fixed so that it accepts null-values and
4801         treats them like remove(key).
4802         (checkAndPut): Added. This checks for null-values and calls
4803         put or remove.
4805 2005-04-19  Michael Koch  <konqueror@gmx.de>
4807         * Makefile.am: Added new files.
4808         * Makefile.in: Regenerated.
4810 2005-04-19  Mark Wielaard  <mark@klomp.org>
4812         * java/lang/natRuntime.cc (insertSystemProperties): Set
4813         java.class.path to CLASSPATH only when not empty. Fall back to
4814         default path "." when java.class.path is empty.
4816 2005-04-19  Michael Koch  <konqueror@gmx.de>
4818         * javax/swing/text/rtf/ControlWordToken.java,
4819         javax/swing/text/rtf/RTFEditorKit.java,
4820         javax/swing/text/rtf/RTFParseException.java,
4821         javax/swing/text/rtf/RTFParser.java,
4822         javax/swing/text/rtf/RTFScanner.java,
4823         javax/swing/text/rtf/TextToken.java,
4824         javax/swing/text/rtf/Token.java: New files.
4825         * Makefile.am: Added new files.
4826         * Makefile.in: Regenerated.
4828 2005-04-19  Michael Koch  <konqueror@gmx.de>
4830         * java/awt/geom/QuadCurve2D.java:
4831         Fixed Brian Gough's name for real.
4833 2005-04-19  Roman Kennke  <roman@kennke.org>
4835         * javax/swing/UIManager.java:
4836         Make the UIManager respect the swing.defaultlaf system
4837         property.
4839 2005-04-19  Tom Tromey  <tromey@redhat.com>
4841         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
4842         not _Jv_InitClass.
4844 2005-04-19  Roman Kennke  <roman@kennke.org>
4846         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4847         Fixed tabs to spaces.
4849 2005-04-19  Roman Kennke  <roman@kennke.org>
4851         * javax/swing/plaf/basic/BasicMenuUI.java
4852         (getMaximumSize): Now returns preferredSize because JMenu should
4853         never be bigger than that.
4854         * javax/swing/JRootPane
4855         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
4857 2005-04-19  Roman Kennke  <roman@kennke.org>
4859         * javax/swing/JRootPane.java:
4860         Fixed various tabs to be spaces.
4861         (RootLayout.layoutContainer): Made menubar left aligned.
4863 2005-04-19  Roman Kennke  <roman@ontographics.com>
4865         * javax/swing/JList.java
4866         (getPreferredScrollableViewportSize):
4867         The previous implementation was merely guessing the size,
4868         now it respects layoutOrientation, visibleRowCount
4869         and preferredSize.
4870         (getScrollableTracksViewportHeight):
4871         Reimplemented so that layoutOrientation, visibleRowCount
4872         and preferred size are respected.
4873         (getScrollableTracksViewportWidth):
4874         Reimplemented so that layoutOrientation, visibleRowCount
4875         and preferred size are respected.
4876         * javax/swing/plaf/basic/BasicListUI.java
4877         (getPreferredSize):
4878         Improved calculation of preferredSize when JList is
4879         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
4880         (getCellBounds):
4881         The previous implementation assumed a layoutOrientation of
4882         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
4883         JList.VERTICAL_WRAP.
4885 2005-04-19  Roman Kennke  <roman@ontographics.com>
4887         * javax/swing/plaf/basic/BasicListUI.java
4888         (paintCell): use CellRendererPane for painting the cells.
4890 2005-04-19  Roman Kennke  <roman@ontographics.com>
4892         * javax/swing/plaf/basic/BasicListUI:
4893         fixed modifiers of several fields, methods and inner
4894         classes to match the 'spec'.
4895         (getMaximumSize): removed. It's not in the spec and the
4896         implementations was superfluous.
4898 2005-04-19  Roman Kennke  <roman@ontographics.com>
4900         * javax/swing/plaf/basic/BasicListUI:
4901         make BasicListUI capable of wrapping lists
4902         (layoutOrientation property of javax.swing.JList)
4904 2005-04-19  Roman Kennke  <roman@ontographics.com>
4906         * javax/swing/plaf/basic/BasicListUI
4907         (updateLayoutState,paint): make BasicListUI aware of the
4908         width of the rendered JList.
4910 2005-04-19  Roman Kennke  <roman@kennke.org>
4912         * javax/swing/ImageIcon.java
4913         Added API documentation.
4915 2005-04-19  Roman Kennke  <roman@kennke.org>
4917         * javax/swing/text/ImageIcon.java
4918         (ImageIcon): Use setImage instead of direct assignment.
4919         (setImage): Call loadImage to make sure that the image is loaded.
4920         (loadImage): Waits for the image to complete loading.
4921         (getImageLoadStatus): Added. Returns the load status of the
4922         image.
4924 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4926         * javax/swing/JTextArea.java (replaceRange):
4927         Fixing doc.remove(start, length) misinterpretation.
4929 2005-04-19  Roman Kennke  <roman@ontographics.com>
4931         * javax/swing/CellRendererPane.java:
4932         implemented all methods of this class.
4933         reformatted all wrong formatted code.
4935 2005-04-19  Roman Kennke  <roman@kennke.org>
4937         * javax/swing/BoxLayout.java:
4938         (layoutContainer): Made this layout manager respect the
4939         minimum, maximum and preferred size more correctly.
4941 2005-04-19  Roman Kennke  <roman@ontographics.com>
4943         * javax/swing/BoxLayout.java:
4944         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
4945         layoutContainer): Make these methods and thereby the
4946         BoxLayout respect the insets (like borders) of the
4947         component that is laid out.
4949 2005-04-19  Roman Kennke  <roman@kennke.org>
4951         * javax/swing/JComponent.java:
4952         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
4953         Untabified the file.
4955 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4957         * javax/swing/JComboBox.java (constructors): selecting the
4958         first item if the box was constructed from the provided
4959         non - empty array or vector.
4961 2005-04-19  Michael Koch  <konqueror@gmx.de>
4963         * gnu/java/awt/peer/gtk/GdkGraphics.java
4964         (getClipBounds): Handle clip being null.
4965         (setClip): Likewise.
4966         * java/beans/beancontext/BeanContextSupport.java
4967         (add): Implemented.
4968         (addAll): Likewise.
4969         (clear): Likewise.
4970         (removeAll): Likewise.
4971         (retainAll): Likewise.
4973 2005-04-19  Michael Koch  <konqueror@gmx.de>
4975         * java/beans/beancontext/BeanContextServicesSupport.java
4976         (BeanContextServicesSupport): Reimplemented.
4977         (addBeanContextServicesListener): Implemented.
4978         (initialize): Likewise.
4979         (removeBeanContextServicesListener): Likewise.
4980         * java/beans/beancontext/BeanContextSupport.java
4981         (add): Likewise.
4982         (addBeanContextMembershipListener): Likewise.
4983         (getLocale): Likewise.
4984         (initialize): Likewise.
4985         (iterator): Likewise.
4986         (remove): Likewise.
4987         (toArray): Likewise.
4989 2005-04-19  Roman Kennke  <roman@kennke.org>
4991         * java/awt/MediaTracker.java:
4992         Reindented tabs to spaces.
4994 2005-04-19  Roman Kennke  <roman@kennke.org>
4996         * java/awt/MediaTracker.java
4997         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
4998         confused the media tracker and lead to lockups. The LOADING
4999         bit is handled on other places.
5000         (addImage): Removed the 'start image tracking' stuff. This
5001         is not necessary and could confuse the media tracker.
5002         (checkAll): Improved the check for image status so that
5003         images that already complete images are detected. Also now
5004         are really all images checked and if necessary loaded. Before
5005         the method bailed out after the first incomplete image.
5006         (statusAll): Detect images that are complete after the
5007         call to Component.prepareImage(..).
5008         (checkID): The same as in checkAll.
5009         (statusID): The same as in statusAll.
5011 2005-04-19  Roman Kennke  <roman@kennke.org>
5013         * java/awt/MediaTracker.java
5014         (addImage): Synchronized list access.
5015         (waitForAll): Fixed comparison of time (changed < to >).
5016         (waitForID): Fixed comparison of time (changed < to >).
5017         (removeImage): Synchronized list access.
5019 2005-04-19  Roman Kennke  <roman@kennke.org>
5021         * java/awt/MediaTracker.java
5022         Added API documentation.
5024 2005-04-19  Roman Kennke  <roman@kennke.org>
5026         * java/awt/MediaTracker.java
5027         (MediaEntry.imageUpdate): Fixed flags. The different flags
5028         must not be ORed together.
5029         (checkAll): Modified to handle different meaning of the flags.
5030         (waitForAll): Fixed so that it waits maximum the
5031         specified amount of milliseconds.
5032         (statusAll): Modified to handle different meaning of the flags.
5033         (waitForID): Fixed so that it waits maximum the
5034         specified amount of milliseconds.
5036 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
5038         * java/awt/Font.java (decode): Handle null argument and allow
5039         space as delimiter.
5041 2005-04-19  Robert Schuster <thebohemian@gmx.net>
5043         * java/beans/EventHandler.java: Reworked documentation.
5044         (invoke): Fixed behavior to match spec.
5046 2005-04-19  Michael Koch  <konqueror@gmx.de>
5048         * java/awt/print/PrinterJob.java
5049         (pageDialog): New method.
5050         (printDialog): Implemented.
5052 2005-04-19  Michael Koch  <konqueror@gmx.de>
5054         * java/awt/image/ConvolveOp.java:
5055         Removed comment added by eclipse.
5057 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
5059         * java/awt/image/IndexColorModel.java
5060         (getRGB): Check if pixel is negative.
5062 2005-04-19  Michael Koch  <konqueror@gmx.de>
5064         * java/awt/image/RasterOp.java:
5065         Fixed wrong formatting.
5067 2005-04-18  Roman Kennke  <roman@kennke.org>
5069         * java/awt/Compmonent.java
5070         (setComponentOrientation): Made this property firing a
5071         PropertyChangeEvent.
5073 2005-04-18  Roman Kennke  <roman@kennke.org>
5075         * java/awt/BorderLayout.java
5076         (calcSize): Check for overflow when component sizes are added.
5078 2005-04-18  Robert Schuster <thebohemian@gmx.net>
5080         * java/awt/AWTEvent.java (toString): Added case
5081         for source not being an AWT component.
5083 2005-04-18  Chris Burdess  <dog@gnu.org>
5085         * gnu/java/net/BASE64.java: Truncate encoded byte array.
5087 2005-04-18  Michael Koch  <konqueror@gmx.de>
5089         gnu/java/awt/EmbeddedWindowSupport.java,
5090         gnu/java/net/HeaderFieldHelper.java,
5091         gnu/java/net/URLParseError.java,
5092         gnu/java/net/protocol/file/Handler.java,
5093         gnu/java/net/protocol/jar/Handler.java:
5094         Fixed usage of @author tag.
5096 2005-04-18  Michael Koch  <konqueror@gmx.de>
5098         * gnu/xml/aelfred2/XmlParser.java:
5099         Reverted my typo fix.
5101 2005-04-18  Michael Koch  <konqueror@gmx.de>
5103         * java/awt/geom/CubicCurve2D.java,
5104         java/awt/geom/QuadCurve2D.java:
5105         Fixed mentioning of Brian Gouph.
5107 2005-04-18  Michael Koch  <konqueror@gmx.de>
5109         * gnu/java/awt/Buffers.java,
5110         gnu/java/awt/image/ImageDecoder.java,
5111         gnu/java/awt/image/XBMDecoder.java,
5112         gnu/java/awt/peer/ClasspathFontPeer.java,
5113         gnu/java/net/CRLFInputStream.java,
5114         gnu/java/net/EmptyX509TrustManager.java,
5115         gnu/java/net/LineInputStream.java,
5116         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
5117         gnu/java/net/protocol/ftp/BlockInputStream.java,
5118         gnu/java/net/protocol/ftp/CompressedInputStream.java,
5119         gnu/java/net/protocol/ftp/DTP.java,
5120         gnu/java/net/protocol/ftp/DTPInputStream.java,
5121         gnu/java/net/protocol/ftp/FTPConnection.java,
5122         gnu/java/net/protocol/ftp/FTPURLConnection.java,
5123         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
5124         gnu/java/net/protocol/ftp/StreamInputStream.java,
5125         gnu/java/net/protocol/http/ChunkedInputStream.java,
5126         gnu/java/net/protocol/http/HTTPConnection.java,
5127         gnu/java/net/protocol/http/HTTPURLConnection.java,
5128         gnu/java/net/protocol/http/Headers.java,
5129         gnu/java/net/protocol/http/Request.java,
5130         gnu/java/nio/ChannelInputStream.java,
5131         gnu/java/nio/ChannelOutputStream.java,
5132         gnu/java/nio/InputStreamChannel.java,
5133         gnu/java/nio/OutputStreamChannel.java,
5134         gnu/java/nio/SelectorProviderImpl.java,
5135         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
5136         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
5137         gnu/java/rmi/dgc/DGCImpl.java,
5138         gnu/java/rmi/registry/RegistryImpl.java,
5139         gnu/java/rmi/server/ProtocolConstants.java,
5140         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
5141         gnu/java/rmi/server/RMIIncomingThread.java,
5142         gnu/java/rmi/server/RMIObjectInputStream.java,
5143         gnu/java/rmi/server/RMIObjectOutputStream.java,
5144         gnu/java/rmi/server/RMIVoidValue.java,
5145         gnu/java/rmi/server/UnicastConnectionManager.java,
5146         gnu/java/rmi/server/UnicastRef.java,
5147         gnu/java/rmi/server/UnicastRemoteCall.java,
5148         gnu/java/rmi/server/UnicastRemoteStub.java,
5149         gnu/java/rmi/server/UnicastServerRef.java,
5150         gnu/java/security/OID.java,
5151         gnu/java/security/der/DERReader.java,
5152         gnu/java/security/provider/CollectionCertStoreImpl.java,
5153         gnu/java/security/provider/DSAParameterGenerator.java,
5154         gnu/java/security/provider/DefaultPolicy.java,
5155         gnu/java/security/provider/EncodedKeyFactory.java,
5156         gnu/java/security/provider/GnuDHPublicKey.java,
5157         gnu/java/security/provider/GnuDSAPrivateKey.java,
5158         gnu/java/security/provider/GnuDSAPublicKey.java,
5159         gnu/java/security/provider/GnuRSAPrivateKey.java,
5160         gnu/java/security/provider/GnuRSAPublicKey.java,
5161         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
5162         gnu/java/security/provider/RSA.java,
5163         gnu/java/security/provider/SHA1PRNG.java,
5164         gnu/java/security/provider/SHA1withRSA.java,
5165         gnu/java/security/provider/X509CertificateFactory.java,
5166         gnu/java/security/x509/GnuPKIExtension.java,
5167         gnu/java/security/x509/X500DistinguishedName.java,
5168         gnu/java/security/x509/X509CRL.java,
5169         gnu/java/security/x509/X509CRLEntry.java,
5170         gnu/java/security/x509/X509CertPath.java,
5171         gnu/java/security/x509/X509CertSelectorImpl.java,
5172         gnu/java/security/x509/X509Certificate.java,
5173         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
5174         gnu/java/security/x509/ext/BasicConstraints.java,
5175         gnu/java/security/x509/ext/CRLNumber.java,
5176         gnu/java/security/x509/ext/CertificatePolicies.java,
5177         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
5178         gnu/java/security/x509/ext/Extension.java,
5179         gnu/java/security/x509/ext/GeneralNames.java,
5180         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
5181         gnu/java/security/x509/ext/KeyUsage.java,
5182         gnu/java/security/x509/ext/PolicyConstraint.java,
5183         gnu/java/security/x509/ext/PolicyMappings.java,
5184         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
5185         gnu/java/security/x509/ext/ReasonCode.java,
5186         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
5187         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
5188         Reorganized import statements.
5190 2005-04-18  Michael Koch  <konqueror@gmx.de>
5192         * gnu/java/awt/color/CieXyzConverter.java,
5193         gnu/java/awt/color/ClutProfileConverter.java,
5194         gnu/java/awt/color/ColorLookUpTable.java,
5195         gnu/java/awt/color/ColorSpaceConverter.java,
5196         gnu/java/awt/color/GrayProfileConverter.java,
5197         gnu/java/awt/color/GrayScaleConverter.java,
5198         gnu/java/awt/color/LinearRGBConverter.java,
5199         gnu/java/awt/color/ProfileHeader.java,
5200         gnu/java/awt/color/PyccConverter.java,
5201         gnu/java/awt/color/RgbProfileConverter.java,
5202         gnu/java/awt/color/SrgbConverter.java,
5203         gnu/java/awt/color/TagEntry.java,
5204         gnu/java/awt/color/ToneReproductionCurve.java:
5205         Standardized file headers.
5207 2005-04-16  Tom Tromey  <tromey@redhat.com>
5209         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
5210         'ANY' package-private.
5212 2005-04-15  Tom Tromey  <tromey@redhat.com>
5214         * Makefile.in: Rebuilt.
5215         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
5216         (libgcj0_convenience_la_LIBADD): ... here.
5218 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5220         * gij.cc (version): Properly quote java version.
5221         (main): Fix typo in comment.
5223 2005-04-13  Mark Wielaard  <mark@klomp.org>
5225         * java/lang/natRuntime.cc (insertSystemProperties): Set
5226         java.class.path to CLASSPATH if not already set.
5228 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5230         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
5232 2005-04-12  Mike Stump  <mrs@apple.com>
5234         * configure: Regenerate.
5236 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
5238         PR libgcj/20958
5239         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
5240         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
5242 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
5244         PR libgcj/20975
5245         * scripts/TexinfoDoclet.java: Removed.
5246         * Makefile.am (texinfo): Removed.
5247         * Makefile.in: Regenerated.
5249 2005-04-11  Michael Koch  <konqueror@gmx.de>
5251         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
5252         Fixed wrong casting.
5254 2005-04-06  Andrew Haley  <aph@redhat.com>
5256         * testsuite/libjava.lang/bytearray.java: New file.
5257         * testsuite/libjava.lang/bytearray.out: New file.
5258         * java/lang/ClassLoader.java (loadClassFromSig): Declare
5259         (loadClass): Use it.
5260         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
5262 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
5264         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
5265         gcj-dbtool dependency
5266         * Makefile.in: Regenerated
5268 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
5270         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
5271         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
5273 2005-04-05  Andrew Haley  <aph@redhat.com>
5275         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
5276         (Tokenizer): New class.
5277         (getFiles): New method.
5278         (main): Add "-" argument.
5279         Add "-0" argument.
5280         Read list of files from stdin when merging map databases.
5281         (usage):  Add "-" argument.
5282         Add "-0" argument.
5283         Minor corrections.
5285 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5287         PR libgcj/20750
5288         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
5289         * Makefile.in: Regenerate.
5290         * configure.ac: Add --with-java-home option.
5291         * configure: Regenerate.
5292         * external/Makefile.in: Regenerate.
5293         * external/sax/Makefile.in: Regenerate.
5294         * external/w3c_dom/Makefile.in: Regenerate.
5295         * gcj/Makefile.in: Regenerate.
5296         * include/Makefile.in: Regenerate.
5297         * testsuite/Makefile.in: Regenerate.
5298         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
5299         to JAVA_HOME macro.
5301 2005-04-05  Tom Tromey  <tromey@redhat.com>
5303         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
5304         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
5305         Rewrote to use _Jv_FindClassFromSignature.
5306         * verify.cc (resolve): throw NoClassDefFoundError.
5307         * link.cc (resolve_field): Throw NoClassDefFoundError.
5308         (find_field): Likewise.
5309         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
5310         Handle error cases.  Added 'endp' argument.
5311         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
5313 2005-04-05  Tom Tromey  <tromey@redhat.com>
5315         * Makefile.in: Rebuilt.
5316         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
5317         gtk_awt_peer_sources.
5318         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
5319         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
5320         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
5321         (gtk-awt-peer.lo): New target.
5323 2005-04-04  Steve Pribyl <steve@netfuel.com>
5325         PR libgcj/20761
5326         * configure.ac: Fix fastjar definition for cross builds.
5327         * configure: Rebuilt.
5329 2005-04-04  Tom Tromey  <tromey@redhat.com>
5331         * java/lang/ClassLoader.java (loadClass): Resolve class even if
5332         it was already found.
5334 2005-04-04  Tom Tromey  <tromey@redhat.com>
5336         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
5337         org.metastatic.jessie.
5339 2005-04-02  Anthony Green  <green@redhat.com>
5341         PR libgcj/20727
5342         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
5344 2005-04-02  Mark Wielaard  <mark@klomp.org>
5346         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
5347         Attributes and attribute order doesn't matter.
5348         (BasicAttributesEnumeration.where): Initialize to zero.
5349         (BasicAttributesEnumeration.nextElement): Update and compare where
5350         appropriately (zero based).
5352 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
5354         PR libgcj/20090, PR libgcj/20526
5355         * gij.cc (nonstandard_opts_help): New function.
5356         (add_option): New function.
5357         (main): Support java options.  Set java.class.path.  Don't set
5358         _Jv_Jar_Class_Path.
5359         * prims.cc (parse_x_arg): New function.
5360         (parse_init_args): Call parse_x_arg for -X and _ options, when
5361         ignoreUnrecognized is true.
5362         (new _Jv_RunMain): New vm_args variant.
5363         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
5364         (_Jv_Jar_Class_Path): Remove variable.
5365         * include/java-props.h: Likewise.
5366         * include/cni.h (JvRealloc): New function.
5367         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
5368         * java/lang/natRuntime.cc (insertSystemProperties): Remove
5369         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
5370         macros.
5371         * configure.ac (JV_VERSION): Define.
5372         (JV_API_VERSION): Likewise.
5373         * configure: Regenerate.
5374         * include/config.h.in: Regenerate.
5376 2005-04-01 Mark Anderson <mark@panonet.net>
5378         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
5379         -Infinity as parameters.
5381 2005-04-01  Michael Koch  <konqueror@gmx.de>
5383         * java/io/PipedInputStream.java
5384         (read): Make sure a positive byte value is returned. Revised javadoc.
5385         Thanks to Olafur Bragason for reporting these bugs.
5387 2005-04-01  Tom Tromey  <tromey@redhat.com>
5389         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
5390         Updated for name change.
5391         (nativeFindClass): New method.
5392         (loadClass): Use nativeFindClass.
5393         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
5394         form of loadClass.
5395         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
5396         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
5397         VMClassLoader.
5398         (initialize): New method.
5399         (nativeFindClass): Declare.
5400         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
5401         * gnu/gcj/runtime/VMClassLoader.java: Removed.
5402         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
5403         VMClassLoader.java.
5404         (definePackageForNative): Removed.
5405         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
5406         Moved to VMClassLoader.java.
5407         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
5408         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
5409         (ordinary_java_source_files): Added ExtensionClassLoader.java,
5410         removed VMClassLoader.java.
5411         (nat_source_files): Removed natVMClassLoader.cc.
5413 2005-04-01  Tom Tromey  <tromey@redhat.com>
5415         * Makefile.in: Rebuilt.
5416         * Makefile.am (db_pathtail): Use $(gcc_version), not
5417         @gcc_version@.
5419 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
5421         * java/util/Timer.java
5422         (run): Stop the queue if a task throws an exception.
5424 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
5426         * javax/swing/text/JTextComponent.java (viewToModel): New method.
5428 2005-03-29  Ian Lance Taylor  <ian@airs.com>
5430         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
5431         * external/sax/Makefile.in: Rebuild.
5432         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
5433         "-fclasspath=".
5434         * external/w3c_dom/Makefile.in: Rebuild.
5436 2005-03-29  Tom Tromey  <tromey@redhat.com>
5438         * java/lang/natRuntime.cc (insertSystemProperties): Set
5439         gnu.gcj.runtime.endorsed.dirs.
5440         * Makefile.in: Rebuilt.
5441         * Makefile.am (ordinary_java_source_files): Added
5442         HelperClassLoader.java.
5443         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
5444         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
5445         HelperClassLoader.
5446         (init): Use addDirectoriesFromProperty.
5447         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
5448         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
5449         gnu.gcj.runtime.endorsed.dirs.
5450         * gnu/gcj/runtime/HelperClassLoader.java: New file.
5452 2005-03-26  Chris Burdess  <dog@gnu.org>
5454         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
5455         required.
5457 2005-03-13  Michael Koch  <konqueror@gmx.de>
5459         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
5461 2005-03-11  Chris Burdess  <dog@gnu.org>
5463         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
5464         warnings.
5466 2005-02-27  Chris Burdess  <dog@gnu.org>
5468         * gnu/xml/aelfred2/JAXPFactory.java,
5469         gnu/xml/aelfred2/SAXDriver.java,
5470         gnu/xml/aelfred2/XmlParser.java,
5471         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
5472         formatting conventions. Replaced arrays of Object with struct-like
5473         classes for easier maintainability. Made SAXDriver.stringInterning
5474         package private to allow access from XmlParser inside the loop without
5475         a method call overhead.
5477 2005-03-11  Chris Burdess  <dog@gnu.org>
5479         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
5480         warnings.
5482 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
5484         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
5485         settings to sub Makefiles.
5486         (GCJH, ZIP): Prefix with top_builddir.
5487         * configure: Rebuild.
5488         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
5489         * external/w3c_dom/Makefile.in: Rebuild.
5490         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
5491         * external/sax/Makefile.in: Rebuild.
5493 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
5495         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
5496         libsocket to the libraries to link for Solaris.
5498 2005-03-28  Per Bothner  <per@bothner.com>
5500         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
5501         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
5503 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
5505         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
5506         to fix a ONESTEP fallout.
5507         * Makefile.in: Regenerate.
5509 2005-03-25  Mike Stump  <mrs@apple.com>
5511         * configure.ac: Fix ZIP and GCJH at configure time to absolute
5512         paths like we do for the compiler, as we use it in external/sax
5513         and it doesn't get MULTIBUILDTOP right when multilibing.
5515 2005-03-24  Anthony Green  <green@redhat.com>
5517         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
5518         -p option.
5519         (usage): Add [LIBDIR] to help output.
5520         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
5521         * Makefile.am (AM_CXXFLAGS): Define
5522         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
5523         (db_pathtail): New macro.
5525 2005-03-24  Tom Tromey  <tromey@redhat.com>
5527         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
5528         add sax and w3c libraries.
5529         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
5530         libw3c-gcj.la.
5531         * external/w3c_dom/Makefile.in: Rebuilt.
5532         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
5533         AM_GCJFLAGS.
5534         (libw3c_gcj_la_LDFLAGS): New variable.
5535         (noinst_LTLIBRARIES): Renamed.
5536         * external/sax/Makefile.in: Rebuilt.
5537         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
5538         AM_GCJFLAGS.
5539         (libsax_gcj_la_LDFLAGS): New variable.
5540         (noinst_LTLIBRARIES): Renamed.
5542 2005-03-23  Tom Tromey  <tromey@redhat.com>
5544         * Makefile.in: Rebuilt.
5545         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
5546         (libgcj0_convenience_la_SOURCES): Don't include
5547         gnu_xml_source_files.
5548         (libgcj0_convenience_la_LIBADD): New variable.
5549         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
5550         (all_java_source_files): javax_imageio_source_files,
5551         javax_xml_source_files, and gnu_java_beans_source_files.
5552         ($(gnu_xml_source_files:.java=.lo)): Removed target.
5553         (gnu-xml.lo): New target.
5554         (javax-imageio.lo): Likewise.
5555         (javax-xml.lo): Likewise.
5556         (gnu-java-beans.lo): Likewise.
5557         (gnu_java_beans_source_files): New variable.
5558         (javax_imageio_source_files): Likewise.
5559         (javax_xml_source_files): Likewise.
5560         (javax_source_files): Moved files to other variable.
5561         (awt_java_source_files): Likewise.
5562         (ordinary_java_source_files): Added BootClassLoader.java.
5563         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
5564         not system class loader.
5565         (initBootLoader): New method.
5566         (loadClass): Search bootLoader.
5567         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
5568         boot loader, not system class loader.
5569         (_Jv_UnregisterInitiatingLoader): Likewise.
5570         (_Jv_FindClass): Likewise.  Ensure entries in
5571         bootstrap_class_list are unique.
5572         * java/lang/natClass.cc (getClassLoader): Don't special case
5573         system class loader.
5574         * java/lang/VMClassLoader.java (bootLoader): New field.
5575         (getResource): Use bootLoader.
5576         (getResources): Likewise.
5577         (initBootLoader): Declare.
5578         * gnu/gcj/runtime/BootClassLoader.java: New file.
5579         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
5580         (EMPTY_ENUMERATION): Now package-private.
5581         * external/w3c_com/Makefile.in: Rebuilt.
5582         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
5583         (w3c.jar): New target.
5584         (classes.stamp): Updated.
5585         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
5586         Changed name of library.
5587         (libw3c_gcj_la_SOURCES): New variable.
5588         (libw3c_gcj_la_GCJFLAGS): Likewise.
5589         (source_files): Renamed from lib3c_convenience_la_SOURCES.
5590         * external/sax/Makefile.in: Rebuilt.
5591         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
5592         (sax.jar): New target.
5593         (classes.stamp): Updated.
5594         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
5595         Changed name of library.
5596         (libsax_gcj_la_SOURCES): New variable.
5597         (libsax_gcj_la_GCJFLAGS): Likewise.
5598         (source_files): Renamed from libsax_convenience_la_SOURCES.
5599         * stacktrace.cc (non_system_trace_fn): Don't look at system class
5600         loader.
5601         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
5602         loader.
5603         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
5605 2005-03-23  Sven de Marothy  <sven@physto.se>
5607         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
5608         PR libgcj/11085:
5609         * java/util/Calendar.java
5610         (set): Use starting day of week when one is needed if none is given.
5611         * java/text/SimpleDateFormat.java
5612         (parse): Handle 1-12 and 1-24 timestamps correctly.
5613         * java/util/GregorianCalendar.java
5614         (computeTime, computeFields): HOUR should be in 0-11 format.
5615         (nonLeniencyCheck): Adjust leniency checking to that fact.
5616         (getLinearDay): Should be private.
5618 2005-03-23  Tom Tromey  <tromey@redhat.com>
5620         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5621         (_Jv_CheckABIVersion): Use it.
5623 2005-03-22  Mike Stump  <mrs@apple.com>
5625         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
5627         * include/posix.h: .dylib is used on all Apple MACH platforms.
5628         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
5630 2005-03-22  Tom Tromey  <tromey@redhat.com>
5632         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
5634 2005-03-21  Tom Tromey  <tromey@redhat.com>
5636         * java/lang/VMCompiler.java (static block): Also catch
5637         BufferUnderflowException.
5639 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
5641         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
5642         set tool_include_dir.  In all substitutions, leave $(gcc_version)
5643         to be expanded by the Makefile.
5644         * aclocal.m4, configure: Regenerate.
5645         * Makefile.am: Set gcc_version.  Replace all uses of
5646         @gcc_version@ with $(gcc_version).
5647         * external/Makefile.am, external/sax/Makefile.am
5648         * external/w3c_dom/Makefile.am, gcj/Makefile.am
5649         * testsuite/Makefile.am: Set gcc_version.
5650         * include/Makefile.am: Set gcc_version and tool_include_dir.
5651         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
5652         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
5653         * testsuite/Makefile.in: Regenerate.
5655 2005-03-17  Andrew Haley  <aph@redhat.com>
5657         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
5658         arg: klass.
5659         Pass klass to _Jv_StackTrace::GetClassContext().
5660         * java/lang/ClassLoader.java (getParent): Pass class to
5661         VMSecurityManager.getClassContext()
5662         (getSystemClassLoader): Likewise.
5663         * java/lang/Package.java (getPackage): Likewise.
5664         (getPackages): Likewise.
5665         * java/lang/SecurityManager.java (getClassContext): Likewise.
5666         (currentClassLoader): Likewise.
5667         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
5668         (currentClassLoader) Add new arg: caller.
5669         Pass caller to VMSecurityManager.getClassContext.
5671         * stacktrace.cc (GetClassContext): Correct calculation of
5672         jframe_count.
5674         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
5675         im->source_file_name.
5677 2005-03-16  Andrew Haley  <aph@redhat.com>
5679         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
5681 2005-03-16  Tom Tromey  <tromey@redhat.com>
5683         * link.cc (ensure_class_linked): Removed #ifdef.
5684         (print_class_loaded): Likewise.
5685         (wait_for_state): Likewise.
5686         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
5687         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
5688         * include/java-interp.h: ... here.
5690 2005-03-16  Tom Tromey  <tromey@redhat.com>
5692         * gnu/java/lang/MainThread.java (run): Load main class using
5693         system class loader.
5695 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
5697         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
5698         lgcc_s to the libraries to link for Darwin.
5700 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
5702         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
5703         interpreter-specific code with #ifdef INTERPRETER.
5704         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
5705         (_Jv_StackTrace::FillInFrameInfo): Likewise.
5706         (_Jv_StackTrace::non_system_trace_fn): Likewise.
5707         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
5708         #ifdef INTERPRETER. Also protect declarations that use it.
5709         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
5710         #ifdef INTERPRETER block.
5712 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
5714         PR libgcj/20251
5715         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
5716         * Makefile.in: Rebuilt.
5718 2005-03-15  David Daney  <ddaney@avtrex.com>
5720         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
5721         count == 0 case.
5723 2005-03-15  David Daney  <ddaney@avtrex.com>
5725         * java/io/BufferedInputStream.java (available): Use 'in' instead
5726         of 'super' for underlying stream access.
5727         (close): Ditto.
5728         (read(byte[], int, int)): Ditto.
5729         (refill): Ditto.
5730         (skip): Call skip on underlying stream when possible.
5732 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
5734         * stacktrace.cc (GetCallerInfo): Return nothing in case of
5735         SJLJ_EXCEPTIONS is defined.
5737 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
5739         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
5740         tests.
5742 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
5744         * testsuite/lib/libjava.exp (libjava_init): Use the same target
5745         check for Darwin.
5746         (libjava_arguments): Likewise.
5748         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
5749         (gcj_jni_test_one): Likewise.
5750         (gcj_jni_invocation_compile_c_to_binary): Likewise.
5751         Add flags to keep the Darwin linker quiet.
5752         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
5753         Add -liconv for Darwin.
5755 2005-03-11  Tom Tromey  <tromey@redhat.com>
5757         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5758         (_Jv_CheckABIVersion): Use it.
5760 2005-03-11  Tom Tromey  <tromey@redhat.com>
5762         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
5763         (usage): Document '-p'.
5764         * Makefile.in: Rebuilt.
5765         * Makefile.am (dbexecdir): New variable.
5766         (db_name): Likewise.
5767         (dbexec_DATA): Likewise.
5768         ($(db_name)): New target.
5769         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
5770         * java/lang/natRuntime.cc (insertSystemProperties): Set default
5771         system database.
5773 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5775         * exception.cc: Remove stray MethodRef.h include.
5776         * java/lang/natClass.cc: Likewise.
5777         * gnu/gcj/runtime/MethodRef.java: Removed.
5778         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5779         gnu/gcj/runtime/natStackTrace.cc: Really removed.
5780         * java/lang/natRuntime.cc (_load): Remove unsed variable.
5781         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
5782         * Makefile.in: Rebuilt.
5784 2005-03-10  Tom Tromey  <tromey@redhat.com>
5786         * Makefile.in: Rebuilt.
5787         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
5789 2005-03-10  Chris Burdess  <dog@bluezoo.org>
5791         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
5792         not currently parsing the DTD.
5794 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5796         New Stack Trace infrastructure.
5797         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
5798         (gnu/gcj/runtime/StackTrace.java): Removed.
5799         (ordinary_java_source_files): Remove obsolete files.
5800         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
5801         * configure.host (fallback_backtrace_h): Set backtrace header
5802         for mingw and cygwin targets.
5803         * configure.ac: Make symlink for fallback backtrace headers.
5804         * Makefile.in, configure: Rebuilt.
5805         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
5806         Read 'LineNumberTable' attribute.
5807         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
5808         attribute.
5809         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
5810         table fields.
5811         * exception.cc: Remove unused include.
5812         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
5813         (SAVE_PC): New macro. Save current PC in the interpreter frame.
5814         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
5815         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
5816         table to direct threaded instruction values.
5817         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
5818         (_Jv_InterpMethod::run): No longer member function. All
5819         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
5820         is made or where an instruction could throw.
5821         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
5822         in line_table.
5823         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
5824         (catch_fpe): Likewise.
5825         * stacktrace.cc: New file. Stack trace code now here.
5826         * gnu/gcj/runtime/MethodRef.java:
5827         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
5828         calls addr2line to look up PC addresses in a given binary or shared
5829         library.
5830         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5831         gnu/gcj/runtime/natStackTrace.cc: Removed.
5832         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
5833         this function name is specially recognised by the stack trace code
5834         and shouldn't be changed.
5835         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
5836         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
5837         (_Jv_InterpMethod::run): Update declaration.
5838         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
5839         friends.
5840         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
5841         * include/java-stack.h: New file. Declarations for stack tracing.
5842         * include/jvm.h (_Jv_Frame_info): Removed.
5843         * java/lang/Class.h: Update friend declarations.
5844         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
5845         exception message.
5846         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
5847         (getStackTrace): Now native.
5848         (data): New RawDataManaged field.
5849         * java/lang/natClass.cc: Update includes.
5850         (forName): Use _Jv_StackTrace::GetCallingClass for
5851         calling-classloader check.
5852         (getClassLoader): Likewise.
5853         * java/lang/natRuntime.cc: Update includes.
5854         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
5855         * java/lang/natVMSecurityManager.cc: Update includes.
5856         (getClassContext): Use _Jv_StackTrace::GetClassContext.
5857         * java/lang/natVMThrowable.cc: New file. Native methods for
5858         VMThrowable.
5859         * java/lang/reflect/natArray.cc: Update includes.
5860         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5861         accessibility check.
5862         * java/lang/reflect/natConstructor.cc: Update includes.
5863         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5864         accessibility check.
5865         * java/lang/reflect/natField.cc: Update includes.
5866         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
5867         accessibility check.
5868         * java/lang/reflect/natMethod.cc: Update includes.
5869         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
5870         accessibility check.
5871         * java/util/natResourceBundle.cc: Update includes.
5872         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
5873         * java/util/logging/natLogger.cc: Update includes. Use
5874         _Jv_StackTrace::GetCallerInfo to get call-site info.
5875         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
5876         implementation.
5877         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
5878         implementation.
5880 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5882         * testsuite/libjava.compile/PR20312.java: New file.
5883         * testsuite/libjava.compile/PR20312.xfail: Likewise.
5884         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
5886 2005-03-09  Andrew Haley  <aph@redhat.com>
5888         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
5889         New.
5890         (smallTransferTo): New.
5891         (transferFrom): Loop around smallTransferFrom, copying pageSize
5892         bytes each time.
5893         (transferTo): Likewise.
5895 2005-03-09  David Daney  <ddaney@avtrex.com>
5897         PR libgcj/20389
5898         Merge BufferedInputStream from GNU Classpath.
5899         * java/io/BufferedInputStream.java (marktarget): Field removed.
5900         (CHUNKSIZE): Field removed.
5901         (bufferSize): New field.
5902         (BufferedInputStream): Initialize fields.
5903         (close): Invalidate mark and buffer indexes.
5904         (mark):  Rewritten.
5905         (read()): Move mark handling code to refill.
5906         (read(byte[], int, int)): Ditto.
5907         (skip): Ditto and simplify EOF testing.
5908         (refill): Rewritten.
5909         * java/io/InputStreamReader.java (refill): Removed mark and reset
5910         of internal BufferedInputStream.
5912 2005-03-09  Tom Tromey  <tromey@redhat.com>
5914         * java/lang/natVMClassLoader.cc (defineClass): Reference
5915         'systemClassLoader' field directly.
5916         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
5917         field directly.
5918         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5919         Reference 'systemClassLoader' field directly.
5920         (_Jv_UnregisterInitiatingLoader): Likewise.
5921         (_Jv_FindClass): Likewise.
5923 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
5925         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
5927         * java/lang/mprec.h: Remove commented headers. Fix comment to match
5928         the file in GNU Classpath style.
5930 2005-03-09  Tom Tromey  <tromey@redhat.com>
5932         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
5933         (toString): Synchronize.
5935 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
5937         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
5938         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
5940 2005-03-07  Tom Tromey  <tromey@redhat.com>
5942         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
5943         (usage): Document '-f'.
5945 2005-03-07  Tom Tromey  <tromey@redhat.com>
5947         * java/lang/VMCompiler.java (md5Digest): New field.
5948         (compileClass): Clone md5Digest instead of looking up a new one.
5950 2005-03-07  Tom Tromey  <tromey@redhat.com>
5952         PR java/20215:
5953         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
5954         * link.cc (find_field_helper): Added 'type' argument.
5955         (find_field): Updated.
5957 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
5958         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
5959         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
5960         throw UnsupportedOperationException, fixed comments.
5961         (setFont, setForeground): Fixed comments.
5962         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
5963         return type to boolean.
5964         (getNextEvent): Fixed javadocs.
5965         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
5966         (nativeQueueEmpty): Removed unused code.
5967         (iterateNativeQueue): Removed outer loop.
5969 2005-03-06  Roger Sayle  <roger@eyesopen.com>
5971         PR libgcj/20155
5972         * Makefile.am (libgcj0_convenience.la): Revert last change.
5973         * Makefile.in: Regenerate.
5975 2005-03-05  Anthony Green  <green@redhat.com>
5977         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
5978         classpath_jawt_lock, classpath_jawt_unlock): New functions.
5979         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
5980         (_Jv_GetDrawingSurface): Set visualID.
5981         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
5982         (JAWT_GetAWT): Set Lock and Unlock.
5983         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
5984         visualID.
5985         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
5986         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
5987         JAWT_LOCK_SURFACE_CHANGED): New macros.
5988         (struct _JAWT): Add Lock and Unlock.
5990 2005-03-05  Roger Sayle  <roger@eyesopen.com>
5991             Alexandre Oliva  <aoliva@redhat.com>
5992             Kelley Cook  <kcook@gcc.gnu.org>
5994         PR libgcj/20155
5995         * Makefile.am (libgcj0_convenience.la): New rule to create a file
5996         of the object files to link to avoid exceeding the command line
5997         length limits on some platforms.
5998         (clean-local): Clean up objectlist files.
5999         * Makefile.in: Regenerate.
6001 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
6003         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
6004         spec_case. Initialize pointer mlo.
6006         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
6007         delta.
6009         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
6011         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
6012         and k.
6014         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
6015         uninitialized variable z.
6017         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
6018         possible unused variables.
6020         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
6022         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
6024 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
6026         PR libgcj/20292
6027         * testsuite/libjava.jni/jni.exp
6028         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
6029         flags.
6030         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
6032 2005-02-23  David Daney  <ddaney@avtrex.com>
6034         * configure.host: Don't use -mxgot for MIPS builds.
6036 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
6038         PR bootstrap/17383
6039         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
6040         (COMPPATH): Removed.
6041         (ZIP, GCJH): Replace it with ../$(host_subdir).
6042         (built_gcc_dir): Add $(host_subdir).
6043         * configure: Regenerate.
6044         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
6045         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
6046         external/w3c_dom/Makefile.in: Regenerate.
6048 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
6050         * java/awt/font/TextAttribute.java: changed names to lower case;
6051         (readResolve): implemented.
6052         Added doc comments all over.
6054 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6056         PR libgcj/16923
6057         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
6058         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
6059         value.  Move argument parsing code to prims.cc.
6060         * prims.cc (no_properties): Remove.
6061         (_Jv_Compiler_Properties): Initialize to NULL.
6062         (_Jv_Properties_Count): Initialize to 0.
6063         (parse_verbose_args): New function.
6064         (parse_init_args): New function.
6065         (_Jv_CreateJavaVM): Call parse_init_args.
6066         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
6067         * gcj/cni.h (JvVMOption): New struct.
6068         (JvVMInitArgs): Likewise.
6069         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
6070         void*.
6071         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
6072         (_Jv_VMInitArgs): Likewise.
6073         * include/java-props.h (_Jv_Properties_Count): Declare.
6074         * java/lang/natRuntime.cc (insertSystemProperties): Use
6075         _Jv_Properties_Count in for loop exit condition.
6076         * testsuite/libjava.jni/jni.exp
6077         (gcj_invocation_compile_c_to_binary): New procedure.
6078         (gcj_invocation_test_one): Likewise.
6079         (gcj_jni_run): Run JNI invocation API tests.
6080         * testsuite/libjava.jni/invocation/PR16923.c,
6081         testsuite/libjava.jni/invocation/PR16923.java,
6082         testsuite/libjava.jni/invocation/PR16923.out: New test.
6084 2005-02-23  Michael Koch  <konqueror@gmx.de>
6086         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
6087         * Makefile.in: Regenerated.
6089 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
6091         * gnu/java/nio/ChannelReader: Fixed comments.
6093 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
6095         * java/nio/channels/Channels: Added FIXMEs about
6096         stub method implementation.
6097         (newReader): Implemented.
6098         * gnu/java/nio/ChannelReader: New class.
6100 2005-02-23  Michael Koch  <konqueror@gmx.de>
6102         * java/text/SimpleDateFormat.java:
6103         Removed unused import.
6105 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6107         PR libgcj/20029:
6108         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
6109         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
6110         * Makefile.in: Regenerate.
6111         * configure.ac: Check for libXtst.
6112         * configure: Regenerate.
6114 2005-02-22  Mark Wielaard  <address@bogus.example.com>
6116         * java/security/AlgorithmParameterGenerator.java (getInstance):
6117         Mention provider when throwing NoSuchProviderException.
6118         * java/security/AlgorithmParameters.java (getInstance): Likewise.
6119         * java/security/KeyFactory.java (getInstance): Likewise.
6120         * java/security/KeyStore.java (getInstance): Likewise.
6121         * java/security/SecureRandom.java (getInstance): Likewise.
6122         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
6124 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
6126         * java/lang/reflect/Proxy.java,
6127         java/net/URL.java,
6128         java/security/SecureRandom.java,
6129         java/util/Timer.java,
6130         java/util/prefs/AbstractPreferences.java:
6131         Don't catch java.lang.ThreadDeath.
6133 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
6135         * java/awt/font/TransformAttribute.java,
6136         (TransformAttribute(AffineTransform)): throw
6137         IllegalArgumentException for null transform.
6138         (getTransform): return a copy of transform.
6139         Added doc comments to all.
6141 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
6143         * java/io/Externalizable.java,
6144         java/io/Serializable.java
6145         (serialVersionUID): Removed.
6146         * java/rmi/server/RemoteObject.java,
6147         java/rmi/server/UID.java
6148         (serialVersionUID): Made private.
6149         * java/rmi/server/RemoteRef.java,
6150         java/rmi/server/ServerRef.java
6151         (serialVersionUID): Set proper value.
6152         * java/security/interfaces/DSAPrivateKey.java,
6153         java/security/interfaces/DSAPublicKey.java,
6154         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6155         java/security/interfaces/RSAPrivateCrtKey.java,
6156         java/security/interfaces/RSAPrivateKey.java,
6157         java/security/interfaces/RSAPublicKey.java,
6158         javax/crypto/SecretKey.java
6159         (serialVersionUID): Added.
6161 2005-02-22  Tom Tromey  <tromey@redhat.com>
6163         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
6165 2005-02-22  Tom Tromey  <tromey@redhat.com>
6167         PR java/20056:
6168         * verify.cc (type::EITHER): New constant.
6169         (check_field_constant): Use it.
6170         (type::compatible): Handle it.
6172 2005-02-22  Michael Koch  <konqueror@gmx.de>
6174         * gnu/java/security/PolicyFile.java,
6175         gnu/java/security/pkcs/PKCS7SignedData.java,
6176         gnu/java/security/pkcs/SignerInfo.java:
6177         Fixed copyright header.
6179 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
6181         * java/beans/PropertyDescriptor.java
6182         (PropertyDescriptor,setReadMethod): Set propertyType.
6184 2005-02-22  Michael Koch  <konqueror@gmx.de>
6186         * java/nio/DirectByteBufferImpl.java
6187         (owner): Fixed formatting of javadoc.
6188         * java/text/DateFormat.java
6189         (getAvailableLocales): Fixed formatting.
6190         * java/text/SimpleDateFormat.java:
6191         Fixed formatting and import statement order.
6192         * java/util/Calendar.java
6193         (Calendar): Fixed javadoc to be HTML compliant.
6194         * java/util/SimpleTimeZone.java:
6195         Fixed javadocs.
6197 2005-02-22  Roman Kennke <roman@ontographics.com>
6199         * javax/swing/plaf/basic/BasicLookAndFeel.java
6200         (initComponentDefaults): Fixed Button left and right margin.
6202 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6204         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
6205         empty Runnable.
6207         PR libgcj/17952:
6208         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6209         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6210         (getWidth): New method.
6211         (getHeight): Likewise.
6212         (create): Remove width, height and insets parameters.  Move size
6213         setup ...
6214         (realize_cb): ... here.  New function.
6215         (connectSignals): Connect realize_cb.
6216         (request_frame_extents): Remove FIXME.  Move
6217         postInsetsChangedEvent lookup ...
6218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
6219         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
6220         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
6221         jmethodID.
6222         (windowGetWidthID): Likewise.
6223         (windowGetHeightID): Likewise.
6225 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
6227         PR libgcj/19842
6228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6229         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
6231 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
6233         Merge serialization from GNU Classpath.
6234         * gcj/method.h: Add missing #includes.
6235         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
6236         primitive class IDs on the stream here...
6237         (resolveClass): ...not here.
6238         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
6239         fields.
6240         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
6241         setLongNative, setIntNative, setShortNative, setCharNative,
6242         setByteNative, setBooleanNative, setObjectNative): New native methods.
6243         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
6244         setLongNative, setIntNative, setShortNative, setCharNative,
6245         setByteNative, setBooleanNative, setObjectNative): Implement them.
6246         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
6247         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
6248         the constructor here.
6249         (callConstructor): Removed.
6250         (getCallersClassLoader): Removed.
6251         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
6252         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
6253         to control whether setting final field values is permitted. Call
6254         getAddr() with checkFinal parameter instead of setAddr().
6255         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
6256         only if not done already.
6257         (getAddr): Add checkFinal parameter. Do the final field check only if
6258         checkFinal is set.
6259         (setAddr): Removed.
6261 2005-02-21  Mark Wielaard  <mark@klomp.org>
6263         # Fixes bug #11957
6264         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
6265         twice.
6267 2005-02-21  Mark Wielaard  <mark@klomp.org>
6269         Fixes bug #11618.
6270         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
6271         without a super class and us ObjectStreamClass.lookupForClassObject().
6272         (resolveClass): Check for primitive types.
6273         (lookupClass): Return null when argument is null.
6275 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6277         * java/io/ObjectInputStream.java
6278         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
6280 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6282         * java/io/ObjectOutputStream.java
6283         (writeObject, callWriteMethod): Replaced reflection with accessing
6284         cached info in ObjectStreamClass.
6285         (getMethod): Removed.
6286         * java/io/ObjectStreamClass.java
6287         (findMethod): Added check to make sure the method found has the
6288         right modifiers.
6289         (cacheMethods): Added writeReplace and writeObject methods.
6290         (setFlags): Look at new writeObjectMethod field instead of doing
6291         reflection again.
6292         (writeReplaceMethod): New field.
6293         (writeObjectMethod): New field.
6295 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
6296         Jeroen Frijters  <jeroen@frijters.net>
6298         * java/io/ObjectInputStream.java
6299         (newObject): Changed prototype. Get a constructor reflect object
6300         directly.
6301         (callConstructor): Removed.
6302         (allocateObject): Changed prototype.
6303         (readClassDescriptor): Build the constructor reflection directly.
6304         (readObject): Invoke newObject using the new prototype.
6306         * java/io/ObjectStreamClass.java
6307         (firstNonSerializableParent): Removed.
6308         (firstNonSerializableParentConstructor): Added.
6310 2005-02-21  Mark Wielaard  <mark@klomp.org>
6312         * gnu/java/locale/LocaleInformation_en.java: Extend
6313         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
6315 2005-02-21  Mark Wielaard  <mark@klomp.org>
6317         * java/text/SimpleDateFormat.java
6318         (SimpleDateFormat(String, DateFormatSymbols)): Throw
6319         NullPointerException when formatData is null.
6321 2005-02-21  Mark Wielaard  <mark@klomp.org>
6323         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
6324         taking dstSavings into account.
6326 2005-02-21  Sven de Marothy <sven@physto.se>
6328         * java/text/SimpleDateFormat.java,
6329         (parse): Set correct DST_OFFSET to the correct value.
6331 2005-02-21  Mark Wielaard  <mark@klomp.org>
6333         * java/util/SimpleTimeZone.java (checkRule): Throw
6334         IllegalArgumentException when month out of range.
6336 2005-02-21  Sven de Marothy  <sven@physto.se>
6338         * java/util/GregorianCalendar.java,
6339         (add): Don't set fields directly anymore. Use set()
6341 2005-02-21  Mark Wielaard  <mark@klomp.org>
6343         * java/text/SimpleDateFormat.java (CompiledField.toString):
6344         Use StringBuffer, not StringBuilder.
6345         (toString): Likewise.
6347 2005-02-21  Sven de Marothy  <sven@physto.se>
6349         * java/util/Calendar.java
6350         (clear): Dates should clear to local time.
6351         * java/util/GregorianCalendar.java
6352         (computeTime): Fix priority problem with DAY_OF_WEEK,
6353         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
6355 2005-02-21  Sven de Marothy  <sven@physto.se>
6357         * java/util/Calendar.java
6358         (Calendar): Constructor should clear fields.
6360 2005-02-21  Sven de Marothy  <sven@physto.se>
6362         * java/text/SimpleDateFormat.java
6363         (parse): Tweak handling of 2-year dates
6364         * java/util/Calendar.java
6365         (clear): Clear fields to correct value.
6366         * java/util/GregorianCalendar.java
6367         (computeTime): Correct handling of time zones.
6368         Correct field minimum values.
6370 2005-02-21  Sven de Marothy  <sven@physto.se>
6372         * java/util/Calendar.java
6373         (set) Invalidate all fields on first call to set().
6375 2005-02-21  Sven de Marothy  <sven@physto.se>
6377         * java/util/GregorianCalendar.java
6378         (computeTime): Fixed handling of time zones.
6380 2005-02-21  Sven de Marothy  <sven@physto.se>
6382         * java/util/Calendar.java
6383         (clear): Set values to Epoch instead of zero.
6384         (set): Set isSet to the relevant field pattern instead of just
6385         the field.
6386         * java/util/GregorianCalendar.java
6387         (getBundle): Removed.
6388         (getDayOfYear): Removed.
6389         (getFirstDayOfMonth): New private method.
6390         (nonLeniencyCheck): New private method.
6391         (computeTime): Correct handling of insufficient data.
6393 2005-02-21  Sven de Marothy <sven@physto.se>
6395         * java/util/Calendar.java: Invalidate ERA field on setting
6396         the YEAR.
6397         * java/util/SimpleTimeZone.java:
6398         (getDaysInMonth): Reimplemented.
6399         * java/util/GregorianCalendar.java:
6400         (getLinearTime): Removed.
6401         (isLeapYear(int,boolean)): Removed.
6402         (before(), after()): Removed.
6403         (computeTime): Reimplemented.
6405 2005-02-21  Sven de Marothy <sven@physto.se>
6407         * java/util/Calendar.java: Reformatted.
6408         * java/util/GregorianCalendar.java: Reformatted.
6409         * java/util/SimpleTimeZone.java: Reformatted.
6411 2005-02-21  Sven de Marothy <sven@physto.se>
6413         * java/util/GregorianCalendar.java
6414         (GregorianCalendar): Update fields in the constructor
6416 2005-02-21  Noa Resare  <noa@resare.com>
6418         * java/util/Calendar.java (explicitDSTOffset): New instance field.
6419         (set(int,int)): Set and use new field.
6420         (set(int,int,int)): Check new field.
6422 2005-02-21  Noa Resare  <address@hidden>
6424         * java/util/Calendar.java(set):
6425         Fix for DST related regression.
6427 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6429         * java/util/Calendar.java
6430         (setTimeInMillis): Added call to clear, removed computeFields call.
6431         * java/util/Date.java
6432         (Date(int,int,int,int,int,int)): Removed workaround for
6433         GregorianCalendar bug.
6434         * java/util/GregorianCalendar.java
6435         (GregorianCalendar): Chained all constructors to a (new)
6436         common constructor.
6437         (computeTime): Fixed support for lenient month treatment.
6438         (getLinearDay): Return long instead of int.
6439         (calculateDay): Added fields argument and changed day argument
6440         to long.
6442 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6444         * java/text/SimpleDateFormat.java
6445         Lots of documentation updates.
6446         (readObject(java.io.ObjectInputStream)): Wraps
6447         IllegalArgumentException as specified.
6448         (compileFormat(String)): Uses standardChars
6449         rather than the local pattern characters.
6450         Throws IllegalArgumentException rather than
6451         storing a -1 field.
6452         (toString()): Extended to include all variables
6453         in a better format.
6454         (translateLocalizedPattern(String, String, String)):
6455         Renamed to better define the use of this method.
6457 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6459         * java/text/DateFormat.java:
6460         Documented pattern character offset constants and
6461         added new ones.
6462         (Field): Added new static fields for new pattern chars.
6463         * java/text/SimpleDateFormat.java:
6464         (CompiledField): Changed name of FieldSizePair class
6465         to CompiledField after adding the character as an
6466         attribute.  Changed fields to private and added
6467         accessors to give encapsulation.
6468         (CompiledField.CompiledField(int,int,char)): Extended
6469         with character field.
6470         (CompiledField.getField()): New accessor method.
6471         (CompiledField.getSize()): New acceessor method.
6472         (CompiledField.getCharacter()): New accessor method.
6473         (CompiledField.toString()): Added primarily for debugging.
6474         (standardChars): Now uses extended 24 character sequence.
6475         (compileFormat(String)): Changed to use CompiledField.
6476         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
6477         java.text.FieldPosition)): Changed to use CompiledField.
6478         New handler for RFC 822 timezones added.
6480 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6482         * java/text/SimpleDateFormat.java:
6483         (parse(String, java.text.ParsePosition)):
6484         Changed 'E' and 'M' cases to use both
6485         short and long names.  Extended 'z'
6486         case to also handle 'Z', and deal
6487         with simple GMT offsets such as +0100.
6488         (computeOffset(String)): New private method,
6489         which converts a GMT offset specification,
6490         such as GMT-0500 to a numeric offset in
6491         milliseconds.
6492         * java/util/TimeZone.java:
6493         (timezones()): Added "CEST", the daylight
6494         savings time version of "CET", or Central
6495         European Time.
6497 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6499         * java/text/SimpleDateFormat.java:
6500         (parse): Set the DST offset to 0 when parsing
6501         GMT offset timezones.
6503 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6505         * java/text/SimpleDateFormat.java:
6506         (parse): Use offset to set ZONE_OFFSET
6507         rather than the DST_OFFSET, so that
6508         GMT offset timezones change the right
6509         one.
6511 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6513         * java/text/SimpleDateFormat.java:
6514         (getDateFormatSymbols()): return a copy
6515         (setDateFormatSymbols(java.text.DateFormatSymbols)):
6516         throw exception on null input
6517         (clone()): implemented to clone
6518         internal fields
6520 2005-02-21  Sven de Marothy <sven@physto.se>
6522         * java/text/SimpleDateFormat.java
6523         (parse): comparison should be case-insensitive, ignore null
6524         strings.
6526 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
6528         * gnu/java/beans/IntrospectionIncubator.java
6529         (addMethod) Reverts the patch that ntroduced a regression (see bug
6530         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
6532 2005-02-21  Michael Koch  <konqueror@gmx.de>
6534         * java/awt/Checkbox.java
6535         (next_checkbox_number): New static variable.
6536         (generateName): New method.
6537         (getUniqueLong): Likewise.
6538         * java/awt/Window.java
6539         (next_window_number): New static variable.
6540         (generateName): New method.
6541         (getUniqueLong): Likewise.
6543 2005-02-21  Mark Wielaard  <mark@klomp.org>
6545         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
6546         exists.
6548 2005-02-21  Andrew Haley  <aph@redhat.com>
6550         * Makefile.in: Rebuilt.
6551         * Makefile.am (nat_source_files): Added natLogger.cc.
6552         * java/util/logging/natLogger.cc: New file.
6553         * java/util/logging/Logger.java (getCallerStackFrame): Now
6554         native.
6556 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
6558         * Makefile.am (all_property_files): Remove left over.
6559         (classes.stamp): Add stamp for the ONESTEP build, also known as
6560         --enable-libgcj-multifile.
6561         * Makefile.in: Regenerated.
6563 2005-02-21  Michael Koch  <konqueror@gmx.de>
6565         * java/awt/Button.java,
6566         java/awt/Container.java,
6567         java/awt/Font.java,
6568         java/awt/Frame.java,
6569         java/text/CollationElementIterator.java,
6570         java/text/RuleBasedCollator.java,
6571         java/util/PropertyPermission.java:
6572         Fixed formatting issues all over.
6574 2005-02-21  Mark Wielaard  <mark@klomp.org>
6576         * java/io/FileDescriptor.java (sync): Add real exception to
6577         SyncFailedException.
6579 2005-02-21  Michael Koch  <konqueror@gmx.de>
6581         * java/io/InputStreamReader.java:
6582         Fixed @author tag.
6584 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
6586         PR libgcj/19728:
6587         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
6589 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
6591         * libraries/javalib/gnu/regexp/RE.java,
6592         libraries/javalib/java/io/ObjectInputStream.java,
6593         libraries/javalib/java/security/AllPermission.java,
6594         libraries/javalib/java/security/BasicPermission.java,
6595         libraries/javalib/java/security/Permissions.java,
6596         libraries/javalib/java/text/MessageFormat.java:
6597         Made 'inner' classes real public static inner classes,
6598         and made them final where possible, or removed them
6599         where unused.
6601 2005-02-20  Michael Koch  <konqueror@gmx.de>
6603         * gnu/java/text/FormatCharacterIterator.java:
6604         Removed redundant modifiers.
6606 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6608         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
6609         snprintf.
6611 2005-02-19  Michael Koch  <konqueror@gmx.de>
6613         * Makefile.am: Added new files in gnu/java/beans and
6614         java/beans/XMLDecoder.java.
6615         * Makefile.in: Regenerated.
6617 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
6619         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
6620         assignment behavior by using java.lang.reflect.Array.set()
6621         directly.
6623 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
6625         * gnu/java/beans/EmptyBeanInfo.java,
6626         gnu/java/beans/info/ComponentBeanInfo.java:
6627         Removed unused files.
6629 2005-02-19  Robert Schuster <thebohemian@gmx.net>
6631         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
6632         of AppletStub for java.beans.Beans.instantiate.
6633         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
6634         of AppletContext.
6635         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
6636         to be conformant with Javadoc guidelines.
6637         (instantiate): Added two more overloaded variants, reworked user
6638         documentation, fixed exception behavior, fixed behavior when
6639         deserializing null.
6641 2005-02-19  Mark Wielaard  <mark@klomp.org>
6643         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
6644         failing methods.
6645         * gnu/java/beans/decoder/DummyContext.java: Likewise.
6647 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
6649         * gnu/java/beans/decoder/AbstractContext.java,
6650         gnu/java/beans/decoder/AbstractCreatableContext.java,
6651         gnu/java/beans/decoder/AbstractElementHandler.java,
6652         gnu/java/beans/decoder/AbstractObjectContext.java,
6653         gnu/java/beans/decoder/ArrayContext.java,
6654         gnu/java/beans/decoder/ArrayHandler.java,
6655         gnu/java/beans/decoder/AssemblyException.java,
6656         gnu/java/beans/decoder/BooleanHandler.java,
6657         gnu/java/beans/decoder/ByteHandler.java,
6658         gnu/java/beans/decoder/CharHandler.java,
6659         gnu/java/beans/decoder/ClassHandler.java,
6660         gnu/java/beans/decoder/ConstructorContext.java,
6661         gnu/java/beans/decoder/Context.java,
6662         gnu/java/beans/decoder/DecoderContext.java,
6663         gnu/java/beans/decoder/DefaultExceptionListener.java,
6664         gnu/java/beans/decoder/DoubleHandler.java,
6665         gnu/java/beans/decoder/DummyContext.java,
6666         gnu/java/beans/decoder/DummyHandler.java,
6667         gnu/java/beans/decoder/ElementHandler.java,
6668         gnu/java/beans/decoder/FloatHandler.java,
6669         gnu/java/beans/decoder/GrowableArrayContext.java,
6670         gnu/java/beans/decoder/IndexContext.java,
6671         gnu/java/beans/decoder/IntHandler.java,
6672         gnu/java/beans/decoder/JavaHandler.java,
6673         gnu/java/beans/decoder/LongHandler.java,
6674         gnu/java/beans/decoder/MethodContext.java,
6675         gnu/java/beans/decoder/MethodFinder.java,
6676         gnu/java/beans/decoder/NullHandler.java,
6677         gnu/java/beans/decoder/ObjectContext.java,
6678         gnu/java/beans/decoder/ObjectHandler.java,
6679         gnu/java/beans/decoder/PersistenceParser.java,
6680         gnu/java/beans/decoder/PropertyContext.java,
6681         gnu/java/beans/decoder/ShortHandler.java,
6682         gnu/java/beans/decoder/SimpleHandler.java,
6683         gnu/java/beans/decoder/StaticMethodContext.java,
6684         gnu/java/beans/decoder/StringHandler.java,
6685         gnu/java/beans/decoder/VoidHandler.java: New class
6686         implementing java.beans.XMLDecoder decoding functionality.
6687         * java/beans/XMLDecoder.java: New class.
6689 2005-02-19  Michael Koch  <konqueror@gmx.de>
6691         * javax/swing/JTextField.java
6692         (notfiyAction): Added javadoc.
6694 2005-02-19  Sven de Marothy  <sven@physto.se>
6696         * javax/swing/SpinnerDateModel.java: Implemented.
6698 2005-02-19  Michael Koch  <konqueror@gmx.de>
6700         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
6701         * Makefile.in: Regenerated.
6703 2005-02-19  Michael Koch  <konqueror@gmx.de>
6705         * gnu/java/nio/SelectorImpl.java:
6706         Reworked import statements.
6707         (register): Removed unused code.
6708         * java/nio/channels/Channels.java: Reformatted.
6709         * java/nio/charset/Charset.java: Likewise.
6710         * java/rmi/server/RemoteObject.java
6711         (serialVersionUID): Made private.
6712         * java/rmi/server/UID.java
6713         (serialVersionUID): Likewise.
6715 2005-02-19  Michael Koch  <konqueror@gmx.de>
6717         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
6718         gnu/java/net/protocol/ftp/BlockInputStream.java,
6719         gnu/java/net/protocol/ftp/BlockOutputStream.java,
6720         gnu/java/net/protocol/ftp/CompressedInputStream.java,
6721         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
6722         gnu/java/net/protocol/ftp/DTPInputStream.java,
6723         gnu/java/net/protocol/ftp/DTP.java,
6724         gnu/java/net/protocol/ftp/DTPOutputStream.java,
6725         gnu/java/net/protocol/ftp/FTPConnection.java,
6726         gnu/java/net/protocol/ftp/FTPException.java,
6727         gnu/java/net/protocol/ftp/FTPResponse.java,
6728         gnu/java/net/protocol/ftp/FTPURLConnection.java,
6729         gnu/java/net/protocol/ftp/Handler.java,
6730         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
6731         gnu/java/net/protocol/ftp/StreamInputStream.java,
6732         gnu/java/net/protocol/ftp/StreamOutputStream.java,
6733         gnu/java/net/CRLFInputStream.java,
6734         gnu/java/net/CRLFOutputStream.java,
6735         gnu/java/net/GetLocalHostAction.java,
6736         gnu/java/net/protocol/ftp/package.html: New files.
6737         * Makefile.am: Added new files.
6738         * Makefile.in: Regenerated.
6740 2005-02-18  Tom Tromey  <tromey@redhat.com>
6742         * link.cc (make_vtable): Remove abstract method check.
6743         (append_partial_itable): Likewise.
6745         PR java/20056:
6746         * verify.cc (type::equals): Fixed test.
6747         * testsuite/libjava.lang/PR20056.out: New file.
6748         * testsuite/libjava.lang/PR20056.java: New file.
6750 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
6752         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
6753         not the HashEntry. Reported by Jean-Marie White.
6755 2005-02-18  Tom Tromey  <tromey@redhat.com>
6757         PR java/20056:
6758         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
6759         * link.cc (has_field_p): New function.
6760         * verify.cc (check_field_constant): Added 'putfield' argument.
6761         (verify_instructions_0): Updated.
6762         (type::equals): New method.
6764 2005-02-18  Anthony Green  <green@redhat.com>
6766         * NEWS: Draft of libgcj NEWS for 4.0.
6768 2005-02-18  Anthony Green  <green@redhat.com>
6770         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
6771         architecture names to "i386" for compatibility reasons.  Win32
6772         still uses "x86".
6774 2005-02-18  Anthony Green  <green@redhat.com>
6776         * gij.cc (version): Change year for '--version' to 2005.
6777         * gnu/gcj/convert/Convert.java: Ditto.
6778         * gnu/java/rmi/rmic/RMIC.java: Ditto.
6779         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
6781         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
6782         recent copyright year in `--version' output.
6784 2005-02-18  Robert Schuster <thebohemian@gmx.net>
6786         * java/nio/charset/Charset.java (forName): Throws
6787         IllegalArgumentException when argument is null
6788         and added documentation.
6790 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6792         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
6793         Move the position of the source buffer forward.
6795 2005-02-17  Tom Tromey  <tromey@redhat.com>
6797         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
6798         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
6799         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
6800         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
6801         Changed type of second argument.  Rewrote.
6802         (make_vtable): Use it.
6803         (append_partial_itable): Updated.
6804         (layout_vtable_methods): Updated.
6806 2005-02-17  Michael Koch  <konqueror@gmx.de>
6808         * gnu/java/net/PlainSocketImpl.java
6809         (shutdownInput): Added javadoc.
6810         (shutdownOutput): Likewise.
6812 2005-02-17  Michael Koch  <konqueror@gmx.de>
6814         * javax/print/attribute/standard/Chromaticity.java,
6815         javax/print/attribute/standard/Destination.java,
6816         javax/print/attribute/standard/MediaPrintableArea.java,
6817         javax/print/attribute/standard/MediaSize.java: New files.
6818         * Makefile.am: Added new files.
6819         * Makefile.in: Regenerated.
6821 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6822             Michael Koch  <konqueror@gmx.de>
6824         * gnu/java/net/protocol/http/Cookie.java,
6825         gnu/java/net/protocol/http/HTTPConnection.java,
6826         gnu/java/net/protocol/http/HTTPDateFormat.java,
6827         gnu/java/net/protocol/http/Request.java,
6828         gnu/java/nio/PipeImpl.java,
6829         gnu/java/rmi/dgc/DGCImpl.java,
6830         gnu/java/rmi/server/ConnectionRunnerPool.java,
6831         gnu/java/rmi/server/UnicastConnectionManager.java,
6832         gnu/java/security/der/DERWriter.java,
6833         gnu/java/security/pkcs/SignerInfo.java,
6834         gnu/java/security/provider/EncodedKeyFactory.java,
6835         gnu/java/security/provider/GnuDHPublicKey.java,
6836         gnu/java/security/provider/GnuDSAPrivateKey.java,
6837         gnu/java/security/provider/GnuDSAPublicKey.java,
6838         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6839         gnu/java/security/x509/X500DistinguishedName.java,
6840         gnu/java/security/x509/X509CRL.java,
6841         gnu/java/security/x509/X509CRLEntry.java,
6842         gnu/java/security/x509/X509Certificate.java,
6843         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6844         gnu/java/security/x509/ext/CertificatePolicies.java,
6845         gnu/java/security/x509/ext/PolicyConstraint.java,
6846         gnu/xml/dom/Consumer.java,
6847         gnu/xml/dom/DomCharacterData.java,
6848         gnu/xml/dom/DomDocument.java,
6849         gnu/xml/dom/DomDocumentBuilder.java,
6850         gnu/xml/dom/DomIterator.java,
6851         gnu/xml/dom/DomNode.java,
6852         gnu/xml/dom/DomXPathExpression.java,
6853         gnu/xml/dom/DomXPathResult.java,
6854         gnu/xml/dom/JAXPFactory.java,
6855         gnu/xml/pipeline/CallFilter.java,
6856         gnu/xml/pipeline/DomConsumer.java,
6857         gnu/xml/pipeline/LinkFilter.java,
6858         gnu/xml/pipeline/NSFilter.java,
6859         gnu/xml/pipeline/TeeConsumer.java,
6860         gnu/xml/pipeline/ValidationConsumer.java,
6861         gnu/xml/pipeline/WellFormednessFilter.java,
6862         gnu/xml/pipeline/XIncludeFilter.java,
6863         gnu/xml/pipeline/XsltFilter.java,
6864         gnu/xml/transform/ApplyImportsNode.java,
6865         gnu/xml/transform/Bindings.java,
6866         gnu/xml/transform/DocumentFunction.java,
6867         gnu/xml/transform/FormatNumberFunction.java,
6868         gnu/xml/transform/NodeNumberNode.java,
6869         gnu/xml/transform/NumberNode.java,
6870         gnu/xml/transform/Stylesheet.java,
6871         gnu/xml/transform/SystemPropertyFunction.java,
6872         gnu/xml/transform/Template.java,
6873         gnu/xml/transform/TemplatesImpl.java,
6874         gnu/xml/transform/TransformerImpl.java,
6875         gnu/xml/transform/ValueOfNode.java,
6876         gnu/xml/transform/XSLURIResolver.java,
6877         gnu/xml/util/DoParse.java,
6878         gnu/xml/util/Resolver.java,
6879         gnu/xml/xpath/Expr.java,
6880         gnu/xml/xpath/FunctionCall.java,
6881         gnu/xml/xpath/RelationalExpr.java,
6882         gnu/xml/xpath/Selector.java,
6883         gnu/xml/xpath/XPathParser.java:
6884         Reworked import statements, fixed modifier order and some little
6885         formatting issues.
6887 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6889         * java/nio/ByteBufferImpl.java (compact):
6890         Set position and limit even if no bytes were moved.
6892 2005-02-17  Michael Koch  <konqueror@gmx.de>
6894         * java/nio/CharViewBufferImpl.java (compact): Likewise.
6895         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
6896         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
6897         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
6898         * java/nio/IntViewBufferImpl.java (compact): Likewise.
6899         * java/nio/LongViewBufferImpl.java (compact): Likewise.
6900         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
6901         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
6902         * java/nio/FloatBufferImpl.java (compact): Set position.
6903         * java/nio/CharBufferImpl.java (compact): Likewise.
6904         * java/nio/DoubleBufferImpl.java (compact): Likewise.
6905         * java/nio/IntBufferImpl.java (compact): Likewise.
6906         * java/nio/LongBufferImpl.java (compact): Likewise.
6907         * java/nio/ShortBufferImpl.java (compact): Likewise.
6909 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
6911         * java/nio/ByteBufferImpl.java,
6912         java/nio/CharBufferImpl.java,
6913         java/nio/DirectByteBufferImpl.java,
6914         java/nio/DoubleBufferImpl.java,
6915         java/nio/FloatBufferImpl.java,
6916         java/nio/IntBufferImpl.java,
6917         java/nio/LongBufferImpl.java,
6918         java/nio/MappedByteBufferImpl.java,
6919         java/nio/ShortBufferImpl.java
6920         (compact): Added explicit read-only check and invalidate mark.
6922 2005-02-17  Michael Koch  <konqueror@gmx.de>
6924         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6925         gnu/java/awt/peer/gtk/GdkFontPeer.java,
6926         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6927         gnu/java/awt/peer/gtk/GdkGraphics.java,
6928         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6929         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
6930         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6931         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6932         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6933         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
6934         gnu/java/awt/peer/gtk/GdkTextLayout.java,
6935         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6936         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6937         gnu/java/awt/peer/gtk/GtkClipboard.java,
6938         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6939         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6940         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6941         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6942         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6943         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6944         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6945         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6946         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6947         gnu/java/awt/peer/gtk/GtkToolkit.java,
6948         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6949         java/applet/Applet.java,
6950         java/awt/AWTError.java,
6951         java/awt/AWTEvent.java,
6952         java/awt/AWTEventMulticaster.java,
6953         java/awt/AWTException.java,
6954         java/awt/AWTKeyStroke.java,
6955         java/awt/AWTPermission.java,
6956         java/awt/ActiveEvent.java,
6957         java/awt/Adjustable.java,
6958         java/awt/AlphaComposite.java,
6959         java/awt/AttributeValue.java,
6960         java/awt/BorderLayout.java,
6961         java/awt/BufferCapabilities.java,
6962         java/awt/Button.java,
6963         java/awt/Canvas.java,
6964         java/awt/CheckboxGroup.java,
6965         java/awt/CheckboxMenuItem.java,
6966         java/awt/Color.java,
6967         java/awt/ColorPaintContext.java,
6968         java/awt/Component.java,
6969         java/awt/ComponentOrientation.java,
6970         java/awt/Composite.java,
6971         java/awt/CompositeContext.java,
6972         java/awt/Container.java,
6973         java/awt/ContainerOrderFocusTraversalPolicy.java,
6974         java/awt/DefaultFocusTraversalPolicy.java,
6975         java/awt/Dialog.java,
6976         java/awt/Dimension.java,
6977         java/awt/DisplayMode.java,
6978         java/awt/EventQueue.java,
6979         java/awt/FileDialog.java,
6980         java/awt/FontFormatException.java,
6981         java/awt/Graphics.java,
6982         java/awt/Graphics2D.java,
6983         java/awt/GraphicsConfigTemplate.java,
6984         java/awt/GraphicsConfiguration.java,
6985         java/awt/GraphicsDevice.java,
6986         java/awt/GridBagLayout.java,
6987         java/awt/GridBagLayoutInfo.java,
6988         java/awt/GridLayout.java,
6989         java/awt/HeadlessException.java,
6990         java/awt/IllegalComponentStateException.java,
6991         java/awt/Image.java,
6992         java/awt/Insets.java,
6993         java/awt/ItemSelectable.java,
6994         java/awt/JobAttributes.java,
6995         java/awt/KeyEventDispatcher.java,
6996         java/awt/KeyEventPostProcessor.java,
6997         java/awt/KeyboardFocusManager.java,
6998         java/awt/Label.java,
6999         java/awt/LayoutManager.java,
7000         java/awt/MenuBar.java,
7001         java/awt/MenuComponent.java,
7002         java/awt/MenuContainer.java,
7003         java/awt/PageAttributes.java,
7004         java/awt/Paint.java,
7005         java/awt/PaintContext.java,
7006         java/awt/Panel.java,
7007         java/awt/Point.java,
7008         java/awt/Polygon.java,
7009         java/awt/PrintGraphics.java,
7010         java/awt/PrintJob.java,
7011         java/awt/Rectangle.java,
7012         java/awt/RenderingHints.java,
7013         java/awt/Shape.java,
7014         java/awt/Stroke.java,
7015         java/awt/SystemColor.java,
7016         java/awt/Toolkit.java,
7017         java/awt/Transparency.java,
7018         java/awt/Window.java,
7019         java/awt/color/CMMException.java,
7020         java/awt/color/ColorSpace.java,
7021         java/awt/color/ICC_ColorSpace.java,
7022         java/awt/color/ICC_Profile.java,
7023         java/awt/color/ProfileDataException.java,
7024         java/awt/datatransfer/FlavorTable.java,
7025         java/awt/datatransfer/MimeTypeParseException.java,
7026         java/awt/datatransfer/Transferable.java,
7027         java/awt/datatransfer/UnsupportedFlavorException.java,
7028         java/awt/dnd/Autoscroll.java,
7029         java/awt/dnd/DnDConstants.java,
7030         java/awt/dnd/DragGestureListener.java,
7031         java/awt/dnd/DragSourceAdapter.java,
7032         java/awt/dnd/DragSourceDropEvent.java,
7033         java/awt/dnd/DragSourceListener.java,
7034         java/awt/dnd/DragSourceMotionListener.java,
7035         java/awt/dnd/DropTargetAdapter.java,
7036         java/awt/dnd/DropTargetContext.java,
7037         java/awt/dnd/DropTargetListener.java,
7038         java/awt/dnd/InvalidDnDOperationException.java,
7039         java/awt/dnd/MouseDragGestureRecognizer.java,
7040         java/awt/dnd/peer/DropTargetContextPeer.java,
7041         java/awt/event/AWTEventListener.java,
7042         java/awt/event/AWTEventListenerProxy.java,
7043         java/awt/event/ActionEvent.java,
7044         java/awt/event/AdjustmentEvent.java,
7045         java/awt/event/AdjustmentListener.java,
7046         java/awt/event/ComponentAdapter.java,
7047         java/awt/event/ComponentEvent.java,
7048         java/awt/event/ComponentListener.java,
7049         java/awt/event/ContainerAdapter.java,
7050         java/awt/event/ContainerEvent.java,
7051         java/awt/event/ContainerListener.java,
7052         java/awt/event/FocusAdapter.java,
7053         java/awt/event/FocusEvent.java,
7054         java/awt/event/FocusListener.java,
7055         java/awt/event/InputEvent.java,
7056         java/awt/event/InputMethodEvent.java,
7057         java/awt/event/InputMethodListener.java,
7058         java/awt/event/InvocationEvent.java,
7059         java/awt/event/ItemEvent.java,
7060         java/awt/event/ItemListener.java,
7061         java/awt/event/KeyAdapter.java,
7062         java/awt/event/KeyEvent.java,
7063         java/awt/event/KeyListener.java,
7064         java/awt/event/MouseAdapter.java,
7065         java/awt/event/MouseEvent.java,
7066         java/awt/event/MouseListener.java,
7067         java/awt/event/MouseMotionAdapter.java,
7068         java/awt/event/MouseMotionListener.java,
7069         java/awt/event/MouseWheelEvent.java,
7070         java/awt/event/MouseWheelListener.java,
7071         java/awt/event/PaintEvent.java,
7072         java/awt/event/TextEvent.java,
7073         java/awt/event/TextListener.java,
7074         java/awt/event/WindowAdapter.java,
7075         java/awt/event/WindowEvent.java,
7076         java/awt/event/WindowFocusListener.java,
7077         java/awt/event/WindowListener.java,
7078         java/awt/event/WindowStateListener.java,
7079         java/awt/font/TextHitInfo.java,
7080         java/awt/geom/CubicCurve2D.java,
7081         java/awt/geom/Dimension2D.java,
7082         java/awt/geom/Ellipse2D.java,
7083         java/awt/geom/IllegalPathStateException.java,
7084         java/awt/geom/Line2D.java,
7085         java/awt/geom/NoninvertibleTransformException.java,
7086         java/awt/geom/PathIterator.java,
7087         java/awt/geom/Point2D.java,
7088         java/awt/geom/QuadCurve2D.java,
7089         java/awt/geom/RectangularShape.java,
7090         java/awt/geom/RoundRectangle2D.java,
7091         java/awt/im/InputContext.java,
7092         java/awt/im/InputMethodHighlight.java,
7093         java/awt/im/InputMethodRequests.java,
7094         java/awt/im/InputSubset.java,
7095         java/awt/im/spi/InputMethod.java,
7096         java/awt/im/spi/InputMethodDescriptor.java,
7097         java/awt/image/BandCombineOp.java,
7098         java/awt/image/BandedSampleModel.java,
7099         java/awt/image/ByteLookupTable.java,
7100         java/awt/image/ComponentSampleModel.java,
7101         java/awt/image/DataBuffer.java,
7102         java/awt/image/DataBufferByte.java,
7103         java/awt/image/DataBufferDouble.java,
7104         java/awt/image/DataBufferFloat.java,
7105         java/awt/image/DataBufferInt.java,
7106         java/awt/image/DataBufferShort.java,
7107         java/awt/image/DataBufferUShort.java,
7108         java/awt/image/ImagingOpException.java,
7109         java/awt/image/Kernel.java,
7110         java/awt/image/LookupTable.java,
7111         java/awt/image/MultiPixelPackedSampleModel.java,
7112         java/awt/image/PackedColorModel.java,
7113         java/awt/image/PixelInterleavedSampleModel.java,
7114         java/awt/image/RGBImageFilter.java,
7115         java/awt/image/Raster.java,
7116         java/awt/image/RasterFormatException.java,
7117         java/awt/image/SampleModel.java,
7118         java/awt/image/ShortLookupTable.java,
7119         java/awt/image/SinglePixelPackedSampleModel.java,
7120         java/awt/image/WritableRaster.java,
7121         java/awt/print/PrinterAbortException.java,
7122         java/awt/print/PrinterException.java,
7123         java/awt/print/PrinterIOException.java,
7124         java/beans/AppletInitializer.java,
7125         java/beans/ExceptionListener.java,
7126         java/beans/PropertyChangeEvent.java,
7127         java/beans/PropertyChangeListenerProxy.java,
7128         java/beans/PropertyChangeSupport.java,
7129         java/beans/PropertyDescriptor.java,
7130         java/beans/VetoableChangeListenerProxy.java,
7131         java/beans/VetoableChangeSupport.java,
7132         java/io/BufferedReader.java,
7133         java/io/ByteArrayInputStream.java,
7134         java/io/ByteArrayOutputStream.java,
7135         java/io/CharArrayReader.java,
7136         java/io/CharArrayWriter.java,
7137         java/io/CharConversionException.java,
7138         java/io/DataInput.java,
7139         java/io/DataInputStream.java,
7140         java/io/DataOutput.java,
7141         java/io/DataOutputStream.java,
7142         java/io/EOFException.java,
7143         java/io/FileInputStream.java,
7144         java/io/FileNotFoundException.java,
7145         java/io/FileOutputStream.java,
7146         java/io/FilenameFilter.java,
7147         java/io/FilterInputStream.java,
7148         java/io/FilterOutputStream.java,
7149         java/io/FilterReader.java,
7150         java/io/FilterWriter.java,
7151         java/io/IOException.java,
7152         java/io/InputStream.java,
7153         java/io/InterruptedIOException.java,
7154         java/io/LineNumberInputStream.java,
7155         java/io/LineNumberReader.java,
7156         java/io/ObjectInputStream.java,
7157         java/io/ObjectStreamException.java,
7158         java/io/OptionalDataException.java,
7159         java/io/OutputStream.java,
7160         java/io/OutputStreamWriter.java,
7161         java/io/PrintStream.java,
7162         java/io/PrintWriter.java,
7163         java/io/PushbackInputStream.java,
7164         java/io/PushbackReader.java,
7165         java/io/RandomAccessFile.java,
7166         java/io/Reader.java,
7167         java/io/SequenceInputStream.java,
7168         java/io/Serializable.java,
7169         java/io/StreamCorruptedException.java,
7170         java/io/StreamTokenizer.java,
7171         java/io/StringBufferInputStream.java,
7172         java/io/StringWriter.java,
7173         java/io/SyncFailedException.java,
7174         java/io/UTFDataFormatException.java,
7175         java/io/UnsupportedEncodingException.java,
7176         java/io/WriteAbortedException.java,
7177         java/io/Writer.java,
7178         java/lang/AbstractMethodError.java,
7179         java/lang/ArithmeticException.java,
7180         java/lang/ArrayIndexOutOfBoundsException.java,
7181         java/lang/ArrayStoreException.java,
7182         java/lang/AssertionError.java,
7183         java/lang/Boolean.java,
7184         java/lang/Byte.java,
7185         java/lang/Class.java,
7186         java/lang/ClassCastException.java,
7187         java/lang/ClassCircularityError.java,
7188         java/lang/ClassLoader.java,
7189         java/lang/ClassNotFoundException.java,
7190         java/lang/CloneNotSupportedException.java,
7191         java/lang/Cloneable.java,
7192         java/lang/Comparable.java,
7193         java/lang/Compiler.java,
7194         java/lang/Double.java,
7195         java/lang/Error.java,
7196         java/lang/Exception.java,
7197         java/lang/ExceptionInInitializerError.java,
7198         java/lang/Float.java,
7199         java/lang/IllegalAccessError.java,
7200         java/lang/IllegalAccessException.java,
7201         java/lang/IllegalArgumentException.java,
7202         java/lang/IllegalMonitorStateException.java,
7203         java/lang/IllegalStateException.java,
7204         java/lang/IllegalThreadStateException.java,
7205         java/lang/IncompatibleClassChangeError.java,
7206         java/lang/IndexOutOfBoundsException.java,
7207         java/lang/InheritableThreadLocal.java,
7208         java/lang/InstantiationError.java,
7209         java/lang/InstantiationException.java,
7210         java/lang/Integer.java,
7211         java/lang/InternalError.java,
7212         java/lang/InterruptedException.java,
7213         java/lang/LinkageError.java,
7214         java/lang/Long.java,
7215         java/lang/NegativeArraySizeException.java,
7216         java/lang/NoClassDefFoundError.java,
7217         java/lang/NoSuchFieldError.java,
7218         java/lang/NoSuchFieldException.java,
7219         java/lang/NoSuchMethodError.java,
7220         java/lang/NoSuchMethodException.java,
7221         java/lang/NullPointerException.java,
7222         java/lang/Number.java,
7223         java/lang/NumberFormatException.java,
7224         java/lang/OutOfMemoryError.java,
7225         java/lang/Process.java,
7226         java/lang/Runnable.java,
7227         java/lang/Runtime.java,
7228         java/lang/RuntimeException.java,
7229         java/lang/RuntimePermission.java,
7230         java/lang/SecurityException.java,
7231         java/lang/SecurityManager.java,
7232         java/lang/Short.java,
7233         java/lang/StackOverflowError.java,
7234         java/lang/StackTraceElement.java,
7235         java/lang/StringBuffer.java,
7236         java/lang/StringIndexOutOfBoundsException.java,
7237         java/lang/ThreadDeath.java,
7238         java/lang/ThreadGroup.java,
7239         java/lang/Throwable.java,
7240         java/lang/UnsatisfiedLinkError.java,
7241         java/lang/UnsupportedOperationException.java,
7242         java/lang/VerifyError.java,
7243         java/lang/VirtualMachineError.java,
7244         java/lang/reflect/AccessibleObject.java,
7245         java/lang/reflect/Array.java,
7246         java/lang/reflect/InvocationTargetException.java,
7247         java/lang/reflect/Member.java,
7248         java/lang/reflect/Modifier.java,
7249         java/lang/reflect/Proxy.java,
7250         java/lang/reflect/ReflectPermission.java,
7251         java/lang/reflect/UndeclaredThrowableException.java,
7252         java/math/BigInteger.java,
7253         java/net/NetworkInterface.java,
7254         java/nio/ByteBufferHelper.java,
7255         java/nio/ByteBufferImpl.java,
7256         java/nio/DirectByteBufferImpl.java,
7257         java/nio/DoubleBufferImpl.java,
7258         java/nio/FloatBufferImpl.java,
7259         java/nio/IntBufferImpl.java,
7260         java/nio/LongBufferImpl.java,
7261         java/nio/ShortBufferImpl.java,
7262         java/nio/channels/Channel.java,
7263         java/nio/channels/IllegalBlockingModeException.java,
7264         java/nio/charset/spi/CharsetProvider.java,
7265         java/security/AccessControlException.java,
7266         java/security/BasicPermission.java,
7267         java/security/DigestException.java,
7268         java/security/DigestInputStream.java,
7269         java/security/DigestOutputStream.java,
7270         java/security/GeneralSecurityException.java,
7271         java/security/Guard.java,
7272         java/security/GuardedObject.java,
7273         java/security/InvalidAlgorithmParameterException.java,
7274         java/security/InvalidKeyException.java,
7275         java/security/InvalidParameterException.java,
7276         java/security/Key.java,
7277         java/security/KeyException.java,
7278         java/security/KeyManagementException.java,
7279         java/security/KeyStoreException.java,
7280         java/security/MessageDigestSpi.java,
7281         java/security/NoSuchAlgorithmException.java,
7282         java/security/NoSuchProviderException.java,
7283         java/security/Permission.java,
7284         java/security/PermissionCollection.java,
7285         java/security/Permissions.java,
7286         java/security/Principal.java,
7287         java/security/PrivateKey.java,
7288         java/security/PrivilegedActionException.java,
7289         java/security/ProviderException.java,
7290         java/security/PublicKey.java,
7291         java/security/SecureRandom.java,
7292         java/security/SecureRandomSpi.java,
7293         java/security/SignatureException.java,
7294         java/security/SignatureSpi.java,
7295         java/security/SignedObject.java,
7296         java/security/Signer.java,
7297         java/security/UnrecoverableKeyException.java,
7298         java/security/UnresolvedPermission.java,
7299         java/security/acl/AclNotFoundException.java,
7300         java/security/acl/LastOwnerException.java,
7301         java/security/acl/NotOwnerException.java,
7302         java/security/cert/CertPath.java,
7303         java/security/cert/CertPathBuilderException.java,
7304         java/security/cert/CertPathValidatorException.java,
7305         java/security/cert/CertStoreException.java,
7306         java/text/BreakIterator.java,
7307         java/text/ChoiceFormat.java,
7308         java/text/CollationElementIterator.java,
7309         java/text/CollationKey.java,
7310         java/text/Collator.java,
7311         java/text/DateFormat.java,
7312         java/text/DateFormatSymbols.java,
7313         java/text/DecimalFormat.java,
7314         java/text/DecimalFormatSymbols.java,
7315         java/text/FieldPosition.java,
7316         java/text/Format.java,
7317         java/text/NumberFormat.java,
7318         java/text/ParseException.java,
7319         java/text/ParsePosition.java,
7320         java/text/StringCharacterIterator.java,
7321         java/util/AbstractCollection.java,
7322         java/util/AbstractList.java,
7323         java/util/AbstractMap.java,
7324         java/util/AbstractSequentialList.java,
7325         java/util/AbstractSet.java,
7326         java/util/ArrayList.java,
7327         java/util/Arrays.java,
7328         java/util/BitSet.java,
7329         java/util/Collection.java,
7330         java/util/Collections.java,
7331         java/util/Comparator.java,
7332         java/util/ConcurrentModificationException.java,
7333         java/util/Currency.java,
7334         java/util/Date.java,
7335         java/util/EmptyStackException.java,
7336         java/util/Enumeration.java,
7337         java/util/EventListener.java,
7338         java/util/EventListenerProxy.java,
7339         java/util/EventObject.java,
7340         java/util/HashMap.java,
7341         java/util/HashSet.java,
7342         java/util/Hashtable.java,
7343         java/util/IdentityHashMap.java,
7344         java/util/Iterator.java,
7345         java/util/LinkedHashSet.java,
7346         java/util/LinkedList.java,
7347         java/util/List.java,
7348         java/util/ListIterator.java,
7349         java/util/ListResourceBundle.java,
7350         java/util/Map.java,
7351         java/util/MissingResourceException.java,
7352         java/util/NoSuchElementException.java,
7353         java/util/Observable.java,
7354         java/util/Observer.java,
7355         java/util/Properties.java,
7356         java/util/PropertyPermissionCollection.java,
7357         java/util/RandomAccess.java,
7358         java/util/Set.java,
7359         java/util/SortedMap.java,
7360         java/util/SortedSet.java,
7361         java/util/Stack.java,
7362         java/util/StringTokenizer.java,
7363         java/util/TooManyListenersException.java,
7364         java/util/TreeMap.java,
7365         java/util/TreeSet.java,
7366         java/util/Vector.java,
7367         java/util/logging/FileHandler.java,
7368         java/util/logging/Level.java,
7369         java/util/prefs/BackingStoreException.java,
7370         java/util/prefs/InvalidPreferencesFormatException.java,
7371         java/util/prefs/Preferences.java,
7372         javax/accessibility/Accessible.java,
7373         javax/accessibility/AccessibleAction.java,
7374         javax/accessibility/AccessibleBundle.java,
7375         javax/accessibility/AccessibleComponent.java,
7376         javax/accessibility/AccessibleContext.java,
7377         javax/accessibility/AccessibleEditableText.java,
7378         javax/accessibility/AccessibleExtendedComponent.java,
7379         javax/accessibility/AccessibleExtendedTable.java,
7380         javax/accessibility/AccessibleHyperlink.java,
7381         javax/accessibility/AccessibleHypertext.java,
7382         javax/accessibility/AccessibleIcon.java,
7383         javax/accessibility/AccessibleKeyBinding.java,
7384         javax/accessibility/AccessibleRelation.java,
7385         javax/accessibility/AccessibleRelationSet.java,
7386         javax/accessibility/AccessibleResourceBundle.java,
7387         javax/accessibility/AccessibleRole.java,
7388         javax/accessibility/AccessibleSelection.java,
7389         javax/accessibility/AccessibleState.java,
7390         javax/accessibility/AccessibleStateSet.java,
7391         javax/accessibility/AccessibleTable.java,
7392         javax/accessibility/AccessibleTableModelChange.java,
7393         javax/accessibility/AccessibleText.java,
7394         javax/accessibility/AccessibleValue.java,
7395         javax/imageio/IIOException.java,
7396         javax/imageio/ImageIO.java,
7397         javax/imageio/spi/IIOServiceProvider.java,
7398         javax/imageio/spi/ImageInputStreamSpi.java,
7399         javax/imageio/spi/ImageOutputStreamSpi.java,
7400         javax/imageio/spi/ImageReaderWriterSpi.java,
7401         javax/imageio/spi/ImageTranscoderSpi.java,
7402         javax/imageio/spi/RegisterableService.java,
7403         javax/imageio/spi/ServiceRegistry.java,
7404         javax/imageio/stream/IIOByteBuffer.java,
7405         javax/imageio/stream/ImageInputStream.java,
7406         javax/imageio/stream/ImageOutputStream.java,
7407         javax/naming/Binding.java,
7408         javax/naming/CannotProceedException.java,
7409         javax/naming/CompositeName.java,
7410         javax/naming/CompoundName.java,
7411         javax/naming/LinkException.java,
7412         javax/naming/LinkRef.java,
7413         javax/naming/NameClassPair.java,
7414         javax/naming/Reference.java,
7415         javax/naming/ReferralException.java,
7416         javax/naming/directory/Attribute.java,
7417         javax/naming/directory/AttributeModificationException.java,
7418         javax/naming/directory/Attributes.java,
7419         javax/naming/directory/DirContext.java,
7420         javax/naming/directory/ModificationItem.java,
7421         javax/naming/directory/SearchControls.java,
7422         javax/naming/directory/SearchResult.java,
7423         javax/naming/event/EventContext.java,
7424         javax/naming/event/EventDirContext.java,
7425         javax/naming/event/NamespaceChangeListener.java,
7426         javax/naming/event/NamingExceptionEvent.java,
7427         javax/naming/event/NamingListener.java,
7428         javax/naming/event/ObjectChangeListener.java,
7429         javax/naming/ldap/Control.java,
7430         javax/naming/ldap/ExtendedResponse.java,
7431         javax/naming/ldap/HasControls.java,
7432         javax/naming/ldap/LdapContext.java,
7433         javax/naming/ldap/UnsolicitedNotification.java,
7434         javax/naming/ldap/UnsolicitedNotificationEvent.java,
7435         javax/naming/ldap/UnsolicitedNotificationListener.java,
7436         javax/naming/spi/DirectoryManager.java,
7437         javax/naming/spi/ResolveResult.java,
7438         javax/naming/spi/Resolver.java,
7439         javax/security/auth/callback/Callback.java,
7440         javax/security/auth/callback/CallbackHandler.java,
7441         javax/security/auth/callback/ChoiceCallback.java,
7442         javax/security/auth/callback/ConfirmationCallback.java,
7443         javax/security/auth/callback/LanguageCallback.java,
7444         javax/security/auth/callback/NameCallback.java,
7445         javax/security/auth/callback/PasswordCallback.java,
7446         javax/security/auth/callback/TextInputCallback.java,
7447         javax/security/auth/callback/TextOutputCallback.java,
7448         javax/security/auth/callback/UnsupportedCallbackException.java,
7449         javax/security/sasl/Sasl.java,
7450         javax/security/sasl/SaslServerFactory.java,
7451         javax/swing/DefaultBoundedRangeModel.java,
7452         javax/swing/JComponent.java,
7453         javax/swing/JList.java,
7454         javax/swing/JProgressBar.java,
7455         javax/swing/JRadioButton.java,
7456         javax/swing/JTextArea.java,
7457         javax/swing/JTextField.java,
7458         javax/swing/JToggleButton.java,
7459         javax/swing/JTree.java,
7460         javax/swing/SpinnerListModel.java,
7461         javax/swing/event/EventListenerList.java,
7462         javax/swing/text/JTextComponent.java,
7463         javax/swing/text/StringContent.java,
7464         javax/swing/text/Utilities.java,
7465         javax/swing/undo/UndoManager.java,
7466         javax/swing/undo/UndoableEditSupport.java,
7467         javax/transaction/HeuristicCommitException.java,
7468         javax/transaction/HeuristicMixedException.java,
7469         javax/transaction/HeuristicRollbackException.java,
7470         javax/transaction/InvalidTransactionException.java,
7471         javax/transaction/NotSupportedException.java,
7472         javax/transaction/RollbackException.java,
7473         javax/transaction/Status.java,
7474         javax/transaction/Synchronization.java,
7475         javax/transaction/SystemException.java,
7476         javax/transaction/Transaction.java,
7477         javax/transaction/TransactionManager.java,
7478         javax/transaction/TransactionRequiredException.java,
7479         javax/transaction/TransactionRolledbackException.java,
7480         javax/transaction/UserTransaction.java,
7481         javax/transaction/xa/XAException.java,
7482         javax/transaction/xa/XAResource.java,
7483         javax/transaction/xa/Xid.java,
7484         javax/xml/XMLConstants.java,
7485         javax/xml/datatype/DatatypeConfigurationException.java,
7486         javax/xml/datatype/DatatypeConstants.java,
7487         javax/xml/datatype/DatatypeFactory.java,
7488         javax/xml/datatype/Duration.java,
7489         javax/xml/datatype/XMLGregorianCalendar.java,
7490         javax/xml/namespace/NamespaceContext.java,
7491         javax/xml/namespace/QName.java,
7492         javax/xml/parsers/DocumentBuilder.java,
7493         javax/xml/parsers/DocumentBuilderFactory.java,
7494         javax/xml/parsers/FactoryConfigurationError.java,
7495         javax/xml/parsers/ParserConfigurationException.java,
7496         javax/xml/parsers/SAXParser.java,
7497         javax/xml/parsers/SAXParserFactory.java,
7498         javax/xml/transform/ErrorListener.java,
7499         javax/xml/transform/OutputKeys.java,
7500         javax/xml/transform/Result.java,
7501         javax/xml/transform/Source.java,
7502         javax/xml/transform/SourceLocator.java,
7503         javax/xml/transform/Templates.java,
7504         javax/xml/transform/Transformer.java,
7505         javax/xml/transform/TransformerConfigurationException.java,
7506         javax/xml/transform/TransformerException.java,
7507         javax/xml/transform/TransformerFactory.java,
7508         javax/xml/transform/TransformerFactoryConfigurationError.java,
7509         javax/xml/transform/URIResolver.java,
7510         javax/xml/transform/dom/DOMLocator.java,
7511         javax/xml/transform/dom/DOMResult.java,
7512         javax/xml/transform/dom/DOMSource.java,
7513         javax/xml/transform/sax/SAXResult.java,
7514         javax/xml/transform/sax/SAXSource.java,
7515         javax/xml/transform/sax/SAXTransformerFactory.java,
7516         javax/xml/transform/sax/TemplatesHandler.java,
7517         javax/xml/transform/sax/TransformerHandler.java,
7518         javax/xml/transform/stream/StreamResult.java,
7519         javax/xml/transform/stream/StreamSource.java,
7520         javax/xml/validation/Schema.java,
7521         javax/xml/validation/SchemaFactory.java,
7522         javax/xml/validation/TypeInfoProvider.java,
7523         javax/xml/validation/Validator.java,
7524         javax/xml/validation/ValidatorHandler.java,
7525         javax/xml/xpath/XPathConstants.java,
7526         javax/xml/xpath/XPathException.java,
7527         javax/xml/xpath/XPathExpression.java,
7528         javax/xml/xpath/XPathExpressionException.java,
7529         javax/xml/xpath/XPathFactory.java,
7530         javax/xml/xpath/XPathFactoryConfigurationException.java,
7531         javax/xml/xpath/XPathFunction.java,
7532         javax/xml/xpath/XPathFunctionException.java,
7533         javax/xml/xpath/XPathFunctionResolver.java:
7534         Fixed usage of @author tag, reworked import statements,
7535         removed CVS tags, changed the modifier order and fixed
7536         HTML usage in javadocs.
7538 2005-02-16  Julian Scheid  <julian@sektor37.de>
7540         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
7541         in.position().
7542         (encodeLoop): Likewise.
7544 2005-02-16  Mark Wielaard  <mark@klomp.org>
7546         * Makefile.am (ordinary_java_source_files): Add new files
7547         gnu/java/security/ber/BER.java,
7548         gnu/java/security/ber/BEREncodingException.java,
7549         gnu/java/security/ber/BERReader.java,
7550         gnu/java/security/ber/BERValue.java,
7551         gnu/java/security/pkcs/PKCS7SignedData.java and
7552         gnu/java/security/pkcs/SignerInfo.java.
7553         * Makefile.in: Regenerated.
7555 2005-02-16  Casey Marshall  <csm@gnu.org>
7557         * gnu/java/security/provider/GnuDSAPrivateKey.java
7558         (encodedKey): new field.
7559         (getFormat): return "PKCS#8".
7560         (getEncoded): implemented.
7561         (toString): check for 'null' values.
7562         * gnu/java/security/provider/GnuDSAPublicKey.java
7563         (encodedKey): new field.
7564         (getFormat): return "X.509".
7565         (getEncoded): implemented.
7566         (toString): check for 'null' values.
7568 2005-02-16  Michael Koch  <konqueror@gmx.de>
7570         * java/util/jar/JarFile.java: Imports reworked.
7572 2005-02-16  Mark Wielaard  <mark@klomp.org>
7574         * java/util/jar/JarFile.java (verify): Make package private.
7575         (signaturesRead): Likewise.
7576         (verified): Likewise.
7577         (entryCerts): Likewise.
7578         (DEBUG): Likewise.
7579         (debug): Likewise.
7580         (entries): Construct new JarEnumeration with reference to this.
7581         (JarEnumeration): Make static.
7582         (JarEnumeration.jarfile): New field.
7583         (JarEnumeration.nextElement): Use and synchronize on jarfile.
7584         Compare verified value to Boolean.TRUE or Boolean.False only
7585         when verify is true.
7586         (getEntry): Make synchronized. Compare value of verified to
7587         Boolean.TRUE.
7588         (getInputStream): Construct EntryInputStream with reference to this.
7589         (getManifest): Make synchronized.
7590         (EntryInputStream): Make static.
7591         (EntryInputStream.jarfile): New field.
7592         (EntryInputStream.EntryInputStream): Check if manifest exists,
7593         before getting attributes.
7594         (eof): Synchronize on jarfile.
7596 2005-02-16  Casey Marshall  <csm@gnu.org>
7598         * java/util/jar/JarFile.java (verify): return if the jar is signed
7599         with an unsupported algorithm.
7601 2005-02-16  Mark Wielaard  <mark@klomp.org>
7603         * java/util/jar/JarFile.java (EntryInputStream): Add actual
7604         InputStream as argument.
7605         (getInputStream): Construct a new EntryInputStream with the result of
7606         super.getInputStream(entry).
7608 2005-02-16  Casey Marshall  <csm@gnu.org>
7610         Signed JAR file support.
7611         * java/net/URLClassLoader.java
7612         (JarURLResource.getCertificates): re-read jar entry to ensure
7613         certificates are picked up.
7614         (findClass): fill in class `signers' field, too.
7615         * java/util/jar/JarFile.java (META_INF): new constant.
7616         (PKCS7_DSA_SUFFIX): new constant.
7617         (PKCS7_RSA_SUFFIX): new constant.
7618         (DIGEST_KEY_SUFFIX): new constant.
7619         (SF_SUFFIX): new constant.
7620         (MD2_OID): new constant.
7621         (MD4_OID): new constant.
7622         (MD5_OID): new constant.
7623         (SHA1_OID): new constant.
7624         (DSA_ENCRYPTION_OID): new constant.
7625         (RSA_ENCRYPTION_OID): new constant.
7626         (signaturesRead): new field.
7627         (verified): new field.
7628         (entryCerts): new field.
7629         (DEBUG): new constant.
7630         (debug): new method.
7631         (JarEnumeration.nextElement): fill in entry certificates, read
7632         signatures if they haven't been read.
7633         (getEntry): likewise.
7634         (getInputStream): verify stream if it hasn't been verified yet.
7635         (readSignatures): new method.
7636         (verify): new method.
7637         (verifyHashes): new method.
7638         (readManifestEntry): new method.
7639         (EntryInputStream): new class.
7640         * gnu/java/io/Base64InputStream.java (decode): new class
7641         method.
7642         * gnu/java/security/der/DERReader.java don't make class
7643         final.
7644         (in): made protected.
7645         (encBuf): likewise.
7646         (readLength): likewise.
7647         * gnu/java/security/ber/BER.java,
7648         * gnu/java/security/ber/BEREncodingException.java,
7649         * gnu/java/security/ber/BERReader.java,
7650         * gnu/java/security/ber/BERValue.java,
7651         * gnu/java/security/pkcs/PKCS7SignedData.java,
7652         * gnu/java/security/pkcs/SignerInfo.java:
7653         new files.
7655 2005-02-16  Tom Tromey  <tromey@redhat.com>
7657         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
7658         copied file on exit.
7660 2005-02-15  Mark Wielaard  <mark@klomp.org>
7662         * java/awt/BasicStroke.java (hashCode): Check for null dash.
7664 2005-02-15  Michael Koch  <konqueror@gmx.de>
7666         * gnu/java/awt/peer/gtk/GtkArg.java,
7667         gnu/java/awt/peer/gtk/GtkArgList.java:
7668         Removed.
7670 2005-02-15  Craig Black  <craig.black@aonix.com>
7672         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
7673         (postMenuActionEvent): Implement to notify ItemListeners.
7674         * java/awt/CheckboxMenuItem.java
7675         (dispatchEventImpl): Update state on ItemEvent.
7676         * java/awt/MenuItem.java
7677         (processActionEvent): Retarget event source.
7679 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7681         * gnu/java/awt/color/ClutProfileConverter.java,
7682         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
7683         gnu/java/awt/peer/gtk/GdkFontPeer.java,
7684         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
7685         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7686         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
7687         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
7688         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
7689         gnu/java/awt/peer/gtk/GdkTextLayout.java,
7690         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7691         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7692         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7693         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7694         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7695         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7696         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7697         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7698         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7699         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7700         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7701         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7702         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7703         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7704         gnu/java/awt/peer/gtk/GtkToolkit.java,
7705         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7706         javax/swing/JPopupMenu.java,
7707         javax/swing/JSpinner.java,
7708         javax/swing/SortingFocusTraversalPolicy.java,
7709         javax/swing/SwingUtilities.java,
7710         javax/swing/plaf/basic/BasicComboBoxEditor.java,
7711         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
7712         javax/swing/tree/DefaultMutableTreeNode.java:
7713         Removed unused imports and expanded starred
7714         imports.
7716 2005-02-15  Mark Wielaard  <mark@klomp.org>
7718         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
7719         IllegalArgumentException when the given String is null.
7721         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
7722         when given keystoke sequence cannot be parsed.
7724         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
7725         if one is installed. Only install the given menubar is not null.
7727         * javax/swing/JViewport.java (getViewSize): Return an empty
7728         Dimension when the view isn't set or preferred component size when
7729         no viewSize is set.
7731         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
7732         empty Dimension when there is no view set.
7733         (minimumLayoutSize): Likewise.
7734         (layoutContainer): Don't try to layout when there is no view.
7736 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7738         * jawt.c: New file.
7739         * include/jawt.h: Likewise.
7740         * include/jawt_md.h: Likewise.
7741         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7742         jawt_md.h files.
7743         * jni/classpath/classpath_jawt.h: Likewise.
7744         * jni/gtk-peer/gtk_jawt.c: Likewise.
7745         * Makefile.am: Build libjawt.so.
7747 2005-02-15  Michael Koch  <konqueror@gmx.de>
7749         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7750         Merged file header with classpath CVS head.
7751         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7752         Merged code formatting with classpath CVS head.
7753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
7754         Removed debug code.
7755         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7756         Handle special JNI strings with 2 '\0' at the end.
7757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7758         Merged file header with classpath CVS head.
7759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7760         Merged code formatting with classpath CVS head.
7762 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
7765         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
7766         (handle_response): Use GTK_RESPONSE_ACCEPT.
7768 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7770         * Makefile.am: Fix library build breakage.
7771         * Makefile.in: Regenerate.
7773 2005-02-15  Michael Koch  <konqueror@gmx.de>
7775         * javax/swing/JTabbedPane.java
7776         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
7778 2005-02-15  Michael Koch  <konqueror@gmx.de>
7780         * javax/swing/tree/DefaultMutableTreeNode.java:
7781         Reworked Javadocs all over.
7782         (getPathToRoot): Fixed direction of result array initialization.
7784 2005-02-15  Michael Koch  <konqueror@gmx.de>
7786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7787          Fix includes for cairo 0.3.0 snappshot.
7788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7789         Merged file header from classpath CVS HEAD.
7791 2005-02-15  Craig Black  <craig.black@aonix.com>
7793         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7794         (copyState): Pass a JNI global reference to signal handler.
7795         (realize_cb): Use and free JNI global reference.
7796         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7797         (create): Pass a JNI global reference to signal handler.
7798         (selection_changed): Match declaration.
7799         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7800         (dispose): Do not remove entries from state tables until after widget is
7801         destroyed.
7803 2005-02-15  Michael Koch  <konqueror@gmx.de>
7805         * java/awt/Container.javai (paramString):
7806         If layoutMgr is null just return result of super.paramString().
7807         * java/awt/Scrollbar.java: Reformatted.
7808         * java/awt/im/InputContext.java (static):
7809         Removed redundant initializations.
7811 2005-02-15  Michael Koch  <konqueror@gmx.de>
7813         * javax/swing/ImageIcon.java,
7814         javax/swing/UIManager.java,
7815         javax/swing/text/EditorKit.java,
7816         javax/swing/text/Segment.java:
7817         More whitespace cleanups.
7819 2005-02-15  Michael Koch  <konqueror@gmx.de>
7821         * gnu/java/awt/EmbeddedWindow.java,
7822         gnu/java/awt/image/ImageDecoder.java,
7823         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7824         java/awt/DefaultKeyboardFocusManager.java,
7825         java/awt/Frame.java,
7826         java/awt/image/RGBImageFilter.java,
7827         javax/swing/AbstractButton.java,
7828         javax/swing/ActionMap.java,
7829         javax/swing/ComponentInputMap.java,
7830         javax/swing/DefaultDesktopManager.java,
7831         javax/swing/ImageIcon.java,
7832         javax/swing/InputMap.java,
7833         javax/swing/JButton.java,
7834         javax/swing/JCheckBox.java,
7835         javax/swing/JCheckBoxMenuItem.java,
7836         javax/swing/JEditorPane.java,
7837         javax/swing/JMenu.java,
7838         javax/swing/JMenuItem.java,
7839         javax/swing/JOptionPane.java,
7840         javax/swing/JRootPane.java,
7841         javax/swing/JTable.java,
7842         javax/swing/MenuSelectionManager.java,
7843         javax/swing/RepaintManager.java,
7844         javax/swing/ScrollPaneLayout.java,
7845         javax/swing/SortingFocusTraversalPolicy.java,
7846         javax/swing/UIManager.java,
7847         javax/swing/ViewportLayout.java,
7848         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7849         javax/swing/plaf/basic/BasicInternalFrameUI.java,
7850         javax/swing/plaf/basic/BasicLabelUI.java,
7851         javax/swing/plaf/basic/BasicListUI.java,
7852         javax/swing/plaf/basic/BasicMenuItemUI.java,
7853         javax/swing/plaf/basic/BasicMenuUI.java,
7854         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7855         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7856         javax/swing/plaf/basic/BasicRootPaneUI.java,
7857         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7858         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
7859         javax/swing/plaf/basic/BasicTextUI.java,
7860         javax/swing/table/TableColumnModel.java,
7861         javax/swing/text/AbstractDocument.java,
7862         javax/swing/text/EditorKit.java,
7863         javax/swing/text/Position.java,
7864         javax/swing/text/Segment.java,
7865         javax/swing/text/StyledEditorKit.java,
7866         javax/swing/text/ViewFactory.java:
7867         Cleanup whitespace differences to classpath CVS HEAD.
7869 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7871         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7872         (finalize): Call finish from here.
7873         (produce): Not from here.
7874         * Makefile.am (gtk_c_source_files):
7875         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
7876         * Makefile.in: Regenerate.
7877         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7878         (cairoSetFont):
7879         (cairoDrawGdkTextLayout):
7880         (cairoDrawString):
7881         (getPeerTextMetrics):
7882         (getPeerFontMetrics): Remove.
7883         (setFont): Don't call cairoSetFont.
7884         (cairoDrawGlyphVector): Accept font peer argument.
7885         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
7886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7887         (ensure_metrics_cairo):
7888         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
7889         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
7890         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
7891         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
7892         (metrics_cairo):
7893         (metrics_surface): Remove.
7894         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
7895         Pass and install font peer.
7897 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7899         * Makefile.am: Create "split library" structure.
7900         * Makefile.in: Regenerate.
7902 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7908         Release GDK lock during upcalls.
7910 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
7913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
7914         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7915         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
7916         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
7917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
7918         * gnu/java/awt/peer/gtk/GdkFontPeer.java
7919         (getGlyphVector):
7920         (getFontMetrics):
7921         (getTextMetrics): New native methods.
7922         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
7923         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
7924         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
7925         * Makefile.in: Regenerate.
7927 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7929         * javax/swing/SwingUtilities.java:
7930         (getAccessibleAt(java.awt.Component, java.awt.Point)):
7931         Implemented and documented.
7932         (getAccessibleChild(java.awt.Component, int)): Likewise.
7933         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
7934         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
7935         (getAccessibleStateSet(java.awt.Component)): Likewise.
7937 2005-02-15  Michael Koch  <konqueror@gmx.de>
7939         * javax/swing/SwingUtilities.java
7940         (getFontMetrics): Removed.
7942 2005-02-15  Michael Koch  <konqueror@gmx.de>
7944         * java/awt/Container.java
7945         (paramString): Implemented.
7946         * javax/swing/AbstractButton.java
7947         (paramString): Implemented.
7948         * javax/swing/JComponent.java
7949         (paramString): Implemented.
7950         * javax/swing/JMenu.java
7951         (paramString): Implemented.
7952         * javax/swing/JMenuBar.java
7953         (paramString): Implemented.
7954         * javax/swing/JMenuItem.java
7955         (paramString): Implemented.
7956         * javax/swing/JPopupMenu.java
7957         (paramString): Implemented.
7959 2005-02-15  Michael Koch  <konqueror@gmx.de>
7961         * javax/swing/JMenu.java
7962         (uiClassID): Removed.
7963         (JMenu): Set invoker on popup menu.
7964         (getUIClassID): Return id directly.
7965         (getItemCount): Simply return getMenuComponentCount().
7966         Fixed javadoc.
7967         (isTopLevelMenu): Simplified.
7968         * javax/swing/JMenuItem.java
7969         (uiClassID): Removed.
7970         (getUIClassID): Return id directly.
7971         * javax/swing/JPopupMenu.java
7972         (uiClassID): Removed.
7973         (JPopupMenu): Always initialize correctly.
7974         (getSubElements): Only return components implementing MenuElement
7975         interface.
7976         (HeavyWeightPopup.hide): Removed.
7978 2005-02-15  Michael Koch  <konqueror@gmx.de>
7980         * java/awt/image/ReplicateScaleFilter.java
7981         (replicatePixels): Made private.
7982         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
7983         (DefaultRGBChooserPanel): Made package private.
7984         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
7985         (RecentSwatchPanel): Likewise.
7986         * javax/swing/event/MouseInputAdapter.java: Reformatted.
7987         (MouseInputAdapter): Made abstract.
7988         * javax/swing/tree/DefaultMutableTreeNode.java
7989         (random): Removed.
7990         (growTree): Likewise.
7992 2005-02-15  Michael Koch  <konqueror@gmx.de>
7994         * java/awt/dnd/DropTarget.java (addDropTargetListener):
7995         Clarified comments.
7997 2005-02-15  Michael Koch  <konqueror@gmx.de>
7999         * javax/swing/JComponent.java (getComponentGraphics):
8000         Removed accidently commited code.
8002 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8004         * java/awt/dnd/DropTarget.java
8005         (addDropTargetListener): Despite documentation, do not throw.
8006         * javax/swing/JComponent.java: Set a default DropTarget.
8008 2005-02-15  Michael Koch  <konqueror@gmx.de>
8010         * javax/swing/AbstractAction.java
8011         (ENABLED_PROPERTY): Removed.
8012         (setEnabled): Replaced constant with real string.
8013         * javax/swing/AbstractButton.java
8014         (createActionPropertyChangeListener.propertyChange): Likewise.
8015         * javax/swing/JComboBox.java
8016         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
8017         (EDITABLE_CHANGED_PROPERTY): Removed.
8018         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
8019         (ENABLED_CHANGED_PROPERTY):Likewise.
8020         (RENDERER_CHANGED_PROPERTY):Likewise.
8021         (EDITOR_CHANGED_PROPERTY):Likewise.
8022         (MODEL_CHANGED_PROPERTY):Likewise.
8023         (uiClassID):Likewise.
8024         (getUIClassID): Replaced constant with real string.
8025         (setModel):Likewise.
8026         (setEditable):Likewise.
8027         (setMaximumRowCount):Likewise.
8028         (setRenderer):Likewise.
8029         (setEditor):Likewise.
8030         (setEnabled):Likewise.
8031         * javax/swing/JLabel.java
8032         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
8033         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
8034         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
8035         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
8036         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
8037         (ICON_CHANGED_PROPERTY): Likewise.
8038         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
8039         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
8040         (TEXT_CHANGED_PROPERTY): Likewise.
8041         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
8042         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
8043         (setText): Replaced constant with real string.
8044         (setIcon): Likewise.
8045         (setDisabledIcon): Likewise.
8046         (setDisplayedMnemonic): Likewise.
8047         (setIconTextGap): Likewise.
8048         (setVerticalAlignment): Likewise.
8049         (setHorizontalAlignment): Likewise.
8050         (setVerticalTextPosition): Likewise.
8051         (setHorizontalTextPosition): Likewise.
8052         (setLabelFor): Replaced constant with real string.
8053         Fire property change event after property got changed.
8054         * javax/swing/JList.java
8055         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
8056         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
8057         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
8058         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
8059         (MODEL_PROPERTY_CHANGED): Likewise.
8060         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
8061         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
8062         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
8063         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
8064         (setFixedCellWidth): Reimplemented.
8065         (setFixedCellHeight): Exit if new value is identical.
8066         Replaced constant with real string.
8067         (setSelectionBackground): Likewise.
8068         (setSelectionForeground): Likewise.
8069         (setPrototypeCellValue): Likewise.
8070         (setCellRenderer): Replaced constant with real string.
8071         (setModel): Likewise.
8072         (setSelectionModel): Likewise.
8073         * javax/swing/JMenuBar.java
8074         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
8075         (MODEL_CHANGED_PROPERTY): Likewise.
8076         (MARGIN_CHANGED_PROPERTY): Likewise.
8077         (setBorderPainted): Reimplemented.
8078         (setMargin): Likewise.
8079         (setSelectionModel): Replaced constant with real string.
8080         * javax/swing/JPopupMenu.java
8081         (LABEL_CHANGED_PROPERTY): Removed.
8082         (VISIBLE_CHANGED_PROPERTY): Likewise.
8083         (borderPainted): Likewise.
8084         (setLabel): Replaced constant with real string.
8085         (setVisible): Exit if new value is identical.
8086         Replaced constant with real string.
8087         * javax/swing/JProgressBar.java
8088         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
8089         (ORIENTATION_CHANGED_PROPERTY): Likewise.
8090         (STRING_CHANGED_PROPERTY): Likewise.
8091         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
8092         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
8093         (setOrientation): Replaced constant with real string.
8094         (setStringPainted): Likewise.
8095         (setString): Likewise.
8096         (setBorderPainted): Likewise.
8097         (setIndeterminate): Likewise.
8098         * javax/swing/JScrollBar.java
8099         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
8100         (MODEL_CHANGED_PROPERTY): Likewise.
8101         (ORIENTATION_CHANGED_PROPERTY): Likewise.
8102         (setOrientation): Replaced constant with real string.
8103         (setModel): Likewise.
8104         (setUnitIncrement): Likewise.
8105         (setBlockIncrement): Likewise.
8106         * javax/swing/JScrollPane.java
8107         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
8108         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
8109         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
8110         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
8111         (LAYOUT_CHANGED_PROPERTY): Likewise.
8112         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
8113         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
8114         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
8115         (VIEWPORT_CHANGED_PROPERTY): Likewise.
8116         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
8117         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
8118         (setComponentOrientation): Replaced constant with real string.
8119         (setColumnHeader): Likewise.
8120         (setHorizontalScrollBar): Likewise.
8121         (setHorizontalScrollBarPolicy): Likewise.
8122         (setRowHeader): Likewise.
8123         (setVerticalScrollBar): Likewise.
8124         (setVerticalScrollBarPolicy): Likewise.
8125         (setWheelScrollingEnabled): Likewise.
8126         (setViewport): Likewise.
8127         (setViewportBorder): Likewise.
8128         * javax/swing/JSlider.java
8129         (INVERTED_CHANGED_PROPERTY): Removed.
8130         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
8131         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
8132         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
8133         (MODEL_CHANGED_PROPERTY): Likewise.
8134         (ORIENTATION_CHANGED_PROPERTY): Likewise.
8135         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
8136         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
8137         (setModel): Replaced constant with real string.
8138         (setOrientation): Likewise.
8139         (setLabelTable): Likewise.
8140         (setInverted): Likewise.
8141         (setMajorTickSpacing): Likewise.
8142         (setMinorTickSpacing): Likewise.
8143         (setPaintTicks): Likewise.
8144         (setPaintLabels): Likewise.
8145         * javax/swing/JTabbedPane.java
8146         (MODEL_CHANGED_PROPERTY): Removed.
8147         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
8148         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
8149         (setModel): Replaced constant with real string.
8150         (setTabPlacement): Likewise.
8151         (setTabLayoutPolicy): Likewise.
8152         * javax/swing/JToolBar.java
8153         (ORIENTATION_CHANGED_PROPERTY): Removed.
8154         (FLOATABLE_CHANGED_PROPERTY): Likewise.
8155         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
8156         (MARGIN_CHANGED_PROPERTY): Likewise.
8157         (ROLLOVER_CHANGED_PROPERTY): Likewise.
8158         (setRollover): Replaced constant with real string.
8159         (setMargin): Likewise.
8160         (setBorderPainted): Likewise.
8161         (setFloatable): Likewise.
8162         (setOrientation): Likewise.
8163         * javax/swing/plaf/basic/BasicComboBoxUI.java
8164         (PropertyChangeHandler.propertyChange): Likewise.
8165         * javax/swing/plaf/basic/BasicComboPopup.java
8166         (PropertyChangeHandler.propertyChange): Likewise.
8167         * javax/swing/plaf/basic/BasicMenuBarUI.java
8168         (PropertyChangeHandler.propertyChange): Likewise.
8169         * javax/swing/plaf/basic/BasicProgressBarUI.java
8170         (PropertyChangeHandler.propertyChange): Likewise.
8171         * javax/swing/plaf/basic/BasicScrollBarUI.java
8172         (PropertyChangeHandler.propertyChange): Likewise.
8173         * javax/swing/plaf/basic/BasicSliderUI.java
8174         (PropertyChangeHandler.propertyChange): Likewise.
8175         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8176         (PropertyChangeHandler.propertyChange): Likewise.
8177         * javax/swing/plaf/basic/BasicToolBarUI.java
8178         (PropertyChangeHandler.propertyChange): Likewise.
8180 2005-02-15  Michael Koch  <konqueror@gmx.de>
8182         * javax/swing/DefaultButtonModel.java
8183         (changeState): Made private.
8184         * javax/swing/DefaultDesktopManager.java
8185         (setWasIcon): Fixed second argument to be java.lang.Boolean.
8186         * javax/swing/JLayeredPane.java
8187         (layerToRange): Made private.
8188         (incrLayer): Likewise.
8189         (decrLayer): Likewise.
8190         * javax/swing/JTable.java
8191         (dragEnabled): Likewise.
8192         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
8193         * javax/swing/KeyStroke.java
8194         (Keystroke): Made private.
8195         * javax/swing/TransferHandler.java
8196         (COMMAND_COPY): Likewise.
8197         (COMMAND_CUT): Likewise.
8198         (COMMAND_PASTE): Likewise.
8200 2005-02-15  Michael Koch  <konqueror@gmx.de>
8202         * javax/swing/JTextField.java
8203         (postActionEvent): Use text in field when actionCommand is null.
8204         (getActionCommand): Removed.
8206 2005-02-15  Michael Koch  <konqueror@gmx.de>
8208         * javax/swing/AbstractSet.java: Removed.
8209         * Makefile.am: Removed javax/swing/AbstractSet.java.
8210         * Makefile.in: Regenerated.
8212 2005-02-15  Michael Koch  <konqueror@gmx.de>
8214         * java/awt/Window.java
8215         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
8216         * java/awt/dnd/DnDConstants.java
8217         (DnDConstants): New private constructor.
8219 2005-02-15  Michael Koch  <konqueror@gmx.de>
8221         * javax/swing/DefaultCellRenderer.java: Removed.
8222         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
8223         * Makefile.in: Regenerated.
8225 2005-02-15  Michael Koch  <konqueror@gmx.de>
8227         * javax/swing/AbstractButton.java
8228         (fireItemStateChanged): Made protected.
8229         (fireActionPerformed): Likewise.
8230         (fireStateChanged): Likewise.
8231         * javax/swing/DefaultButtonModel.java
8232         (fireItemStateChanged): Likewise.
8233         (fireActionPerformed): Likewise.
8234         (fireStateChanged): Likewise.
8235         * javax/swing/JApplet.java
8236         (JApplet): Removed.
8237         (frameInit): Likewise.
8238         (setRootPane): Made protected.
8239         (createRootPane): Likewise.
8240         * javax/swing/JComponent.java
8241         (getClientProperty): Likewise.
8242         (putClientProperty): Likewise.
8243         * javax/swing/JEditorPane.java
8244         (getContentType): Likewise.
8245         (setContentType): Likewise.
8246         * javax/swing/JFrame.java
8247         (setRootPane): Likewise.
8248         (createRootPane): Likewise.
8249         * javax/swing/JInternalFrame.java
8250         (getFocusCycleRootAncestor): Made final. Added @since tag.
8251         (isFocusCycleRoot): Likewise.
8252         (getWarningString): Made final.
8253         * javax/swing/JScrollBar.java
8254         (changeListener): Removed.
8255         (changeEvent): Likewise.
8256         (createChangeListener): Likewise.
8257         (fireStateChanged): Likewise.
8258         (addChangeListener): Likewise.
8259         (removeChangeListener): Likewise.
8260         (getChangeListeners): Likewise.
8261         * javax/swing/JScrollPane.java
8262         (createViewport): Made protected.
8263         * javax/swing/JViewport.java
8264         (addImpl): Likewise.
8265         (setBorder): New method.
8266         * javax/swing/JWindow.java
8267         (setRootPane): Made protected.
8268         (createRootPane): Likewise.
8269         * javax/swing/plaf/basic/BasicButtonUI.java
8270         (installListeners): Likewise.
8271         (uninstallListeners): Likewise.
8272         * javax/swing/plaf/basic/BasicProgressBarUI.java
8273         (incrementAnimationIndex): Likewise.
8274         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8275         (createLayoutManager): Likewise.
8276         * javax/swing/table/DefaultTableCellRenderer.java
8277         (firePropertyChange): Likewise.
8278         * javax/swing/table/JTableHeader.java
8279         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
8280         New constructor.
8281         * javax/swing/text/PlainDocument.java
8282         (reindex): Made private.
8283         * javax/swing/text/PlainView.java
8284         (drawLine): Made protected.
8285         (getTabSize): Likewise.
8286         * javax/swing/text/View.java
8287         (setSize): Removed.
8288         (preferenceChanged): New method.
8289         (getBreakWeight): Likewise.
8290         (breakView): Likewise.
8291         (getViewIndex): Likewise.
8293 2005-02-15  Michael Koch  <konqueror@gmx.de>
8295         * javax/swing/JScrollPane.java
8296         (ScrollBar): Made class protected.
8297         * javax/swing/JSpinner.java
8298         (JSpinner): Added @since tag.
8299         (listenerList): Removed.
8300         * javax/swing/JTable.java
8301         (setValueAt): New method.
8302         (getColumn): Likewise.
8303         * javax/swing/JWindow.java
8304         (rootPaneCheckingEnabled): Renamed from checking.
8306 2005-02-15  Michael Koch  <konqueror@gmx.de>
8308         * javax/swing/plaf/basic/BasicTextUI.java
8309         (RootView.modelToView): Made it public and return a java.awt.Shape.
8310         Handle null subview.
8311         (uninstall): Set textComponent to null when its not possible used
8312         anymore.
8313         * javax/swing/text/View.java
8314         (setParent): Use better argument name.
8315         (getContainer): Get parent via getParent().
8316         (getViewFactory): Likewise.
8317         (getAttributes): Get element via getElement().
8318         (getStartOffset): Likewise.
8319         (getEndOffset): Likewise.
8320         (getResizeWeight): New method.
8321         (getMaximumSpan): Likewise.
8322         (getMinimumSpan): Likewise.
8323         (setSize): Likewise.
8324         (getGraphics): Likewise.
8326 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8328         * java/awt/Checkbox.java:
8329         (AccessibleAWTCheckbox()): Added public constructor
8330         to call superclass.
8331         * java/awt/Choice.java:
8332         (AccessibleAWTChoice): Added class documentation.
8333         (AccessibleAWTChoice()): Added public constructor
8334         to call superclass.
8335         (AccessibleAWTChoice.getAccessibleAction()): Documented.
8336         (AccessibleAWTChoice.getAccessibleRole()): Documented,
8337         and changed role to COMBO_BOX.
8338         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
8339         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
8340         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
8342 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8343             Michael Koch  <konqueror@gmx.de>
8345         * javax/swing/LayoutFocusTraversalPolicy.java,
8346         javax/swing/SortingFocusTraversalPolicy.java:
8347         New classes.
8348         * Makefile.am: Added new classes.
8349         * Makefike.in: Regenerated.
8352 2005-02-15  Michael Koch  <konqueror@gmx.de>
8354         * javax/swing/DebugGraphics.java: Mostly implemented.
8356 2005-02-15  Michael Koch  <konqueror@gmx.de>
8358         * javax/swing/SwingUtilities.java
8359         (findFocusOwner): New method.
8361 2005-02-15  Michael Koch  <konqueror@gmx.de>
8363         * javax/swing/text/DefaultEditorKit.java
8364         (read): Added '\n' after each line.
8365         * javax/swing/text/PlainView.java
8366         (modelToView): Update metrics.
8367         (drawLine): Use offsets from element.
8368         (paint): Update metrics. Draw all lines.
8370 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8372         * java/awt/Checkbox.java:
8373         (AccessibleAWTCheckbox): Added class documentation
8374         * java/awt/Scrollbar.java:
8375         (AccessibleAWTScrollBar): typo corrected and docs added
8376         (AccessibleAWTScrollBar.getAccessibleRole()): documented
8377         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
8378         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
8379         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
8380         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
8381         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
8382         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
8383         (getAccessibleContext()): name of accessible class corrected
8385 2005-02-15  Mark Wielaard  <mark@klomp.org>
8387         * java/awt/BasicStroke.java (hashCode): Implement.
8388         (equals): Document.
8390 2005-02-15  Michael Koch  <konqueror@gmx.de>
8392         * java/awt/print/PrinterJob.java
8393         (pageDialog): Throws java.awt.HeadlessException.
8394         (printDialog): Likewise.
8396 2005-02-15  Mark Wielaard  <mark@klomp.org>
8398         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
8400 2005-02-15  Michael Koch  <konqueror@gmx.de>
8402         * javax/swing/JTable.java
8403         (getValueAt): New method.
8404         * javax/swing/table/JTableHeader.java
8405         (columnAtPoint): New method.
8407 2005-02-15  Michael Koch  <konqueror@gmx.de>
8409         * javax/swing/JTextField.java
8410         (actions): New field.
8411         (static): Initalize actions field.
8412         (getActions): New method.
8414 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8416         * java/awt/Checkbox.java:
8417         (AccessibleAWTCheckbox): name capitalization corrected
8418         and serialization UID added.
8419         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
8420         documented.
8421         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
8422         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
8423         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
8424         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
8425         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
8426         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
8427         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
8428         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
8429         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
8430         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
8431         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
8432         documented
8433         (getAccessibleContext()): name of accessible class corrected
8435 2005-02-15  Sven de Marothy  <sven@physto.se>
8437         * java/awt/geom/doc-files/Area-1.png,
8438         java/awt/geom/doc-files/Ellipse-1.png,
8439         java/awt/geom/doc-files/GeneralPath-1.png:
8440         New files.
8442 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
8445         Use union to avoid type-punning warning.
8447 2005-02-15  Michael Koch  <konqueror@gmx.de>
8449         * javax/swing/DefaultListSelectionModel.java
8450         (clone): New method.
8452 2005-02-15  Mark Wielaard  <mark@klomp.org>
8454         Reported by Martin Platter <motse@complang.tuwien.ac.at>
8455         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8456         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
8457         Correct method signature of gtkSetFilename.
8459 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
8461         * javax/swing/text/StringContent.java: New file.
8463 2005-02-15  Michael Koch  <konqueror@gmx.de>
8465         * Makefile.am: Added javax/swing/text/StringContent.java.
8466         * Makefile.in: Regenerated.
8468 2005-02-15  Michael Koch  <konqueror@gmx.de>
8470         * gnu/java/awt/ClasspathToolkit.java:
8471         Import statements reworked.
8472         (imageCache): Made it of type java.util.HashMap.
8474 2005-02-15  Michael Koch  <konqueror@gmx.de>
8476         * javax/imageio/stream/MemoryCacheImageInputStream.java:
8477         Reworked import statements.
8479 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
8482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
8484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
8486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
8488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
8489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
8494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
8495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8497         Rewrite uses of extern variable to be function calls.
8498         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
8499         function, from extern variable.
8500         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8501         (gdk_env): Remove variable, add new function.
8502         (java_vm): Add new variable.
8503         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
8504         java_vm rather than old gdk_env variable.
8506 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
8508         * javax/swing/DefaultListModel.java
8509         (add): fire correct event,
8510         (addElement): corrected interval indices in event,
8511         (clear): corrected upper bound for interval, only fire event if
8512         list is not empty,
8513         (setSize): fire appropriate event.
8515 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8517         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
8518         * gnu/awt/xlib/XToolkit.java: Likewise.
8519         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
8520         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
8521         * gnu/java/awt/ClasspathToolkit.java: Likewise.
8522         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
8523         * java/awt/EventQueue.java (getNextEvent):
8524         Adjust event loop to switch to native mode after 100ms.
8525         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
8526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
8527         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
8528         Wake up event thread.
8529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8530         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
8531         Adjust event loop to switch to java mode after 100ms.
8533 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8535         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
8536         accidentally removed in last change.
8538 2005-02-15  Michael Koch  <konqueror@gmx.de>
8540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8541         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
8543 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8545         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8546         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8547         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8548         * jni.cc: Reuse bottom frame between calls, avoid clearing
8549         frame when no local references are made.
8551 2005-02-15  Michael Koch  <konqueror@gmx.de>
8553         * javax/swing/UIDefaults.java (UIDefaults):
8554         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
8555         Fixed HTML entity and removed a redundant comma.
8557 2005-02-15  Michael Koch  <konqueror@gmx.de>
8559         * javax/swing/text/DefaultEditorKit.java
8560         (deinstall): Removed.
8561         (install): Likewise.
8563 2005-02-15  Michael Koch  <konqueror@gmx.de>
8565         * javax/swing/UIDefaults.java (put): Handle value of null.
8567 2005-02-15  Michael Koch  <konqueror@gmx.de>
8569         * java/awt/Robot.java,
8570         java/awt/Scrollbar.java,
8571         java/awt/print/PrinterJob.java,
8572         javax/swing/JTable.java,
8573         javax/swing/text/AbstractDocument.java:
8574         Reworked import statements.
8576 2005-02-15  Michael Koch  <konqueror@gmx.de>
8578         * javax/swing/JEditorPane.java
8579         (read): Implemented.
8580         (write): Likewise.
8581         * javax/swing/text/DefaultEditorKit.java
8582         (page): Renamed from page_url. Made private.
8583         (editorKit): Renamed from kit. Made private.
8584         (ctype): Removed.
8585         (JEditorPane): All constructors reimplemented.
8586         (getContentType): Use content type from editor kit.
8587         (getEditorKit): Return editorKit.
8588         (getEditorKitForContentType):Likewise.
8589         (getPage): Return page.
8590         (setContentType): Reimplemented.
8591         (setEditorKit): Likewise.
8592         (setEditorKitForContentType): Removed wrong implementation.
8593         (setPage): Implemented.
8595 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
8598         (nativeSetIconImageFromData): Re-add native implementation.
8600 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
8602         * javax/swing/table/DefaultTableModel.java
8603         (DefaultTableModel()): Added Javadocs.
8604         (DefaultTableModel(int, int)): Fixed implementation.
8605         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
8606         for negative rowCount.
8607         (DefaultTableModel(Object[], int)): Added Javadocs.
8608         (DefaultTableModel(Vector, Vector)): Likewise.
8609         (DefaultTableModel(Object[][], Object[])): Likewise.
8610         (getDataVector): Likewise.
8611         (setDataVector(Vector, Vector)): Likewise.
8612         (setDataVector(Object[][], Object[])): Likewise.
8613         (newDataAvailable): Likewise.
8614         (newRowsAdded): Likewise.
8615         (rowsRemoved): Likewise.
8616         (setColumnIdentifiers(Vector)): Allow for null argument.
8617         (setColumnIdentifiers(Object[])): Added Javadocs.
8618         (setNumRows): Likewise.
8619         (setRowCount): Adds new rows if necessary, and sends more specific
8620         TableModelEvent.
8621         (setColumnCount): Allow for null columnIdentifiers.
8622         (addColumn(Object)): Added Javadocs.
8623         (addColumn(Object, Vector)): Handle null columnData.
8624         (addColumn(Object, Object[])): Handle columnData with more or less
8625         entries than rows in the table.
8626         (addRow(Vector)): Fire appropriate event.
8627         (addRow(Object[])): Added Javadocs.
8628         (insertRow(int, Vector)): Fire appropriate event.
8629         (insertRow(int, Object[])): Added Javadocs.
8630         (moveRow): Reimplemented.
8631         (removeRow(int)): Fire appropriate event.
8632         (getColumnCount): Allow for null columnIdentifiers.
8633         (getColumnName): Now returns empty string when column index is too
8634         large.
8635         (isCellEditable): Added Javadocs.
8636         (getValueAt): Likewise.
8637         (setValueAt): Fire more specific event.
8638         (convertToVector): Added Javadocs.
8639         * javax/swing/table/TableModel.java
8640         Added Javadocs.
8642 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8644         * libgcj.spec.in (lib): Add -l-javax-imageio.
8646 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8648         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
8649         references to event queue q with method call q().
8650         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
8651         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
8652         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
8653         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
8654         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
8655         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
8656         (q): New method.
8658 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8660         * gnu/java/awt/ClasspathToolkit.java
8661         (registerImageIOSpis): New method.
8662         * gnu/java/awt/image/ImageDecoder.java
8663         (imageDecoder): New constructor using InputStream
8664         (startProduction): Handle existing InputStream.
8665         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8666         (findSimpleIntegerArray): Make public and static.
8667         (updateBufferedImage): Set each pixel, in a loop.
8668         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8669         Implement ImageIO SPI classes.
8670         (createBufferedImage): Rewrite in terms of SPI classes.
8671         * gnu/java/awt/peer/gtk/GtkToolkit.java
8672         (registerImageIOSpis): New method.
8673         * java/lang/reflect/natMethod.cc
8674         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
8675         which lets JNI call interface methods properly.
8676         * javax/imageio/ImageIO.java
8677         (WriterFormatFilter.filter): Fix copy-and-paste typos.
8678         (WriterMIMETypeFilter.filter): Likewise.
8679         (ImageReaderIterator): Pass extension argument through to SPI.
8680         (getReadersByFilter): Likewise.
8681         (getWritersByFilter): Likewise.
8682         (getImageReadersByFormatName): Likewise.
8683         (getImageReadersByMIMEType): Likewise.
8684         (getImageReadersBySuffix): Likewise.
8685         (getImageWritersByFormatName): Likewise.
8686         (getImageWritersByMIMEType): Likewise.
8687         (getImageWritersBySuffix): Likewise.
8688         (read): Implement.
8689         (write): Implement.
8690         * javax/imageio/ImageReader.java
8691         (progressListeners): Initialize.
8692         (setInput): Implement.
8693         * javax/imageio/ImageWriter.java
8694         (progressListeners): Initialize.
8695         (warningListeners): Likewise.
8696         (warningLocales): Likewise.
8697         (setOutput): Test "isInstance" rather than class equality.
8698         * javax/imageio/spi/IIORegistry.java
8699         (static): Add reader and writer SPIs.
8700         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8702         (query_formats): New function.
8703         (save_to_stream): Likewise.
8704         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
8706 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
8709         Call XFlush.
8710         (keyPress): Likewise.
8711         (keyRelease): Likewise.
8713 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8715         * javax/swing/JTable.java
8716         (columnAtPoint): New Method. Implemented.
8717         (rowAtPoint): Likewise.
8718         (countSelections): Fixed few small count errors.
8719         (getSelections): Likewise.
8720         (setSelectionMode): Set selection mode for column
8721         selection model in addition to row selection model.
8722         * javax/swing/plaf/basic/BasicTableUI.java:
8723         (getRowForPoint): Removed. Replaced by
8724         JTable.rowAtPoint().
8725         (getColForPoint): Removed. Replaced by
8726         JTable.columnAtPoint().
8727         (updateSelection): Updated to call JTable.columnAtPoint
8728         and JTable.rowAtPoint.
8729         * javax/swing/table/DefaultTableColumnModel.java:
8730         (getSelectedColumns): Implemented.
8731         (getSelectedColumnCount): Implemented.
8733 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8735         * Makefile.am
8736         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
8737         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
8738         * Makefile.in: Regenerate.
8739         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
8740         * gnu/awt/xlib/XFramePeer.java: Likewise.
8741         * gnu/awt/xlib/XToolkit.java: Likewise.
8742         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
8743         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
8744         * gnu/java/awt/ClasspathToolkit.java
8745         (nativeQueueEmpty)
8746         (wakeNativeQueue)
8747         (iterateNativeQueue): New methods.
8748         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
8749         * gnu/java/awt/peer/gtk/GtkToolkit.java
8750         (gtkInit): Absorb from defunct GtkMainThread class.
8751         (static): Run gtkInit in static startup block.
8752         (GtkToolkit): Remove construction of GtkMainThread and queue.
8753         (getSystemEventQueueImpl): Construct queue when requested.
8754         (nativeQueueEmpty)
8755         (wakeNativeQueue)
8756         (iterateNativeQueue): New methods.
8757         * java/awt/Component.java (removeNotify): Remove race.
8758         * java/awt/EventDispatchThread.java
8759         (EventDispatchThread): Don't start on construction.
8760         (run): Remove isInterrupted check.
8761         * java/awt/EventQueue.java (shutdown): New flag.
8762         (isShutdown): New method checking J2SE shutdown condition.
8763         (setShutdown): New method.
8764         (getNextEvent): Restructure to use ClasspathToolkit.
8765         (postEvent): Activate new thread on posting, wake thread on
8766         post of possible shutdown condition event.
8767         * java/awt/Frame.java
8768         (Frame): Call noteFrame in all constructors.
8769         (fireDummyEvent): New helper method.
8770         (addNotify): Fire a dummy event to wake up queue.
8771         (removeNotify): Fire a dummy event to wake up queue.
8772         (noteFrame): New method.
8773         (weakFrames): New static field.
8774         (getFrames): Implement.
8775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
8776         Remove.
8777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
8778         Move everything from GtkMainThread into this file
8779         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
8780         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
8781         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
8782         New functions to implement single-threaded queue semantics.
8784 2005-02-15  Michael Koch  <konqueror@gmx.de>
8786         * javax/swing/plaf/metal/MetalLookAndFeel.java
8787         (getControlTextFont): New method.
8788         (getMenuTextFont): Likewise.
8789         (getSubTextFont): Likewise.
8790         (getSystemTextFont): Likewise.
8791         (getUserTextFont): Likewise.
8792         (getWindowTitleFont): Likewise.
8794 2005-02-15  Michael Koch  <konqueror@gmx.de>
8796         * javax/swing/text/AbstractDocument.java
8797         (documentFilter): New field.
8798         (getDocumentFilter): New method.
8799         (setDocumentFilter): Likewise.
8800         (dump): Likewise.
8802 2005-02-15  Michael Koch  <konqueror@gmx.de>
8804         * javax/swing/JTree.java
8805         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
8807 2005-02-15  Michael Koch  <konqueror@gmx.de>
8809         * javax/swing/text/AbstractDocument.java
8810         (AbstractElement.getLength): Fixed off-by-one error.
8811         (AbstractElement.children): Made abstract.
8812         (AbstractElement.getAllowsChildren): Likewise.
8813         (AbstractElement.getElement): Likewise.
8814         (AbstractElement.dumpElement): New private method.
8815         (AbstractElement.dump): New method.
8816         (BranchElememt.getName): Fixed implementation.
8817         (BranchElememt.toString): Likewise.
8818         (BranchElememt.getElement): Fixed arguments.
8819         (LeafElement.getName): Fixed implementation.
8820         (LeafElement.toString): Likewise.
8821         * javax/swing/text/GapContent.java
8822         (GapContent): Put default content into buffer.
8823         * javax/swing/text/PlainDocument.java
8824         (reindex): Use empty attribute sets instead of null.
8825         (createDefaultRoot): Reimplemented.
8826         (insertUpdate): Call super method.
8827         (removeUpdate): Likewise.
8828         (getParagraphElement): Implemented.
8830 2005-02-15  Michael Koch  <konqueror@gmx.de>
8832         * gnu/java/awt/ClasspathToolkit.java
8833         (createRobot): Throws java.awt.AWTException.
8834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
8835         Added '__attribute__((unused))' to all unused method arguments.
8837 2005-02-15  Michael Koch  <konqueror@gmx.de>
8839         * javax/swing/DefaultBoundedRangeModel.java
8840         (fireValueChanged): Fixed off-by-one error.
8842 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8844         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
8845         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
8846         GdkRobotPeer.java.
8847         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
8848         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
8849         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
8850         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
8851         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8852         (getDefaultScreenDevice): Implement.
8853         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
8854         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
8855         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
8856         * java/awt/Robot.java: Implement.
8857         * java/awt/peer/RobotPeer.java: Rename parameters.
8858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
8859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8860         (awt_keycode_to_keysym): Make non-static.
8861         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
8862         AWT_BUTTON3_MASK): Declare constants.
8863         (awt_keycode_to_keysym): Declare.
8865         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
8866         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
8867         and is non-empty pass its value to "make check".
8868         (test_mauve_sim): Likewise.
8870 2005-02-15  Michael Koch  <konqueror@gmx.de>
8872         * javax/imageio/IIOParam.java
8873         (setSourceBands): New method.
8874         (setSourceSubsampling): Likewise.
8875         * javax/imageio/ImageReadParam.java
8876         (setDestination): Likewise.
8877         (setDestinationBands): Likewise.
8878         (setSourceProgressivePasses): Likewise.
8879         * javax/imageio/metadata/IIOInvalidTreeException.java
8880         (serialVersionUID): New static field.
8881         * javax/imageio/metadata/IIOMetadataNode.java
8882         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
8883         (parent): Dont initailize with default value explicitely.
8884         (Object): Likewise.
8885         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
8886         (removeAttributeNode): Likewise.
8887         (removeAttributeNS): Likewise.
8888         (setAttribute): Likewise.
8889         (setAttributeNode): Likewise.
8890         (setAttributeNodeNS): Likewise.
8891         (setAttributeNS): Likewise.
8892         (appendChild): Likewise.
8893         (getNodeValue): Likewise.
8894         (insertBefore): Likewise.
8895         (removeChild): Likewise.
8896         (replaceChild): Likewise.
8897         (setPrefix): Likewise.
8899 2005-02-15  Michael Koch  <konqueror@gmx.de>
8901         * javax/swing/LookAndFeel.java
8902         (getDesktopPropertyValue): New method.
8904 2005-02-15  Michael Koch  <konqueror@gmx.de>
8906         * javax/swing/JTree.java
8907         (hasChildren): New instance field.
8909 2005-02-15  Michael Koch  <konqueror@gmx.de>
8911         * javax/swing/JComponent.java
8912         (getToolTipText): New method.
8913         (getTitledBorderText): Likewise.
8914         (getAccessibleKeyBinding): Likewise.
8915         (getVerifyInputWhenFocusTarget): Likewise.
8916         (setVerifyInputWhenFocusTarget): Likewise.
8917         (verifyInputWhenFocusTarget): New instance field.
8919 2005-02-15  Michael Koch  <konqueror@gmx.de>
8921         * javax/swing/DefaultListSelectionModel.java
8922         (fireValueChanged): New method.
8924 2005-02-15  Michael Koch  <konqueror@gmx.de>
8926         * javax/swing/DefaultBoundedRangeModel.java:
8927         Fixed javadocs all over.
8928         (fireStateChanged): Simplified.
8929         * javax/swing/BoundedRangeModel.java:
8930         Reformatted.
8932 2005-02-15  Michael Koch  <konqueror@gmx.de>
8934         * javax/swing/JRootPane.java
8935         (setMenuBar): Added @deprecated tag.
8936         (getMenuBar): Likewise.
8937         * javax/swing/JTable.java
8938         (sizeColumnsToFit): Likewise.
8940 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
8942         * javax/swing/ImageIcon.java (setImage): Implemented.
8944 2005-02-15  Michael Koch  <konqueror@gmx.de>
8946         * javax/swing/JTable.java:
8947         Removed unused imports.
8949 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8951         (prepareRenderer): Get column's index in dataModel instead
8952         of column's view index.
8953         (getColumnCount): return count of the columns in ColumnModel,
8954         not in dataModel.
8955         (removeColumn): Implemented.
8956         (moveColumm): Likewise.
8957         (setRowHeight): throw IllegalArgumentException if height is
8958         less then 1.
8959         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
8960         (DefaultTableColumnModel):Add call to createSelectionModel().
8961         (addColumn): Fire columnAdded event to registered listeners.
8962         (removeColumn): Fire columnRemoved event to registered listeners.
8963         (moveColumn): Fire columnMoved event to registered listeners.
8964         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
8965         (getColumnIndex): Changed parameter name.
8966         (setColumnSelectionAllowed): Likewise.
8967         (fireColumnAdded): Implemented.
8968         (fireColumnRemoved): Likewise.
8969         (fireColumnMoved): Likewise.
8970         (fireColumnMarginChanged): Likewise.
8971         (getListeners): Changed parameter name.
8972         (propertyChange): Implemented.
8973         (valueChanged): Changed parameter name.
8974         (createSelectionModel): Implemented.
8976 2005-02-15  Michael Koch  <konqueror@gmx.de>
8978         * gnu/java/awt/peer/gtk/GtkToolkit.java:
8979         Explicitely import used classes.
8980         (getLocalGraphicsEnvironment): Simplify.
8981         * java/awt/Window.java (Window):
8982         Enable code to get the default GraphicsConfiguration.
8984 2005-02-15  Michael Koch  <konqueror@gmx.de>
8986         * javax/swing/plaf/metal/DefaultMetalTheme.java
8987         (CONTROL_TEXT_FONT): New static field.
8988         (MENU_TEXT_FONT): Likewise.
8989         (SUB_TEXT_FONT): Likewise.
8990         (SYSTEM_TEXT_FONT): Likewise.
8991         (USER_TEXT_FONT): Likewise.
8992         (WINDOW_TITLE_FONT): Likewise.
8993         (getControlTextFont): New method.
8994         (getMenuTextFont): Likewise.
8995         (getSubTextFont): Likewise.
8996         (getSystemTextFont): Likewise.
8997         (getUserTextFont): Likewise.
8998         (getWindowTitleFont): Likewise.
8999         * javax/swing/plaf/metal/MetalTheme.java
9000         (BLACK): Initialize with Color.BLACK.
9001         (WHITE): Initialize with Color.WHITE.
9002         (getInactiveControlTextColor): Return getControlDisabled().
9003         (getMenuDisabledForeground): Return getSecondary3().
9004         (getControlTextFont): New abstract method.
9005         (getMenuTextFont): Likewise.
9006         (getSubTextFont): Likewise.
9007         (getSystemTextFont): Likewise.
9008         (getUserTextFont): Likewise.
9009         (getWindowTitleFont): Likewise.
9011 2005-02-15  Michael Koch  <konqueror@gmx.de>
9013         * javax/swing/JFormattedTextField.java
9014         (getFocusLostBehavior): Fixed typo in method name.
9015         (setFocusLostBehavior): Likewise.
9017 2005-02-15  Michael Koch  <konqueror@gmx.de>
9019         * javax/swing/TransferHandler.java:
9020         Reworked import statements.
9022 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9024         * java/awt/Button.java,
9025         java/awt/Canvas.java,
9026         java/awt/Checkbox.java,
9027         java/awt/CheckboxMenuItem.java,
9028         java/awt/Choice.java,
9029         java/awt/Dialog.java,
9030         java/awt/Frame.java,
9031         java/awt/Label.java,
9032         java/awt/List.java,
9033         java/awt/Menu.java,
9034         java/awt/MenuBar.java,
9035         java/awt/MenuItem.java,
9036         java/awt/PopupMenu.java,
9037         java/awt/ScrollPane.java,
9038         java/awt/Scrollbar.java,
9039         java/awt/TextArea.java,
9040         java/awt/Window.java (getAccessibleContext): Clean up comments.
9041         Reformat.
9042         * java/awt/Button.java,
9043         java/awt/Checkbox.java,
9044         java/awt/Choice.java,
9045         java/awt/Menu.java,
9046         java/awt/PopupMenu.java,
9047         java/awt/TextArea.java (getAccessibleContext): Only create new
9048         accessible once.
9049         * java/awt/TextComponent.java (getAccessibleContext): Implement.
9051 2005-02-15  Michael Koch  <konqueror@gmx.de>
9053         * java/awt/Button.java,
9054         javax/swing/JApplet.java,
9055         javax/swing/JFormattedTextField.java,
9056         javax/swing/JWindow.java,
9057         javax/swing/JTree.java,
9058         javax/swing/plaf/basic/BasicEditorPaneUI.java,
9059         javax/swing/plaf/basic/BasicTextPaneUI.java,
9060         javax/swing/plaf/basic/BasicTreeUI.java:
9061         Reworked import statements.
9063 2005-02-15  Michael Koch  <konqueror@gmx.de>
9065         * Makefile.am: Put javax.imageio into its own library and link it
9066         against lib-org-w3c-dom.la to fix bootstrapping.
9067         * Makefile.in: Regenerated.
9069 2005-02-15  Michael Koch  <konqueror@gmx.de>
9071         * javax/swing/text/TextAction.java
9072         (getTextComponent): Simplified. Added Javadoc.
9073         (augmentList): Implemented. Added Javadoc.
9074         (getFocusedComponent): Added javadoc.
9076 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9078         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
9079         getAccessibleContext): Implement.
9080         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
9081         getAccessibleContext): Implement.
9083 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9085         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
9086         Implement.
9087         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
9088         Implement.
9089         * java/awt/Window.java (getAccessibleContext): Fix comment.
9090         Remove extra import.
9092 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9094         * java/awt/Window.java (AccessibleAWTWindow): Implement.
9095         (isActive, isFocused, getAccessibleContext): Implement.
9097 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9099         * java/awt/MenuItem.java (getAccessibleContext): Implement.
9100         * java/awt/MenuComponent.java (accessibleContext): Make package
9101         visible.
9102         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
9103         AccessibleAWTCheckboxMenuItem): Implement.
9105 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9107         * java/awt/List.java: Implement AccessibleAWTList,
9108         AccessibleAWTListChild.
9110 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9112         * java/awt/Choice.java: Add implements declaration for
9113         Accessible.
9115 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9117         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
9118         instead of Object.
9120 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9122         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
9123         implemented interface list.
9125 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
9127         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
9128         * javax/imageio/metadata/IIOAttr.java: New class.
9129         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
9130         * javax/imageio/metadata/IIONodeList.java: New class.
9131         * Makefile.am: Added new files.
9132         * Makefile.in: Regenerated.
9134 2005-02-15  Michael Koch  <konqueror@gmx.de>
9136         * javax/swing/AbstractAction.java,
9137         javax/swing/AbstractCellEditor.java,
9138         javax/swing/AbstractListModel.java,
9139         javax/swing/DefaultBoundedRangeModel.java,
9140         javax/swing/DefaultButtonModel.java,
9141         javax/swing/DefaultCellEditor.java,
9142         javax/swing/DefaultComboBoxModel.java,
9143         javax/swing/DefaultDesktopManager.java,
9144         javax/swing/JMenu.java,
9145         javax/swing/JSlider.java,
9146         javax/swing/KeyStroke.java,
9147         javax/swing/OverlayLayout.java,
9148         javax/swing/ScrollPaneLayout.java,
9149         javax/swing/SizeRequirements.java,
9150         javax/swing/ViewportLayout.java:
9151         Made serialVersionUID private.
9153 2005-02-15  Michael Koch  <konqueror@gmx.de>
9155         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9156         Reformatted.
9158 2005-02-15  Michael Koch  <konqueror@gmx.de>
9160         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
9162 2005-02-15  Michael Koch  <konqueror@gmx.de>
9164         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
9166 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
9168         * java/awt/EventDispatchThread.java,
9169         java/awt/Toolkit.java:
9170         Don't catch java.lang.ThreadDeath.
9172 2005-02-15  Michael Koch  <konqueror@gmx.de>
9174         * javax/swing/text/PasswordView.java
9175         (drawEchoCharacter): Added javadoc.
9176         (drawSelectedText): Likewise.
9177         (drawUnselectedText): Likewise.
9179 2005-02-15  Michael Koch  <konqueror@gmx.de>
9181         * javax/swing/JRootPane.java
9182         (windowDecorationStyle): New field.
9183         (setMenuBar): New method.
9184         (getMenuBar): Likewise.
9185         (getWindowDecorationStyle): Likewise.
9186         (setWindowDecorationStyle): Likewise.
9188 2005-02-15  Michael Koch  <konqueror@gmx.de>
9190         * javax/swing/DefaultListSelectionModel.java
9191         (leadAnchorNotificationEnabled): Made protected.
9193 2005-02-15  Michael Koch  <konqueror@gmx.de>
9195         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
9196         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
9197         * Makefile.in: Regenerated.
9200 2005-02-15  Michael Koch  <konqueror@gmx.de>
9202         * javax/swing/JFormattedTextField.java: Implemented.
9203         * javax/swing/JWindow.java
9204         (JWindow): New constructors.
9205         (initWindow): Renamed from initFrame.
9206         * javax/swing/UIDefaults.java
9207         (ActiveValue): Made interface static.
9208         (LazyValue): Likewise.
9209         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
9210         (TitlePaneLayout.TitlePaneLayout): New constructor.
9211         * javax/swing/plaf/basic/BasicSliderUI.java
9212         (ChangeHandler): Made public.
9213         (FocusHandler): Likewise.
9214         (PropertyChangeHandler): Likewise.
9215         (ScrollListener): Likewise.
9216         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9217         (FocusHandler): Likewise.
9218         (MouseHandler): Likewise.
9219         * javax/swing/plaf/basic/BasicTextPaneUI.java
9220         (BasicTextPaneUI): Extend BasicEditorPaneUI.
9221         * javax/swing/plaf/basic/BasicToolBarUI.java
9222         (BasicToolBarUI): Simplified. Reworked javadoc.
9223         (canDock): Simplified. Make public.
9224         (DockingListener): Made public.
9225         * javax/swing/text/JTextComponent.java
9226         (navigationFilter): New field.
9227         (getNavigationFilter): New method.
9228         (setNavigationFilter): Likewise.
9230 2005-02-15  Michael Koch  <konqueror@gmx.de>
9232         * javax/swing/plaf/metal/MetalTheme.java
9233         (getControlTextColor): Return getControlInfo().
9234         (getHighlightedTextColor): Return getControlTextColor().
9236 2005-02-15  Michael Koch  <konqueror@gmx.de>
9238         * javax/swing/plaf/basic/BasicButtonListener.java
9239         (BasicButtonListener): New constructor.
9240         * javax/swing/plaf/basic/BasicButtonUI.java
9241         (createButtonListener): Usw new BasicButtonListener constructor.
9243 2005-02-15  Michael Koch  <konqueror@gmx.de>
9245         * javax/imageio/event/package.html,
9246         javax/imageio/metadata/package.html: New files.
9248 2005-02-15  Michael Koch  <konqueror@gmx.de>
9250         * java/awt/image/MemoryImageSource.java: Reformatted.
9252 2005-02-15  Michael Koch  <konqueror@gmx.de>
9254         * javax/swing/tree/TreeCellEditor.java: Refomatted.
9256 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
9258         * java/awt/color/ICC_Profile.java
9259         (finalize): Removed pointless field assignments.
9261 2005-02-15  Michael Koch  <konqueror@gmx.de>
9263         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
9264         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
9265         * Makefile.in: Regenerated.
9267 2005-02-15  Michael Koch  <konqueror@gmx.de>
9269         * javax/swing/text/DefaultStyledDocument.java: New file.
9270         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
9271         * Makefile.in: Regenerated.
9273 2005-02-15  Michael Koch  <konqueror@gmx.de>
9275         * javax/swing/JFileChooser.java
9276         (showDialog): Return CANCEL_OPTION for now.
9277         (showOpenDialog): Likewise.
9278         (showSaveDialog): Likewise.
9280 2005-02-15  Michael Koch  <konqueror@gmx.de>
9282         * javax/swing/JApplet.java
9283         (HIDE_ON_CLOSE): Removed.
9284         (EXIT_ON_CLOSE): Likewise.
9285         (DISPOSE_ON_CLOSE): Likewise.
9286         (DO_NOTHING_ON_CLOSE): Likewise.
9287         (close_action): Likewise.
9288         (getDefaultCloseOperation): Likewise.
9289         (setDefaultCloseOperation): Likewise.
9290         (processWindowEvent): Likewise.
9291         (getPreferredSize): Simplified.
9292         * javax/swing/JInternalFrame.java
9293         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
9294         value.
9295         * javax/swing/JWindow.java
9296         (HIDE_ON_CLOSE): Removed.
9297         (EXIT_ON_CLOSE): Likewise.
9298         (DISPOSE_ON_CLOSE): Likewise.
9299         (DO_NOTHING_ON_CLOSE): Likewise.
9300         (close_action): Likewise.
9301         (processKeyEvent): Likewise.
9302         (setDefaultCloseOperation): Likewise.
9303         (getPreferredSize): Simplified.
9305 2005-02-15  Michael Koch  <konqueror@gmx.de>
9307         * javax/swing/JTextField.java
9308         (getPreferredSize): Re-implemented.
9310 2005-02-15  Michael Koch  <konqueror@gmx.de>
9312         * javax/swing/JLabel.java
9313         (setDisplayedMnemonic): Use only upper case characters.
9314         (setDisplayedMnemonicIndex): Handle index == -1 and fire
9315         PropertyChangeEvent after property got set to the new index.
9317 2005-02-15  Robert Schuster <thebohemian@gmx.net>
9319         * javax/swing/JComboBox.java:
9320         (JComboBox): Removed selection of the
9321         first item in the model.
9323 2005-02-15  Robert Schuster <thebohemian@gmx.net>
9325         * javax/swing/JComboBox.java
9326         added support for no item being selected
9327         (JComboBox): select first or nothing depending on element count
9328         (setModel): cleaned up unneeded "this." usage, added more
9329         docs, made exception behavior match that of the JDK
9330         (setLighWeightPopupEnabled): removed unneeded "this." usage
9331         (setEditable): dito
9332         (setMaximumRowCount): dito
9333         (setRenderer): dito
9334         (setPrototypeDisplayValue): dito
9335         (getSelectedItem): simplified, added more user doc
9336         (setSelectedIndex): corrected exception behavior, added more user doc
9337         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
9338         added performance warning to user doc
9339         (addItem): fixed exception behavior, added user doc
9340         (insertItemAt): dito
9341         (removeItem): dito
9342         (removeItemAt): dito
9343         (removeAll): fixed exception behavior, added user doc, added support
9344         for model not being instance of DefaultComboBoxModel
9345         (getSelectedItemObjects): simplified
9346         (getItemCount): fixed dependency on DefaultComboBoxModel
9347         (getItemAt): fixed dependency on MutableComboBoxModel
9348         * javax/swing/DefaultComboBoxModel.java:
9349         (setSelectedItem): updates selected item only if new
9350         value is null or known (match JDK behavior)
9351         * javax/swing/plaf/basic/BasicComboBoxUI.java:
9352         (paintCurrentValue): renders "" if no item is selected
9354 2005-02-15  Michael Koch  <konqueror@gmx.de>
9356         * javax/swing/plaf/metal/MetalTheme.java,
9357         javax/swing/plaf/metal/DefaultMetalTheme.java:
9358         New files.
9359         * javax/swing/plaf/metal/MetalLookAndFeel.java
9360         * Makefile.am: Added the new files.
9361         * Makefile.in: Regenerated.
9363 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
9365         * javax/swing/JTable.java
9366         (editorComp): New field.
9367         (JTable): Initialize local variables and call updateUI
9368         (selectionBackground): Make protected.
9369         (selectionForeground): Likewise.
9370         (initializeLocalVars): Create default editors and renderers,
9371         initialize editingColumn, editingRow variables.
9372         (createDefaultEditors): New Method.
9373         (createDefaultRenderers): Likewise.
9374         (createDefaultListSelectionModel): Removed
9375         (createDefaultSelectionModel): New Method.
9376         (createDefaultTableHeader): Likewise
9377         (removeColumn): Likewise.
9378         (getEditingColumn): Likewise.
9379         (setEditingColumn): Likewise.
9380         (getEditingRow): Likewise.
9381         (setEditingRow): Likewise.
9382         (getEditorComponent): Likewise.
9383         (isEditing): Likewise.
9384         (setDefaultEditor): Likewise.
9385         (addColumnSelectionInterval): Likewise.
9386         (addRowSelectionInterval): Likewise.
9387         (setColumnSelectionInterval): Likewise.
9388         (setRowSelectionInterval): Likewise.
9389         (removeColumnSelectionInterval): Likewise.
9390         (removeRowSelectionInterval): Likewise.
9391         (isColumnSelected): Likewise.
9392         (isRowSelected): Likewise.
9393         (isCellSelected): Likewise.
9394         (selectAll): Likewise.
9396 2005-02-15  Michael Koch  <konqueror@gmx.de>
9398         * javax/swing/JTable.java
9399         (addColumn): New method.
9400         (getColumnClass): Likewise.
9401         (getColumnName): Likewise.
9403 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
9405         * javax/swing/TransferHandler.java
9406         (createTransferable): Made protected.
9408 2005-02-15  Michael Koch  <konqueror@gmx.de>
9410         * javax/swing/JTable.java,
9411         javax/swing/plaf/basic/BasicTableHeaderUI.java,
9412         javax/swing/plaf/basic/BasicTableUI.java:
9413         Use fixed get/setIntercellSpacing() methods.
9415 2005-02-15  Michael Koch  <konqueror@gmx.de>
9417         * javax/swing/JTable.java
9418         (getIntercellSpacing): Fixed typo in method name.
9419         (setIntercellSpacing): Likewise.
9421 2005-02-15  Michael Koch  <konqueror@gmx.de>
9423         * javax/swing/text/JTextComponent.java
9424         (focusAccelerator): New variable.
9425         (getFocusAccelerator): New method.
9426         (setFocusAccelerator): Likewise.
9428 2005-02-15  Michael Koch  <konqueror@gmx.de>
9430         * javax/swing/JComponent.java
9431         (setTransferHandler): Made public. Fire property change event.
9432         * javax/swing/TransferHandler.java: Implemented.
9433         * javax/swing/text/JTextComponent.java
9434         (DefaultTransferHandler): New inner class.
9435         (defaultTransferHandler): New variable.
9436         (copy): New method.
9437         (cut): Likewise.
9438         (paste): Likewise.
9439         (doTransferAction): Likewise.
9441 2005-02-15  Michael Koch  <konqueror@gmx.de>
9443         * javax/swing/JTree.java
9444         (collapsePath): New method.
9445         (collapseRow): Likewise.
9446         (expandPath): Likewise.
9447         (expandRow): Likewise.
9448         (checkExpandParents): Likewise.
9449         (doExpandParents): Likewise.
9450         (setExpandedState): Likewise.
9451         (makeVisible): Likewise.
9453 2005-02-15  Michael Koch  <konqueror@gmx.de>
9455         * javax/swing/JPasswordField.java: Updated javadocs.
9457 2005-02-15  Michael Koch  <konqueror@gmx.de>
9459         * javax/swing/JLayeredPane.java
9460         (getLayer): Fixed return type, made public.
9461         (getPosition): Use new getLayer().
9462         (SetPosition): Likewise.
9463         (getIndexOf): Likewise.
9464         (remove): Likewise.
9465         * javax/swing/JInternalFrame.java
9466         (getLayer): Use new JLayeredPane.getLayer().
9469 2005-02-15  Michael Koch  <konqueror@gmx.de>
9471         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
9472         (setHeaderValue): Simplified. Do nothing when old value == new value.
9474 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9476         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
9477         against null clip region.
9478         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
9479         gtkWindowSetResizable.
9480         (postConfigureEvent): Only revalidate if frame size has changed.
9481         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
9482         Only revalidate if frame size has changed.
9483         * java/awt/Component.java (reshape): Only repaint and post
9484         component events if component is showing.
9485         * java/awt/Container.java (addImpl): Only post container event if
9486         container is showing.
9487         (remove): Likewise.
9488         * java/awt/Window.java (setLocationRelativeTo): Implement.
9489         (setBoundsCallback): Only post component events if component is
9490         showing.
9491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
9492         Protect against null graphics structure.  Flush gdk event queue.
9494 2005-02-15  Michael Koch  <konqueror@gmx.de>
9496         * javax/imageio/ImageReader.java,
9497         javax/imageio/ImageTranscoder.java,
9498         javax/imageio/ImageWriter.java,
9499         javax/imageio/spi/ImageInputStreamSpi.java,
9500         javax/imageio/spi/ImageOutputStreamSpi.java,
9501         javax/imageio/spi/ServiceRegistry.java,
9502         javax/imageio/stream/ImageInputStream.java,
9503         javax/imageio/stream/ImageOutputStream.java: Updated.
9504         * javax/imageio/IIOException.java,
9505         javax/imageio/IIOImage.java,
9506         javax/imageio/IIOParam.java,
9507         javax/imageio/IIOParamController.java,
9508         javax/imageio/ImageIO.java,
9509         javax/imageio/ImageReadParam.java,
9510         javax/imageio/ImageTypeSpecifier.java,
9511         javax/imageio/ImageWriteParam.java,
9512         javax/imageio/spi/IIORegistry.java,
9513         javax/imageio/spi/ImageReaderSpi.java,
9514         javax/imageio/spi/ImageWriterSpi.java,
9515         javax/imageio/stream/FileCacheImageInputStream.java,
9516         javax/imageio/stream/FileCacheImageOutputStream.java,
9517         javax/imageio/stream/FileImageInputStream.java,
9518         javax/imageio/stream/FileImageOutputStream.java,
9519         javax/imageio/stream/ImageInputStreamImpl.java,
9520         javax/imageio/stream/ImageOutputStreamImpl.java,
9521         javax/imageio/stream/MemoryCacheImageInputStream.java,
9522         javax/imageio/stream/MemoryCacheImageOutputStream.java,
9523         javax/imageio/event/IIOReadProgressListener.java,
9524         javax/imageio/event/IIOReadUpdateListener.java,
9525         javax/imageio/event/IIOReadWarningListener.java,
9526         javax/imageio/event/IIOWriteProgressListener.java,
9527         javax/imageio/event/IIOWriteWarningListener.java,
9528         javax/imageio/metadata/IIOMetadata.java,
9529         javax/imageio/metadata/IIOMetadataController.java,
9530         javax/imageio/metadata/IIOMetadataFormat.java,
9531         javax/imageio/metadata/IIOInvalidTreeException.java,
9532         javax/imageio/metadata/IIOMetadataFormatImpl.java,
9533         javax/imageio/metadata/IIOMetadataNode.java: New files.
9534         * Makefile.am (javax_source_files): Added new files
9535         * Makefile.in: Regenerated.
9537 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9539         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9540         Rework painting into BufferedImages
9541         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9542         Construct BufferedImage with alpha only when alpha is
9543         present in colormodel.
9544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9545         Rework painting into client-side jint arrays.
9546         * jni/gtk-peer/gtkcairopeer.h:
9547         Likewise.
9549 2005-02-15  Michael Koch  <konqueror@gmx.de>
9551         * javax/swing/DefaultListCellRenderer.java
9552         (serialVersionUID): Made private.
9553         (getListCellRendererComponent): Set horizontal alignment.
9554         * javax/swing/JLabel.java
9555         (setVerticalAlignment): Re-implemented.
9556         (setHorizontalAlignment): Do nothing if old value = new value.
9557         * javax/swing/JList.java
9558         (setCellRenderer): Likewise.
9559         (setModel): Re-implemented.
9560         (setSelectionModel): Likewise.
9562 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
9564         * java/awt/Component.java,
9565         java/awt/geom/Rectangle2D.java:
9566         Javadoc fixes.
9568 2005-02-15  Michael Koch  <konqueror@gmx.de>
9570         * javax/swing/AbstractListModel.java
9571         (fireContentsChanged): Simplified.
9572         (fireIntervalAdded): Likewise.
9573         (fireIntervalRemoved): Likewise.
9574         * javax/swing/DefaultSingleSelectionModel.java:
9575         Reformatted.
9576         (fireStateChanged): Simplified.
9577         * javax/swing/JPopupMenu.java
9578         (setSelectionModel): Set property.
9580 2005-02-15  Michael Koch  <konqueror@gmx.de>
9582         * java/awt/print/Book.java: Reformatted.
9584 2005-02-15  Michael Koch  <konqueror@gmx.de>
9586         * java/awt/geom/Area.java
9587         (QuadSegment.curveArea): Remove unused variables.
9588         (CubicSegment.curveArea): Likewise.
9590 2005-02-15  Michael Koch  <konqueror@gmx.de>
9592         * javax/swing/JTree.java
9593         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
9594         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
9595         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
9596         (EXPANDED): New constant.
9597         (COLLAPSED): Likewise.
9598         (nodeStates): New field.
9599         (cellEditor): New method.
9600         (cellRenderer): Likewise.
9601         (selectionModel): Likewise.
9602         (treeModel): Likewise.
9603         (scrollPathToVisible): Likewise.
9604         (scrollRowToVisible): Likewise.
9605         (isCollapsed): Likewise.
9606         (isExpanded): Likewise.
9607         (clearToggledPaths): Likewise.
9608         (getDescendantToggledPaths): Likewise.
9609         (hasBeenExpanded): Likewise.
9610         (isVisible): Likewise.
9611         (isPathEditable): Likewise.
9613 2005-02-15  Michael Koch  <konqueror@gmx.de>
9615         * javax/swing/JLayeredPane.java: Reformatted.
9617 2005-02-15  Michael Koch  <konqueror@gmx.de>
9619         * javax/swing/tree/DefaultMutableTreeNode.java:
9620         Completely Revised.
9621         * javax/swing/tree/MutableTreeNode.java:
9622         Reformatted.
9624 2005-02-15  Michael Koch  <konqueror@gmx.de>
9626         * javax/swing/JFormattedTextField.java
9627         (setDocument): Call setDocument of super class. Don't fire property
9628         change event.
9630 2005-02-15  Sven de Marothy  <sven@physto.se>
9632         * java/awt/image/IndexColorModel.java:
9633         Add FIXME with respect to alpha handling.
9634         (getAlpha): Default to returning opaque pixels.
9635         * java/awt/image/MultiPixelPackedSampleModel.java
9636         (MultiPixelPackedSampleModel): Corrected parameters, order of
9637         bit shifts and masks, stride length off by one.
9639 2005-02-15  Michael Koch  <konqueror@gmx.de>
9641         * javax/swing/JList.java, javax/swing/JTree.java:
9642         Added much new methods and fixed much methods setting bound properties.
9644 2005-02-16  Mark Wielaard  <mark@klomp.org>
9646         * Makefile.am (gnu_xml_source_files): Removed
9647         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
9648         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
9649         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
9650         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
9651         gnu/xml/dom/DomDocumentFragment.java,
9652         gnu/xml/dom/DomProcessingInstruction.java and
9653         gnu/xml/dom/ls/DomLSException.java.
9654         * Makefile.in: Regenerated.
9656 2005-02-16  Tom Tromey  <tromey@redhat.com>
9658         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
9659         attribute index is out of bounds.
9661 2005-02-16  Chris Burdess  <dog@gnu.org>
9663         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
9664         isDeclared methods. Improved performance of isSpecified methods.
9666 2005-02-16  Chris Burdess  <dog@gnu.org>
9668         Fixes bug libgcj/19864
9669         * gnu/xml/dom/DomAttr.java,
9670         gnu/xml/dom/DomCDATA.java,
9671         gnu/xml/dom/DomCDATASection.java,
9672         gnu/xml/dom/DomCharacterData.java,
9673         gnu/xml/dom/DomDOMException.java,
9674         gnu/xml/dom/DomDoctype.java,
9675         gnu/xml/dom/DomDocument.java,
9676         gnu/xml/dom/DomDocumentConfiguration.java,
9677         gnu/xml/dom/DomDocumentFragment.java,
9678         gnu/xml/dom/DomElement.java,
9679         gnu/xml/dom/DomEx.java,
9680         gnu/xml/dom/DomFragment.java,
9681         gnu/xml/dom/DomImpl.java,
9682         gnu/xml/dom/DomIterator.java,
9683         gnu/xml/dom/DomNamedNodeMap.java,
9684         gnu/xml/dom/DomNode.java,
9685         gnu/xml/dom/DomNsNode.java,
9686         gnu/xml/dom/DomPI.java,
9687         gnu/xml/dom/DomProcessingInstruction.java,
9688         gnu/xml/dom/DomText.java,
9689         gnu/xml/dom/DomLSEx.java,
9690         gnu/xml/dom/DomLSException.java,
9691         gnu/xml/dom/DomLSParser.java,
9692         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
9693         implementation class names to conform to Classpath guidelines.  Make
9694         DomLSException use JDK 1.4+ exception chaining.
9695         * gnu/xml/util/SAXNullTransformerFactory.java,
9696         gnu/xml/xpath/Predicate.java: Use constants relative to
9697         declaring class or interface.
9699 2005-02-16  Andrew Haley  <aph@redhat.com>
9701         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
9702         null, create a new AccessControlContext.
9703         * java/security/SecureClassLoader.java (protectionDomainCache):
9704         new field.
9705         (defineClass): Create a new protection domain and add it to our
9706         cache.
9708         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
9709         addStub() to keep track of the stub we've exported.
9710         (unexportObject): Call deleteStub().
9711         * java/rmi/server/RemoteObject.java (stubs): New field.
9712         (addStub): New method.
9713         (deleteStub): New method.
9714         (toStub): Rewrite.
9716         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
9717         true to findHelper (tryParents).
9718         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
9719         Likewise.
9720         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
9721         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
9722         ProtectionDomain.
9723         If tryParents is false, don't scan parent class loaders.
9725         * java/security/Permissions.java (PermissionsHash.implies):
9726         Iterate over the collection and invoke implies() on each
9727         element.
9729 2005-02-16  Andrew Haley  <aph@redhat.com>
9731         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
9732         fields.
9733         (PersistentByteMap): Set name
9734         Magic number changed to 0x67636a64 ("gcjd").
9735         (init): Force the map to be prime.
9736         (emptyPersistentByteMap): File name was a string, now a File.
9737         (addBytes): Share srings between entries.
9738         (stringTableSize): New method.
9739         (capacity): Scale by load factor.
9740         (force): New method.
9741         (getFile): New method.
9742         (close): New method.
9743         (putAll): New method.
9744         (ByteWrapper): New class.
9745         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
9746         (main): Guess the average string size as 32, not 64.
9747         Copy a database before modifying it, so that we can update a
9748         database in a running system.
9749         If a database isn't big enough, resize it.
9750         "-m": new option: merges databases.
9751         "-a": Create a new detabase if it doesn't exist.
9752         (usage): Correct, add new option.
9753         (addJar): Copy a database before modifying it.
9754         (resizeMap): New method.
9756 2005-02-15  David Daney <ddaney@avtrex.com>
9757             Bryce McKinlay  <mckinlay@redhat.com>
9759         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
9760         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
9761         ensure that GC threads inherit the new signal mask.
9762         (block_sigchld): Call JvFail rather than throwing exception if
9763         pthread_sigmask() fails.
9765 2005-02-15  Mark Wielaard  <mark@klomp.org>
9767         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
9768         file path elements are separated by spaces.
9770 2005-02-15  Mark Wielaard  <mark@klomp.org>
9772         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
9773         to describe attributes without a constant field value in this class.
9775 2005-02-15  Michael Koch  <konqueror@gmx.de>
9777         * java/util/jar/Attributes.java
9778         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
9780 2005-02-15  Mark Wielaard  <mark@klomp.org>
9782         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
9783         space for parsing CLASS_PATH attribute.
9785 2005-02-15  Mark Wielaard  <mark@klomp.org>
9787         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
9788         aside for "GCJLIBS" in directory where jarfiles are loaded.
9789         (JarURLLoader.getClass): Removed method.
9790         (JarURLLoader.toString): Removed method.
9791         (FileResource.toString): Removed method.
9793 2005-02-15  Mark Wielaard  <mark@klomp.org>
9795         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
9796         and/or cause before throwing.
9798 2005-02-15  Richard Henderson  <rth@redhat.com>
9800         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
9801         (libgcj0_convenience_la_SOURCES): ... here.
9802         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
9803         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
9804         * Makefile.in: Regenerate.
9806 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9808         * jawt.c: New file.
9809         * include/jawt.h: Likewise.
9810         * include/jawt_md.h: Likewise.
9811         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9812         jawt_md.h files.
9813         * include/Makefile.in: Regenerate.
9814         * jni/classpath/classpath_jawt.h: Likewise.
9815         * jni/gtk-peer/gtk_jawt.c: Likewise.
9816         * Makefile.am: Build libjawt.so.
9817         * Makefile.in: Regenerate.
9819 2005-02-14  Tom Tromey  <tromey@redhat.com>
9821         * testsuite/libjava.lang/PR19921.java: Use correct class name.
9823 2005-02-14  Tom Tromey  <tromey@redhat.com>
9825         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
9826         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
9828 2005-02-14  Tom Tromey  <tromey@redhat.com>
9830         For PR java/19929:
9831         * testsuite/libjava.lang/PR19929.out: New file.
9832         * testsuite/libjava.lang/PR19929.java: New file.
9834 2005-02-14  Anthony Green  <green@redhat.com>
9836         PR libgcj/18116
9837         * testsuite/libjava.jni/PR18116.c: New file.
9838         * testsuite/libjava.jni/PR18116.java: New file.
9839         * testsuite/libjava.jni/PR18116.out: New file.
9841 2005-02-13  Anthony Green  <green@redhat.com>
9843         PR libgcj/18116
9844         * jni.cc (nathash_add): Don't strdup the method signature.
9845         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
9846         method signature.
9847         Update copyright.
9849 2005-02-12  Mark Wielaard  <mark@klomp.org>
9851         Fixes bug libgcj/8170
9852         * java/lang/ClassLoader.java (loadClass): Don't rewrap
9853         ClassNotFoundException.
9854         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
9855         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
9856         (remove_internal): New field superceding remove_interpreter.
9857         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
9858         Remove no-class methods starting with "_Jv_". And Replace null
9859         class or method names with the empty string. Stop at either the
9860         MainThread or a real Thread run() method.
9861         (newElement): Made static.
9862         * java/net/URLClassLoader.java (findClass): Throw
9863         ClassNotFoundExceptions including urls, plus parent using toString().
9864         (thisString): New field.
9865         (toString): New method.
9867 2005-02-10  Tom Tromey  <tromey@redhat.com>
9869         * external/sax/Makefile.in: Rebuilt.
9870         * external/sax/Makefile.am (all-local): Removed.
9871         (BUILT_SOURCES): New variable.
9872         (mostlyclean-local): No error if no classes to delete.
9873         * external/w3c_dom/Makefile.in: Rebuilt.
9874         * external/w3c_dom/Makefile.am (all-local): Removed.
9875         (BUILT_SOURCES): New variable.
9876         (mostlyclean-local): No error if no classes to delete.
9878 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
9880         * testsuite/libjava.mauve/xfails: Updated to reflect current state
9881         of mauve and libjava.
9883 2005-02-09  Tom Tromey  <tromey@redhat.com>
9885         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
9886         jar file with OPEN_DELETE.
9887         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
9888         OPEN_DELETE is used.
9890 2005-02-09  Tom Tromey  <tromey@redhat.com>
9892         * java/util/zip/InflaterInputStream.java (markSupported):
9893         Override.
9894         (mark, reset): Likewise.
9896 2005-02-08  Tom Tromey  <tromey@redhat.com>
9898         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
9899         name or port is missing.
9900         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
9901         AUTHORITY_PORT_GROUP): Updated.
9903 2005-02-08  Tom Tromey  <tromey@redhat.com>
9905         * configure: Rebuilt.
9906         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
9907         AC_CHECK_HEADERS.
9909 2005-02-07  Tom Tromey  <tromey@redhat.com>
9911         * java/lang/natRuntime.cc (insertSystemProperties): Set
9912         sun.boot.class.path earlier.
9914 2005-02-07  Tom Tromey  <tromey@redhat.com>
9916         * defineclass.cc (handleClassBegin): Use
9917         _Jv_RegisterInitiatingLoader.
9918         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
9919         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
9920         class.  Use _Jv_UnregisterInitiatingLoader.
9921         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
9922         New function.
9924 2005-02-07  Mark Wielaard  <mark@klomp.org>
9926         Reported by Timo Lindfors <timo.lindfors@iki.fi>
9927         java/util/regex/Matcher.java (lookingAt): Set position when match
9928         found.
9929         (matches): Implemented through lookingAt().
9931 2005-02-07  Mark Wielaard  <mark@klomp.org>
9933         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
9934         * java/util/regex/Pattern.java (split(CharSequence,int)):
9935         Fix while empties > 0 loops.
9937 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
9939         * gnu/java/nio/charset/ISO_8859_1.java,
9940         gnu/java/nio/charset/US_ASCII.java,
9941         gnu/java/nio/charset/UTF_16.java,
9942         gnu/java/nio/charset/UTF_16_LE.java,
9943         gnu/java/nio/charset/UTF_16_BE.java,
9944         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
9945          and aliases according to
9946          "http://www.iana.org/assignments/character-sets",
9947          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
9948          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
9949         * gnu/java/nio/charset/Provider.java: Made charset lookup
9950          case-insensitive which fixes bug #11740.
9952 2005-02-07  Tom Tromey  <tromey@redhat.com>
9954         PR libgcj/19611:
9955         * Makefile.in: Rebuilt.
9956         * Makefile.am (src.zip): New target.
9957         (install-src.zip): Likewise.
9958         (sourcesdir): New variable.
9960 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
9962         * javax/imageio/metadata/IIOMetadataNode.java:
9963         Implemented.
9964         * javax/imageio/metadata/IIOAttr.java,
9965         javax/imageio/metadata/IIONamedNodeMap.java,
9966         javax/imageio/metadata/IIONodeList.java:
9967         New files
9969 2005-02-06  Graydon Hoare  <graydon@redhat.com>
9971         * gnu/java/awt/ClasspathToolkit.java
9972         (registerImageIOSpis): New method.
9973         * javax/imageio/ImageIO.java
9974         (WriterFormatFilter.filter): Fix copy-and-paste typos.
9975         (WriterMIMETypeFilter.filter): Likewise.
9976         (ImageReaderIterator): Pass extension argument through to SPI.
9977         (getReadersByFilter): Likewise.
9978         (getWritersByFilter): Likewise.
9979         (getImageReadersByFormatName): Likewise.
9980         (getImageReadersByMIMEType): Likewise.
9981         (getImageReadersBySuffix): Likewise.
9982         (getImageWritersByFormatName): Likewise.
9983         (getImageWritersByMIMEType): Likewise.
9984         (getImageWritersBySuffix): Likewise.
9985         (read): Implement.
9986         (write): Implement.
9987         * javax/imageio/ImageReader.java
9988         (progressListeners): Initialize.
9989         (setInput): Implement.
9990         * javax/imageio/ImageWriter.java
9991         (progressListeners): Initialize.
9992         (warningListeners): Likewise.
9993         (warningLocales): Likewise.
9994         (setOutput): Test "isInstance" rather than class equality.
9995         * javax/imageio/spi/IIORegistry.java
9996         (static): Add reader and writer SPIs.
9997         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
9999 2005-02-06  Michael Koch  <konqueror@gmx.de>
10001         * javax/imageio/metadata/IIOInvalidTreeException.java
10002         (IIOInvalidTreeException): Reformatted.
10003         * javax/imageio/spi/IIORegistry.java
10004         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
10005         * javax/imageio/stream/MemoryCacheImageInputStream.java:
10006         Reworked import statements.
10008 2005-02-06  Michael Koch  <konqueror@gmx.de>
10010         * javax/imageio/stream/FileImageOutputStream.java:
10011         Implemented.
10013 2005-02-06  Michael Koch  <konqueror@gmx.de>
10015         * javax/imageio/stream/FileCacheImageInputStream.java,
10016         javax/imageio/stream/FileCacheImageOutputStream.java,
10017         javax/imageio/stream/FileImageInputStream.java,
10018         javax/imageio/stream/ImageInputStreamImpl.java,
10019         javax/imageio/stream/ImageOutputStreamImpl.java,
10020         javax/imageio/stream/MemoryCacheImageInputStream.java,
10021         javax/imageio/stream/MemoryCacheImageOutputStream.java:
10022         Added all missing methods in javax.imageio.stream.
10024 2005-02-02  David Daney  <ddaney@avtrex.com>
10026         * java/net/InetAddress.java (InetAddress): Make a private copy of
10027         the address.
10028         * java/net/Inet4Address.java (getAddress): Return a copy of the
10029         address.
10030         * java/net/Inet6Address.java (Inet6Address): Use private copy of
10031         the address
10032         (getAddress): Return a copy of the address.
10033         (equals): Rewrote.
10035 2005-02-02  Tom Tromey  <tromey@redhat.com>
10037         * Makefile.in: Rebuilt.
10038         * Makefile.am (classes.stamp): New target, broken out from
10039         libgcj.jar target.
10040         ($(all_java_class_files)): Depend on it.
10041         (libgcj-@gcc_version@.jar): Likewise.
10042         (all-recursive): Likewise.
10043         (CLEANFILES): Include classes.stamp.
10045 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
10047         * link.cc: Include <stdio.h>
10049 2005-02-02  Tom Tromey  <tromey@redhat.com>
10051         PR libgcj/19681:
10052         * Makefile.in: Rebuilt.
10053         * Makefile.am (ordinary_java_source_files): Added new class.
10054         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
10055         Use system_instance, not instance.
10056         * gnu/gcj/runtime/SystemClassLoader.java: New file.
10057         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
10058         java.class.path.
10059         (system_instance): New field.
10060         (initialize): Initialize the system loader as well.
10061         (VMClassLoader): Default to LIB_CACHE.
10063 2005-02-02  Tom Tromey  <tromey@redhat.com>
10065         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
10066         * prims.cc: Fixed comment.
10068 2005-02-01  Tom Tromey  <tromey@redhat.com>
10070         * Makefile.in: Rebuilt.
10071         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
10072         (.java.class): Use BOOTCLASSPATH.
10074 2005-02-01  Tom Tromey  <tromey@redhat.com>
10076         * external/w3c_dom/Makefile.am: New file.
10077         * external/w3c_dom/Makefile.in: New file.
10078         * external/sax/Makefile.am: New file.
10079         * external/sax/Makefile.in: New file.
10080         * external/Makefile.in: New file.
10081         * external/Makefile.am: New file.
10082         * external/README: New file from Classpath.
10083         * configure, aclocal.m4, Makefile.in: Rebuilt.
10084         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
10085         * Makefile.am (SUBDIRS): Added external.
10086         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
10087         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
10088         (BOOTCLASSPATH): New variable.
10089         (AM_GCJFLAGS): Use it.
10090         (gnu_xml_source_files): New variable.
10091         (libgcj_la_SOURCES): Use it.
10092         (libgcj_la_LDADD): Include new convenience libraries.
10093         (lib_org_ietf_jgss_la_SOURCES): Removed.
10094         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
10095         (lib_org_ietf_jgss_la_LIBADD): Likewise.
10096         (lib_org_w3c_dom_la_SOURCES): Removed.
10097         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
10098         (lib_org_w3c_dom_la_LIBADD): Likewise.
10099         (lib_org_xml_sax_la_SOURCES): Removed.
10100         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
10101         (lib_org_xml_sax_la_LIBADD): Likewise.
10102         (all_java_source_files): Updated.
10103         (property_files): Likewise.
10104         (libgcj-@gcc_version@.jar): Include classes from external/.
10105         (javax_source_files): Updated.
10106         (ordinary_java_source_files): Updated.
10107         * javax/xml/XMLConstants.java,
10108         javax/xml/datatype/DatatypeConfigurationException.java,
10109         javax/xml/datatype/DatatypeConstants.java,
10110         javax/xml/datatype/DatatypeFactory.java,
10111         javax/xml/datatype/Duration.java,
10112         javax/xml/datatype/XMLGregorianCalendar.java,
10113         javax/xml/datatype/package.html,
10114         javax/xml/namespace/NamespaceContext.java,
10115         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
10116         javax/xml/parsers/DocumentBuilder.java,
10117         javax/xml/parsers/DocumentBuilderFactory.java,
10118         javax/xml/parsers/FactoryConfigurationError.java,
10119         javax/xml/parsers/ParserConfigurationException.java,
10120         javax/xml/parsers/SAXParser.java,
10121         javax/xml/parsers/SAXParserFactory.java,
10122         javax/xml/parsers/package.html,
10123         javax/xml/transform/ErrorListener.java,
10124         javax/xml/transform/OutputKeys.java,
10125         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
10126         javax/xml/transform/SourceLocator.java,
10127         javax/xml/transform/Templates.java,
10128         javax/xml/transform/Transformer.java,
10129         javax/xml/transform/TransformerConfigurationException.java,
10130         javax/xml/transform/TransformerException.java,
10131         javax/xml/transform/TransformerFactory.java,
10132         javax/xml/transform/TransformerFactoryConfigurationError.java,
10133         javax/xml/transform/URIResolver.java,
10134         javax/xml/transform/package.html,
10135         javax/xml/transform/dom/DOMLocator.java,
10136         javax/xml/transform/dom/DOMResult.java,
10137         javax/xml/transform/dom/DOMSource.java,
10138         javax/xml/transform/dom/package.html,
10139         javax/xml/transform/sax/SAXResult.java,
10140         javax/xml/transform/sax/SAXSource.java,
10141         javax/xml/transform/sax/SAXTransformerFactory.java,
10142         javax/xml/transform/sax/TemplatesHandler.java,
10143         javax/xml/transform/sax/TransformerHandler.java,
10144         javax/xml/transform/sax/package.html,
10145         javax/xml/transform/stream/StreamResult.java,
10146         javax/xml/transform/stream/StreamSource.java,
10147         javax/xml/transform/stream/package.html,
10148         javax/xml/validation/Schema.java,
10149         javax/xml/validation/SchemaFactory.java,
10150         javax/xml/validation/TypeInfoProvider.java,
10151         javax/xml/validation/Validator.java,
10152         javax/xml/validation/ValidatorHandler.java,
10153         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
10154         javax/xml/xpath/XPathConstants.java,
10155         javax/xml/xpath/XPathException.java,
10156         javax/xml/xpath/XPathExpression.java,
10157         javax/xml/xpath/XPathExpressionException.java,
10158         javax/xml/xpath/XPathFactory.java,
10159         javax/xml/xpath/XPathFactoryConfigurationException.java,
10160         javax/xml/xpath/XPathFunction.java,
10161         javax/xml/xpath/XPathFunctionException.java,
10162         javax/xml/xpath/XPathFunctionResolver.java,
10163         javax/xml/xpath/XPathVariableResolver.java,
10164         javax/xml/xpath/package.html: New files, from GNU JAXP.
10165         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
10166         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
10167         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
10168         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
10169         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
10170         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
10171         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
10172         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
10173         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
10174         org/w3c/dom/ranges/DocumentRange.java,
10175         org/w3c/dom/ranges/Range.java,
10176         org/w3c/dom/ranges/RangeException.java,
10177         org/w3c/dom/traversal/DocumentTraversal.java,
10178         org/w3c/dom/traversal/NodeFilter.java,
10179         org/w3c/dom/traversal/NodeIterator.java,
10180         org/w3c/dom/traversal/TreeWalker.java,
10181         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
10182         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
10183         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
10184         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
10185         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
10186         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
10187         org/xml/sax/SAXNotRecognizedException.java,
10188         org/xml/sax/SAXNotSupportedException.java,
10189         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
10190         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
10191         org/xml/sax/ext/DeclHandler.java,
10192         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
10193         org/xml/sax/helpers/AttributeListImpl.java,
10194         org/xml/sax/helpers/AttributesImpl.java,
10195         org/xml/sax/helpers/DefaultHandler.java,
10196         org/xml/sax/helpers/LocatorImpl.java,
10197         org/xml/sax/helpers/NamespaceSupport.java,
10198         org/xml/sax/helpers/NewInstance.java,
10199         org/xml/sax/helpers/ParserAdapter.java,
10200         org/xml/sax/helpers/ParserFactory.java,
10201         org/xml/sax/helpers/XMLFilterImpl.java,
10202         org/xml/sax/helpers/XMLReaderAdapter.java,
10203         org/xml/sax/helpers/XMLReaderFactory.java,
10204         org/xml/sax/helpers/package.html: Moved to external/.
10205         * external/sax/README,
10206         external/sax/org/xml/sax/AttributeList.java,
10207         external/sax/org/xml/sax/Attributes.java,
10208         external/sax/org/xml/sax/ContentHandler.java,
10209         external/sax/org/xml/sax/DTDHandler.java,
10210         external/sax/org/xml/sax/DocumentHandler.java,
10211         external/sax/org/xml/sax/EntityResolver.java,
10212         external/sax/org/xml/sax/ErrorHandler.java,
10213         external/sax/org/xml/sax/HandlerBase.java,
10214         external/sax/org/xml/sax/InputSource.java,
10215         external/sax/org/xml/sax/Locator.java,
10216         external/sax/org/xml/sax/Parser.java,
10217         external/sax/org/xml/sax/SAXException.java,
10218         external/sax/org/xml/sax/SAXNotRecognizedException.java,
10219         external/sax/org/xml/sax/SAXNotSupportedException.java,
10220         external/sax/org/xml/sax/SAXParseException.java,
10221         external/sax/org/xml/sax/XMLFilter.java,
10222         external/sax/org/xml/sax/XMLReader.java,
10223         external/sax/org/xml/sax/package.html,
10224         external/sax/org/xml/sax/ext/Attributes2.java,
10225         external/sax/org/xml/sax/ext/Attributes2Impl.java,
10226         external/sax/org/xml/sax/ext/DeclHandler.java,
10227         external/sax/org/xml/sax/ext/DefaultHandler2.java,
10228         external/sax/org/xml/sax/ext/EntityResolver2.java,
10229         external/sax/org/xml/sax/ext/LexicalHandler.java,
10230         external/sax/org/xml/sax/ext/Locator2.java,
10231         external/sax/org/xml/sax/ext/Locator2Impl.java,
10232         external/sax/org/xml/sax/ext/package.html,
10233         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
10234         external/sax/org/xml/sax/helpers/AttributesImpl.java,
10235         external/sax/org/xml/sax/helpers/DefaultHandler.java,
10236         external/sax/org/xml/sax/helpers/LocatorImpl.java,
10237         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
10238         external/sax/org/xml/sax/helpers/NewInstance.java,
10239         external/sax/org/xml/sax/helpers/ParserAdapter.java,
10240         external/sax/org/xml/sax/helpers/ParserFactory.java,
10241         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
10242         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
10243         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
10244         external/sax/org/xml/sax/helpers/package.html,
10245         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
10246         external/w3c_dom/org/w3c/dom/Attr.java,
10247         external/w3c_dom/org/w3c/dom/CDATASection.java,
10248         external/w3c_dom/org/w3c/dom/CharacterData.java,
10249         external/w3c_dom/org/w3c/dom/Comment.java,
10250         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
10251         external/w3c_dom/org/w3c/dom/DOMError.java,
10252         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
10253         external/w3c_dom/org/w3c/dom/DOMException.java,
10254         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
10255         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
10256         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
10257         external/w3c_dom/org/w3c/dom/DOMLocator.java,
10258         external/w3c_dom/org/w3c/dom/DOMStringList.java,
10259         external/w3c_dom/org/w3c/dom/Document.java,
10260         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
10261         external/w3c_dom/org/w3c/dom/DocumentType.java,
10262         external/w3c_dom/org/w3c/dom/Element.java,
10263         external/w3c_dom/org/w3c/dom/Entity.java,
10264         external/w3c_dom/org/w3c/dom/EntityReference.java,
10265         external/w3c_dom/org/w3c/dom/NameList.java,
10266         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
10267         external/w3c_dom/org/w3c/dom/Node.java,
10268         external/w3c_dom/org/w3c/dom/NodeList.java,
10269         external/w3c_dom/org/w3c/dom/Notation.java,
10270         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
10271         external/w3c_dom/org/w3c/dom/Text.java,
10272         external/w3c_dom/org/w3c/dom/TypeInfo.java,
10273         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
10274         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
10275         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
10276         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
10277         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
10278         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
10279         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
10280         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
10281         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
10282         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
10283         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
10284         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
10285         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
10286         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
10287         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
10288         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
10289         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
10290         external/w3c_dom/org/w3c/dom/css/Counter.java,
10291         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
10292         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
10293         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
10294         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
10295         external/w3c_dom/org/w3c/dom/css/Rect.java,
10296         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
10297         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
10298         external/w3c_dom/org/w3c/dom/events/Event.java,
10299         external/w3c_dom/org/w3c/dom/events/EventException.java,
10300         external/w3c_dom/org/w3c/dom/events/EventListener.java,
10301         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
10302         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
10303         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
10304         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
10305         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
10306         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
10307         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
10308         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
10309         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
10310         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
10311         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
10312         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
10313         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
10314         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
10315         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
10316         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
10317         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
10318         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
10319         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
10320         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
10321         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
10322         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
10323         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
10324         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
10325         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
10326         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
10327         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
10328         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
10329         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
10330         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
10331         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
10332         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
10333         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
10334         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
10335         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
10336         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
10337         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
10338         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
10339         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
10340         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
10341         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
10342         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
10343         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
10344         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
10345         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
10346         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
10347         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
10348         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
10349         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
10350         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
10351         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
10352         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
10353         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
10354         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
10355         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
10356         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
10357         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
10358         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
10359         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
10360         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
10361         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
10362         external/w3c_dom/org/w3c/dom/ls/LSException.java,
10363         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
10364         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
10365         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
10366         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
10367         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
10368         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
10369         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
10370         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
10371         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
10372         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
10373         external/w3c_dom/org/w3c/dom/ranges/Range.java,
10374         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
10375         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
10376         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
10377         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
10378         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
10379         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
10380         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
10381         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
10382         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
10383         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
10384         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
10385         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
10386         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
10387         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
10388         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
10389         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
10390         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
10391         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
10392         from Classpath.
10394 2005-01-31  Anthony Green  <green@redhat.com>
10396         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
10397         Support IP_MULTICAST_LOOP.
10398         (setOption): Support IP_MULTICAST_LOOP.
10400         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
10401         SO_REUSEADDR support.
10402         (getOption): Support SO_REUSEADDR.
10404 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
10406         PR libgcj/19649
10407         * java/util/Date.java
10408         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
10409         constructor.
10410         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
10411         arguments.
10412         (getTimezoneOffset): Inverted sign.
10414 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
10416         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
10417         remove other passing tests and add new XFAILs.
10419 2005-01-24  Tom Tromey  <tromey@redhat.com>
10421         * java/lang/Class.h (next): Updated documentation.  Renamed to
10422         'next_or_version'.
10423         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
10424         _Jv_CheckABIVersion.
10425         (_Jv_RegisterClasses_Counted): Likewise.
10426         (_Jv_RegisterClassHookDefault): Fix starting condition of
10427         duplicate-checking loop.
10428         * include/jvm.h (GCJ_VERSION): New define.
10429         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
10430         (_Jv_CheckABIVersion): New function.
10432 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
10434         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
10435         (libgij_la_LDFLAGS): Add.
10436         * Makefile.in: Rebuilt.
10438 2005-01-24  Roger Sayle  <roger@eyesopen.com>
10440         PR java/19295
10441         * testsuite/libjava.compile/PR19295.java: New test case.
10443 2005-01-19  Tom Tromey  <tromey@redhat.com>
10445         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
10446         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
10447         if 'handler' is valid.
10449 2005-01-17  Tom Tromey  <tromey@redhat.com>
10451         * java/text/MessageFormat.java (scanString): Changed how quoting
10452         is handled.
10453         (scanFormatElement): Likewise.
10455 2004-12-07  Mark Wielaard  <mark@klomp.org>
10457         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
10459 2005-01-15  Michael Koch  <konqueror@gmx.de>
10461         PR libgcj/19444
10462         * java/net/URI.java
10463         (AUTHORITY_REGEXP): New regexp constant.
10464         (AUTHORITY_USERINFO_GROUP): New constant.
10465         (AUTHORITY_HOST_GROUP): Likewise.
10466         (AUTHORITY_PORT_GROUP): Likewise.
10467         (port): Changed default value to -1.
10468         (parseURI): Parse authority part and initialize host,
10469         port and userInfo.
10471 2005-01-14  Robin Green  <greenrd@greenrd.org>
10473         * java/io/File.java (toURI): Generate a URI which we understand.
10475 2005-01-13  Graydon Hoare  <graydon@redhat.com>
10477         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
10478         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
10479         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
10480         * jni.cc: Reuse bottom frame between calls, avoid clearing
10481         frame when no local references are made.
10483 2005-01-13  Michael Koch  <konqueror@gmx.de>
10485         PR libgcj/17784
10486         * java/lang/Thread.java
10487         (Thread): Call checkAccess().
10488         (stop): Fixed argument name to match javadoc.
10489         * java/lang/natThread.cc
10490         (interrupt): Call checkAccess().
10491         (stop): Likewise.
10493 2005-01-11  Michael Koch  <konqueror@gmx.de>
10495         PR libgcj/13972
10496         * java/net/URL.java (URL): Handle specs like
10497         "/redir?http://domain2.com/index.html" which start with a slash.
10499 2005-01-11  Michael Koch  <konqueror@gmx.de>
10501         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
10502         * gnu/java/net/BASE64.java,
10503         gnu/java/net/EmptyX509TrustManager.java,
10504         gnu/java/net/LineInputStream.java,
10505         gnu/java/net/protocol/http/Authenticator.java,
10506         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
10507         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
10508         gnu/java/net/protocol/http/ChunkedInputStream.java,
10509         gnu/java/net/protocol/http/Cookie.java,
10510         gnu/java/net/protocol/http/CookieManager.java,
10511         gnu/java/net/protocol/http/Credentials.java,
10512         gnu/java/net/protocol/http/HTTPConnection.java,
10513         gnu/java/net/protocol/http/HTTPDateFormat.java,
10514         gnu/java/net/protocol/http/HTTPURLConnection.java,
10515         gnu/java/net/protocol/http/Headers.java,
10516         gnu/java/net/protocol/http/Request.java,
10517         gnu/java/net/protocol/http/RequestBodyWriter.java,
10518         gnu/java/net/protocol/http/Response.java,
10519         gnu/java/net/protocol/http/ResponseBodyReader.java,
10520         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
10521         gnu/java/net/protocol/http/SimpleCookieManager.java,
10522         gnu/java/net/protocol/http/event/ConnectionEvent.java,
10523         gnu/java/net/protocol/http/event/ConnectionListener.java,
10524         gnu/java/net/protocol/http/event/RequestEvent.java,
10525         gnu/java/net/protocol/http/event/RequestListener.java: New files.
10526         * gnu/java/net/protocol/http/Connection.java: Removed.
10527         * gnu/java/net/protocol/http/Handler.java,
10528         javax/net/ssl/HttpsURLConnection.java: Updated.
10529         * Makefile.am: Added new files and remove old ones.
10530         * Makefile.in: Regenerated.
10532 2005-01-11  Tom Tromey  <tromey@redhat.com>
10534         PR libgcj/18840:
10535         * java/io/BufferedInputStream.java (read): Repeatedly read to
10536         fill buffer.
10537         (refill): Change test to see if buffer must be grown.
10539 2005-01-10  Tom Tromey  <tromey@redhat.com>
10541         * mauve-libgcj: Exclude some swing tests.
10543 2005-01-10  Tom Tromey  <tromey@redhat.com>
10545         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
10546         * java/lang/Package.java (getPackages): Use VMClassLoader when
10547         appropriate.
10548         (getPackage): Likewise.
10549         * prims.cc (_Jv_CreateJavaVM): Call
10550         _Jv_RegisterBootstrapPackages.
10551         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
10552         * java/lang/VMClassLoader.java (getPackage): Rewrote.
10553         (getPackages): Likewise.
10554         (definedPackages): New field.
10555         (definePackageForNative): New method.
10556         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
10557         * java/lang/natVMClassLoader.cc (loadClass): Updated.
10558         * defineclass.cc (handleClassBegin): Use
10559         ClassLoader.findLoadedClass.
10560         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
10561         Rewrote.
10562         (struct _Jv_LoaderInfo): Removed.
10563         (initiated_classes): Likewise.
10564         (_Jv_UnregisterClass): Don't use initiated_classes.
10565         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
10566         (_Jv_FindClass): Register classes found during boostrap.
10567         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
10568         (bootstrap_class_list): New global.
10569         (bootstrap_index): Likewise.
10570         (_Jv_RegisterBootstrapPackages): New function.
10571         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
10572         definePackageForNative.
10573         (findClass): Updated.
10574         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
10575         New method.
10577 2005-01-10  Tom Tromey  <tromey@redhat.com>
10579         PR libgcj/18868:
10580         * include/jvm.h (_Jv_Linker::find_field): Declare.
10581         (_Jv_Linker::find_field_helper): Likewise.
10582         * link.cc (find_field_helper): New method.
10583         (find_field): Likewise.
10584         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
10585         not found.
10586         (link_symbol_table): Use find_field.
10588 2005-01-10  Michael Koch  <konqueror@gmx.de>
10590         PR libgcj/18014
10591         * java/util/Locale.java (Locale): Don't uppercase variant.
10592         (getISOCountries): Fixed typo in javadoc.
10594 2005-01-10  Michael Koch  <konqueror@gmx.de>
10596         * java/util/SimpleTimeZone.java (checkRule):
10597         Throw IllegalArgumentException on invalid month values.
10598         * java/util/TimeZone.java (setID):
10599         Throw NullPointerException if needed.
10601 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10603         * java/util/SimpleTimeZone.java (getOffset):
10604         offset end date with daylight savings
10606 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
10608         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
10609         * testsuite/libjava.compile/PR19277.xfail: Likewise.
10611 2005-01-09  Michael Koch  <konqueror@gmx.de>
10613         PR libgcj/17069
10614         * java/net/InetAddress.java (getLocalHost):
10615         Throw UnknownHostException if local hostname cannot be determined.
10617 2005-01-06  Tom Tromey  <tromey@redhat.com>
10619         * java/lang/ClassLoader.java (findClass): Fixed documentation.
10621 2005-01-07  Michael Koch  <konqueror@gmx.de>
10623         PR libgcj/18115
10624         * java/nio/Buffer.java (address): New field.
10625         * java/nio/DirectByteBufferImpl.java (address): Removed.
10626         * java/nio/MappedByteBufferImpl.java (address): Likewise.
10627         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
10628         Explicitly initialize Buffer.address if needed.
10629         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
10630         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
10631         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
10632         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
10633         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
10634         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
10635         DirectByteBufferImpl object.
10636         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10637         * testsuite/libjava.jni/directbuffer.c,
10638         testsuite/libjava.jni/directbuffer.java,
10639         testsuite/libjava.jni/directbuffer.out,
10640         testsuite/libjava.jni/bytebuffer.c,
10641         testsuite/libjava.jni/bytebuffer.java,
10642         testsuite/libjava.jni/bytebuffer.out: New files.
10644 2005-01-05  Tom Tromey  <tromey@redhat.com>
10646         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
10647         argument.
10648         (compressedSize): Now 'long'.  Default to -1.
10649         (getCompressedSize): Rewrote.
10650         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
10651         deflate at all if we need input.
10653 2005-01-05  Tom Tromey  <tromey@redhat.com>
10655         PR libgcj/15719:
10656         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
10657         correctly.
10659 2005-01-05  Tom Tromey  <tromey@redhat.com>
10661         * java/lang/natRuntime.cc (insertSystemProperties): Set
10662         java.ext.dirs earlier.
10664 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
10666         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
10667         sync_info element of the object if needed.
10669 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
10671         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
10672         a non-zero exit status from 'false'.
10674 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
10676         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.