OSDN Git Service

bf0a93aa2f88caa492a3562628b384c66f357f7d
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-04-26  Sven de Marothy  <sven@physto.se>
2
3         * java/net/InetAddress.java
4         (toString): Don't print empty hostnames.
5
6 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
7
8         PR libgcj/21136:
9         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
10         'false' to native lock().
11         (lock): Pass 'true' to native lock().
12
13 2005-04-26  Michael Koch  <konqueror@gmx.de>
14
15         * java/net/InetAddress.java:
16         Fixed typos in javadocs.
17
18 2005-04-26  Andrew Haley  <aph@redhat.com>
19
20         PR libgcj/21020:
21         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
22         field's type.
23
24 2005-04-26  Tom Tromey  <tromey@redhat.com>
25
26         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
27         gnu): Now package-private.
28         * javax/swing/text/html/parser/DocumentParser.java (parser,
29         callBack, gnu): Now package-private.
30         * javax/swing/text/StringContent.java (content, setOffset,
31         checkLocation): Now package-private.
32         * javax/swing/text/JTextComponent.java (doc): Now
33         package-private.
34         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
35         lastGoodOrientation, origParent, borders, cachedBounds,
36         cachedOrientation, DragWindow): Now package-private.
37         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
38         decrButton, viewport, panel, currentScrollLocation, layoutManager,
39         tabAreaRect, contentRect, createIncreaseButton,
40         createDecreaseButton, findPointForIndex): Now package-private.
41         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
42         (currentDividerLocation, moveDividerTo): Now package-private.
43         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
44         package-private.
45         * javax/swing/plaf/basic/BasicScrollBarUI.java
46         (calculatePreferredSize, valueForYPosition, valueForXPosition):
47         Now package-private.
48         * javax/swing/plaf/basic/BasicPopupMenuUI.java
49         (topWindowListener): Now package-private.
50         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
51         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
52         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
53         package-private.
54         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
55         package-private.
56         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
57         Now package-private.
58         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
59         package-private.
60         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
61         borderInsets): Now package-private.
62         (arrowButtonWidth): Likewise.  Now a constant.
63         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
64         makeTabs, updatePreviewPanel): Now package-private.
65         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
66         darkShadow, highlight): Now package-private.
67         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
68         (addColorToQueue): Now package-private.
69         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
70         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
71         GSpinner, BSpinner): Now package-private.
72         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
73         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
74         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
75         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
76         updateTrack): Now package-private.
77         * javax/swing/TransferHandler.java (clipboard): Now
78         package-private.
79         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
80         package-private.
81         * javax/swing/Timer.java (drainEvents, queueEvent): Now
82         package-private.
83         * javax/swing/RepaintManager.java (globalManager): Now
84         package-private.
85         * javax/swing/JFormattedTextField.java (editValid): Now
86         package-private.
87         * javax/swing/JColorChooser.java (makeModal): Now
88         package-private.
89         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
90         index, path): Now package-private.
91         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
92         lineQuadIntersect, lineCubicIntersect, linesIntersect,
93         pointEquals): Now package-private.
94         * java/awt/geom/Arc2D.java (type): Now package-private.
95         * java/awt/Window.java (windowFocusOwner): Now package-private.
96         * java/awt/TextComponent.java (editable, selectionStart,
97         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
98         package-private.
99         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
100         package-private.
101         * java/awt/MenuComponent.java (focusListener): Now
102         package-private.
103         * java/awt/Frame.java (state): Now package-private.
104         * java/awt/Choice.java (pItems): Now package-private.
105         * java/awt/Checkbox.java (state): Now package-private.
106         * java/awt/Button.java (actionCommand, label): Now
107         package-private.
108         * gnu/javax/swing/text/html/parser/support/Parser.java
109         (attributes, _handleEndTag_remaining, _handleStartTag): Now
110         package-private.
111         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
112         package-private.
113         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
114         clip, transform, font, comp): Now package-private.
115
116 2005-04-26  Tom Tromey  <tromey@redhat.com>
117
118         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
119         static way.
120
121 2005-04-26  Mark Wielaard  <mark@klomp.org>
122
123         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
124         to MalformedURLException.
125
126 2005-04-26  Michael Koch  <konqueror@gmx.de>
127
128         * java/security/AccessControlContext.java:
129         Reformated.
130         (protectedDomains): Renamed from 'protectionDomain'.
131         * java/security/AccessController.java:
132         Reformatted.
133
134 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
135
136         * gnu/java/security/action/GetSecurityPropertyAction.java
137         (GetSecurityPropertyAction): Implement PrivilegedAction instead
138         of extending GetPropertyAction.
139         (name): New field.
140         (value): Likewise.
141         (setParamters): New methods.
142         (GetSecurityPropertyAction): Use new setParameters methods.
143
144 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
145
146         * java/security/Security.java,
147         java/security/cert/X509CRLSelector.java,
148         java/security/cert/X509CertSelector.java:
149         Modified to use SystemProperties.
150
151 2005-04-26  Michael Koch  <konqueror@gmx.de>
152
153         * java/lang/System.java
154         (setSecurityManager): Fixed comment.
155         (getSecurityManager): Removed obsolete comment.
156
157 2005-04-25  Tom Tromey  <tromey@redhat.com>
158
159         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
160
161 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
162
163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
164         (connectSignals): Realize the window widget after connecting
165         signals.
166
167 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
168
169         * java/awt/GraphicsEnvironment.java
170         (localGraphicsEnvironment): New field.
171         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
172         property.
173         (isHeadless): Added support for java.awt.headless property.
174         (isHeadlessInstance): Call headless().
175
176 2005-04-25  Roman Kennke  <roman@kennke.org>
177
178         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
179         (getDisplayMode): Added. Returns the current display mode.
180         (isFullScreenSupported): Added.
181         * java/awt/GraphicsDevice.java
182         (setFullScreenWindow): Implemented a primitive fullscreen mode.
183         This resizes and relocates the fullscreen window so that it uses
184         the whole screen. This is not a fully accelerated fullscreen
185         exclusive mode.
186
187 2005-04-25  Michael Koch  <konqueror@gmx.de>
188
189         * java/lang/Runtime.java,
190         java/lang/SecurityManager.java,
191         java/lang/System.java,
192         java/lang/ThreadGroup.java:
193         Replaced java.lang.Runtime.securityManager by
194         java.lang.SecurityManager.current (as used in GNU classpath).
195
196 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
197
198         * java/awt/Transparency.java
199         (getTransparency): fixed API docs.
200
201 2005-04-25  Archie Cobbs  <archie@dellroad.org>
202
203         * java/lang/Throwable.java: simplify initializing cause in constructor
204
205 2005-04-25  Michael Koch  <konqueror@gmx.de>
206
207         * gnu/classpath/SystemProperties.java: New file.
208         * gnu/classpath/natSystemProperties.cc: New file.
209         * java/lang/Runtime.java
210         (defaultProperties): Removed.
211         (static): Likewise.
212         (): Made thrown exceptions more verbose.
213         (insertSystemProperties): Removed.
214         * java/lang/System.java
215         (static): Likewise.
216         (properties): Likewise.
217         (setSecurityManager): Reordered modifiers.
218         (getenv): Improved javadoc.
219         (): Likewise.
220         (isWordsBigEndian): Removed.
221         * java/lang/natRuntime.cc
222         (_Jv_SetDLLSearchPath): Likewise.
223         (file_encoding): Likewise.
224         (default_file_encoding): Likewise.
225         (getpwuid_adaptor): Likewise.
226         (insertSystemProperties): Likewise.
227         * java/lang/natSystem.cc
228         (isWordsBigEndian): Likewise.
229         * Makefile.am
230         (ordinary_java_source_files):
231         Added gnu/classpath/SystemProperties.java.
232         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
233         * Makefile.in: Regenerated.
234
235 2005-04-25  Roman Kennke  <roman@kennke.org>
236
237         * javax/swing/plaf/basic/BasicScrollBarUI.java
238         (initDefaults): Initialize thumb*Color fields correctly.
239
240 2005-04-25  Roman Kennke  <roman@kennke.org>
241
242         * javax/swing/text/GapContent.java:
243         Added API comments.
244
245 2005-04-25  Roman Kennke  <roman@kennke.org>
246
247         * javax/swing/plaf/metal/MetalBorders.java:
248         Added inner class ScrollPaneBorder.
249         * javax/swing/plaf/metal/MetalLookAndFeel.java
250         (initComponentDefaults): Added default for "ScrollPane.border"
251         to use the new ScrollPaneBorder.
252
253 2005-04-25  Roman Kennke  <roman@kennke.org>
254
255         * javax/swing/text/AbstractDocument.java:
256         Added FIXME comments. This class still has to be
257         implemented thread-safe.
258
259 2005-04-25  Roman Kennke  <roman@kennke.org>
260
261         * javax/swing/tree/DefaultTreeSelectionModel.java
262         (DefaultTreeSelectionModel): Initialize listenerList here.
263
264 2005-04-25  Roman Kennke  <roman@kennke.org>
265
266         * javax/swing/plaf/metal/MetalTextFieldUI.java
267         (createUI): Return one instance per Component instead of a
268         shared instance.
269
270 2005-04-25  Roman Kennke  <roman@kennke.org>
271
272         * javax/swing/text/Document.java:
273         Added API documentation comments.
274
275 2005-04-25  Roman Kennke  <roman@kennke.org>
276
277         * javax/swing/text/AbstractDocument.java
278         (getDocumentProperties): Implemented.
279         (setDocumentProperties): Implemented.
280         (getProperty): Implemented.
281         (putProperty): Implemented.
282
283 2005-04-25  Roman Kennke  <roman@kennke.org>
284
285         * javax/swing/BoxLayout
286         (preferredLayoutSize): Fixed computation so that it correctly
287         adds the top and bottom insets of the container.
288
289 2005-04-25  Roman Kennke  <roman@kennke.org>
290
291         * javax/swing/plaf/basic/BasicMenuItemUI.java
292         (paintText): Make use of the 'selectionForeground' UI default
293         for text painting.
294
295 2005-04-25  Roman Kennke  <roman@kennke.org>
296
297         * javax/swing/plaf/basic/BasicLookAndFeel.java
298         (initSystemColorDefaults): Modified colors to match the
299         BasicLookAndFeel in the reference implementation.
300         (initComponentDefaults): Likewise.
301
302 2005-04-25  Tom Tromey  <tromey@redhat.com>
303
304         * include/jni.h (_Jv_va_list): Removed.
305         Moved configuration code...
306         * include/jni_md.h: ... here.  New file.
307         * include/Makefile.in: Rebuilt.
308         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
309
310 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
311
312         * java/io/FileInputStream.java (FileInputStream(File)),
313         java/io/FileOutputStream.java (FileOutputStream(File)):
314         Removed unnecessary File.isDirectory() check.
315
316 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
317
318         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
319         gij if get_multilibs fails.
320
321 2005-04-22  Anthony Green  <green@redhat.com>
322
323         * jni.cc (natrehash): Don't bother clearing memory again.
324         * interpret.cc (do_allocate_static_fields): Ditto.
325         * java/lang/natString.cc (rehash): Ditto.
326
327 2005-04-22  Roman Kennke  <roman@kennke.org>
328
329         * javax/swing/plaf/basic/BasicLookAndFeel.java
330         (initComponentDefaults): Changed Button.border to be
331         BasicBorders.getButtonBorder as it should be.
332
333 2005-04-22  Roman Kennke  <roman@kennke.org>
334
335         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
336         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
337         should according to a mauve testcase, instead of the preferred
338         size.
339
340 2005-04-22  Roman Kennke  <roman@kennke.org>
341
342         * javax/swing/JMenu.java
343         (add): add(Component) now calls PopupMenu.insert(..) instead of
344         PopupMenu.add(..). add(..) is not implemented for Component,
345         so JComponent.add(..) is called instead, adding the component
346         in the wrong place.
347
348 2005-04-22  Roman Kennke  <roman@kennke.org>
349
350         * javax/swing/plaf/basic/BasicButtonListener.java
351         (mousePressed): replaced query to getModifiersEx with getModifiers.
352         This method relied on faulty behaviour in getModifierEx.
353         (mouseReleased): replaced query to getModifiersEx with getModifiers.
354         This method relied on faulty behaviour in getModifierEx.
355
356 2005-04-22  Roman Kennke  <roman@kennke.org>
357
358         * javax/swing/plaf/metal/MetalLookAndFeel.java
359         (getDefaults): Call addCustomEntriesToTable on the theme.
360
361 2005-04-22  Roman Kennke  <roman@kennke.org>
362
363         * javax/swing/tree/DefaultTreeSelectionModel.java
364         (constructor): Added implementation.
365         (getRowMapper): Added implementation.
366         (setSelectionMode): Added implementation.
367         (getSelectionMode): Added implementation.
368         (getSelectionPath): Added implementation.
369         (getSelectionPaths): Added implementation.
370         (getSelectionCount): Added implementation.
371         (isSelectionEmpty): Added implementation.
372         (getSelectionRows): Added implementation.
373         (getMinSelectionRow): Added implementation.
374         (getMaxSelectionRow): Added implementation.
375         (getLeadSelectionRow): Added implementation.
376         (getLeadSelectionPath): Added implementation.
377
378 2005-04-22  Casey Marshall <csm@gnu.org>
379
380         * gnu/java/security/der/DERValue.java
381         (getValueAs): new method.
382         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
383         (<init>): read both dates with 'DERValue.getValueAs', with
384         'GENERALIZED_TIME' as the argument.
385
386 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
387
388         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
389         be null, check for that case and don't deference it.
390
391 2005-04-22  Sven de Marothy  <sven@physto.se>
392
393         * java/util/logging/LogManager.java: Reformatted.
394         (readConfiguration): If a logger for a key is not found, create one.
395
396 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
397
398         * java/rmi/Naming.java:
399         Added class documentation.
400         (lookup(String)): Call parseURL and getName.
401         (bind(String,java.rmi.Remote)): Likewise.
402         (unbind(String)): Likewise.
403         (rebind(String, java.rmi.Remote)): Likewise.
404         (list(String)): Call parseURL.
405         (parseURL(String)): New method to handle parsing and defaults.
406         (getName(java.net.URL)): New method to handle finding the service name.
407
408 2005-04-21  Tom Tromey  <tromey@redhat.com>
409
410         * java/lang/natClass.cc (initializeClass): Link class.
411
412 2005-04-21  Tom Tromey  <tromey@redhat.com>
413
414         * java/lang/AssertionError.java: Typo fix.
415
416 2005-04-21  Tom Tromey  <tromey@redhat.com>
417
418         * java/lang/VMClassLoader.java (transformException): Removed.
419         (resolveClass): No longer native.  Now does nothing.
420         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
421
422 2005-04-21  Anthony Green  <green@redhat.com>
423
424         PR libgcj/21115
425         * testsuite/libjava.special/special.exp,
426         testsuite/libjava.special/pr21115I.java,
427         testsuite/libjava.special/pr21115.java,
428         testsuite/libjava.special/pr21115.out: New files.
429
430 2005-04-21  Chris Burdess  <dog@gnu.org>
431
432         * gnu/java/net/CRLFInputStream.java: Rewrite to return
433         CRLF-delimited chunks.
434
435 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
436
437         * java/net/URI.java:
438         Added class documentation.
439         (parseURI(String)): Only handle scheme-specific parts
440         if URI is not opaque.  Allow for parts that can't be null.
441         (toString()): Output the scheme-specific part whole, rather
442         than as its possibly non-existent components.
443
444 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
445
446         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
447         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
448         Adjusted to match new regexp.
449
450 2005-04-20  Michael Koch  <konqueror@gmx.de>
451
452         * gnu/java/net/protocol/file/Connection.java,
453         gnu/java/net/protocol/jar/Connection.java:
454         Reorganized import statements. Fixed @author tags.
455
456 2005-04-20  Chris Burdess  <dog@gnu.org>
457
458         * java/io/DataOutputStream.java (writeUTF): Use block write for
459         output.
460
461 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
462
463         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
464         (readLine): Changed newline handling.
465
466 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
467
468         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
469         ColorModel,byte[],int,int): Fixed byte to int conversion.
470
471 2005-04-20  Michael Koch  <konqueror@gmx.de>
472
473         * java/io/FilePermission.java
474         (serialVersionUID): Made private.
475         (ALL_FILES): New constant.
476         (implies): Handle '<<ALL FILES>>' case.
477
478 2005-04-20  Sven de Marothy  <sven@physto.se>
479
480         * gnu/java/awt/peer/gtk/GdkGraphics.java:
481         (drawImage): Don't notify the image observer for offscreen images.
482         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
483         (setPixels): Don't notify the image observer.
484
485 2005-04-20  Sven de Marothy  <sven@physto.se>
486
487         * java/nio/ByteBufferImpl.java:
488         (putChar): Inlined for speed.
489         (put, get): Bulk methods can use arraycopy.
490         * java/nio/CharBufferImpl.java:
491         (put, get): Bulk methods can use arraycopy.
492
493 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
494
495         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
496         and field updates.
497         * java/nio/CharBufferImpl.java
498         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
499         (get(), put(char)): Inlined checks and field updates. Fixed to
500         take array_offset into account.
501         (get(int), put(int, char)): Fixed to take array_offset into account.
502
503 2005-04-20  Sven de Marothy  <sven@physto.se>
504
505         * java/text/SimpleDateFormat.java:
506         (formatWithAttribute): Pad year before truncating digits.
507
508 2005-04-20  Michael Koch  <konqueror@gmx.de>
509
510         * gnu/java/net/PlainDatagramSocketImpl.java:
511         Merged copyright header.
512         * gnu/java/net/PlainSocketImpl.java:
513         Reorganized import statements. Fixed @author tags.
514
515 2005-04-20  Michael Koch  <konqueror@gmx.de>
516
517         * gnu/java/lang/ClassHelper.java,
518         gnu/java/lang/reflect/TypeSignature.java:
519         Fixed @author tag.
520
521 2005-04-20  Michael Koch  <konqueror@gmx.de>
522
523         * gnu/java/beans/IntrospectionIncubator.java:
524         Fixed HTML tags in javadocs.
525
526 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
527
528         * gnu/java/beans/IntrospectionIncubator.java
529         (addToPropertyHash, addToListenerHash): Don't confuse get(),
530         set(), is(), add() and remove() with properties or events.
531
532 2005-04-20  Michael Koch  <konqueror@gmx.de>
533
534         * gnu/java/awt/image/XBMDecoder.java:
535         Fixed modifier order.
536
537 2005-04-20  Roman Kennke  <roman@kennke.org>
538
539         * javax/swing/plaf/basic/BasicButtonUI.java
540         (paint): This should not care about margin and insets
541         at the same time, as insets already include the margin
542         through the border.
543         * javax/swing/plaf/basic/BasicGraphicsUtils.java
544         (getPreferredButtonSize): Likewise.
545         * javax/swing/plaf/metal/MetalBorders.java
546         (getBorderInsets): Likewise.
547
548 2005-04-20  Roman Kennke  <roman@kennke.org>
549
550         * javax/swing/plaf/basic/BasicOptionPaneUI.java
551         (createMessageArea): The JPanel that holds the message area
552         doesn't need to override getPreferredSize. This prevents some
553         message components from rendering nicely.
554
555 2005-04-20  Roman Kennke  <roman@kennke.org>
556
557         * javax/swing/plaf/metal/MetalInternalFrameUI.java
558         (createUI): Do not share instances between components.
559         * javax/swing/plaf/metal/MetalSliderUI.java
560         (createUI): Do not share instances between components.
561
562 2005-04-20  Roman Kennke  <roman@kennke.org>
563
564         * javax/swing/plaf/metal/MetalBorders:
565         (PopupMenuBorder): Added.
566         * javax/swing/plaf/metal/MetalLookAndFeel
567         (initComponentDefaults): Added PopupMenuBorder.
568
569 2005-04-20  Roman Kennke  <roman@kennke.org>
570
571         * javax/swing/tree/DefaultTreeSelectionModel.java:
572         Added API documentation all over the class.
573
574 2005-04-20  Roman Kennke  <roman@kennke.org>
575
576         * javax/swing/plaf/basic/BasicScrollPaneUI.java
577         (installDefaults): Link managed JScrollPane in instance field.
578         (uninstallDefaults): Unlink managed JScrollPane in instance field.
579
580 2005-04-20  Roman Kennke  <roman@kennke.org>
581
582         * javax/swing/plaf/basic/BasicScrollBarUI.java
583         (PropertyChangeHandler.propertyChange): Add default
584         to switch statement to avoid errors with unusual values
585         for orientation.
586         (installComponents): Likewise.
587
588 2005-04-20  Roman Kennke  <roman@kennke.org>
589
590         * javax/swing/plaf/metal/MetalScrollBarUI.java:
591         (createUI): Instances cannot be shared among JScrollPanes.
592
593 2005-04-20  Roman Kennke  <roman@kennke.org>
594
595         * javax/swing/plaf/metal/MetalLookAndFeel.java
596         (initComponentDefaults): Added defaults for Menu, MenuBar
597         MenuEntry fonts.
598
599 2005-04-20  Roman Kennke  <roman@kennke.org>
600
601         * javax/swing/plaf/basic/BasicScrollBarUI.java
602         (installUI): Install listeners after everything all, otherwise
603         we get strange NPEs in some situations, especially with
604         custom L&Fs.
605         (createIncreaseButton): Orientation is expected to be
606         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
607         HORIZONTAL or VERTICAL.
608         (createDecreaseButton): Orientation is expected to be
609         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
610         HORIZONTAL or VERTICAL.
611         (installComponents): Orientation for buttons is expected to be
612         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
613         HORIZONTAL or VERTICAL.
614
615 2005-04-20  Roman Kennke  <roman@kennke.org>
616
617         * javax/swing/JToolBar.java
618         (addImpl): Adjust added AbstractButtons to look and feel like
619         toolbar buttons.
620         * javax/swing/plaf/metal/MetalBorders.java:
621         Adjusted insets of ButtonBorder.
622         (RolloverMarginBorder): Added class for toolbar buttons.
623         (getButtonBorder): Adjusted factory method to return a shared
624         instance of button border.
625         (getToolbarButtonBorder): Added factory method to return a shared
626         instance of toolbar button border.
627         (getMarginBorder): Added factory method to return a shared
628         instance of margin border.
629         * javax/swing/plaf/metal/MetalButtonUI.java
630         (installDefauls): If button is child of a JToolBar then set
631         special border on this button.
632
633 2005-04-20  Michael Koch  <konqueror@gmx.de>
634
635         * java/net/URLConnection.java
636         (getContent): Fixed javadoc comment.
637
638 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
639
640         * java/net/URL.java:
641         (toURI()): Implemented.
642
643 2005-04-19  Michael Koch  <konqueror@gmx.de>
644
645         * java/net/InetAddress.java
646         (InetAddress): Fixed javadoc comment.
647         (aton): Likewise.
648         (lookup): Added javadoc.
649         (getFamily): Likewise.
650         * java/net/ServerSocket.java
651         (getChannel): Improved javadoc comment.
652
653 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
654
655         * gnu/xml/dom/html2/DomHTMLParser.java:
656         Changed 'enum' references to become 'enumeration'.
657
658 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
659
660         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
661
662 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
663
664         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
665         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
666         * gnu/javax/swing/text/html/parser/htmlValidator.java:
667         (validateParameters(TagElement,htmlAttributeSet)):
668         Replaced 'enum' with 'enumeration'.
669         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
670         Likewise.
671
672 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
673
674         * javax/swing/text/html/parser/Entity.java (getType): New method.
675         * javax/swing/text/html/parser/DocumentParser.java:
676         Inherit from javax.swing.text.html.parser.Parser.
677
678 2005-04-19  Chris Burdess  <dog@gnu.org>
679
680         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
681         check for HTML/XHTML namespace.
682
683 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
684
685         * javax/swing/text/html/parser/Parser.java,
686         javax/swing/text/html/parser/Entity.java:
687         Inheriting from DTDConstants.
688         * javax/swing/text/html/parser/AttributeList.java
689         (getValues): Changed return type.
690         * javax/swing/text/html/parser/DocumentParser
691         (parse): Adding the callback parameter that receives
692         the parsing events.
693
694 2005-04-19  Chris Burdess  <dog@gnu.org>
695
696         * gnu/xml/dom/DomImpl.java,
697         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
698         gnu/xml/dom/html2/DomHTMLDocument.java,
699         gnu/xml/dom/html2/DomHTMLElement.java,
700         gnu/xml/dom/html2/DomHTMLFormElement.java,
701         gnu/xml/dom/html2/DomHTMLFrameElement.java,
702         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
703         gnu/xml/dom/html2/DomHTMLImpl.java,
704         gnu/xml/dom/html2/DomHTMLInputElement.java,
705         gnu/xml/dom/html2/DomHTMLObjectElement.java,
706         gnu/xml/dom/html2/DomHTMLOptionElement.java,
707         gnu/xml/dom/html2/DomHTMLSelectElement.java,
708         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
709         gnu/xml/dom/html2/DomHTMLTableElement.java,
710         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
711         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
712         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
713         UI events, and tree utility functions.
714
715 2005-04-19  Michael Koch  <konqueror@gmx.de>
716
717         * gnu/javax/swing/text/html/parser/HTML_401F.java,
718         gnu/javax/swing/text/html/parser/gnuDTD.java,
719         gnu/javax/swing/text/html/parser/models/node.java:
720         Reworked import statements.
721
722 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
723
724         * javax/swing/text/html/HTMLDocument.java: New file.
725
726 2005-04-19  Michael Koch  <konqueror@gmx.de>
727
728         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
729         Reformatted.
730         * javax/swing/text/html/parser/AttributeList.java:
731         Fixed order of modifiers.
732         (AttributeList): Made final.
733         * javax/swing/text/html/parser/ContentModel.java:
734         Fixed html characters in javadocs.
735         * javax/swing/text/html/parser/DTD.java
736         (DTD): Don't implement java.io.Serializable directly.
737         (getElement): Simplified.
738         * javax/swing/text/html/parser/DTDConstants.java:
739         Reformatted file.
740         * javax/swing/text/html/parser/Element.java:
741         Fixed order of modifiers.
742         * javax/swing/text/html/parser/Parser.java:
743         Reformatted. Don't use fully-qualified class names.
744         * javax/swing/text/html/parser/ParserDelegator.java:
745         Fixed order of modifiers.
746         * javax/swing/text/rtf/RTFParser.java:
747         Re-ordered import statements.
748         * javax/swing/text/rtf/RTFScanner.java:
749         Removed unused import statement.
750
751 2005-04-19  Chris Burdess  <dog@gnu.org>
752
753         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
754         gnu/xml/dom/html2/DomHTMLCollection.java,
755         gnu/xml/dom/html2/DomHTMLDocument.java,
756         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
757         types.
758         * gnu/xml/dom/html2/DomHTMLDListElement.java,
759         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
760         gnu/xml/dom/html2/DomHTMLDivElement.java,
761         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
762         gnu/xml/dom/html2/DomHTMLFontElement.java,
763         gnu/xml/dom/html2/DomHTMLFormElement.java,
764         gnu/xml/dom/html2/DomHTMLFrameElement.java,
765         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
766         gnu/xml/dom/html2/DomHTMLHRElement.java,
767         gnu/xml/dom/html2/DomHTMLHeadElement.java,
768         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
769         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
770         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
771         gnu/xml/dom/html2/DomHTMLImageElement.java,
772         gnu/xml/dom/html2/DomHTMLInputElement.java,
773         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
774         gnu/xml/dom/html2/DomHTMLLIElement.java,
775         gnu/xml/dom/html2/DomHTMLLabelElement.java,
776         gnu/xml/dom/html2/DomHTMLLegendElement.java,
777         gnu/xml/dom/html2/DomHTMLLinkElement.java,
778         gnu/xml/dom/html2/DomHTMLMapElement.java,
779         gnu/xml/dom/html2/DomHTMLMenuElement.java,
780         gnu/xml/dom/html2/DomHTMLMetaElement.java,
781         gnu/xml/dom/html2/DomHTMLModElement.java,
782         gnu/xml/dom/html2/DomHTMLOListElement.java,
783         gnu/xml/dom/html2/DomHTMLObjectElement.java,
784         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
785         gnu/xml/dom/html2/DomHTMLOptionElement.java,
786         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
787         gnu/xml/dom/html2/DomHTMLParamElement.java,
788         gnu/xml/dom/html2/DomHTMLPreElement.java,
789         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
790         gnu/xml/dom/html2/DomHTMLScriptElement.java,
791         gnu/xml/dom/html2/DomHTMLSelectElement.java,
792         gnu/xml/dom/html2/DomHTMLStyleElement.java,
793         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
794         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
795         gnu/xml/dom/html2/DomHTMLTableColElement.java,
796         gnu/xml/dom/html2/DomHTMLTableElement.java,
797         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
798         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
799         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
800         gnu/xml/dom/html2/DomHTMLTitleElement.java,
801         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
802
803 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
804
805         * javax/swing/text/ChangedCharSetException.java,
806         javax/swing/text/html/HTMLEditorKit.java,
807         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
808         javax/swing/text/html/parser/AttributeList.java,
809         javax/swing/text/html/parser/ContentModel.java,
810         javax/swing/text/html/parser/DocumentParser.java,
811         javax/swing/text/html/parser/DTD.java,
812         javax/swing/text/html/parser/DTDConstants.java,
813         javax/swing/text/html/parser/Element.java,
814         javax/swing/text/html/parser/Entity.java,
815         javax/swing/text/html/parser/Parser.java,
816         javax/swing/text/html/parser/TagElement.java,
817         gnu/javax/swing/text/html/package.html,
818         gnu/javax/swing/text/html/parser/gnuDTD.java,
819         gnu/javax/swing/text/html/parser/HTML_401F.java,
820         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
821         gnu/javax/swing/text/html/parser/htmlValidator.java,
822         gnu/javax/swing/text/html/parser/package.html,
823         gnu/javax/swing/text/html/parser/models/list.java,
824         gnu/javax/swing/text/html/parser/models/node.java,
825         gnu/javax/swing/text/html/parser/models/noTagModel.java,
826         gnu/javax/swing/text/html/parser/models/package.html,
827         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
828         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
829         gnu/javax/swing/text/html/parser/models/transformer.java,
830         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
831         gnu/javax/swing/text/html/parser/support/package.html,
832         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
833         gnu/javax/swing/text/html/parser/support/Parser.java,
834         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
835         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
836         gnu/javax/swing/text/html/parser/support/low/Constants.java,
837         gnu/javax/swing/text/html/parser/support/low/Location.java,
838         gnu/javax/swing/text/html/parser/support/low/node.java,
839         gnu/javax/swing/text/html/parser/support/low/package.html,
840         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
841         gnu/javax/swing/text/html/parser/support/low/pattern.java,
842         gnu/javax/swing/text/html/parser/support/low/Queue.java,
843         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
844         New files.
845         * javax/swing/text/html/HTML.java,
846         javax/swing/text/html/parser/ParserDelegator.java:
847         New files (replacing).
848         * javax/swing/text/html/package.html,
849         javax/swing/text/html/parser/package.html: Documenting the
850         packages.
851
852 2005-04-19  Chris Burdess  <dog@gnu.org>
853
854         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
855         gnu/xml/dom/html2/DomHTMLAppletElement.java,
856         gnu/xml/dom/html2/DomHTMLAreaElement.java,
857         gnu/xml/dom/html2/DomHTMLBaseElement.java,
858         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
859         gnu/xml/dom/html2/DomHTMLBodyElement.java,
860         gnu/xml/dom/html2/DomHTMLBRElement.java,
861         gnu/xml/dom/html2/DomHTMLButtonElement.java,
862         gnu/xml/dom/html2/DomHTMLCollection.java,
863         gnu/xml/dom/html2/DomHTMLDocument.java,
864         gnu/xml/dom/html2/DomHTMLElement.java: New files.
865
866 2005-04-19  Michael Koch  <konqueror@gmx.de>
867
868         * Makefile.am: Added new files.
869         * Makefile.in: Regenerated.
870
871 2005-04-19  Roman Kennke  <roman@kennke.org>
872
873         * javax/swing/text/JTextComponent.java
874         (JTextComponent): Added repaintListener which issues repaint
875         requests when the underlying document changes.
876         (setDocument): Adds repaintListener to document when the
877         document is changed.
878         * javax/swing/text/DefaultEditorKit.java:
879         Removed repaint calls on JTextComponent. This is now handled
880         through a DocumentListener in JTextComponent that repaints
881         the component when needed.
882
883 2005-04-19  Roman Kennke  <roman@kennke.org>
884
885         PR libgcj/21064
886         * javax/swing/text/StyleContext.java
887         (NamedStyle.setResolveParent): Added null
888         pointer check.
889
890 2005-04-19  Michael Koch  <konqueror@gmx.de>
891
892         * java/rmi/server/RemoteObject.java:
893         Removed unused import statement.
894
895 2005-04-19  Michael Koch  <konqueror@gmx.de>
896
897         * java/net/URL.java: Formatting cleanups.
898
899 2005-04-19  Michael Koch  <konqueror@gmx.de>
900
901         * java/awt/FontMetrics.java: Reformatted.
902         (getFontRenderContext): Handle case when java.awt.Graphics context is
903         given.
904
905 2005-04-19  Michael Koch  <konqueror@gmx.de>
906
907         * java/awt/FontMetrics.java
908         (getStringBounds): New methods.
909
910
911 2005-04-19  Michael Koch  <konqueror@gmx.de>
912
913         * gnu/java/security/x509/X509Certificate.java
914         (parse): Handle val == null case.
915
916 2005-04-19  Roman Kennke  <roman@kennke.org>
917
918         * javax/swing/plaf/metal/MetalLookAndFeel.java
919         (initComponentDefaults): Added defaults for Menu, MenuBar
920         MenuEntry fonts.
921
922 2005-04-19  Roman Kennke  <roman@kennke.org>
923
924         * javax/swing/plaf/metal/MetalLookAndFeel.java
925         (initComponentDefaults): Added Label.font.
926         (initSystemColorDefaults): Added this method and adjusted the
927         general control color.
928
929 2005-04-19  Roman Kennke  <roman@kennke.org>
930
931         * javax/swing/plaf/metal/MetalBorders.java:
932         Added.
933         * javax/swing/plaf/metal/MetalButtonUI.java:
934         (installDefaults): Install button font.
935         * javax/swing/plaf/metal/MetalLookAndFeel.java:
936         (initComponentDefaults): Added button border, font and margin.
937         Changed components background color to the Metal current themes
938         standard color.
939
940 2005-04-19  Roman Kennke  <roman@kennke.org>
941
942         * javax/swing/plaf/metal/MetalLookAndFeel.java
943         (initComponentDefaults): Added to set Metal specific component
944         defaults.
945
946 2005-04-19  Mark Wielaard  <mark@klomp.org>
947
948         * javax/swing/plaf/metal/MetalLookAndFeel.java
949         (initClassDefaults): Call super.initClassDefaults().
950
951 2005-04-19  Roman Kennke  <roman@kennke.org>
952
953         * javax/swing/plaf/metal/MetalLookAndFeel.java
954         (initClassDefaults): Added to include the *UI classes.
955
956 2005-04-19  Roman Kennke  <roman@kennke.org>
957
958         * javax/swing/plaf/metal/MetalComboBoxUI.java:
959         Added.
960         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
961         Added.
962         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
963         Added.
964         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
965         Added.
966         * javax/swing/plaf/metal/MetalProgressBarUI.java:
967         Added.
968         * javax/swing/plaf/metal/MetalRootPaneUI.java:
969         Added.
970         * javax/swing/plaf/metal/MetalScrollBarUI.java:
971         Added.
972         * javax/swing/plaf/metal/MetalSeparatorUI.java:
973         Added.
974         * javax/swing/plaf/metal/MetalSliderUI.java:
975         Added.
976         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
977         Added.
978         * javax/swing/plaf/metal/MetalTextFieldUI.java:
979         Added.
980         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
981
982 2005-04-19  Roman Kennke  <roman@kennke.org>
983
984         * javax/swing/plaf/metal/MetalButtonUI.java:
985         Added skeleton class.
986         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
987         Added skeleton class.
988         * javax/swing/plaf/metal/MetalLabelUI.java:
989         Added skeleton class.
990         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
991         Added skeleton class.
992         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
993         Added skeleton class.
994         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
995         Added skeleton class.
996
997 2005-04-19  Roman Kennke  <roman@kennke.org>
998
999         * javax/swing/UIDefaults.java:
1000         Added API documentation for all methods.
1001
1002 2005-04-19  Roman Kennke  <roman@kennke.org>
1003
1004         * javax/swing/UIDefaults.java
1005         (put): Now uses new checkAndPut method instead of checking
1006         directly.
1007         (putDefaults): Fixed so that it accepts null-values and
1008         treats them like remove(key).
1009         (checkAndPut): Added. This checks for null-values and calls
1010         put or remove.
1011
1012 2005-04-19  Michael Koch  <konqueror@gmx.de>
1013
1014         * Makefile.am: Added new files.
1015         * Makefile.in: Regenerated.
1016
1017 2005-04-19  Mark Wielaard  <mark@klomp.org>
1018
1019         * java/lang/natRuntime.cc (insertSystemProperties): Set
1020         java.class.path to CLASSPATH only when not empty. Fall back to
1021         default path "." when java.class.path is empty.
1022
1023 2005-04-19  Michael Koch  <konqueror@gmx.de>
1024
1025         * javax/swing/text/rtf/ControlWordToken.java,
1026         javax/swing/text/rtf/RTFEditorKit.java,
1027         javax/swing/text/rtf/RTFParseException.java,
1028         javax/swing/text/rtf/RTFParser.java,
1029         javax/swing/text/rtf/RTFScanner.java,
1030         javax/swing/text/rtf/TextToken.java,
1031         javax/swing/text/rtf/Token.java: New files.
1032         * Makefile.am: Added new files.
1033         * Makefile.in: Regenerated.
1034
1035 2005-04-19  Michael Koch  <konqueror@gmx.de>
1036
1037         * java/awt/geom/QuadCurve2D.java:
1038         Fixed Brian Gough's name for real.
1039
1040 2005-04-19  Roman Kennke  <roman@kennke.org>
1041
1042         * javax/swing/UIManager.java:
1043         Make the UIManager respect the swing.defaultlaf system
1044         property.
1045
1046 2005-04-19  Tom Tromey  <tromey@redhat.com>
1047
1048         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1049         not _Jv_InitClass.
1050
1051 2005-04-19  Roman Kennke  <roman@kennke.org>
1052
1053         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1054         Fixed tabs to spaces.
1055
1056 2005-04-19  Roman Kennke  <roman@kennke.org>
1057
1058         * javax/swing/plaf/basic/BasicMenuUI.java
1059         (getMaximumSize): Now returns preferredSize because JMenu should
1060         never be bigger than that.
1061         * javax/swing/JRootPane
1062         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1063
1064 2005-04-19  Roman Kennke  <roman@kennke.org>
1065
1066         * javax/swing/JRootPane.java:
1067         Fixed various tabs to be spaces.
1068         (RootLayout.layoutContainer): Made menubar left aligned.
1069
1070 2005-04-19  Roman Kennke  <roman@ontographics.com>
1071
1072         * javax/swing/JList.java
1073         (getPreferredScrollableViewportSize):
1074         The previous implementation was merely guessing the size,
1075         now it respects layoutOrientation, visibleRowCount
1076         and preferredSize.
1077         (getScrollableTracksViewportHeight):
1078         Reimplemented so that layoutOrientation, visibleRowCount
1079         and preferred size are respected.
1080         (getScrollableTracksViewportWidth):
1081         Reimplemented so that layoutOrientation, visibleRowCount
1082         and preferred size are respected.
1083         * javax/swing/plaf/basic/BasicListUI.java
1084         (getPreferredSize):
1085         Improved calculation of preferredSize when JList is
1086         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1087         (getCellBounds):
1088         The previous implementation assumed a layoutOrientation of
1089         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1090         JList.VERTICAL_WRAP.
1091
1092 2005-04-19  Roman Kennke  <roman@ontographics.com>
1093
1094         * javax/swing/plaf/basic/BasicListUI.java
1095         (paintCell): use CellRendererPane for painting the cells.
1096
1097 2005-04-19  Roman Kennke  <roman@ontographics.com>
1098
1099         * javax/swing/plaf/basic/BasicListUI:
1100         fixed modifiers of several fields, methods and inner
1101         classes to match the 'spec'.
1102         (getMaximumSize): removed. It's not in the spec and the
1103         implementations was superfluous.
1104
1105 2005-04-19  Roman Kennke  <roman@ontographics.com>
1106
1107         * javax/swing/plaf/basic/BasicListUI:
1108         make BasicListUI capable of wrapping lists
1109         (layoutOrientation property of javax.swing.JList)
1110
1111 2005-04-19  Roman Kennke  <roman@ontographics.com>
1112
1113         * javax/swing/plaf/basic/BasicListUI
1114         (updateLayoutState,paint): make BasicListUI aware of the
1115         width of the rendered JList.
1116
1117 2005-04-19  Roman Kennke  <roman@kennke.org>
1118
1119         * javax/swing/ImageIcon.java
1120         Added API documentation.
1121
1122 2005-04-19  Roman Kennke  <roman@kennke.org>
1123
1124         * javax/swing/text/ImageIcon.java
1125         (ImageIcon): Use setImage instead of direct assignment.
1126         (setImage): Call loadImage to make sure that the image is loaded.
1127         (loadImage): Waits for the image to complete loading.
1128         (getImageLoadStatus): Added. Returns the load status of the
1129         image.
1130
1131 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1132
1133         * javax/swing/JTextArea.java (replaceRange):
1134         Fixing doc.remove(start, length) misinterpretation.
1135
1136 2005-04-19  Roman Kennke  <roman@ontographics.com>
1137
1138         * javax/swing/CellRendererPane.java:
1139         implemented all methods of this class.
1140         reformatted all wrong formatted code.
1141
1142 2005-04-19  Roman Kennke  <roman@kennke.org>
1143
1144         * javax/swing/BoxLayout.java:
1145         (layoutContainer): Made this layout manager respect the
1146         minimum, maximum and preferred size more correctly.
1147
1148 2005-04-19  Roman Kennke  <roman@ontographics.com>
1149
1150         * javax/swing/BoxLayout.java:
1151         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1152         layoutContainer): Make these methods and thereby the
1153         BoxLayout respect the insets (like borders) of the
1154         component that is laid out.
1155
1156 2005-04-19  Roman Kennke  <roman@kennke.org>
1157
1158         * javax/swing/JComponent.java:
1159         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1160         Untabified the file.
1161
1162 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1163
1164         * javax/swing/JComboBox.java (constructors): selecting the
1165         first item if the box was constructed from the provided
1166         non - empty array or vector.
1167
1168 2005-04-19  Michael Koch  <konqueror@gmx.de>
1169
1170         * gnu/java/awt/peer/gtk/GdkGraphics.java
1171         (getClipBounds): Handle clip being null.
1172         (setClip): Likewise.
1173         * java/beans/beancontext/BeanContextSupport.java
1174         (add): Implemented.
1175         (addAll): Likewise.
1176         (clear): Likewise.
1177         (removeAll): Likewise.
1178         (retainAll): Likewise.
1179
1180 2005-04-19  Michael Koch  <konqueror@gmx.de>
1181
1182         * java/beans/beancontext/BeanContextServicesSupport.java
1183         (BeanContextServicesSupport): Reimplemented.
1184         (addBeanContextServicesListener): Implemented.
1185         (initialize): Likewise.
1186         (removeBeanContextServicesListener): Likewise.
1187         * java/beans/beancontext/BeanContextSupport.java
1188         (add): Likewise.
1189         (addBeanContextMembershipListener): Likewise.
1190         (getLocale): Likewise.
1191         (initialize): Likewise.
1192         (iterator): Likewise.
1193         (remove): Likewise.
1194         (toArray): Likewise.
1195
1196 2005-04-19  Roman Kennke  <roman@kennke.org>
1197
1198         * java/awt/MediaTracker.java:
1199         Reindented tabs to spaces.
1200
1201 2005-04-19  Roman Kennke  <roman@kennke.org>
1202
1203         * java/awt/MediaTracker.java
1204         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1205         confused the media tracker and lead to lockups. The LOADING
1206         bit is handled on other places.
1207         (addImage): Removed the 'start image tracking' stuff. This
1208         is not necessary and could confuse the media tracker.
1209         (checkAll): Improved the check for image status so that
1210         images that already complete images are detected. Also now
1211         are really all images checked and if necessary loaded. Before
1212         the method bailed out after the first incomplete image.
1213         (statusAll): Detect images that are complete after the
1214         call to Component.prepareImage(..).
1215         (checkID): The same as in checkAll.
1216         (statusID): The same as in statusAll.
1217
1218 2005-04-19  Roman Kennke  <roman@kennke.org>
1219
1220         * java/awt/MediaTracker.java
1221         (addImage): Synchronized list access.
1222         (waitForAll): Fixed comparison of time (changed < to >).
1223         (waitForID): Fixed comparison of time (changed < to >).
1224         (removeImage): Synchronized list access.
1225
1226 2005-04-19  Roman Kennke  <roman@kennke.org>
1227
1228         * java/awt/MediaTracker.java
1229         Added API documentation.
1230
1231 2005-04-19  Roman Kennke  <roman@kennke.org>
1232
1233         * java/awt/MediaTracker.java
1234         (MediaEntry.imageUpdate): Fixed flags. The different flags
1235         must not be ORed together.
1236         (checkAll): Modified to handle different meaning of the flags.
1237         (waitForAll): Fixed so that it waits maximum the
1238         specified amount of milliseconds.
1239         (statusAll): Modified to handle different meaning of the flags.
1240         (waitForID): Fixed so that it waits maximum the
1241         specified amount of milliseconds.
1242
1243 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
1244
1245         * java/awt/Font.java (decode): Handle null argument and allow
1246         space as delimiter.
1247
1248 2005-04-19  Robert Schuster <thebohemian@gmx.net>
1249
1250         * java/beans/EventHandler.java: Reworked documentation.
1251         (invoke): Fixed behavior to match spec.
1252
1253 2005-04-19  Michael Koch  <konqueror@gmx.de>
1254
1255         * java/awt/print/PrinterJob.java
1256         (pageDialog): New method.
1257         (printDialog): Implemented.
1258
1259 2005-04-19  Michael Koch  <konqueror@gmx.de>
1260
1261         * java/awt/image/ConvolveOp.java:
1262         Removed comment added by eclipse.
1263
1264 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
1265
1266         * java/awt/image/IndexColorModel.java
1267         (getRGB): Check if pixel is negative.
1268
1269 2005-04-19  Michael Koch  <konqueror@gmx.de>
1270
1271         * java/awt/image/RasterOp.java:
1272         Fixed wrong formatting.
1273
1274 2005-04-18  Roman Kennke  <roman@kennke.org>
1275
1276         * java/awt/Compmonent.java
1277         (setComponentOrientation): Made this property firing a
1278         PropertyChangeEvent.
1279
1280 2005-04-18  Roman Kennke  <roman@kennke.org>
1281
1282         * java/awt/BorderLayout.java
1283         (calcSize): Check for overflow when component sizes are added.
1284
1285 2005-04-18  Robert Schuster <thebohemian@gmx.net>
1286
1287         * java/awt/AWTEvent.java (toString): Added case
1288         for source not being an AWT component.
1289
1290 2005-04-18  Chris Burdess  <dog@gnu.org>
1291
1292         * gnu/java/net/BASE64.java: Truncate encoded byte array.
1293
1294 2005-04-18  Michael Koch  <konqueror@gmx.de>
1295
1296         gnu/java/awt/EmbeddedWindowSupport.java,
1297         gnu/java/net/HeaderFieldHelper.java,
1298         gnu/java/net/URLParseError.java,
1299         gnu/java/net/protocol/file/Handler.java,
1300         gnu/java/net/protocol/jar/Handler.java:
1301         Fixed usage of @author tag.
1302
1303 2005-04-18  Michael Koch  <konqueror@gmx.de>
1304
1305         * gnu/xml/aelfred2/XmlParser.java:
1306         Reverted my typo fix.
1307
1308 2005-04-18  Michael Koch  <konqueror@gmx.de>
1309
1310         * java/awt/geom/CubicCurve2D.java,
1311         java/awt/geom/QuadCurve2D.java:
1312         Fixed mentioning of Brian Gouph.
1313
1314 2005-04-18  Michael Koch  <konqueror@gmx.de>
1315
1316         * gnu/java/awt/Buffers.java,
1317         gnu/java/awt/image/ImageDecoder.java,
1318         gnu/java/awt/image/XBMDecoder.java,
1319         gnu/java/awt/peer/ClasspathFontPeer.java,
1320         gnu/java/net/CRLFInputStream.java,
1321         gnu/java/net/EmptyX509TrustManager.java,
1322         gnu/java/net/LineInputStream.java,
1323         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1324         gnu/java/net/protocol/ftp/BlockInputStream.java,
1325         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1326         gnu/java/net/protocol/ftp/DTP.java,
1327         gnu/java/net/protocol/ftp/DTPInputStream.java,
1328         gnu/java/net/protocol/ftp/FTPConnection.java,
1329         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1330         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1331         gnu/java/net/protocol/ftp/StreamInputStream.java,
1332         gnu/java/net/protocol/http/ChunkedInputStream.java,
1333         gnu/java/net/protocol/http/HTTPConnection.java,
1334         gnu/java/net/protocol/http/HTTPURLConnection.java,
1335         gnu/java/net/protocol/http/Headers.java,
1336         gnu/java/net/protocol/http/Request.java,
1337         gnu/java/nio/ChannelInputStream.java,
1338         gnu/java/nio/ChannelOutputStream.java,
1339         gnu/java/nio/InputStreamChannel.java,
1340         gnu/java/nio/OutputStreamChannel.java,
1341         gnu/java/nio/SelectorProviderImpl.java,
1342         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1343         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1344         gnu/java/rmi/dgc/DGCImpl.java,
1345         gnu/java/rmi/registry/RegistryImpl.java,
1346         gnu/java/rmi/server/ProtocolConstants.java,
1347         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1348         gnu/java/rmi/server/RMIIncomingThread.java,
1349         gnu/java/rmi/server/RMIObjectInputStream.java,
1350         gnu/java/rmi/server/RMIObjectOutputStream.java,
1351         gnu/java/rmi/server/RMIVoidValue.java,
1352         gnu/java/rmi/server/UnicastConnectionManager.java,
1353         gnu/java/rmi/server/UnicastRef.java,
1354         gnu/java/rmi/server/UnicastRemoteCall.java,
1355         gnu/java/rmi/server/UnicastRemoteStub.java,
1356         gnu/java/rmi/server/UnicastServerRef.java,
1357         gnu/java/security/OID.java,
1358         gnu/java/security/der/DERReader.java,
1359         gnu/java/security/provider/CollectionCertStoreImpl.java,
1360         gnu/java/security/provider/DSAParameterGenerator.java,
1361         gnu/java/security/provider/DefaultPolicy.java,
1362         gnu/java/security/provider/EncodedKeyFactory.java,
1363         gnu/java/security/provider/GnuDHPublicKey.java,
1364         gnu/java/security/provider/GnuDSAPrivateKey.java,
1365         gnu/java/security/provider/GnuDSAPublicKey.java,
1366         gnu/java/security/provider/GnuRSAPrivateKey.java,
1367         gnu/java/security/provider/GnuRSAPublicKey.java,
1368         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1369         gnu/java/security/provider/RSA.java,
1370         gnu/java/security/provider/SHA1PRNG.java,
1371         gnu/java/security/provider/SHA1withRSA.java,
1372         gnu/java/security/provider/X509CertificateFactory.java,
1373         gnu/java/security/x509/GnuPKIExtension.java,
1374         gnu/java/security/x509/X500DistinguishedName.java,
1375         gnu/java/security/x509/X509CRL.java,
1376         gnu/java/security/x509/X509CRLEntry.java,
1377         gnu/java/security/x509/X509CertPath.java,
1378         gnu/java/security/x509/X509CertSelectorImpl.java,
1379         gnu/java/security/x509/X509Certificate.java,
1380         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1381         gnu/java/security/x509/ext/BasicConstraints.java,
1382         gnu/java/security/x509/ext/CRLNumber.java,
1383         gnu/java/security/x509/ext/CertificatePolicies.java,
1384         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1385         gnu/java/security/x509/ext/Extension.java,
1386         gnu/java/security/x509/ext/GeneralNames.java,
1387         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1388         gnu/java/security/x509/ext/KeyUsage.java,
1389         gnu/java/security/x509/ext/PolicyConstraint.java,
1390         gnu/java/security/x509/ext/PolicyMappings.java,
1391         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1392         gnu/java/security/x509/ext/ReasonCode.java,
1393         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1394         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
1395         Reorganized import statements.
1396
1397 2005-04-18  Michael Koch  <konqueror@gmx.de>
1398
1399         * gnu/java/awt/color/CieXyzConverter.java,
1400         gnu/java/awt/color/ClutProfileConverter.java,
1401         gnu/java/awt/color/ColorLookUpTable.java,
1402         gnu/java/awt/color/ColorSpaceConverter.java,
1403         gnu/java/awt/color/GrayProfileConverter.java,
1404         gnu/java/awt/color/GrayScaleConverter.java,
1405         gnu/java/awt/color/LinearRGBConverter.java,
1406         gnu/java/awt/color/ProfileHeader.java,
1407         gnu/java/awt/color/PyccConverter.java,
1408         gnu/java/awt/color/RgbProfileConverter.java,
1409         gnu/java/awt/color/SrgbConverter.java,
1410         gnu/java/awt/color/TagEntry.java,
1411         gnu/java/awt/color/ToneReproductionCurve.java:
1412         Standardized file headers.
1413
1414 2005-04-16  Tom Tromey  <tromey@redhat.com>
1415
1416         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
1417         'ANY' package-private.
1418
1419 2005-04-15  Tom Tromey  <tromey@redhat.com>
1420
1421         * Makefile.in: Rebuilt.
1422         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
1423         (libgcj0_convenience_la_LIBADD): ... here.
1424
1425 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1426
1427         * gij.cc (version): Properly quote java version.
1428         (main): Fix typo in comment.
1429
1430 2005-04-13  Mark Wielaard  <mark@klomp.org>
1431
1432         * java/lang/natRuntime.cc (insertSystemProperties): Set
1433         java.class.path to CLASSPATH if not already set.
1434
1435 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1436
1437         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
1438
1439 2005-04-12  Mike Stump  <mrs@apple.com>
1440
1441         * configure: Regenerate.
1442
1443 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
1444
1445         PR libgcj/20958
1446         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
1447         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
1448
1449 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
1450
1451         PR libgcj/20975
1452         * scripts/TexinfoDoclet.java: Removed.
1453         * Makefile.am (texinfo): Removed.
1454         * Makefile.in: Regenerated.
1455
1456 2005-04-11  Michael Koch  <konqueror@gmx.de>
1457
1458         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
1459         Fixed wrong casting.
1460
1461 2005-04-06  Andrew Haley  <aph@redhat.com>
1462
1463         * testsuite/libjava.lang/bytearray.java: New file.
1464         * testsuite/libjava.lang/bytearray.out: New file.
1465         * java/lang/ClassLoader.java (loadClassFromSig): Declare
1466         (loadClass): Use it.
1467         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
1468
1469 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
1470
1471         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
1472         gcj-dbtool dependency
1473         * Makefile.in: Regenerated
1474
1475 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
1476
1477         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
1478         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
1479
1480 2005-04-05  Andrew Haley  <aph@redhat.com>
1481
1482         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
1483         (Tokenizer): New class.
1484         (getFiles): New method.
1485         (main): Add "-" argument.
1486         Add "-0" argument.
1487         Read list of files from stdin when merging map databases.
1488         (usage):  Add "-" argument.
1489         Add "-0" argument.
1490         Minor corrections.
1491
1492 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1493
1494         PR libgcj/20750
1495         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
1496         * Makefile.in: Regenerate.
1497         * configure.ac: Add --with-java-home option.
1498         * configure: Regenerate.
1499         * external/Makefile.in: Regenerate.
1500         * external/sax/Makefile.in: Regenerate.
1501         * external/w3c_dom/Makefile.in: Regenerate.
1502         * gcj/Makefile.in: Regenerate.
1503         * include/Makefile.in: Regenerate.
1504         * testsuite/Makefile.in: Regenerate.
1505         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
1506         to JAVA_HOME macro.
1507
1508 2005-04-05  Tom Tromey  <tromey@redhat.com>
1509
1510         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
1511         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
1512         Rewrote to use _Jv_FindClassFromSignature.
1513         * verify.cc (resolve): throw NoClassDefFoundError.
1514         * link.cc (resolve_field): Throw NoClassDefFoundError.
1515         (find_field): Likewise.
1516         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
1517         Handle error cases.  Added 'endp' argument.
1518         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
1519
1520 2005-04-05  Tom Tromey  <tromey@redhat.com>
1521
1522         * Makefile.in: Rebuilt.
1523         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
1524         gtk_awt_peer_sources.
1525         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
1526         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
1527         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
1528         (gtk-awt-peer.lo): New target.
1529
1530 2005-04-04  Steve Pribyl <steve@netfuel.com>
1531
1532         PR libgcj/20761
1533         * configure.ac: Fix fastjar definition for cross builds.
1534         * configure: Rebuilt.
1535
1536 2005-04-04  Tom Tromey  <tromey@redhat.com>
1537
1538         * java/lang/ClassLoader.java (loadClass): Resolve class even if
1539         it was already found.
1540
1541 2005-04-04  Tom Tromey  <tromey@redhat.com>
1542
1543         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
1544         org.metastatic.jessie.
1545
1546 2005-04-02  Anthony Green  <green@redhat.com>
1547
1548         PR libgcj/20727
1549         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
1550
1551 2005-04-02  Mark Wielaard  <mark@klomp.org>
1552
1553         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
1554         Attributes and attribute order doesn't matter.
1555         (BasicAttributesEnumeration.where): Initialize to zero.
1556         (BasicAttributesEnumeration.nextElement): Update and compare where
1557         appropriately (zero based).
1558
1559 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1560
1561         PR libgcj/20090, PR libgcj/20526
1562         * gij.cc (nonstandard_opts_help): New function.
1563         (add_option): New function.
1564         (main): Support java options.  Set java.class.path.  Don't set
1565         _Jv_Jar_Class_Path.
1566         * prims.cc (parse_x_arg): New function.
1567         (parse_init_args): Call parse_x_arg for -X and _ options, when
1568         ignoreUnrecognized is true.
1569         (new _Jv_RunMain): New vm_args variant.
1570         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
1571         (_Jv_Jar_Class_Path): Remove variable.
1572         * include/java-props.h: Likewise.
1573         * include/cni.h (JvRealloc): New function.
1574         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
1575         * java/lang/natRuntime.cc (insertSystemProperties): Remove
1576         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
1577         macros.
1578         * configure.ac (JV_VERSION): Define.
1579         (JV_API_VERSION): Likewise.
1580         * configure: Regenerate.
1581         * include/config.h.in: Regenerate.
1582
1583 2005-04-01 Mark Anderson <mark@panonet.net>
1584
1585         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
1586         -Infinity as parameters.
1587
1588 2005-04-01  Michael Koch  <konqueror@gmx.de>
1589
1590         * java/io/PipedInputStream.java
1591         (read): Make sure a positive byte value is returned. Revised javadoc.
1592         Thanks to Olafur Bragason for reporting these bugs.
1593
1594 2005-04-01  Tom Tromey  <tromey@redhat.com>
1595
1596         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1597         Updated for name change.
1598         (nativeFindClass): New method.
1599         (loadClass): Use nativeFindClass.
1600         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
1601         form of loadClass.
1602         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
1603         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
1604         VMClassLoader.
1605         (initialize): New method.
1606         (nativeFindClass): Declare.
1607         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
1608         * gnu/gcj/runtime/VMClassLoader.java: Removed.
1609         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
1610         VMClassLoader.java.
1611         (definePackageForNative): Removed.
1612         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
1613         Moved to VMClassLoader.java.
1614         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
1615         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
1616         (ordinary_java_source_files): Added ExtensionClassLoader.java,
1617         removed VMClassLoader.java.
1618         (nat_source_files): Removed natVMClassLoader.cc.
1619
1620 2005-04-01  Tom Tromey  <tromey@redhat.com>
1621
1622         * Makefile.in: Rebuilt.
1623         * Makefile.am (db_pathtail): Use $(gcc_version), not
1624         @gcc_version@.
1625
1626 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
1627
1628         * java/util/Timer.java
1629         (run): Stop the queue if a task throws an exception.
1630
1631 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1632
1633         * javax/swing/text/JTextComponent.java (viewToModel): New method.
1634
1635 2005-03-29  Ian Lance Taylor  <ian@airs.com>
1636
1637         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
1638         * external/sax/Makefile.in: Rebuild.
1639         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
1640         "-fclasspath=".
1641         * external/w3c_dom/Makefile.in: Rebuild.
1642
1643 2005-03-29  Tom Tromey  <tromey@redhat.com>
1644
1645         * java/lang/natRuntime.cc (insertSystemProperties): Set
1646         gnu.gcj.runtime.endorsed.dirs.
1647         * Makefile.in: Rebuilt.
1648         * Makefile.am (ordinary_java_source_files): Added
1649         HelperClassLoader.java.
1650         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
1651         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
1652         HelperClassLoader.
1653         (init): Use addDirectoriesFromProperty.
1654         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
1655         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
1656         gnu.gcj.runtime.endorsed.dirs.
1657         * gnu/gcj/runtime/HelperClassLoader.java: New file.
1658
1659 2005-03-26  Chris Burdess  <dog@gnu.org>
1660
1661         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
1662         required.
1663
1664 2005-03-13  Michael Koch  <konqueror@gmx.de>
1665
1666         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
1667
1668 2005-03-11  Chris Burdess  <dog@gnu.org>
1669
1670         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1671         warnings.
1672
1673 2005-02-27  Chris Burdess  <dog@gnu.org>
1674
1675         * gnu/xml/aelfred2/JAXPFactory.java,
1676         gnu/xml/aelfred2/SAXDriver.java,
1677         gnu/xml/aelfred2/XmlParser.java,
1678         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
1679         formatting conventions. Replaced arrays of Object with struct-like
1680         classes for easier maintainability. Made SAXDriver.stringInterning
1681         package private to allow access from XmlParser inside the loop without
1682         a method call overhead.
1683
1684 2005-03-11  Chris Burdess  <dog@gnu.org>
1685
1686         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
1687         warnings.
1688
1689 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
1690
1691         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
1692         settings to sub Makefiles.
1693         (GCJH, ZIP): Prefix with top_builddir.
1694         * configure: Rebuild.
1695         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
1696         * external/w3c_dom/Makefile.in: Rebuild.
1697         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
1698         * external/sax/Makefile.in: Rebuild.
1699
1700 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
1701
1702         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
1703         libsocket to the libraries to link for Solaris.
1704
1705 2005-03-28  Per Bothner  <per@bothner.com>
1706
1707         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
1708         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
1709
1710 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
1711
1712         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
1713         to fix a ONESTEP fallout.
1714         * Makefile.in: Regenerate.
1715
1716 2005-03-25  Mike Stump  <mrs@apple.com>
1717
1718         * configure.ac: Fix ZIP and GCJH at configure time to absolute
1719         paths like we do for the compiler, as we use it in external/sax
1720         and it doesn't get MULTIBUILDTOP right when multilibing.
1721
1722 2005-03-24  Anthony Green  <green@redhat.com>
1723
1724         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
1725         -p option.
1726         (usage): Add [LIBDIR] to help output.
1727         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
1728         * Makefile.am (AM_CXXFLAGS): Define
1729         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
1730         (db_pathtail): New macro.
1731
1732 2005-03-24  Tom Tromey  <tromey@redhat.com>
1733
1734         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
1735         add sax and w3c libraries.
1736         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
1737         libw3c-gcj.la.
1738         * external/w3c_dom/Makefile.in: Rebuilt.
1739         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
1740         AM_GCJFLAGS.
1741         (libw3c_gcj_la_LDFLAGS): New variable.
1742         (noinst_LTLIBRARIES): Renamed.
1743         * external/sax/Makefile.in: Rebuilt.
1744         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
1745         AM_GCJFLAGS.
1746         (libsax_gcj_la_LDFLAGS): New variable.
1747         (noinst_LTLIBRARIES): Renamed.
1748
1749 2005-03-23  Tom Tromey  <tromey@redhat.com>
1750
1751         * Makefile.in: Rebuilt.
1752         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
1753         (libgcj0_convenience_la_SOURCES): Don't include
1754         gnu_xml_source_files.
1755         (libgcj0_convenience_la_LIBADD): New variable.
1756         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
1757         (all_java_source_files): javax_imageio_source_files,
1758         javax_xml_source_files, and gnu_java_beans_source_files.
1759         ($(gnu_xml_source_files:.java=.lo)): Removed target.
1760         (gnu-xml.lo): New target.
1761         (javax-imageio.lo): Likewise.
1762         (javax-xml.lo): Likewise.
1763         (gnu-java-beans.lo): Likewise.
1764         (gnu_java_beans_source_files): New variable.
1765         (javax_imageio_source_files): Likewise.
1766         (javax_xml_source_files): Likewise.
1767         (javax_source_files): Moved files to other variable.
1768         (awt_java_source_files): Likewise.
1769         (ordinary_java_source_files): Added BootClassLoader.java.
1770         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
1771         not system class loader.
1772         (initBootLoader): New method.
1773         (loadClass): Search bootLoader.
1774         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
1775         boot loader, not system class loader.
1776         (_Jv_UnregisterInitiatingLoader): Likewise.
1777         (_Jv_FindClass): Likewise.  Ensure entries in
1778         bootstrap_class_list are unique.
1779         * java/lang/natClass.cc (getClassLoader): Don't special case
1780         system class loader.
1781         * java/lang/VMClassLoader.java (bootLoader): New field.
1782         (getResource): Use bootLoader.
1783         (getResources): Likewise.
1784         (initBootLoader): Declare.
1785         * gnu/gcj/runtime/BootClassLoader.java: New file.
1786         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
1787         (EMPTY_ENUMERATION): Now package-private.
1788         * external/w3c_com/Makefile.in: Rebuilt.
1789         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
1790         (w3c.jar): New target.
1791         (classes.stamp): Updated.
1792         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
1793         Changed name of library.
1794         (libw3c_gcj_la_SOURCES): New variable.
1795         (libw3c_gcj_la_GCJFLAGS): Likewise.
1796         (source_files): Renamed from lib3c_convenience_la_SOURCES.
1797         * external/sax/Makefile.in: Rebuilt.
1798         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
1799         (sax.jar): New target.
1800         (classes.stamp): Updated.
1801         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
1802         Changed name of library.
1803         (libsax_gcj_la_SOURCES): New variable.
1804         (libsax_gcj_la_GCJFLAGS): Likewise.
1805         (source_files): Renamed from libsax_convenience_la_SOURCES.
1806         * stacktrace.cc (non_system_trace_fn): Don't look at system class
1807         loader.
1808         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
1809         loader.
1810         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
1811
1812 2005-03-23  Sven de Marothy  <sven@physto.se>
1813
1814         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
1815         PR libgcj/11085:
1816         * java/util/Calendar.java
1817         (set): Use starting day of week when one is needed if none is given.
1818         * java/text/SimpleDateFormat.java
1819         (parse): Handle 1-12 and 1-24 timestamps correctly.
1820         * java/util/GregorianCalendar.java
1821         (computeTime, computeFields): HOUR should be in 0-11 format.
1822         (nonLeniencyCheck): Adjust leniency checking to that fact.
1823         (getLinearDay): Should be private.
1824
1825 2005-03-23  Tom Tromey  <tromey@redhat.com>
1826  
1827         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
1828         (_Jv_CheckABIVersion): Use it.
1829
1830 2005-03-22  Mike Stump  <mrs@apple.com>
1831
1832         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
1833
1834         * include/posix.h: .dylib is used on all Apple MACH platforms.
1835         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
1836
1837 2005-03-22  Tom Tromey  <tromey@redhat.com>
1838
1839         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
1840
1841 2005-03-21  Tom Tromey  <tromey@redhat.com>
1842
1843         * java/lang/VMCompiler.java (static block): Also catch
1844         BufferUnderflowException.
1845
1846 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1847
1848         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
1849         set tool_include_dir.  In all substitutions, leave $(gcc_version)
1850         to be expanded by the Makefile.
1851         * aclocal.m4, configure: Regenerate.
1852         * Makefile.am: Set gcc_version.  Replace all uses of
1853         @gcc_version@ with $(gcc_version).
1854         * external/Makefile.am, external/sax/Makefile.am
1855         * external/w3c_dom/Makefile.am, gcj/Makefile.am
1856         * testsuite/Makefile.am: Set gcc_version.
1857         * include/Makefile.am: Set gcc_version and tool_include_dir.
1858         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
1859         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
1860         * testsuite/Makefile.in: Regenerate.
1861
1862 2005-03-17  Andrew Haley  <aph@redhat.com>
1863
1864         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
1865         arg: klass.
1866         Pass klass to _Jv_StackTrace::GetClassContext().
1867         * java/lang/ClassLoader.java (getParent): Pass class to
1868         VMSecurityManager.getClassContext()
1869         (getSystemClassLoader): Likewise.
1870         * java/lang/Package.java (getPackage): Likewise.
1871         (getPackages): Likewise.
1872         * java/lang/SecurityManager.java (getClassContext): Likewise.
1873         (currentClassLoader): Likewise.
1874         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
1875         (currentClassLoader) Add new arg: caller.
1876         Pass caller to VMSecurityManager.getClassContext.
1877
1878         * stacktrace.cc (GetClassContext): Correct calculation of
1879         jframe_count.
1880
1881         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
1882         im->source_file_name.
1883
1884 2005-03-16  Andrew Haley  <aph@redhat.com>
1885
1886         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
1887
1888 2005-03-16  Tom Tromey  <tromey@redhat.com>
1889
1890         * link.cc (ensure_class_linked): Removed #ifdef.
1891         (print_class_loaded): Likewise.
1892         (wait_for_state): Likewise.
1893         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
1894         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
1895         * include/java-interp.h: ... here.
1896
1897 2005-03-16  Tom Tromey  <tromey@redhat.com>
1898
1899         * gnu/java/lang/MainThread.java (run): Load main class using
1900         system class loader.
1901
1902 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
1903
1904         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
1905         lgcc_s to the libraries to link for Darwin.
1906
1907 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
1908
1909         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
1910         interpreter-specific code with #ifdef INTERPRETER.
1911         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
1912         (_Jv_StackTrace::FillInFrameInfo): Likewise.
1913         (_Jv_StackTrace::non_system_trace_fn): Likewise.
1914         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
1915         #ifdef INTERPRETER. Also protect declarations that use it.
1916         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
1917         #ifdef INTERPRETER block.
1918
1919 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
1920
1921         PR libgcj/20251
1922         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
1923         * Makefile.in: Rebuilt.
1924
1925 2005-03-15  David Daney  <ddaney@avtrex.com>
1926
1927         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
1928         count == 0 case.
1929
1930 2005-03-15  David Daney  <ddaney@avtrex.com>
1931
1932         * java/io/BufferedInputStream.java (available): Use 'in' instead
1933         of 'super' for underlying stream access.
1934         (close): Ditto.
1935         (read(byte[], int, int)): Ditto.
1936         (refill): Ditto.
1937         (skip): Call skip on underlying stream when possible.
1938
1939 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
1940
1941         * stacktrace.cc (GetCallerInfo): Return nothing in case of
1942         SJLJ_EXCEPTIONS is defined.
1943
1944 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
1945
1946         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
1947         tests.
1948
1949 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
1950
1951         * testsuite/lib/libjava.exp (libjava_init): Use the same target
1952         check for Darwin.
1953         (libjava_arguments): Likewise.
1954
1955         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
1956         (gcj_jni_test_one): Likewise.
1957         (gcj_jni_invocation_compile_c_to_binary): Likewise.
1958         Add flags to keep the Darwin linker quiet.
1959         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
1960         Add -liconv for Darwin.
1961
1962 2005-03-11  Tom Tromey  <tromey@redhat.com>
1963
1964         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
1965         (_Jv_CheckABIVersion): Use it.
1966
1967 2005-03-11  Tom Tromey  <tromey@redhat.com>
1968
1969         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
1970         (usage): Document '-p'.
1971         * Makefile.in: Rebuilt.
1972         * Makefile.am (dbexecdir): New variable.
1973         (db_name): Likewise.
1974         (dbexec_DATA): Likewise.
1975         ($(db_name)): New target.
1976         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
1977         * java/lang/natRuntime.cc (insertSystemProperties): Set default
1978         system database.
1979
1980 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
1981
1982         * exception.cc: Remove stray MethodRef.h include.
1983         * java/lang/natClass.cc: Likewise.
1984         * gnu/gcj/runtime/MethodRef.java: Removed.
1985         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
1986         gnu/gcj/runtime/natStackTrace.cc: Really removed.
1987         * java/lang/natRuntime.cc (_load): Remove unsed variable.
1988         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
1989         * Makefile.in: Rebuilt.
1990
1991 2005-03-10  Tom Tromey  <tromey@redhat.com>
1992
1993         * Makefile.in: Rebuilt.
1994         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
1995
1996 2005-03-10  Chris Burdess  <dog@bluezoo.org>
1997
1998         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
1999         not currently parsing the DTD.
2000
2001 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
2002
2003         New Stack Trace infrastructure.
2004         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2005         (gnu/gcj/runtime/StackTrace.java): Removed.
2006         (ordinary_java_source_files): Remove obsolete files.
2007         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2008         * configure.host (fallback_backtrace_h): Set backtrace header
2009         for mingw and cygwin targets.
2010         * configure.ac: Make symlink for fallback backtrace headers.
2011         * Makefile.in, configure: Rebuilt.
2012         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2013         Read 'LineNumberTable' attribute.
2014         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2015         attribute.
2016         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2017         table fields.
2018         * exception.cc: Remove unused include.
2019         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2020         (SAVE_PC): New macro. Save current PC in the interpreter frame.
2021         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2022         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2023         table to direct threaded instruction values.
2024         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2025         (_Jv_InterpMethod::run): No longer member function. All
2026         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2027         is made or where an instruction could throw.
2028         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2029         in line_table.
2030         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2031         (catch_fpe): Likewise.
2032         * stacktrace.cc: New file. Stack trace code now here.
2033         * gnu/gcj/runtime/MethodRef.java:
2034         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2035         calls addr2line to look up PC addresses in a given binary or shared
2036         library.
2037         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2038         gnu/gcj/runtime/natStackTrace.cc: Removed.
2039         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2040         this function name is specially recognised by the stack trace code
2041         and shouldn't be changed.
2042         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2043         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
2044         (_Jv_InterpMethod::run): Update declaration.
2045         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2046         friends.
2047         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2048         * include/java-stack.h: New file. Declarations for stack tracing.
2049         * include/jvm.h (_Jv_Frame_info): Removed.
2050         * java/lang/Class.h: Update friend declarations.
2051         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2052         exception message.
2053         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2054         (getStackTrace): Now native.
2055         (data): New RawDataManaged field.
2056         * java/lang/natClass.cc: Update includes.
2057         (forName): Use _Jv_StackTrace::GetCallingClass for
2058         calling-classloader check.
2059         (getClassLoader): Likewise.
2060         * java/lang/natRuntime.cc: Update includes.
2061         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2062         * java/lang/natVMSecurityManager.cc: Update includes.
2063         (getClassContext): Use _Jv_StackTrace::GetClassContext.
2064         * java/lang/natVMThrowable.cc: New file. Native methods for
2065         VMThrowable.
2066         * java/lang/reflect/natArray.cc: Update includes.
2067         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2068         accessibility check.
2069         * java/lang/reflect/natConstructor.cc: Update includes.
2070         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2071         accessibility check.
2072         * java/lang/reflect/natField.cc: Update includes.
2073         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2074         accessibility check.
2075         * java/lang/reflect/natMethod.cc: Update includes.
2076         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2077         accessibility check.
2078         * java/util/natResourceBundle.cc: Update includes.
2079         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2080         * java/util/logging/natLogger.cc: Update includes. Use
2081         _Jv_StackTrace::GetCallerInfo to get call-site info.
2082         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2083         implementation.
2084         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2085         implementation.
2086
2087 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2088
2089         * testsuite/libjava.compile/PR20312.java: New file.
2090         * testsuite/libjava.compile/PR20312.xfail: Likewise.
2091         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2092
2093 2005-03-09  Andrew Haley  <aph@redhat.com>
2094
2095         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2096         New.
2097         (smallTransferTo): New.
2098         (transferFrom): Loop around smallTransferFrom, copying pageSize
2099         bytes each time.
2100         (transferTo): Likewise.
2101
2102 2005-03-09  David Daney  <ddaney@avtrex.com>
2103
2104         PR libgcj/20389
2105         Merge BufferedInputStream from GNU Classpath.
2106         * java/io/BufferedInputStream.java (marktarget): Field removed.
2107         (CHUNKSIZE): Field removed.
2108         (bufferSize): New field.
2109         (BufferedInputStream): Initialize fields.
2110         (close): Invalidate mark and buffer indexes.
2111         (mark):  Rewritten.
2112         (read()): Move mark handling code to refill.
2113         (read(byte[], int, int)): Ditto.
2114         (skip): Ditto and simplify EOF testing.
2115         (refill): Rewritten.
2116         * java/io/InputStreamReader.java (refill): Removed mark and reset
2117         of internal BufferedInputStream.
2118
2119 2005-03-09  Tom Tromey  <tromey@redhat.com>
2120
2121         * java/lang/natVMClassLoader.cc (defineClass): Reference
2122         'systemClassLoader' field directly.
2123         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2124         field directly.
2125         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2126         Reference 'systemClassLoader' field directly.
2127         (_Jv_UnregisterInitiatingLoader): Likewise.
2128         (_Jv_FindClass): Likewise.
2129
2130 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
2131
2132         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2133
2134         * java/lang/mprec.h: Remove commented headers. Fix comment to match
2135         the file in GNU Classpath style.
2136
2137 2005-03-09  Tom Tromey  <tromey@redhat.com>
2138
2139         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2140         (toString): Synchronize.
2141
2142 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
2143
2144         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2145         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2146
2147 2005-03-07  Tom Tromey  <tromey@redhat.com>
2148
2149         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2150         (usage): Document '-f'.
2151
2152 2005-03-07  Tom Tromey  <tromey@redhat.com>
2153
2154         * java/lang/VMCompiler.java (md5Digest): New field.
2155         (compileClass): Clone md5Digest instead of looking up a new one.
2156
2157 2005-03-07  Tom Tromey  <tromey@redhat.com>
2158
2159         PR java/20215:
2160         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2161         * link.cc (find_field_helper): Added 'type' argument.
2162         (find_field): Updated.
2163
2164 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
2165         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2166         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2167         throw UnsupportedOperationException, fixed comments.
2168         (setFont, setForeground): Fixed comments.
2169         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2170         return type to boolean.
2171         (getNextEvent): Fixed javadocs.
2172         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2173         (nativeQueueEmpty): Removed unused code.
2174         (iterateNativeQueue): Removed outer loop.
2175
2176 2005-03-06  Roger Sayle  <roger@eyesopen.com>
2177
2178         PR libgcj/20155
2179         * Makefile.am (libgcj0_convenience.la): Revert last change.
2180         * Makefile.in: Regenerate.
2181
2182 2005-03-05  Anthony Green  <green@redhat.com>
2183
2184         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2185         classpath_jawt_lock, classpath_jawt_unlock): New functions.
2186         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2187         (_Jv_GetDrawingSurface): Set visualID.
2188         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2189         (JAWT_GetAWT): Set Lock and Unlock.
2190         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2191         visualID.
2192         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2193         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2194         JAWT_LOCK_SURFACE_CHANGED): New macros.
2195         (struct _JAWT): Add Lock and Unlock.
2196
2197 2005-03-05  Roger Sayle  <roger@eyesopen.com>
2198             Alexandre Oliva  <aoliva@redhat.com>
2199             Kelley Cook  <kcook@gcc.gnu.org>
2200
2201         PR libgcj/20155
2202         * Makefile.am (libgcj0_convenience.la): New rule to create a file
2203         of the object files to link to avoid exceeding the command line
2204         length limits on some platforms.
2205         (clean-local): Clean up objectlist files.
2206         * Makefile.in: Regenerate.
2207
2208 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
2209
2210         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2211         spec_case. Initialize pointer mlo.
2212
2213         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2214         delta.
2215
2216         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2217
2218         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2219         and k.
2220
2221         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2222         uninitialized variable z.
2223
2224         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2225         possible unused variables.
2226
2227         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2228
2229         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2230
2231 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2232
2233         PR libgcj/20292
2234         * testsuite/libjava.jni/jni.exp
2235         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2236         flags.
2237         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2238
2239 2005-02-23  David Daney  <ddaney@avtrex.com>
2240
2241         * configure.host: Don't use -mxgot for MIPS builds.
2242
2243 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2244
2245         PR bootstrap/17383
2246         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2247         (COMPPATH): Removed.
2248         (ZIP, GCJH): Replace it with ../$(host_subdir).
2249         (built_gcc_dir): Add $(host_subdir).
2250         * configure: Regenerate.
2251         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2252         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2253         external/w3c_dom/Makefile.in: Regenerate.
2254
2255 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
2256
2257         * java/awt/font/TextAttribute.java: changed names to lower case;
2258         (readResolve): implemented.
2259         Added doc comments all over.
2260
2261 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2262
2263         PR libgcj/16923
2264         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
2265         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
2266         value.  Move argument parsing code to prims.cc.
2267         * prims.cc (no_properties): Remove.
2268         (_Jv_Compiler_Properties): Initialize to NULL.
2269         (_Jv_Properties_Count): Initialize to 0.
2270         (parse_verbose_args): New function.
2271         (parse_init_args): New function.
2272         (_Jv_CreateJavaVM): Call parse_init_args.
2273         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2274         * gcj/cni.h (JvVMOption): New struct.
2275         (JvVMInitArgs): Likewise.
2276         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2277         void*.
2278         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2279         (_Jv_VMInitArgs): Likewise.
2280         * include/java-props.h (_Jv_Properties_Count): Declare.
2281         * java/lang/natRuntime.cc (insertSystemProperties): Use
2282         _Jv_Properties_Count in for loop exit condition.
2283         * testsuite/libjava.jni/jni.exp
2284         (gcj_invocation_compile_c_to_binary): New procedure.
2285         (gcj_invocation_test_one): Likewise.
2286         (gcj_jni_run): Run JNI invocation API tests.
2287         * testsuite/libjava.jni/invocation/PR16923.c,
2288         testsuite/libjava.jni/invocation/PR16923.java,
2289         testsuite/libjava.jni/invocation/PR16923.out: New test.
2290
2291 2005-02-23  Michael Koch  <konqueror@gmx.de>
2292
2293         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2294         * Makefile.in: Regenerated.
2295
2296 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2297
2298         * gnu/java/nio/ChannelReader: Fixed comments.
2299
2300 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2301
2302         * java/nio/channels/Channels: Added FIXMEs about
2303         stub method implementation.
2304         (newReader): Implemented.
2305         * gnu/java/nio/ChannelReader: New class.
2306
2307 2005-02-23  Michael Koch  <konqueror@gmx.de>
2308
2309         * java/text/SimpleDateFormat.java:
2310         Removed unused import.
2311
2312 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2313
2314         PR libgcj/20029:
2315         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2316         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2317         * Makefile.in: Regenerate.
2318         * configure.ac: Check for libXtst.
2319         * configure: Regenerate.
2320
2321 2005-02-22  Mark Wielaard  <address@bogus.example.com>
2322
2323         * java/security/AlgorithmParameterGenerator.java (getInstance):
2324         Mention provider when throwing NoSuchProviderException.
2325         * java/security/AlgorithmParameters.java (getInstance): Likewise.
2326         * java/security/KeyFactory.java (getInstance): Likewise.
2327         * java/security/KeyStore.java (getInstance): Likewise.
2328         * java/security/SecureRandom.java (getInstance): Likewise.
2329         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2330
2331 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2332
2333         * java/lang/reflect/Proxy.java,
2334         java/net/URL.java,
2335         java/security/SecureRandom.java,
2336         java/util/Timer.java,
2337         java/util/prefs/AbstractPreferences.java:
2338         Don't catch java.lang.ThreadDeath.
2339
2340 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
2341
2342         * java/awt/font/TransformAttribute.java,
2343         (TransformAttribute(AffineTransform)): throw
2344         IllegalArgumentException for null transform.
2345         (getTransform): return a copy of transform.
2346         Added doc comments to all.
2347
2348 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2349
2350         * java/io/Externalizable.java,
2351         java/io/Serializable.java
2352         (serialVersionUID): Removed.
2353         * java/rmi/server/RemoteObject.java,
2354         java/rmi/server/UID.java
2355         (serialVersionUID): Made private.
2356         * java/rmi/server/RemoteRef.java,
2357         java/rmi/server/ServerRef.java
2358         (serialVersionUID): Set proper value.
2359         * java/security/interfaces/DSAPrivateKey.java,
2360         java/security/interfaces/DSAPublicKey.java,
2361         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2362         java/security/interfaces/RSAPrivateCrtKey.java,
2363         java/security/interfaces/RSAPrivateKey.java,
2364         java/security/interfaces/RSAPublicKey.java,
2365         javax/crypto/SecretKey.java
2366         (serialVersionUID): Added.
2367
2368 2005-02-22  Tom Tromey  <tromey@redhat.com>
2369
2370         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2371
2372 2005-02-22  Tom Tromey  <tromey@redhat.com>
2373
2374         PR java/20056:
2375         * verify.cc (type::EITHER): New constant.
2376         (check_field_constant): Use it.
2377         (type::compatible): Handle it.
2378
2379 2005-02-22  Michael Koch  <konqueror@gmx.de>
2380
2381         * gnu/java/security/PolicyFile.java,
2382         gnu/java/security/pkcs/PKCS7SignedData.java,
2383         gnu/java/security/pkcs/SignerInfo.java:
2384         Fixed copyright header.
2385
2386 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2387
2388         * java/beans/PropertyDescriptor.java
2389         (PropertyDescriptor,setReadMethod): Set propertyType.
2390
2391 2005-02-22  Michael Koch  <konqueror@gmx.de>
2392
2393         * java/nio/DirectByteBufferImpl.java
2394         (owner): Fixed formatting of javadoc.
2395         * java/text/DateFormat.java
2396         (getAvailableLocales): Fixed formatting.
2397         * java/text/SimpleDateFormat.java:
2398         Fixed formatting and import statement order.
2399         * java/util/Calendar.java
2400         (Calendar): Fixed javadoc to be HTML compliant.
2401         * java/util/SimpleTimeZone.java:
2402         Fixed javadocs.
2403
2404 2005-02-22  Roman Kennke <roman@ontographics.com>
2405
2406         * javax/swing/plaf/basic/BasicLookAndFeel.java
2407         (initComponentDefaults): Fixed Button left and right margin.
2408
2409 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2410
2411         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
2412         empty Runnable.
2413
2414         PR libgcj/17952:
2415         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2416         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2417         (getWidth): New method.
2418         (getHeight): Likewise.
2419         (create): Remove width, height and insets parameters.  Move size
2420         setup ...
2421         (realize_cb): ... here.  New function.
2422         (connectSignals): Connect realize_cb.
2423         (request_frame_extents): Remove FIXME.  Move
2424         postInsetsChangedEvent lookup ...
2425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
2426         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
2427         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
2428         jmethodID.
2429         (windowGetWidthID): Likewise.
2430         (windowGetHeightID): Likewise.
2431
2432 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2433
2434         PR libgcj/19842
2435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2436         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
2437
2438 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
2439
2440         Merge serialization from GNU Classpath.
2441         * gcj/method.h: Add missing #includes.
2442         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
2443         primitive class IDs on the stream here...
2444         (resolveClass): ...not here.
2445         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
2446         fields.
2447         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
2448         setLongNative, setIntNative, setShortNative, setCharNative,
2449         setByteNative, setBooleanNative, setObjectNative): New native methods.
2450         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
2451         setLongNative, setIntNative, setShortNative, setCharNative,
2452         setByteNative, setBooleanNative, setObjectNative): Implement them.
2453         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
2454         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
2455         the constructor here.
2456         (callConstructor): Removed.
2457         (getCallersClassLoader): Removed.
2458         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
2459         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
2460         to control whether setting final field values is permitted. Call
2461         getAddr() with checkFinal parameter instead of setAddr().
2462         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
2463         only if not done already.
2464         (getAddr): Add checkFinal parameter. Do the final field check only if
2465         checkFinal is set.
2466         (setAddr): Removed.
2467
2468 2005-02-21  Mark Wielaard  <mark@klomp.org>
2469
2470         # Fixes bug #11957
2471         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
2472         twice.
2473
2474 2005-02-21  Mark Wielaard  <mark@klomp.org>
2475
2476         Fixes bug #11618.
2477         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
2478         without a super class and us ObjectStreamClass.lookupForClassObject().
2479         (resolveClass): Check for primitive types.
2480         (lookupClass): Return null when argument is null.
2481
2482 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2483
2484         * java/io/ObjectInputStream.java
2485         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
2486
2487 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2488
2489         * java/io/ObjectOutputStream.java
2490         (writeObject, callWriteMethod): Replaced reflection with accessing
2491         cached info in ObjectStreamClass.
2492         (getMethod): Removed.
2493         * java/io/ObjectStreamClass.java
2494         (findMethod): Added check to make sure the method found has the
2495         right modifiers.
2496         (cacheMethods): Added writeReplace and writeObject methods.
2497         (setFlags): Look at new writeObjectMethod field instead of doing
2498         reflection again.
2499         (writeReplaceMethod): New field.
2500         (writeObjectMethod): New field.
2501
2502 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
2503         Jeroen Frijters  <jeroen@frijters.net>
2504
2505         * java/io/ObjectInputStream.java
2506         (newObject): Changed prototype. Get a constructor reflect object
2507         directly.
2508         (callConstructor): Removed.
2509         (allocateObject): Changed prototype.
2510         (readClassDescriptor): Build the constructor reflection directly.
2511         (readObject): Invoke newObject using the new prototype.
2512
2513         * java/io/ObjectStreamClass.java
2514         (firstNonSerializableParent): Removed.
2515         (firstNonSerializableParentConstructor): Added.
2516
2517 2005-02-21  Mark Wielaard  <mark@klomp.org>
2518
2519         * gnu/java/locale/LocaleInformation_en.java: Extend
2520         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
2521
2522 2005-02-21  Mark Wielaard  <mark@klomp.org>
2523
2524         * java/text/SimpleDateFormat.java
2525         (SimpleDateFormat(String, DateFormatSymbols)): Throw
2526         NullPointerException when formatData is null.
2527
2528 2005-02-21  Mark Wielaard  <mark@klomp.org>
2529
2530         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
2531         taking dstSavings into account.
2532
2533 2005-02-21  Sven de Marothy <sven@physto.se>
2534
2535         * java/text/SimpleDateFormat.java,
2536         (parse): Set correct DST_OFFSET to the correct value.
2537
2538 2005-02-21  Mark Wielaard  <mark@klomp.org>
2539
2540         * java/util/SimpleTimeZone.java (checkRule): Throw
2541         IllegalArgumentException when month out of range.
2542
2543 2005-02-21  Sven de Marothy  <sven@physto.se>
2544
2545         * java/util/GregorianCalendar.java,
2546         (add): Don't set fields directly anymore. Use set()
2547
2548 2005-02-21  Mark Wielaard  <mark@klomp.org>
2549
2550         * java/text/SimpleDateFormat.java (CompiledField.toString):
2551         Use StringBuffer, not StringBuilder.
2552         (toString): Likewise.
2553
2554 2005-02-21  Sven de Marothy  <sven@physto.se>
2555
2556         * java/util/Calendar.java
2557         (clear): Dates should clear to local time.
2558         * java/util/GregorianCalendar.java
2559         (computeTime): Fix priority problem with DAY_OF_WEEK,
2560         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
2561
2562 2005-02-21  Sven de Marothy  <sven@physto.se>
2563
2564         * java/util/Calendar.java
2565         (Calendar): Constructor should clear fields.
2566
2567 2005-02-21  Sven de Marothy  <sven@physto.se>
2568
2569         * java/text/SimpleDateFormat.java
2570         (parse): Tweak handling of 2-year dates
2571         * java/util/Calendar.java
2572         (clear): Clear fields to correct value.
2573         * java/util/GregorianCalendar.java
2574         (computeTime): Correct handling of time zones.
2575         Correct field minimum values.
2576
2577 2005-02-21  Sven de Marothy  <sven@physto.se>
2578
2579         * java/util/Calendar.java
2580         (set) Invalidate all fields on first call to set().
2581
2582 2005-02-21  Sven de Marothy  <sven@physto.se>
2583
2584         * java/util/GregorianCalendar.java
2585         (computeTime): Fixed handling of time zones.
2586
2587 2005-02-21  Sven de Marothy  <sven@physto.se>
2588
2589         * java/util/Calendar.java
2590         (clear): Set values to Epoch instead of zero.
2591         (set): Set isSet to the relevant field pattern instead of just
2592         the field.
2593         * java/util/GregorianCalendar.java
2594         (getBundle): Removed.
2595         (getDayOfYear): Removed.
2596         (getFirstDayOfMonth): New private method.
2597         (nonLeniencyCheck): New private method.
2598         (computeTime): Correct handling of insufficient data.
2599
2600 2005-02-21  Sven de Marothy <sven@physto.se>
2601
2602         * java/util/Calendar.java: Invalidate ERA field on setting
2603         the YEAR.
2604         * java/util/SimpleTimeZone.java:
2605         (getDaysInMonth): Reimplemented.
2606         * java/util/GregorianCalendar.java:
2607         (getLinearTime): Removed.
2608         (isLeapYear(int,boolean)): Removed.
2609         (before(), after()): Removed.
2610         (computeTime): Reimplemented.
2611
2612 2005-02-21  Sven de Marothy <sven@physto.se>
2613
2614         * java/util/Calendar.java: Reformatted.
2615         * java/util/GregorianCalendar.java: Reformatted.
2616         * java/util/SimpleTimeZone.java: Reformatted.
2617
2618 2005-02-21  Sven de Marothy <sven@physto.se>
2619
2620         * java/util/GregorianCalendar.java
2621         (GregorianCalendar): Update fields in the constructor
2622
2623 2005-02-21  Noa Resare  <noa@resare.com>
2624
2625         * java/util/Calendar.java (explicitDSTOffset): New instance field.
2626         (set(int,int)): Set and use new field.
2627         (set(int,int,int)): Check new field.
2628
2629 2005-02-21  Noa Resare  <address@hidden>
2630
2631         * java/util/Calendar.java(set):
2632         Fix for DST related regression.
2633
2634 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
2635
2636         * java/util/Calendar.java
2637         (setTimeInMillis): Added call to clear, removed computeFields call.
2638         * java/util/Date.java
2639         (Date(int,int,int,int,int,int)): Removed workaround for
2640         GregorianCalendar bug.
2641         * java/util/GregorianCalendar.java
2642         (GregorianCalendar): Chained all constructors to a (new)
2643         common constructor.
2644         (computeTime): Fixed support for lenient month treatment.
2645         (getLinearDay): Return long instead of int.
2646         (calculateDay): Added fields argument and changed day argument
2647         to long.
2648
2649 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2650
2651         * java/text/SimpleDateFormat.java
2652         Lots of documentation updates.
2653         (readObject(java.io.ObjectInputStream)): Wraps
2654         IllegalArgumentException as specified.
2655         (compileFormat(String)): Uses standardChars
2656         rather than the local pattern characters.
2657         Throws IllegalArgumentException rather than
2658         storing a -1 field.
2659         (toString()): Extended to include all variables
2660         in a better format.
2661         (translateLocalizedPattern(String, String, String)):
2662         Renamed to better define the use of this method.
2663
2664 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2665
2666         * java/text/DateFormat.java:
2667         Documented pattern character offset constants and
2668         added new ones.
2669         (Field): Added new static fields for new pattern chars.
2670         * java/text/SimpleDateFormat.java:
2671         (CompiledField): Changed name of FieldSizePair class
2672         to CompiledField after adding the character as an
2673         attribute.  Changed fields to private and added
2674         accessors to give encapsulation.
2675         (CompiledField.CompiledField(int,int,char)): Extended
2676         with character field.
2677         (CompiledField.getField()): New accessor method.
2678         (CompiledField.getSize()): New acceessor method.
2679         (CompiledField.getCharacter()): New accessor method.
2680         (CompiledField.toString()): Added primarily for debugging.
2681         (standardChars): Now uses extended 24 character sequence.
2682         (compileFormat(String)): Changed to use CompiledField.
2683         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
2684         java.text.FieldPosition)): Changed to use CompiledField.
2685         New handler for RFC 822 timezones added.
2686
2687 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2688
2689         * java/text/SimpleDateFormat.java:
2690         (parse(String, java.text.ParsePosition)):
2691         Changed 'E' and 'M' cases to use both
2692         short and long names.  Extended 'z'
2693         case to also handle 'Z', and deal
2694         with simple GMT offsets such as +0100.
2695         (computeOffset(String)): New private method,
2696         which converts a GMT offset specification,
2697         such as GMT-0500 to a numeric offset in
2698         milliseconds.
2699         * java/util/TimeZone.java:
2700         (timezones()): Added "CEST", the daylight
2701         savings time version of "CET", or Central
2702         European Time.
2703
2704 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2705
2706         * java/text/SimpleDateFormat.java:
2707         (parse): Set the DST offset to 0 when parsing
2708         GMT offset timezones.
2709
2710 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2711
2712         * java/text/SimpleDateFormat.java:
2713         (parse): Use offset to set ZONE_OFFSET
2714         rather than the DST_OFFSET, so that
2715         GMT offset timezones change the right
2716         one.
2717
2718 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2719
2720         * java/text/SimpleDateFormat.java:
2721         (getDateFormatSymbols()): return a copy
2722         (setDateFormatSymbols(java.text.DateFormatSymbols)):
2723         throw exception on null input
2724         (clone()): implemented to clone
2725         internal fields
2726
2727 2005-02-21  Sven de Marothy <sven@physto.se>
2728
2729         * java/text/SimpleDateFormat.java
2730         (parse): comparison should be case-insensitive, ignore null
2731         strings.
2732
2733 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
2734
2735         * gnu/java/beans/IntrospectionIncubator.java
2736         (addMethod) Reverts the patch that ntroduced a regression (see bug
2737         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
2738
2739 2005-02-21  Michael Koch  <konqueror@gmx.de>
2740
2741         * java/awt/Checkbox.java
2742         (next_checkbox_number): New static variable.
2743         (generateName): New method.
2744         (getUniqueLong): Likewise.
2745         * java/awt/Window.java
2746         (next_window_number): New static variable.
2747         (generateName): New method.
2748         (getUniqueLong): Likewise.
2749
2750 2005-02-21  Mark Wielaard  <mark@klomp.org>
2751
2752         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
2753         exists.
2754
2755 2005-02-21  Andrew Haley  <aph@redhat.com>
2756
2757         * Makefile.in: Rebuilt.
2758         * Makefile.am (nat_source_files): Added natLogger.cc.
2759         * java/util/logging/natLogger.cc: New file.
2760         * java/util/logging/Logger.java (getCallerStackFrame): Now
2761         native.
2762
2763 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
2764
2765         * Makefile.am (all_property_files): Remove left over.
2766         (classes.stamp): Add stamp for the ONESTEP build, also known as
2767         --enable-libgcj-multifile.
2768         * Makefile.in: Regenerated.
2769
2770 2005-02-21  Michael Koch  <konqueror@gmx.de>
2771
2772         * java/awt/Button.java,
2773         java/awt/Container.java,
2774         java/awt/Font.java,
2775         java/awt/Frame.java,
2776         java/text/CollationElementIterator.java,
2777         java/text/RuleBasedCollator.java,
2778         java/util/PropertyPermission.java:
2779         Fixed formatting issues all over.
2780
2781 2005-02-21  Mark Wielaard  <mark@klomp.org>
2782
2783         * java/io/FileDescriptor.java (sync): Add real exception to
2784         SyncFailedException.
2785
2786 2005-02-21  Michael Koch  <konqueror@gmx.de>
2787
2788         * java/io/InputStreamReader.java:
2789         Fixed @author tag.
2790
2791 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
2792
2793         PR libgcj/19728:
2794         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
2795
2796 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
2797
2798         * libraries/javalib/gnu/regexp/RE.java,
2799         libraries/javalib/java/io/ObjectInputStream.java,
2800         libraries/javalib/java/security/AllPermission.java,
2801         libraries/javalib/java/security/BasicPermission.java,
2802         libraries/javalib/java/security/Permissions.java,
2803         libraries/javalib/java/text/MessageFormat.java:
2804         Made 'inner' classes real public static inner classes,
2805         and made them final where possible, or removed them
2806         where unused.
2807
2808 2005-02-20  Michael Koch  <konqueror@gmx.de>
2809
2810         * gnu/java/text/FormatCharacterIterator.java:
2811         Removed redundant modifiers.
2812
2813 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2814
2815         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
2816         snprintf.
2817
2818 2005-02-19  Michael Koch  <konqueror@gmx.de>
2819
2820         * Makefile.am: Added new files in gnu/java/beans and
2821         java/beans/XMLDecoder.java.
2822         * Makefile.in: Regenerated.
2823
2824 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
2825
2826         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
2827         assignment behavior by using java.lang.reflect.Array.set()
2828         directly.
2829
2830 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
2831
2832         * gnu/java/beans/EmptyBeanInfo.java,
2833         gnu/java/beans/info/ComponentBeanInfo.java:
2834         Removed unused files.
2835
2836 2005-02-19  Robert Schuster <thebohemian@gmx.net>
2837
2838         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
2839         of AppletStub for java.beans.Beans.instantiate.
2840         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
2841         of AppletContext.
2842         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
2843         to be conformant with Javadoc guidelines.
2844         (instantiate): Added two more overloaded variants, reworked user
2845         documentation, fixed exception behavior, fixed behavior when
2846         deserializing null.
2847
2848 2005-02-19  Mark Wielaard  <mark@klomp.org>
2849
2850         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
2851         failing methods.
2852         * gnu/java/beans/decoder/DummyContext.java: Likewise.
2853
2854 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
2855
2856         * gnu/java/beans/decoder/AbstractContext.java,
2857         gnu/java/beans/decoder/AbstractCreatableContext.java,
2858         gnu/java/beans/decoder/AbstractElementHandler.java,
2859         gnu/java/beans/decoder/AbstractObjectContext.java,
2860         gnu/java/beans/decoder/ArrayContext.java,
2861         gnu/java/beans/decoder/ArrayHandler.java,
2862         gnu/java/beans/decoder/AssemblyException.java,
2863         gnu/java/beans/decoder/BooleanHandler.java,
2864         gnu/java/beans/decoder/ByteHandler.java,
2865         gnu/java/beans/decoder/CharHandler.java,
2866         gnu/java/beans/decoder/ClassHandler.java,
2867         gnu/java/beans/decoder/ConstructorContext.java,
2868         gnu/java/beans/decoder/Context.java,
2869         gnu/java/beans/decoder/DecoderContext.java,
2870         gnu/java/beans/decoder/DefaultExceptionListener.java,
2871         gnu/java/beans/decoder/DoubleHandler.java,
2872         gnu/java/beans/decoder/DummyContext.java,
2873         gnu/java/beans/decoder/DummyHandler.java,
2874         gnu/java/beans/decoder/ElementHandler.java,
2875         gnu/java/beans/decoder/FloatHandler.java,
2876         gnu/java/beans/decoder/GrowableArrayContext.java,
2877         gnu/java/beans/decoder/IndexContext.java,
2878         gnu/java/beans/decoder/IntHandler.java,
2879         gnu/java/beans/decoder/JavaHandler.java,
2880         gnu/java/beans/decoder/LongHandler.java,
2881         gnu/java/beans/decoder/MethodContext.java,
2882         gnu/java/beans/decoder/MethodFinder.java,
2883         gnu/java/beans/decoder/NullHandler.java,
2884         gnu/java/beans/decoder/ObjectContext.java,
2885         gnu/java/beans/decoder/ObjectHandler.java,
2886         gnu/java/beans/decoder/PersistenceParser.java,
2887         gnu/java/beans/decoder/PropertyContext.java,
2888         gnu/java/beans/decoder/ShortHandler.java,
2889         gnu/java/beans/decoder/SimpleHandler.java,
2890         gnu/java/beans/decoder/StaticMethodContext.java,
2891         gnu/java/beans/decoder/StringHandler.java,
2892         gnu/java/beans/decoder/VoidHandler.java: New class
2893         implementing java.beans.XMLDecoder decoding functionality.
2894         * java/beans/XMLDecoder.java: New class.
2895
2896 2005-02-19  Michael Koch  <konqueror@gmx.de>
2897
2898         * javax/swing/JTextField.java
2899         (notfiyAction): Added javadoc.
2900
2901 2005-02-19  Sven de Marothy  <sven@physto.se>
2902
2903         * javax/swing/SpinnerDateModel.java: Implemented.
2904
2905 2005-02-19  Michael Koch  <konqueror@gmx.de>
2906
2907         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
2908         * Makefile.in: Regenerated.
2909
2910 2005-02-19  Michael Koch  <konqueror@gmx.de>
2911
2912         * gnu/java/nio/SelectorImpl.java:
2913         Reworked import statements.
2914         (register): Removed unused code.
2915         * java/nio/channels/Channels.java: Reformatted.
2916         * java/nio/charset/Charset.java: Likewise.
2917         * java/rmi/server/RemoteObject.java
2918         (serialVersionUID): Made private.
2919         * java/rmi/server/UID.java
2920         (serialVersionUID): Likewise.
2921
2922 2005-02-19  Michael Koch  <konqueror@gmx.de>
2923
2924         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2925         gnu/java/net/protocol/ftp/BlockInputStream.java,
2926         gnu/java/net/protocol/ftp/BlockOutputStream.java,
2927         gnu/java/net/protocol/ftp/CompressedInputStream.java,
2928         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
2929         gnu/java/net/protocol/ftp/DTPInputStream.java,
2930         gnu/java/net/protocol/ftp/DTP.java,
2931         gnu/java/net/protocol/ftp/DTPOutputStream.java,
2932         gnu/java/net/protocol/ftp/FTPConnection.java,
2933         gnu/java/net/protocol/ftp/FTPException.java,
2934         gnu/java/net/protocol/ftp/FTPResponse.java,
2935         gnu/java/net/protocol/ftp/FTPURLConnection.java,
2936         gnu/java/net/protocol/ftp/Handler.java,
2937         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2938         gnu/java/net/protocol/ftp/StreamInputStream.java,
2939         gnu/java/net/protocol/ftp/StreamOutputStream.java,
2940         gnu/java/net/CRLFInputStream.java,
2941         gnu/java/net/CRLFOutputStream.java,
2942         gnu/java/net/GetLocalHostAction.java,
2943         gnu/java/net/protocol/ftp/package.html: New files.
2944         * Makefile.am: Added new files.
2945         * Makefile.in: Regenerated.
2946
2947 2005-02-18  Tom Tromey  <tromey@redhat.com>
2948
2949         * link.cc (make_vtable): Remove abstract method check.
2950         (append_partial_itable): Likewise.
2951
2952         PR java/20056:
2953         * verify.cc (type::equals): Fixed test.
2954         * testsuite/libjava.lang/PR20056.out: New file.
2955         * testsuite/libjava.lang/PR20056.java: New file.
2956
2957 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
2958
2959         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
2960         not the HashEntry. Reported by Jean-Marie White.
2961
2962 2005-02-18  Tom Tromey  <tromey@redhat.com>
2963
2964         PR java/20056:
2965         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
2966         * link.cc (has_field_p): New function.
2967         * verify.cc (check_field_constant): Added 'putfield' argument.
2968         (verify_instructions_0): Updated.
2969         (type::equals): New method.
2970
2971 2005-02-18  Anthony Green  <green@redhat.com>
2972
2973         * NEWS: Draft of libgcj NEWS for 4.0.
2974
2975 2005-02-18  Anthony Green  <green@redhat.com>
2976
2977         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
2978         architecture names to "i386" for compatibility reasons.  Win32
2979         still uses "x86".
2980
2981 2005-02-18  Anthony Green  <green@redhat.com>
2982
2983         * gij.cc (version): Change year for '--version' to 2005.
2984         * gnu/gcj/convert/Convert.java: Ditto.
2985         * gnu/java/rmi/rmic/RMIC.java: Ditto.
2986         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
2987
2988         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
2989         recent copyright year in `--version' output.
2990
2991 2005-02-18  Robert Schuster <thebohemian@gmx.net>
2992
2993         * java/nio/charset/Charset.java (forName): Throws
2994         IllegalArgumentException when argument is null
2995         and added documentation.
2996
2997 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2998
2999         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3000         Move the position of the source buffer forward.
3001
3002 2005-02-17  Tom Tromey  <tromey@redhat.com>
3003
3004         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3005         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3006         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3007         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3008         Changed type of second argument.  Rewrote.
3009         (make_vtable): Use it.
3010         (append_partial_itable): Updated.
3011         (layout_vtable_methods): Updated.
3012
3013 2005-02-17  Michael Koch  <konqueror@gmx.de>
3014
3015         * gnu/java/net/PlainSocketImpl.java
3016         (shutdownInput): Added javadoc.
3017         (shutdownOutput): Likewise.
3018
3019 2005-02-17  Michael Koch  <konqueror@gmx.de>
3020
3021         * javax/print/attribute/standard/Chromaticity.java,
3022         javax/print/attribute/standard/Destination.java,
3023         javax/print/attribute/standard/MediaPrintableArea.java,
3024         javax/print/attribute/standard/MediaSize.java: New files.
3025         * Makefile.am: Added new files.
3026         * Makefile.in: Regenerated.
3027
3028 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3029             Michael Koch  <konqueror@gmx.de>
3030
3031         * gnu/java/net/protocol/http/Cookie.java,
3032         gnu/java/net/protocol/http/HTTPConnection.java,
3033         gnu/java/net/protocol/http/HTTPDateFormat.java,
3034         gnu/java/net/protocol/http/Request.java,
3035         gnu/java/nio/PipeImpl.java,
3036         gnu/java/rmi/dgc/DGCImpl.java,
3037         gnu/java/rmi/server/ConnectionRunnerPool.java,
3038         gnu/java/rmi/server/UnicastConnectionManager.java,
3039         gnu/java/security/der/DERWriter.java,
3040         gnu/java/security/pkcs/SignerInfo.java,
3041         gnu/java/security/provider/EncodedKeyFactory.java,
3042         gnu/java/security/provider/GnuDHPublicKey.java,
3043         gnu/java/security/provider/GnuDSAPrivateKey.java,
3044         gnu/java/security/provider/GnuDSAPublicKey.java,
3045         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3046         gnu/java/security/x509/X500DistinguishedName.java,
3047         gnu/java/security/x509/X509CRL.java,
3048         gnu/java/security/x509/X509CRLEntry.java,
3049         gnu/java/security/x509/X509Certificate.java,
3050         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3051         gnu/java/security/x509/ext/CertificatePolicies.java,
3052         gnu/java/security/x509/ext/PolicyConstraint.java,
3053         gnu/xml/dom/Consumer.java,
3054         gnu/xml/dom/DomCharacterData.java,
3055         gnu/xml/dom/DomDocument.java,
3056         gnu/xml/dom/DomDocumentBuilder.java,
3057         gnu/xml/dom/DomIterator.java,
3058         gnu/xml/dom/DomNode.java,
3059         gnu/xml/dom/DomXPathExpression.java,
3060         gnu/xml/dom/DomXPathResult.java,
3061         gnu/xml/dom/JAXPFactory.java,
3062         gnu/xml/pipeline/CallFilter.java,
3063         gnu/xml/pipeline/DomConsumer.java,
3064         gnu/xml/pipeline/LinkFilter.java,
3065         gnu/xml/pipeline/NSFilter.java,
3066         gnu/xml/pipeline/TeeConsumer.java,
3067         gnu/xml/pipeline/ValidationConsumer.java,
3068         gnu/xml/pipeline/WellFormednessFilter.java,
3069         gnu/xml/pipeline/XIncludeFilter.java,
3070         gnu/xml/pipeline/XsltFilter.java,
3071         gnu/xml/transform/ApplyImportsNode.java,
3072         gnu/xml/transform/Bindings.java,
3073         gnu/xml/transform/DocumentFunction.java,
3074         gnu/xml/transform/FormatNumberFunction.java,
3075         gnu/xml/transform/NodeNumberNode.java,
3076         gnu/xml/transform/NumberNode.java,
3077         gnu/xml/transform/Stylesheet.java,
3078         gnu/xml/transform/SystemPropertyFunction.java,
3079         gnu/xml/transform/Template.java,
3080         gnu/xml/transform/TemplatesImpl.java,
3081         gnu/xml/transform/TransformerImpl.java,
3082         gnu/xml/transform/ValueOfNode.java,
3083         gnu/xml/transform/XSLURIResolver.java,
3084         gnu/xml/util/DoParse.java,
3085         gnu/xml/util/Resolver.java,
3086         gnu/xml/xpath/Expr.java,
3087         gnu/xml/xpath/FunctionCall.java,
3088         gnu/xml/xpath/RelationalExpr.java,
3089         gnu/xml/xpath/Selector.java,
3090         gnu/xml/xpath/XPathParser.java:
3091         Reworked import statements, fixed modifier order and some little
3092         formatting issues.
3093
3094 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3095
3096         * java/nio/ByteBufferImpl.java (compact):
3097         Set position and limit even if no bytes were moved.
3098
3099 2005-02-17  Michael Koch  <konqueror@gmx.de>
3100
3101         * java/nio/CharViewBufferImpl.java (compact): Likewise.
3102         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3103         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3104         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3105         * java/nio/IntViewBufferImpl.java (compact): Likewise.
3106         * java/nio/LongViewBufferImpl.java (compact): Likewise.
3107         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3108         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3109         * java/nio/FloatBufferImpl.java (compact): Set position.
3110         * java/nio/CharBufferImpl.java (compact): Likewise.
3111         * java/nio/DoubleBufferImpl.java (compact): Likewise.
3112         * java/nio/IntBufferImpl.java (compact): Likewise.
3113         * java/nio/LongBufferImpl.java (compact): Likewise.
3114         * java/nio/ShortBufferImpl.java (compact): Likewise.
3115
3116 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
3117
3118         * java/nio/ByteBufferImpl.java,
3119         java/nio/CharBufferImpl.java,
3120         java/nio/DirectByteBufferImpl.java,
3121         java/nio/DoubleBufferImpl.java,
3122         java/nio/FloatBufferImpl.java,
3123         java/nio/IntBufferImpl.java,
3124         java/nio/LongBufferImpl.java,
3125         java/nio/MappedByteBufferImpl.java,
3126         java/nio/ShortBufferImpl.java
3127         (compact): Added explicit read-only check and invalidate mark.
3128
3129 2005-02-17  Michael Koch  <konqueror@gmx.de>
3130
3131         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3132         gnu/java/awt/peer/gtk/GdkFontPeer.java,
3133         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3134         gnu/java/awt/peer/gtk/GdkGraphics.java,
3135         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3136         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3137         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3138         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3139         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3140         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3141         gnu/java/awt/peer/gtk/GdkTextLayout.java,
3142         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3143         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3144         gnu/java/awt/peer/gtk/GtkClipboard.java,
3145         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3146         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3147         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3148         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3149         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3150         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3151         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3152         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3153         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3154         gnu/java/awt/peer/gtk/GtkToolkit.java,
3155         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3156         java/applet/Applet.java,
3157         java/awt/AWTError.java,
3158         java/awt/AWTEvent.java,
3159         java/awt/AWTEventMulticaster.java,
3160         java/awt/AWTException.java,
3161         java/awt/AWTKeyStroke.java,
3162         java/awt/AWTPermission.java,
3163         java/awt/ActiveEvent.java,
3164         java/awt/Adjustable.java,
3165         java/awt/AlphaComposite.java,
3166         java/awt/AttributeValue.java,
3167         java/awt/BorderLayout.java,
3168         java/awt/BufferCapabilities.java,
3169         java/awt/Button.java,
3170         java/awt/Canvas.java,
3171         java/awt/CheckboxGroup.java,
3172         java/awt/CheckboxMenuItem.java,
3173         java/awt/Color.java,
3174         java/awt/ColorPaintContext.java,
3175         java/awt/Component.java,
3176         java/awt/ComponentOrientation.java,
3177         java/awt/Composite.java,
3178         java/awt/CompositeContext.java,
3179         java/awt/Container.java,
3180         java/awt/ContainerOrderFocusTraversalPolicy.java,
3181         java/awt/DefaultFocusTraversalPolicy.java,
3182         java/awt/Dialog.java,
3183         java/awt/Dimension.java,
3184         java/awt/DisplayMode.java,
3185         java/awt/EventQueue.java,
3186         java/awt/FileDialog.java,
3187         java/awt/FontFormatException.java,
3188         java/awt/Graphics.java,
3189         java/awt/Graphics2D.java,
3190         java/awt/GraphicsConfigTemplate.java,
3191         java/awt/GraphicsConfiguration.java,
3192         java/awt/GraphicsDevice.java,
3193         java/awt/GridBagLayout.java,
3194         java/awt/GridBagLayoutInfo.java,
3195         java/awt/GridLayout.java,
3196         java/awt/HeadlessException.java,
3197         java/awt/IllegalComponentStateException.java,
3198         java/awt/Image.java,
3199         java/awt/Insets.java,
3200         java/awt/ItemSelectable.java,
3201         java/awt/JobAttributes.java,
3202         java/awt/KeyEventDispatcher.java,
3203         java/awt/KeyEventPostProcessor.java,
3204         java/awt/KeyboardFocusManager.java,
3205         java/awt/Label.java,
3206         java/awt/LayoutManager.java,
3207         java/awt/MenuBar.java,
3208         java/awt/MenuComponent.java,
3209         java/awt/MenuContainer.java,
3210         java/awt/PageAttributes.java,
3211         java/awt/Paint.java,
3212         java/awt/PaintContext.java,
3213         java/awt/Panel.java,
3214         java/awt/Point.java,
3215         java/awt/Polygon.java,
3216         java/awt/PrintGraphics.java,
3217         java/awt/PrintJob.java,
3218         java/awt/Rectangle.java,
3219         java/awt/RenderingHints.java,
3220         java/awt/Shape.java,
3221         java/awt/Stroke.java,
3222         java/awt/SystemColor.java,
3223         java/awt/Toolkit.java,
3224         java/awt/Transparency.java,
3225         java/awt/Window.java,
3226         java/awt/color/CMMException.java,
3227         java/awt/color/ColorSpace.java,
3228         java/awt/color/ICC_ColorSpace.java,
3229         java/awt/color/ICC_Profile.java,
3230         java/awt/color/ProfileDataException.java,
3231         java/awt/datatransfer/FlavorTable.java,
3232         java/awt/datatransfer/MimeTypeParseException.java,
3233         java/awt/datatransfer/Transferable.java,
3234         java/awt/datatransfer/UnsupportedFlavorException.java,
3235         java/awt/dnd/Autoscroll.java,
3236         java/awt/dnd/DnDConstants.java,
3237         java/awt/dnd/DragGestureListener.java,
3238         java/awt/dnd/DragSourceAdapter.java,
3239         java/awt/dnd/DragSourceDropEvent.java,
3240         java/awt/dnd/DragSourceListener.java,
3241         java/awt/dnd/DragSourceMotionListener.java,
3242         java/awt/dnd/DropTargetAdapter.java,
3243         java/awt/dnd/DropTargetContext.java,
3244         java/awt/dnd/DropTargetListener.java,
3245         java/awt/dnd/InvalidDnDOperationException.java,
3246         java/awt/dnd/MouseDragGestureRecognizer.java,
3247         java/awt/dnd/peer/DropTargetContextPeer.java,
3248         java/awt/event/AWTEventListener.java,
3249         java/awt/event/AWTEventListenerProxy.java,
3250         java/awt/event/ActionEvent.java,
3251         java/awt/event/AdjustmentEvent.java,
3252         java/awt/event/AdjustmentListener.java,
3253         java/awt/event/ComponentAdapter.java,
3254         java/awt/event/ComponentEvent.java,
3255         java/awt/event/ComponentListener.java,
3256         java/awt/event/ContainerAdapter.java,
3257         java/awt/event/ContainerEvent.java,
3258         java/awt/event/ContainerListener.java,
3259         java/awt/event/FocusAdapter.java,
3260         java/awt/event/FocusEvent.java,
3261         java/awt/event/FocusListener.java,
3262         java/awt/event/InputEvent.java,
3263         java/awt/event/InputMethodEvent.java,
3264         java/awt/event/InputMethodListener.java,
3265         java/awt/event/InvocationEvent.java,
3266         java/awt/event/ItemEvent.java,
3267         java/awt/event/ItemListener.java,
3268         java/awt/event/KeyAdapter.java,
3269         java/awt/event/KeyEvent.java,
3270         java/awt/event/KeyListener.java,
3271         java/awt/event/MouseAdapter.java,
3272         java/awt/event/MouseEvent.java,
3273         java/awt/event/MouseListener.java,
3274         java/awt/event/MouseMotionAdapter.java,
3275         java/awt/event/MouseMotionListener.java,
3276         java/awt/event/MouseWheelEvent.java,
3277         java/awt/event/MouseWheelListener.java,
3278         java/awt/event/PaintEvent.java,
3279         java/awt/event/TextEvent.java,
3280         java/awt/event/TextListener.java,
3281         java/awt/event/WindowAdapter.java,
3282         java/awt/event/WindowEvent.java,
3283         java/awt/event/WindowFocusListener.java,
3284         java/awt/event/WindowListener.java,
3285         java/awt/event/WindowStateListener.java,
3286         java/awt/font/TextHitInfo.java,
3287         java/awt/geom/CubicCurve2D.java,
3288         java/awt/geom/Dimension2D.java,
3289         java/awt/geom/Ellipse2D.java,
3290         java/awt/geom/IllegalPathStateException.java,
3291         java/awt/geom/Line2D.java,
3292         java/awt/geom/NoninvertibleTransformException.java,
3293         java/awt/geom/PathIterator.java,
3294         java/awt/geom/Point2D.java,
3295         java/awt/geom/QuadCurve2D.java,
3296         java/awt/geom/RectangularShape.java,
3297         java/awt/geom/RoundRectangle2D.java,
3298         java/awt/im/InputContext.java,
3299         java/awt/im/InputMethodHighlight.java,
3300         java/awt/im/InputMethodRequests.java,
3301         java/awt/im/InputSubset.java,
3302         java/awt/im/spi/InputMethod.java,
3303         java/awt/im/spi/InputMethodDescriptor.java,
3304         java/awt/image/BandCombineOp.java,
3305         java/awt/image/BandedSampleModel.java,
3306         java/awt/image/ByteLookupTable.java,
3307         java/awt/image/ComponentSampleModel.java,
3308         java/awt/image/DataBuffer.java,
3309         java/awt/image/DataBufferByte.java,
3310         java/awt/image/DataBufferDouble.java,
3311         java/awt/image/DataBufferFloat.java,
3312         java/awt/image/DataBufferInt.java,
3313         java/awt/image/DataBufferShort.java,
3314         java/awt/image/DataBufferUShort.java,
3315         java/awt/image/ImagingOpException.java,
3316         java/awt/image/Kernel.java,
3317         java/awt/image/LookupTable.java,
3318         java/awt/image/MultiPixelPackedSampleModel.java,
3319         java/awt/image/PackedColorModel.java,
3320         java/awt/image/PixelInterleavedSampleModel.java,
3321         java/awt/image/RGBImageFilter.java,
3322         java/awt/image/Raster.java,
3323         java/awt/image/RasterFormatException.java,
3324         java/awt/image/SampleModel.java,
3325         java/awt/image/ShortLookupTable.java,
3326         java/awt/image/SinglePixelPackedSampleModel.java,
3327         java/awt/image/WritableRaster.java,
3328         java/awt/print/PrinterAbortException.java,
3329         java/awt/print/PrinterException.java,
3330         java/awt/print/PrinterIOException.java,
3331         java/beans/AppletInitializer.java,
3332         java/beans/ExceptionListener.java,
3333         java/beans/PropertyChangeEvent.java,
3334         java/beans/PropertyChangeListenerProxy.java,
3335         java/beans/PropertyChangeSupport.java,
3336         java/beans/PropertyDescriptor.java,
3337         java/beans/VetoableChangeListenerProxy.java,
3338         java/beans/VetoableChangeSupport.java,
3339         java/io/BufferedReader.java,
3340         java/io/ByteArrayInputStream.java,
3341         java/io/ByteArrayOutputStream.java,
3342         java/io/CharArrayReader.java,
3343         java/io/CharArrayWriter.java,
3344         java/io/CharConversionException.java,
3345         java/io/DataInput.java,
3346         java/io/DataInputStream.java,
3347         java/io/DataOutput.java,
3348         java/io/DataOutputStream.java,
3349         java/io/EOFException.java,
3350         java/io/FileInputStream.java,
3351         java/io/FileNotFoundException.java,
3352         java/io/FileOutputStream.java,
3353         java/io/FilenameFilter.java,
3354         java/io/FilterInputStream.java,
3355         java/io/FilterOutputStream.java,
3356         java/io/FilterReader.java,
3357         java/io/FilterWriter.java,
3358         java/io/IOException.java,
3359         java/io/InputStream.java,
3360         java/io/InterruptedIOException.java,
3361         java/io/LineNumberInputStream.java,
3362         java/io/LineNumberReader.java,
3363         java/io/ObjectInputStream.java,
3364         java/io/ObjectStreamException.java,
3365         java/io/OptionalDataException.java,
3366         java/io/OutputStream.java,
3367         java/io/OutputStreamWriter.java,
3368         java/io/PrintStream.java,
3369         java/io/PrintWriter.java,
3370         java/io/PushbackInputStream.java,
3371         java/io/PushbackReader.java,
3372         java/io/RandomAccessFile.java,
3373         java/io/Reader.java,
3374         java/io/SequenceInputStream.java,
3375         java/io/Serializable.java,
3376         java/io/StreamCorruptedException.java,
3377         java/io/StreamTokenizer.java,
3378         java/io/StringBufferInputStream.java,
3379         java/io/StringWriter.java,
3380         java/io/SyncFailedException.java,
3381         java/io/UTFDataFormatException.java,
3382         java/io/UnsupportedEncodingException.java,
3383         java/io/WriteAbortedException.java,
3384         java/io/Writer.java,
3385         java/lang/AbstractMethodError.java,
3386         java/lang/ArithmeticException.java,
3387         java/lang/ArrayIndexOutOfBoundsException.java,
3388         java/lang/ArrayStoreException.java,
3389         java/lang/AssertionError.java,
3390         java/lang/Boolean.java,
3391         java/lang/Byte.java,
3392         java/lang/Class.java,
3393         java/lang/ClassCastException.java,
3394         java/lang/ClassCircularityError.java,
3395         java/lang/ClassLoader.java,
3396         java/lang/ClassNotFoundException.java,
3397         java/lang/CloneNotSupportedException.java,
3398         java/lang/Cloneable.java,
3399         java/lang/Comparable.java,
3400         java/lang/Compiler.java,
3401         java/lang/Double.java,
3402         java/lang/Error.java,
3403         java/lang/Exception.java,
3404         java/lang/ExceptionInInitializerError.java,
3405         java/lang/Float.java,
3406         java/lang/IllegalAccessError.java,
3407         java/lang/IllegalAccessException.java,
3408         java/lang/IllegalArgumentException.java,
3409         java/lang/IllegalMonitorStateException.java,
3410         java/lang/IllegalStateException.java,
3411         java/lang/IllegalThreadStateException.java,
3412         java/lang/IncompatibleClassChangeError.java,
3413         java/lang/IndexOutOfBoundsException.java,
3414         java/lang/InheritableThreadLocal.java,
3415         java/lang/InstantiationError.java,
3416         java/lang/InstantiationException.java,
3417         java/lang/Integer.java,
3418         java/lang/InternalError.java,
3419         java/lang/InterruptedException.java,
3420         java/lang/LinkageError.java,
3421         java/lang/Long.java,
3422         java/lang/NegativeArraySizeException.java,
3423         java/lang/NoClassDefFoundError.java,
3424         java/lang/NoSuchFieldError.java,
3425         java/lang/NoSuchFieldException.java,
3426         java/lang/NoSuchMethodError.java,
3427         java/lang/NoSuchMethodException.java,
3428         java/lang/NullPointerException.java,
3429         java/lang/Number.java,
3430         java/lang/NumberFormatException.java,
3431         java/lang/OutOfMemoryError.java,
3432         java/lang/Process.java,
3433         java/lang/Runnable.java,
3434         java/lang/Runtime.java,
3435         java/lang/RuntimeException.java,
3436         java/lang/RuntimePermission.java,
3437         java/lang/SecurityException.java,
3438         java/lang/SecurityManager.java,
3439         java/lang/Short.java,
3440         java/lang/StackOverflowError.java,
3441         java/lang/StackTraceElement.java,
3442         java/lang/StringBuffer.java,
3443         java/lang/StringIndexOutOfBoundsException.java,
3444         java/lang/ThreadDeath.java,
3445         java/lang/ThreadGroup.java,
3446         java/lang/Throwable.java,
3447         java/lang/UnsatisfiedLinkError.java,
3448         java/lang/UnsupportedOperationException.java,
3449         java/lang/VerifyError.java,
3450         java/lang/VirtualMachineError.java,
3451         java/lang/reflect/AccessibleObject.java,
3452         java/lang/reflect/Array.java,
3453         java/lang/reflect/InvocationTargetException.java,
3454         java/lang/reflect/Member.java,
3455         java/lang/reflect/Modifier.java,
3456         java/lang/reflect/Proxy.java,
3457         java/lang/reflect/ReflectPermission.java,
3458         java/lang/reflect/UndeclaredThrowableException.java,
3459         java/math/BigInteger.java,
3460         java/net/NetworkInterface.java,
3461         java/nio/ByteBufferHelper.java,
3462         java/nio/ByteBufferImpl.java,
3463         java/nio/DirectByteBufferImpl.java,
3464         java/nio/DoubleBufferImpl.java,
3465         java/nio/FloatBufferImpl.java,
3466         java/nio/IntBufferImpl.java,
3467         java/nio/LongBufferImpl.java,
3468         java/nio/ShortBufferImpl.java,
3469         java/nio/channels/Channel.java,
3470         java/nio/channels/IllegalBlockingModeException.java,
3471         java/nio/charset/spi/CharsetProvider.java,
3472         java/security/AccessControlException.java,
3473         java/security/BasicPermission.java,
3474         java/security/DigestException.java,
3475         java/security/DigestInputStream.java,
3476         java/security/DigestOutputStream.java,
3477         java/security/GeneralSecurityException.java,
3478         java/security/Guard.java,
3479         java/security/GuardedObject.java,
3480         java/security/InvalidAlgorithmParameterException.java,
3481         java/security/InvalidKeyException.java,
3482         java/security/InvalidParameterException.java,
3483         java/security/Key.java,
3484         java/security/KeyException.java,
3485         java/security/KeyManagementException.java,
3486         java/security/KeyStoreException.java,
3487         java/security/MessageDigestSpi.java,
3488         java/security/NoSuchAlgorithmException.java,
3489         java/security/NoSuchProviderException.java,
3490         java/security/Permission.java,
3491         java/security/PermissionCollection.java,
3492         java/security/Permissions.java,
3493         java/security/Principal.java,
3494         java/security/PrivateKey.java,
3495         java/security/PrivilegedActionException.java,
3496         java/security/ProviderException.java,
3497         java/security/PublicKey.java,
3498         java/security/SecureRandom.java,
3499         java/security/SecureRandomSpi.java,
3500         java/security/SignatureException.java,
3501         java/security/SignatureSpi.java,
3502         java/security/SignedObject.java,
3503         java/security/Signer.java,
3504         java/security/UnrecoverableKeyException.java,
3505         java/security/UnresolvedPermission.java,
3506         java/security/acl/AclNotFoundException.java,
3507         java/security/acl/LastOwnerException.java,
3508         java/security/acl/NotOwnerException.java,
3509         java/security/cert/CertPath.java,
3510         java/security/cert/CertPathBuilderException.java,
3511         java/security/cert/CertPathValidatorException.java,
3512         java/security/cert/CertStoreException.java,
3513         java/text/BreakIterator.java,
3514         java/text/ChoiceFormat.java,
3515         java/text/CollationElementIterator.java,
3516         java/text/CollationKey.java,
3517         java/text/Collator.java,
3518         java/text/DateFormat.java,
3519         java/text/DateFormatSymbols.java,
3520         java/text/DecimalFormat.java,
3521         java/text/DecimalFormatSymbols.java,
3522         java/text/FieldPosition.java,
3523         java/text/Format.java,
3524         java/text/NumberFormat.java,
3525         java/text/ParseException.java,
3526         java/text/ParsePosition.java,
3527         java/text/StringCharacterIterator.java,
3528         java/util/AbstractCollection.java,
3529         java/util/AbstractList.java,
3530         java/util/AbstractMap.java,
3531         java/util/AbstractSequentialList.java,
3532         java/util/AbstractSet.java,
3533         java/util/ArrayList.java,
3534         java/util/Arrays.java,
3535         java/util/BitSet.java,
3536         java/util/Collection.java,
3537         java/util/Collections.java,
3538         java/util/Comparator.java,
3539         java/util/ConcurrentModificationException.java,
3540         java/util/Currency.java,
3541         java/util/Date.java,
3542         java/util/EmptyStackException.java,
3543         java/util/Enumeration.java,
3544         java/util/EventListener.java,
3545         java/util/EventListenerProxy.java,
3546         java/util/EventObject.java,
3547         java/util/HashMap.java,
3548         java/util/HashSet.java,
3549         java/util/Hashtable.java,
3550         java/util/IdentityHashMap.java,
3551         java/util/Iterator.java,
3552         java/util/LinkedHashSet.java,
3553         java/util/LinkedList.java,
3554         java/util/List.java,
3555         java/util/ListIterator.java,
3556         java/util/ListResourceBundle.java,
3557         java/util/Map.java,
3558         java/util/MissingResourceException.java,
3559         java/util/NoSuchElementException.java,
3560         java/util/Observable.java,
3561         java/util/Observer.java,
3562         java/util/Properties.java,
3563         java/util/PropertyPermissionCollection.java,
3564         java/util/RandomAccess.java,
3565         java/util/Set.java,
3566         java/util/SortedMap.java,
3567         java/util/SortedSet.java,
3568         java/util/Stack.java,
3569         java/util/StringTokenizer.java,
3570         java/util/TooManyListenersException.java,
3571         java/util/TreeMap.java,
3572         java/util/TreeSet.java,
3573         java/util/Vector.java,
3574         java/util/logging/FileHandler.java,
3575         java/util/logging/Level.java,
3576         java/util/prefs/BackingStoreException.java,
3577         java/util/prefs/InvalidPreferencesFormatException.java,
3578         java/util/prefs/Preferences.java,
3579         javax/accessibility/Accessible.java,
3580         javax/accessibility/AccessibleAction.java,
3581         javax/accessibility/AccessibleBundle.java,
3582         javax/accessibility/AccessibleComponent.java,
3583         javax/accessibility/AccessibleContext.java,
3584         javax/accessibility/AccessibleEditableText.java,
3585         javax/accessibility/AccessibleExtendedComponent.java,
3586         javax/accessibility/AccessibleExtendedTable.java,
3587         javax/accessibility/AccessibleHyperlink.java,
3588         javax/accessibility/AccessibleHypertext.java,
3589         javax/accessibility/AccessibleIcon.java,
3590         javax/accessibility/AccessibleKeyBinding.java,
3591         javax/accessibility/AccessibleRelation.java,
3592         javax/accessibility/AccessibleRelationSet.java,
3593         javax/accessibility/AccessibleResourceBundle.java,
3594         javax/accessibility/AccessibleRole.java,
3595         javax/accessibility/AccessibleSelection.java,
3596         javax/accessibility/AccessibleState.java,
3597         javax/accessibility/AccessibleStateSet.java,
3598         javax/accessibility/AccessibleTable.java,
3599         javax/accessibility/AccessibleTableModelChange.java,
3600         javax/accessibility/AccessibleText.java,
3601         javax/accessibility/AccessibleValue.java,
3602         javax/imageio/IIOException.java,
3603         javax/imageio/ImageIO.java,
3604         javax/imageio/spi/IIOServiceProvider.java,
3605         javax/imageio/spi/ImageInputStreamSpi.java,
3606         javax/imageio/spi/ImageOutputStreamSpi.java,
3607         javax/imageio/spi/ImageReaderWriterSpi.java,
3608         javax/imageio/spi/ImageTranscoderSpi.java,
3609         javax/imageio/spi/RegisterableService.java,
3610         javax/imageio/spi/ServiceRegistry.java,
3611         javax/imageio/stream/IIOByteBuffer.java,
3612         javax/imageio/stream/ImageInputStream.java,
3613         javax/imageio/stream/ImageOutputStream.java,
3614         javax/naming/Binding.java,
3615         javax/naming/CannotProceedException.java,
3616         javax/naming/CompositeName.java,
3617         javax/naming/CompoundName.java,
3618         javax/naming/LinkException.java,
3619         javax/naming/LinkRef.java,
3620         javax/naming/NameClassPair.java,
3621         javax/naming/Reference.java,
3622         javax/naming/ReferralException.java,
3623         javax/naming/directory/Attribute.java,
3624         javax/naming/directory/AttributeModificationException.java,
3625         javax/naming/directory/Attributes.java,
3626         javax/naming/directory/DirContext.java,
3627         javax/naming/directory/ModificationItem.java,
3628         javax/naming/directory/SearchControls.java,
3629         javax/naming/directory/SearchResult.java,
3630         javax/naming/event/EventContext.java,
3631         javax/naming/event/EventDirContext.java,
3632         javax/naming/event/NamespaceChangeListener.java,
3633         javax/naming/event/NamingExceptionEvent.java,
3634         javax/naming/event/NamingListener.java,
3635         javax/naming/event/ObjectChangeListener.java,
3636         javax/naming/ldap/Control.java,
3637         javax/naming/ldap/ExtendedResponse.java,
3638         javax/naming/ldap/HasControls.java,
3639         javax/naming/ldap/LdapContext.java,
3640         javax/naming/ldap/UnsolicitedNotification.java,
3641         javax/naming/ldap/UnsolicitedNotificationEvent.java,
3642         javax/naming/ldap/UnsolicitedNotificationListener.java,
3643         javax/naming/spi/DirectoryManager.java,
3644         javax/naming/spi/ResolveResult.java,
3645         javax/naming/spi/Resolver.java,
3646         javax/security/auth/callback/Callback.java,
3647         javax/security/auth/callback/CallbackHandler.java,
3648         javax/security/auth/callback/ChoiceCallback.java,
3649         javax/security/auth/callback/ConfirmationCallback.java,
3650         javax/security/auth/callback/LanguageCallback.java,
3651         javax/security/auth/callback/NameCallback.java,
3652         javax/security/auth/callback/PasswordCallback.java,
3653         javax/security/auth/callback/TextInputCallback.java,
3654         javax/security/auth/callback/TextOutputCallback.java,
3655         javax/security/auth/callback/UnsupportedCallbackException.java,
3656         javax/security/sasl/Sasl.java,
3657         javax/security/sasl/SaslServerFactory.java,
3658         javax/swing/DefaultBoundedRangeModel.java,
3659         javax/swing/JComponent.java,
3660         javax/swing/JList.java,
3661         javax/swing/JProgressBar.java,
3662         javax/swing/JRadioButton.java,
3663         javax/swing/JTextArea.java,
3664         javax/swing/JTextField.java,
3665         javax/swing/JToggleButton.java,
3666         javax/swing/JTree.java,
3667         javax/swing/SpinnerListModel.java,
3668         javax/swing/event/EventListenerList.java,
3669         javax/swing/text/JTextComponent.java,
3670         javax/swing/text/StringContent.java,
3671         javax/swing/text/Utilities.java,
3672         javax/swing/undo/UndoManager.java,
3673         javax/swing/undo/UndoableEditSupport.java,
3674         javax/transaction/HeuristicCommitException.java,
3675         javax/transaction/HeuristicMixedException.java,
3676         javax/transaction/HeuristicRollbackException.java,
3677         javax/transaction/InvalidTransactionException.java,
3678         javax/transaction/NotSupportedException.java,
3679         javax/transaction/RollbackException.java,
3680         javax/transaction/Status.java,
3681         javax/transaction/Synchronization.java,
3682         javax/transaction/SystemException.java,
3683         javax/transaction/Transaction.java,
3684         javax/transaction/TransactionManager.java,
3685         javax/transaction/TransactionRequiredException.java,
3686         javax/transaction/TransactionRolledbackException.java,
3687         javax/transaction/UserTransaction.java,
3688         javax/transaction/xa/XAException.java,
3689         javax/transaction/xa/XAResource.java,
3690         javax/transaction/xa/Xid.java,
3691         javax/xml/XMLConstants.java,
3692         javax/xml/datatype/DatatypeConfigurationException.java,
3693         javax/xml/datatype/DatatypeConstants.java,
3694         javax/xml/datatype/DatatypeFactory.java,
3695         javax/xml/datatype/Duration.java,
3696         javax/xml/datatype/XMLGregorianCalendar.java,
3697         javax/xml/namespace/NamespaceContext.java,
3698         javax/xml/namespace/QName.java,
3699         javax/xml/parsers/DocumentBuilder.java,
3700         javax/xml/parsers/DocumentBuilderFactory.java,
3701         javax/xml/parsers/FactoryConfigurationError.java,
3702         javax/xml/parsers/ParserConfigurationException.java,
3703         javax/xml/parsers/SAXParser.java,
3704         javax/xml/parsers/SAXParserFactory.java,
3705         javax/xml/transform/ErrorListener.java,
3706         javax/xml/transform/OutputKeys.java,
3707         javax/xml/transform/Result.java,
3708         javax/xml/transform/Source.java,
3709         javax/xml/transform/SourceLocator.java,
3710         javax/xml/transform/Templates.java,
3711         javax/xml/transform/Transformer.java,
3712         javax/xml/transform/TransformerConfigurationException.java,
3713         javax/xml/transform/TransformerException.java,
3714         javax/xml/transform/TransformerFactory.java,
3715         javax/xml/transform/TransformerFactoryConfigurationError.java,
3716         javax/xml/transform/URIResolver.java,
3717         javax/xml/transform/dom/DOMLocator.java,
3718         javax/xml/transform/dom/DOMResult.java,
3719         javax/xml/transform/dom/DOMSource.java,
3720         javax/xml/transform/sax/SAXResult.java,
3721         javax/xml/transform/sax/SAXSource.java,
3722         javax/xml/transform/sax/SAXTransformerFactory.java,
3723         javax/xml/transform/sax/TemplatesHandler.java,
3724         javax/xml/transform/sax/TransformerHandler.java,
3725         javax/xml/transform/stream/StreamResult.java,
3726         javax/xml/transform/stream/StreamSource.java,
3727         javax/xml/validation/Schema.java,
3728         javax/xml/validation/SchemaFactory.java,
3729         javax/xml/validation/TypeInfoProvider.java,
3730         javax/xml/validation/Validator.java,
3731         javax/xml/validation/ValidatorHandler.java,
3732         javax/xml/xpath/XPathConstants.java,
3733         javax/xml/xpath/XPathException.java,
3734         javax/xml/xpath/XPathExpression.java,
3735         javax/xml/xpath/XPathExpressionException.java,
3736         javax/xml/xpath/XPathFactory.java,
3737         javax/xml/xpath/XPathFactoryConfigurationException.java,
3738         javax/xml/xpath/XPathFunction.java,
3739         javax/xml/xpath/XPathFunctionException.java,
3740         javax/xml/xpath/XPathFunctionResolver.java:
3741         Fixed usage of @author tag, reworked import statements,
3742         removed CVS tags, changed the modifier order and fixed
3743         HTML usage in javadocs.
3744
3745 2005-02-16  Julian Scheid  <julian@sektor37.de>
3746
3747         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
3748         in.position().
3749         (encodeLoop): Likewise.
3750
3751 2005-02-16  Mark Wielaard  <mark@klomp.org>
3752
3753         * Makefile.am (ordinary_java_source_files): Add new files
3754         gnu/java/security/ber/BER.java,
3755         gnu/java/security/ber/BEREncodingException.java,
3756         gnu/java/security/ber/BERReader.java,
3757         gnu/java/security/ber/BERValue.java,
3758         gnu/java/security/pkcs/PKCS7SignedData.java and
3759         gnu/java/security/pkcs/SignerInfo.java.
3760         * Makefile.in: Regenerated.
3761
3762 2005-02-16  Casey Marshall  <csm@gnu.org>
3763
3764         * gnu/java/security/provider/GnuDSAPrivateKey.java
3765         (encodedKey): new field.
3766         (getFormat): return "PKCS#8".
3767         (getEncoded): implemented.
3768         (toString): check for 'null' values.
3769         * gnu/java/security/provider/GnuDSAPublicKey.java
3770         (encodedKey): new field.
3771         (getFormat): return "X.509".
3772         (getEncoded): implemented.
3773         (toString): check for 'null' values.
3774
3775 2005-02-16  Michael Koch  <konqueror@gmx.de>
3776
3777         * java/util/jar/JarFile.java: Imports reworked.
3778
3779 2005-02-16  Mark Wielaard  <mark@klomp.org>
3780
3781         * java/util/jar/JarFile.java (verify): Make package private.
3782         (signaturesRead): Likewise.
3783         (verified): Likewise.
3784         (entryCerts): Likewise.
3785         (DEBUG): Likewise.
3786         (debug): Likewise.
3787         (entries): Construct new JarEnumeration with reference to this.
3788         (JarEnumeration): Make static.
3789         (JarEnumeration.jarfile): New field.
3790         (JarEnumeration.nextElement): Use and synchronize on jarfile.
3791         Compare verified value to Boolean.TRUE or Boolean.False only
3792         when verify is true.
3793         (getEntry): Make synchronized. Compare value of verified to
3794         Boolean.TRUE.
3795         (getInputStream): Construct EntryInputStream with reference to this.
3796         (getManifest): Make synchronized.
3797         (EntryInputStream): Make static.
3798         (EntryInputStream.jarfile): New field.
3799         (EntryInputStream.EntryInputStream): Check if manifest exists,
3800         before getting attributes.
3801         (eof): Synchronize on jarfile.
3802
3803 2005-02-16  Casey Marshall  <csm@gnu.org>
3804
3805         * java/util/jar/JarFile.java (verify): return if the jar is signed
3806         with an unsupported algorithm.
3807
3808 2005-02-16  Mark Wielaard  <mark@klomp.org>
3809
3810         * java/util/jar/JarFile.java (EntryInputStream): Add actual
3811         InputStream as argument.
3812         (getInputStream): Construct a new EntryInputStream with the result of
3813         super.getInputStream(entry).
3814
3815 2005-02-16  Casey Marshall  <csm@gnu.org>
3816
3817         Signed JAR file support.
3818         * java/net/URLClassLoader.java
3819         (JarURLResource.getCertificates): re-read jar entry to ensure
3820         certificates are picked up.
3821         (findClass): fill in class `signers' field, too.
3822         * java/util/jar/JarFile.java (META_INF): new constant.
3823         (PKCS7_DSA_SUFFIX): new constant.
3824         (PKCS7_RSA_SUFFIX): new constant.
3825         (DIGEST_KEY_SUFFIX): new constant.
3826         (SF_SUFFIX): new constant.
3827         (MD2_OID): new constant.
3828         (MD4_OID): new constant.
3829         (MD5_OID): new constant.
3830         (SHA1_OID): new constant.
3831         (DSA_ENCRYPTION_OID): new constant.
3832         (RSA_ENCRYPTION_OID): new constant.
3833         (signaturesRead): new field.
3834         (verified): new field.
3835         (entryCerts): new field.
3836         (DEBUG): new constant.
3837         (debug): new method.
3838         (JarEnumeration.nextElement): fill in entry certificates, read
3839         signatures if they haven't been read.
3840         (getEntry): likewise.
3841         (getInputStream): verify stream if it hasn't been verified yet.
3842         (readSignatures): new method.
3843         (verify): new method.
3844         (verifyHashes): new method.
3845         (readManifestEntry): new method.
3846         (EntryInputStream): new class.
3847         * gnu/java/io/Base64InputStream.java (decode): new class
3848         method.
3849         * gnu/java/security/der/DERReader.java don't make class
3850         final.
3851         (in): made protected.
3852         (encBuf): likewise.
3853         (readLength): likewise.
3854         * gnu/java/security/ber/BER.java,
3855         * gnu/java/security/ber/BEREncodingException.java,
3856         * gnu/java/security/ber/BERReader.java,
3857         * gnu/java/security/ber/BERValue.java,
3858         * gnu/java/security/pkcs/PKCS7SignedData.java,
3859         * gnu/java/security/pkcs/SignerInfo.java:
3860         new files.
3861
3862 2005-02-16  Tom Tromey  <tromey@redhat.com>
3863
3864         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
3865         copied file on exit.
3866
3867 2005-02-15  Mark Wielaard  <mark@klomp.org>
3868
3869         * java/awt/BasicStroke.java (hashCode): Check for null dash.
3870
3871 2005-02-15  Michael Koch  <konqueror@gmx.de>
3872
3873         * gnu/java/awt/peer/gtk/GtkArg.java,
3874         gnu/java/awt/peer/gtk/GtkArgList.java:
3875         Removed.
3876
3877 2005-02-15  Craig Black  <craig.black@aonix.com>
3878
3879         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
3880         (postMenuActionEvent): Implement to notify ItemListeners.
3881         * java/awt/CheckboxMenuItem.java
3882         (dispatchEventImpl): Update state on ItemEvent.
3883         * java/awt/MenuItem.java
3884         (processActionEvent): Retarget event source.
3885
3886 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3887
3888         * gnu/java/awt/color/ClutProfileConverter.java,
3889         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
3890         gnu/java/awt/peer/gtk/GdkFontPeer.java,
3891         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3892         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3893         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3894         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3895         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3896         gnu/java/awt/peer/gtk/GdkTextLayout.java,
3897         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3898         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3899         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3900         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3901         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3902         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3903         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3904         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3905         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3906         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3907         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
3908         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3909         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3910         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3911         gnu/java/awt/peer/gtk/GtkToolkit.java,
3912         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3913         javax/swing/JPopupMenu.java,
3914         javax/swing/JSpinner.java,
3915         javax/swing/SortingFocusTraversalPolicy.java,
3916         javax/swing/SwingUtilities.java,
3917         javax/swing/plaf/basic/BasicComboBoxEditor.java,
3918         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
3919         javax/swing/tree/DefaultMutableTreeNode.java:
3920         Removed unused imports and expanded starred
3921         imports.
3922
3923 2005-02-15  Mark Wielaard  <mark@klomp.org>
3924
3925         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
3926         IllegalArgumentException when the given String is null.
3927
3928         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
3929         when given keystoke sequence cannot be parsed.
3930
3931         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
3932         if one is installed. Only install the given menubar is not null.
3933
3934         * javax/swing/JViewport.java (getViewSize): Return an empty
3935         Dimension when the view isn't set or preferred component size when
3936         no viewSize is set.
3937
3938         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
3939         empty Dimension when there is no view set.
3940         (minimumLayoutSize): Likewise.
3941         (layoutContainer): Don't try to layout when there is no view.
3942
3943 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3944
3945         * jawt.c: New file.
3946         * include/jawt.h: Likewise.
3947         * include/jawt_md.h: Likewise.
3948         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
3949         jawt_md.h files.
3950         * jni/classpath/classpath_jawt.h: Likewise.
3951         * jni/gtk-peer/gtk_jawt.c: Likewise.
3952         * Makefile.am: Build libjawt.so.
3953
3954 2005-02-15  Michael Koch  <konqueror@gmx.de>
3955
3956         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3957         Merged file header with classpath CVS head.
3958         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3959         Merged code formatting with classpath CVS head.
3960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
3961         Removed debug code.
3962         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
3963         Handle special JNI strings with 2 '\0' at the end.
3964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3965         Merged file header with classpath CVS head.
3966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3967         Merged code formatting with classpath CVS head.
3968
3969 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3970
3971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
3972         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
3973         (handle_response): Use GTK_RESPONSE_ACCEPT.
3974
3975 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3976
3977         * Makefile.am: Fix library build breakage.
3978         * Makefile.in: Regenerate.
3979
3980 2005-02-15  Michael Koch  <konqueror@gmx.de>
3981
3982         * javax/swing/JTabbedPane.java
3983         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
3984
3985 2005-02-15  Michael Koch  <konqueror@gmx.de>
3986
3987         * javax/swing/tree/DefaultMutableTreeNode.java:
3988         Reworked Javadocs all over.
3989         (getPathToRoot): Fixed direction of result array initialization.
3990
3991 2005-02-15  Michael Koch  <konqueror@gmx.de>
3992
3993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3994          Fix includes for cairo 0.3.0 snappshot.
3995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3996         Merged file header from classpath CVS HEAD.
3997
3998 2005-02-15  Craig Black  <craig.black@aonix.com>
3999
4000         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4001         (copyState): Pass a JNI global reference to signal handler.
4002         (realize_cb): Use and free JNI global reference.
4003         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4004         (create): Pass a JNI global reference to signal handler.
4005         (selection_changed): Match declaration.
4006         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4007         (dispose): Do not remove entries from state tables until after widget is
4008         destroyed.
4009
4010 2005-02-15  Michael Koch  <konqueror@gmx.de>
4011
4012         * java/awt/Container.javai (paramString):
4013         If layoutMgr is null just return result of super.paramString().
4014         * java/awt/Scrollbar.java: Reformatted.
4015         * java/awt/im/InputContext.java (static):
4016         Removed redundant initializations.
4017
4018 2005-02-15  Michael Koch  <konqueror@gmx.de>
4019
4020         * javax/swing/ImageIcon.java,
4021         javax/swing/UIManager.java,
4022         javax/swing/text/EditorKit.java,
4023         javax/swing/text/Segment.java:
4024         More whitespace cleanups.
4025
4026 2005-02-15  Michael Koch  <konqueror@gmx.de>
4027
4028         * gnu/java/awt/EmbeddedWindow.java,
4029         gnu/java/awt/image/ImageDecoder.java,
4030         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4031         java/awt/DefaultKeyboardFocusManager.java,
4032         java/awt/Frame.java,
4033         java/awt/image/RGBImageFilter.java,
4034         javax/swing/AbstractButton.java,
4035         javax/swing/ActionMap.java,
4036         javax/swing/ComponentInputMap.java,
4037         javax/swing/DefaultDesktopManager.java,
4038         javax/swing/ImageIcon.java,
4039         javax/swing/InputMap.java,
4040         javax/swing/JButton.java,
4041         javax/swing/JCheckBox.java,
4042         javax/swing/JCheckBoxMenuItem.java,
4043         javax/swing/JEditorPane.java,
4044         javax/swing/JMenu.java,
4045         javax/swing/JMenuItem.java,
4046         javax/swing/JOptionPane.java,
4047         javax/swing/JRootPane.java,
4048         javax/swing/JTable.java,
4049         javax/swing/MenuSelectionManager.java,
4050         javax/swing/RepaintManager.java,
4051         javax/swing/ScrollPaneLayout.java,
4052         javax/swing/SortingFocusTraversalPolicy.java,
4053         javax/swing/UIManager.java,
4054         javax/swing/ViewportLayout.java,
4055         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4056         javax/swing/plaf/basic/BasicInternalFrameUI.java,
4057         javax/swing/plaf/basic/BasicLabelUI.java,
4058         javax/swing/plaf/basic/BasicListUI.java,
4059         javax/swing/plaf/basic/BasicMenuItemUI.java,
4060         javax/swing/plaf/basic/BasicMenuUI.java,
4061         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4062         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4063         javax/swing/plaf/basic/BasicRootPaneUI.java,
4064         javax/swing/plaf/basic/BasicScrollPaneUI.java,