OSDN Git Service

832028e6119453f52963d6acf6327335b29c4615
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2
3         PR libgcj/23761
4         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
5         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
6         lt_dlinit.
7         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
8         Define variable.
9         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
10         _Jv_Module_Load_Path.
11
12 2005-09-06  Tom Tromey  <tromey@redhat.com>
13
14         PR libgcj/23739:
15         * testsuite/libjava.jni/pr23739.c: New file.
16         * testsuite/libjava.jni/pr23739.java: New file.
17         * testsuite/libjava.jni/pr23739.out: New file.
18         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
19         * java/lang/reflect/natMethod.cc (invoke): Updated.
20         * java/lang/natClass.cc (isAssignableFrom): Updated.
21         (isInstance): Likewise.
22         (_Jv_IsAssignableFrom): Reversed arguments.
23         (_Jv_IsInstanceOf): Updated.
24         (_Jv_CheckCast): Likewise.
25         (_Jv_CheckArrayStore): Likewise.
26         (_Jv_IsAssignableFromSlow): Reversed arguments.
27         (_Jv_InterfaceAssignableFrom): Likewise.
28         * link.cc (verify_type_assertions): Updated.
29         * prims.cc (_Jv_CheckAccess): Updated.
30
31 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
32
33         Testsuite changes for PR java/23431.
34         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
35         8.4.6.2-hiding-5.
36         * testsuite/libjava.compile/PR23431_1.java: New testcase.
37         * testsuite/libjava.compile/PR23431_2.java: Likewise.
38         * testsuite/libjava.compile/PR23431_1.xfail: New file.
39         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
40
41 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
42
43         PR libgcj/23549
44         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
45         -disableassertions and -da.
46
47 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
48
49         * configure.ac: Replace "*-*-darwin[0-7].*" with
50         "*-*-darwin[[0-7]].*"
51         * configure: Regenerate.
52
53 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
54
55         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
56         darwin < 8.
57         * configure: Regenerate.
58
59 2005-08-23  Roman Kennke  <roman@kennke.org>
60
61         * java/lang/Character.java
62         (toChars(int)): New JDK1.5 method.
63         (toChars(int, char[], int)): New JDK1.5 method.
64         (charCount): New JDK1.5 method.
65         (isSupplementaryCodePoint): New JDK1.5 method.
66         (isValidCodePoint): New JDK1.5 method.
67
68 2005-08-23  Tom Tromey  <tromey@redhat.com>
69
70         * aclocal.m4, Makefile.in: Rebuilt.
71         * Makefile.am (property_files): Added META-INF files.
72         (propertyo_files): Changed definition.
73         ($(propertyo_files)): Updated patterns.
74
75 2005-08-22  Tom Tromey  <tromey@redhat.com>
76
77         PR libgcj/22622:
78         * configure: Rebuilt.
79         * configure.ac: Correctly create Configuration.java (for
80         temporary use).
81
82 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
83
84         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
85         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
86         * mingwld.m4: ... this new file.
87         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
88         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
89
90 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
91
92         PR libgcj/23507
93         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
94         assignment.  Cast operands of compare to function pointer type.
95
96 2005-08-21  Tom Tromey  <tromey@redhat.com>
97
98         * HACKING: Updated for hacking classpath in libgcj.
99
100 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
101
102         PR libgcj/21692
103         * sysdep/pa/descriptor.h: New file.
104         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
105
106 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
107
108         * Makefile.am (extra_ldflags_libjava): New variable to
109         substitute in.
110         (LIBLINK): Add extra_ldflags_libjava to it.
111         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
112         "-Wl,-single_module".
113         * Makefile.in: Regenerate.
114         * aclocal.m4: Regenerate.
115         * configure: Regenerate.
116         * gcj/Makefile.in: Regenerate.
117         * include/Makefile.in: Regenerate.
118         * testsuite/Makefile.in: Regenerate.
119
120 2005-08-17  Tom Tromey  <tromey@redhat.com>
121
122         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
123         friend.
124         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
125         * testsuite/libjava.lang/bclink.java: New file.
126         * testsuite/libjava.lang/bclink.out: New file.
127         * link.cc (print_class_loaded): Changed ABI test to look at
128         various _syms fields.
129
130 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
131
132         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
133         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
134
135 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
136
137         More testsuite adjustments for PR java/19870.
138         * testsuite/libjava.lang/PR19870_2.java: New testcase.
139         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
140         new testcase.
141         * testsuite/libjava.jacks/jacks.xfail: Remove
142         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
143
144 2005-08-16  Tom Tromey  <tromey@redhat.com>
145
146         * gnu/xml/xpath/XPathParser.y: Removed.
147
148 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
149
150         PR libgcj/23353:
151         * java/lang/natObject.cc (clone): Clear sync_info.
152
153 2005-07-26  Tom Tromey  <tromey@redhat.com>
154
155         * gnu/java/net/protocol/ftp/package.html,
156         gnu/javax/swing/text/html/package.html,
157         gnu/javax/swing/text/html/parser/package.html,
158         gnu/javax/swing/text/html/parser/models/package.html,
159         gnu/javax/swing/text/html/parser/support/package.html,
160         gnu/javax/swing/text/html/parser/support/low/package.html,
161         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
162         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
163         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
164         java/awt/geom/doc-files/CubicCurve2D-1.png,
165         java/awt/geom/doc-files/CubicCurve2D-2.png,
166         java/awt/geom/doc-files/CubicCurve2D-3.png,
167         java/awt/geom/doc-files/CubicCurve2D-4.png,
168         java/awt/geom/doc-files/CubicCurve2D-5.png,
169         java/awt/geom/doc-files/Ellipse-1.png,
170         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
171         java/awt/geom/doc-files/GeneralPath-1.png,
172         java/awt/geom/doc-files/QuadCurve2D-1.png,
173         java/awt/geom/doc-files/QuadCurve2D-2.png,
174         java/awt/geom/doc-files/QuadCurve2D-3.png,
175         java/awt/geom/doc-files/QuadCurve2D-4.png,
176         java/awt/geom/doc-files/QuadCurve2D-5.png,
177         javax/imageio/package.html, javax/imageio/event/package.html,
178         javax/imageio/metadata/package.html,
179         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
180         javax/swing/border/doc-files/BevelBorder-1.png,
181         javax/swing/border/doc-files/BevelBorder-2.png,
182         javax/swing/border/doc-files/BevelBorder-3.png,
183         javax/swing/border/doc-files/EmptyBorder-1.png,
184         javax/swing/border/doc-files/EtchedBorder-1.png,
185         javax/swing/border/doc-files/EtchedBorder-2.png,
186         javax/swing/border/doc-files/LineBorder-1.png,
187         javax/swing/border/doc-files/MatteBorder-1.png,
188         javax/swing/border/doc-files/MatteBorder-2.png,
189         javax/swing/border/doc-files/MatteBorder-3.png,
190         javax/swing/border/doc-files/MatteBorder-4.png,
191         javax/swing/border/doc-files/MatteBorder-5.png,
192         javax/swing/border/doc-files/MatteBorder-6.png,
193         javax/swing/border/doc-files/SoftBevelBorder-1.png,
194         javax/swing/border/doc-files/SoftBevelBorder-2.png,
195         javax/swing/border/doc-files/SoftBevelBorder-3.png,
196         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
197         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
198         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
199         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
200         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
201         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
202         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
203         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
204         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
205         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
206         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
207         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
208         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
209         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
210         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
211         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
212         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
213         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
214         javax/swing/plaf/doc-files/ComponentUI-1.dia,
215         javax/swing/plaf/doc-files/ComponentUI-1.png,
216         javax/swing/plaf/doc-files/TreeUI-1.png,
217         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
218         javax/xml/parsers/package.html, javax/xml/transform/package.html,
219         javax/xml/transform/dom/package.html,
220         javax/xml/transform/sax/package.html,
221         javax/xml/transform/stream/package.html,
222         javax/xml/validation/package.html, javax/xml/xpath/package.html:
223         Removed.
224
225 2005-07-22  Tom Tromey  <tromey@redhat.com>
226
227         * include/Makefile.in: Rebuilt.
228         * include/Makefile.am (tool_include__HEADERS): Include
229         classpath's jni.h.
230
231 2005-07-20  Tom Tromey  <tromey@redhat.com>
232
233         * sources.am, Makefile.in: Rebuilt.
234         * Makefile.am (all_xlib_lo_files): Removed.
235         (all_libgcj_lo_files): Likewise.
236         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
237         (xlib_java_source_files): Removed.
238         (xlib_nat_headers): Updated.
239         * configure: Rebuilt.
240         * configure.ac: Create standard.omit.
241         * standard.omit.in: New file.
242         * standard.omit: Removed.
243         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
244         'package'.
245         (emit_package_rule): Special case xlib peers.
246         (emit_source_var): Likewise.
247         Read standard.omit.in.
248         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
249
250 2005-07-18  Tom Tromey  <tromey@redhat.com>
251
252         * HACKING: Updated.
253
254 2005-07-19  Matthias Klose  <doko@debian.org>
255
256         * classpath/java/awt/im/InputContext.java (clinit): Initialize
257           line, im.
258
259 2005-07-18  Tom Tromey  <tromey@redhat.com>
260
261         PR libgj/21058:
262         * sources.am, Makefile.in: Rebuilt.
263         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
264         file.
265         (emit_source_var): Don't emit patsubst with './'.
266
267 2005-07-18  Tom Tromey  <tromey@redhat.com>
268
269         * Makefile.in: Rebuilt.
270         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
271
272 2005-07-17  Andreas Jaeger  <aj@suse.de>
273
274         * defineclass.cc (handleClassBegin): Remove unused variable.
275
276 2005-07-16  Andreas Schwab  <schwab@suse.de>
277
278         * scripts/makemake.tcl (emit_package_rule): Emit command to create
279         target directory.
280         * Makefile.am (%.lo): Don't create it here.
281         * sources.am, Makefile.in: Regenerated.
282
283 2005-07-15  Tom Tromey  <tromey@redhat.com>
284
285         Major merge with Classpath.
286         Removed many duplicate files.
287         * HACKING: Updated.x
288         * classpath: Imported new directory.
289         * standard.omit: New file.
290         * Makefile.in, aclocal.m4, configure: Rebuilt.
291         * sources.am: New file.
292         * configure.ac: Run Classpath configure script.  Moved code around
293         to support.  Disable xlib AWT peers (temporarily).
294         * Makefile.am (SUBDIRS): Added 'classpath'
295         (JAVAC): Removed.
296         (AM_CPPFLAGS): Added more -I options.
297         (BOOTCLASSPATH): Simplified.
298         Completely redid how sources are built.
299         Include sources.am.
300         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
301         * include/jni.h: Removed (in Classpath).
302         * scripts/classes.pl: Updated to look at built classes.
303         * scripts/makemake.tcl: New file.
304         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
305         -I options.
306         (gcj_jni_invocation_compile_c_to_binary): Likewise.
307
308 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
309
310         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
311         (eventMask): New field.
312         (XCanvasPeer(Component)): Use attributes field.
313         (setBackground): Implemented.
314         (setEventMask): Process mask only if changed.
315         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
316         (eventLoopThread): New field.
317         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
318         (interrupt): Removed.
319         (run): New method.
320         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
321         and Component events.
322         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
323         field.
324         (configureNotify): Set and clear processingConfigureNotify.
325         (setBounds): Process only if processingConfigureNotify is false.
326         (toBack): Implemented.
327         (toFront): Implemented.
328         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
329         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
330         color.
331         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
332         (wakeNativeQueue): Do nothing.
333         (iterateNativeQueue): Do queue.wait if blocking.
334         * gnu/gcj/xlib/Font.java (loadFont): New method.
335         (loadFontImpl): Renamed native method, was loadFont. 
336         * gnu/gcj/xlib/Window.java (toFront): New method.
337         (toBack): New method.
338         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
339         loadFont.
340         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
341         (toFront): New method. 
342         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
343
344 2005-07-14  Andrew Haley  <aph@redhat.com>
345
346         * gnu/java/net/protocol/file/Connection.java (unquote): New
347         method.
348         (connect): Unquote filename.
349         gnu/java/net/protocol/jar/Connection.java (getInputStream):
350         Likewise.  
351         (getJarFile): Likewise.
352
353         * java/net/URLConnection.java (getContentHandler): Guard cast with
354         instaceof.
355
356         * java/net/URL.java (URL): If the file part of a spec is absolute,
357         ignore the file part of its context.
358
359 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
360
361         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
362         Implemented VirtualMachine Command Set.
363
364 2005-07-14  Tom Tromey  <tromey@redhat.com>
365
366         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
367         Classpath.
368
369 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
370
371         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
372         Implemented the Field CommandSet.
373         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
374         Implemented the InterfaceType CommandSet.
375
376 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
377
378         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
379         shutdown to jdwp instead of connection.
380
381 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
382
383         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
384         New file.
385
386 2005-07-08  Colin Walters  <walters@verbum.org>
387
388         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
389         check for abstract classes or interfaces here; JVM spec
390         says it should throw an exception, so we'll do so later.
391         * interpret.cc (run): Throw an InstantiationException for
392         abstract classes and interfaces.
393
394 2005-07-08  Andrew Haley  <aph@redhat.com>
395
396         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
397         (regular, non-realtime scheduling), not SCHED_RR (realtime,
398         round-robin).
399
400 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
401
402         * gnu/classpath/jdwp/util/Signature.java
403         (computeFieldSignature): New Method.
404
405 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
406
407         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
408         file.
409
410 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
411
412         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
413         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
414
415 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
416
417         * testsuite/libjava.compile/PR21045.java: New test.
418         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
419         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
420
421 2005-07-06  Tom Tromey  <tromey@redhat.com>
422
423         * java/io/InputStreamReader.java (refill): Handle no-progress
424         case correctly.
425         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
426
427 2005-07-06  Tom Tromey  <tromey@redhat.com>
428
429         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
430
431 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
432
433         * testsuite/libjava.compile/PR19674.java: New test.
434
435 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
436
437         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
438         New file.
439
440 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
441
442         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
443         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
444         CommandSets to handle JdwpCommandPackets.
445         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
446         Constructor.
447
448 2005-07-01  Tom Tromey  <tromey@redhat.com>
449
450         * libtool-version: Updated.
451
452 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
453
454         * gnu/classpath/jdwp/util/JdwpString.java: New file.
455
456 2005-06-30  Keith Seitz  <keiths@redhat.com>
457
458         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
459         (myWrite): New abstract method.
460         (toBytes): Remove.
461         (myToBytes): Remove.
462         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
463         method.
464         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
465         method.
466         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
467         JdwpPacket.write instead of JdwpPacket.toBytes.
468
469 2005-06-30  Keith Seitz  <keiths@redhat.com>
470
471         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
472         method.
473         (_bytes): New member.
474         (_doStream): New member.
475         (JdwpConnection): Initialize new members.
476
477 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
478
479         * all files: Update for new FSF address.
480
481 2005-06-29  Tom Tromey  <tromey@redhat.com>
482
483         PR libgcj/22211:
484         * testsuite/libjava.lang/pr22211.java: New file.
485         * java/lang/natThread.cc (finish_): Synchronize when updating
486         alive_flag.
487         (_Jv_AttachCurrentThread): Likewise.
488         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
489         * java/lang/Thread.java (isAlive): Now synchronized.
490
491 2005-06-29  Tom Tromey  <tromey@redhat.com>
492
493         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
494         _Jv_CheckCast.
495
496 2005-06-28  Robin Green  <greenrd@greenrd.org>
497
498         PR java/22189
499         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
500         error.
501
502 2005-06-27  Tom Tromey  <tromey@redhat.com>
503
504         PR java/21540, PR java/13788:
505         * testsuite/libjava.compile/pr21540.java: New file.
506         * testsuite/libjava.compile/pr13788.java: New file.
507         * testsuite/libjava.jacks/jacks.xfail: Updated.
508
509 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
510
511         * testsuite/libjava.mauve/xfails: Updated to reflect current state
512         of mauve and libjava. 
513
514 2005-06-24  Tom Tromey  <tromey@redhat.com>
515
516         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
517         where class' name is NULL.
518         (_Jv_FindClass): Don't wait for class state.
519         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
520         name found.
521         * include/java-interp.h (_Jv_DefineClass): Updated.
522         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
523         (struct _Jv_ClassReader): Likewise.
524         (found_name): New field.
525         (handleClassBegin): Set *found_name.
526         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
527         (handleClassBegin): Throw error if super class not set.
528         (read_methods): Correctly call check_tag and prepare_pool_entry.
529
530 2005-06-24  Tom Tromey  <tromey@redhat.com>
531
532         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
533
534 2005-06-24  Tom Tromey  <tromey@redhat.com>
535
536         * verify.cc (verify_instructions_0): Correctly handle situation
537         where PC falls off end.
538
539 2005-06-24  Tom Tromey  <tromey@redhat.com>
540
541         * interpret.cc (compile): Handle case where table entry is
542         outside of PC range.
543
544 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
545
546         * testsuite/libjava.compile/PR20697.java: New test-case.
547
548 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
549
550         * Makefile.am (SUBDIRS): Use append for conditional.
551         (toolexeclib_LTLIBRARIES): Likewise.
552         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
553         a conditional append.
554         * Makefile.in: Regenerate.
555
556 2005-06-17  Keith Seitz  <keiths@redhat.com>
557
558         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
559         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
560         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
561         file.
562         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
563         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
564         file.
565         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
566         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
567         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
568         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
569         file.
570         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
571         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
572
573 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
574
575         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
576         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
577         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
578         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
579         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
580         * Makefile.in: Regenerate.
581
582 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
583
584         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
585         (USING_POSIX_PLATFORM): ... here.
586         * Makefile.am: Delete USING_ECOS_PLATFORM.
587         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
588         external/Makefile.in, external/sax/Makefile.in,
589         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
590
591 2005-06-15  Tom Tromey  <tromey@redhat.com>
592
593         PR libgcj/17536:
594         * testsuite/libjava.lang/pr17536.java: New file.
595         * testsuite/libjava.lang/pr17536.out: New file.
596
597 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
598
599         PR libgcj/21074:
600         * gnu/java/net/protocol/http/HTTPURLConnection.java
601         (getHeaderFieldKey): Check index.
602
603 2005-06-15  Tom Tromey  <tromey@redhat.com>
604
605         PR libgcj/21906:
606         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
607         methods.
608         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
609         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
610         static.
611         (append_partial_itable): Use it.
612         (set_vtable_entries): Likewise.
613
614 2005-06-15  Tom Tromey  <tromey@redhat.com>
615
616         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
617         last_was_sep in loop.
618
619 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
620
621         * configure.host: Handle Solaris 10/x86.
622
623 2005-06-14  Keith Seitz  <keiths@redhat.com>
624
625         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
626         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
627
628 2005-06-14  Keith Seitz  <keiths@redhat.com>
629
630         * gnu/classpath/jdwp/id/ArrayId.java: New file.
631         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
632         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
633         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
634         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
635         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
636         * gnu/classpath/jdwp/id/JdwpId.java: New file.
637         * gnu/classpath/jdwp/id/ObjectId.java: New file.
638         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
639         * gnu/classpath/jdwp/id/StringId.java: New file.
640         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
641         * gnu/classpath/jdwp/id/ThreadId.java: New file.
642
643 2005-06-14  Tom Tromey  <tromey@redhat.com>
644
645         PR libgcj/19877:
646         * configure, aclocal.m4, Makefile.in: Rebuilt.
647
648 2005-06-14  Tom Tromey  <tromey@redhat.com>
649
650         * java/lang/Class.java (getClasses): New method.
651         (internalGetClasses): Likewise.
652         (getClassLoader): Updated documentation.
653         (getDeclaredClasses): New overload; old overload no longer
654         native.
655         (_getConstructors): Removed.
656         (resourcePath): Updated.
657         * java/lang/natClass.cc (getClasses): Removed.
658         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
659         Updated.
660         (_getConstructors): Removed.
661
662 2005-06-13  Jim Huang  <jserv@kaffe.org>
663
664         PR libgcj/22036:
665         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
666         (_Jv_JNI_NewObject): Likewise.
667
668 2005-06-13  Tom Tromey  <tromey@redhat.com>
669
670         PR java/21844:
671         * testsuite/libjava.lang/pr21844.java: New file.
672         * testsuite/libjava.lang/pr21844.out: New file.
673
674 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
675
676         PR libgcj/21949
677         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
678         From Gary Benson.
679
680 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
681
682         * java/text/MessageFormat.java (parse): When parsing strings, check
683         for an empty pattern trailer.
684
685 2005-06-06  Keith Seitz  <keiths@redhat.com>
686
687         * gnu/classpath/jdwp/util/Signature.java: New file.
688         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
689
690 2005-06-05  Anthony Green  <green@redhat.com>
691
692         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
693         fall-through bug.
694
695 2005-06-04  Anthony Green  <green@redhat.com>
696
697         * java/net/URLClassLoader.java: import gnu.gcj.Core,
698         and gnu.java.net.protocol.core.CoreInputStream.
699         (CureURLLoader): New class.
700         (CoreResource): New class.
701         (addURLImpl): Add special treatment for the "core" protocol.
702         * gnu/gcj/natCore.cc (find): New method.
703         * gnu/gcj/Core.java (find): New method.
704
705 2005-06-03  Keith Seitz  <keiths@redhat.com>
706
707         * gnu/classpath/jdwp/transport/ITransport.java: New file.
708         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
709         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
710
711 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
712
713         * jawt.c: Remove malloc.h, covered by stdlib.h.
714
715         * testsuite/libjava.jni/jni.exp
716         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
717         the build process.
718
719 2005-06-02  Keith Seitz  <keiths@redhat.com>
720
721         * gnu/classpath/jdwp/transport/TransportException.java: New file.
722
723 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
724
725         * mauve-libgcj: Remove implemented classes from the fail section.
726         Add two new not implemented to it.
727
728 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
729
730         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
731         AC_SUBST definition from configure.host.
732         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
733         to -fomit-frame-pointer on 32-bit x86 targets.
734
735 2005-06-01  Tom Tromey  <tromey@redhat.com>
736
737         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
738
739 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
740
741         PR libgcj/20435:
742         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
743         (static): Add possessive matching to JAVA_1_4 syntax.
744         * gnu/regexp/RETokenRepeated.java (possessive): New field.
745         (makePossessive, isPossessive): New methods.
746         (match): Don't back off during possessive matching.
747         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
748         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
749         to JAVA_1_4.
750
751 2005-06-01  Keith Seitz  <keiths@redhat.com>
752
753         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
754         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
755         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
756
757 2005-06-01  Tom Tromey  <tromey@redhat.com>
758
759         PR libgcj/21785:
760         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
761         (currentLoader): New method.
762         * java/io/ObjectInputStream.java (resolveProxyClass): Use
763         currentLoader.
764         (currentLoader): Now native.
765         (currentClassLoader): Removed.
766         * testsuite/libjava.lang/pr21785.java: New file.
767         * testsuite/libjava.lang/pr21785.out: New file.
768
769 2005-06-01  Tom Tromey  <tromey@redhat.com>
770
771         PR libgcj/21753:
772         * java/lang/natString.cc (substring): Changed sharing heuristic.
773
774 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
775
776         PR libgcj/21821
777         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
778         MAXPATHLEN. Format exception message using a StringBuffer instead.
779
780 2005-05-29  Michael Koch  <konqueror@gmx.de>
781
782         PR libgcj/20273:
783         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
784
785 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
786
787         * ChangeLog: Fix typo.
788
789 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
790
791         Testsuite adjustments for PR java/19870.
792         * testsuite/libjava.lang/PR19870.java: New testcase.
793         * testsuite/libjava.lang/PR19870.out: Expected output for the
794         testcase.
795         * testsuite/libjava.jacks/jacks.xfail: Add
796         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
797
798
799 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
800
801         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
802         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
803         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
804         classes.
805         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
806         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
807         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
808         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
809
810 2005-05-25  Richard Henderson  <rth@redhat.com>
811
812         PR libgcj/21692
813         * sysdep/descriptor-n.h: New file.
814         * sysdep/descriptor-y.h: New file.
815         * sysdep/powerpc/descriptor.h: New file.
816         * configure.host: Set $descriptor_h appropriate for the host.
817         * configure.ac: Link it.
818         * configure: Regenerate.
819         * stacktrace.cc: Include sysdep/descriptor.h.
820         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
821
822 2005-05-25  Chris Burdess  <dog@gnu.org>
823
824         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
825         end entity callbacks.
826
827 2005-05-24  Gary Benson  <gbenson@redhat.com>
828
829         PR libgcj/21736:
830         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
831         Handle DateFormat.DEFAULT case correctly.
832
833 2005-05-21  Tom Tromey  <tromey@redhat.com>
834
835         PR libgcj/21703:
836         * java/lang/ref/natReference.cc (find_slot): Handle case where
837         table has no NULL entries.
838         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
839         table has no NULL entries.
840
841 2005-05-22  Andreas Jaeger  <aj@suse.de>
842
843         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
844         avoid warnings.
845
846 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
847
848         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
849
850 2005-05-19  Richard Henderson  <rth@redhat.com>
851
852         * exception.cc: Revert 05-17 gcc_unreachable change.
853
854 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
855
856         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
857         _Jv_RegisterInitiatingLoader to register array classes, not
858         _Jv_RegisterClass.
859         (_Jv_RegisterInitiatingLoader): Give up if called very early during
860         bootstrapping. Add a FIXME to handle this case better.
861
862 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
863
864         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
865         convenience library.
866         (libgcj_la_SOURCES): New. Move sources here.
867         (libgcj.la): Remove rule.
868
869 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
870
871         PR libgcj/19729
872         * gnu/java/security/provider/DSASignature.java: Import updates
873         from GNU Crypto.
874
875 2005-05-18  Anthony Green  <green@redhat.com>
876
877         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
878         classpath_jawt_object_unlock, classpath_jawt_create_lock,
879         classpath_jawt_destroy_lock): New functions.
880         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
881         classpath_jawt_object_unlock, classpath_jawt_create_lock,
882         classpath_jawt_destroy_lock): New functions.
883         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
884         field.
885         * jawt.c: #include malloc.h.
886         (_Jv_Lock): Use lock.
887         (_Jv_Unlock): Ditto.
888         (_Jv_GetDrawingSurface): Initialize lock.
889         (_Jv_FreeDrawingSurface): Destroy lock.
890         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
891
892 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
893
894         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
895         * Makefile.in: Regenerate.
896
897 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
898
899         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
900         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
901         * aclocal.m4, configure, config.h.in, include/config.h.in,
902         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
903         external/Makefile.in, external/sax/Makefile.in,
904         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
905
906 2005-05-17  David Daney  <ddaney@avtrex.com>
907
908         PR libgcj/18220
909         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
910
911 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
912
913         * exception.cc (abort): Remove std::abort hack.
914         (gcc_unreacheable): Define.
915
916 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
917
918         * Makefile.am (Makefile.deps): Do not create native.list and
919         bytecodes.list.
920         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
921         * Makefile.in: Regenerate.
922
923 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
924
925         * configure.ac (--enable-libgcj-multifile): Remove.
926
927         * Makefile.am (all_native_compiled_source_files,
928         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
929         all_libgcj_lo_files, all_xlib_lo_files,
930         all_java_deps_files, all_java_stamp_files,
931         all_java_filelist_files): New variables.
932         (EXTRA_DIST): New Automake variable.
933         (CLEANFILES): Add .stamp, .list and .lo files.
934         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
935         (classes.stamp): Depend on $(all_java_stamp_files).
936         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
937         going through write_entries_to_file.
938
939         (all_java_source_files, all_property_files): Move earlier.
940         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
941         all_java_class_files): Remove.
942         (gtk_awt_peer_sources): Rename to...
943         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
944
945         (ONESTEP): Remove.
946         (libgcj0_convenience_la_SOURCES): Remove Java source files.
947         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
948         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
949         (libgcj_la_SOURCES): Remove.
950         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
951         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
952         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
953
954         * configure: Regenerate.
955         * Makefile.in: Regenerate.
956         * external/Makefile.in: Regenerate.
957         * external/sax/Makefile.in: Regenerate.
958         * external/w3c_dom/Makefile.in: Regenerate.
959         * gcj/Makefile.in: Regenerate.
960         * include/Makefile.in: Regenerate.
961         * libltdl/Makefile.in: Regenerate.
962         * testsuite/Makefile.in: Regenerate.
963
964 2005-05-16  Tom Tromey  <tromey@redhat.com>
965
966         * java/nio/charset/Charset.java (encode, decode): Synchronize on
967         'this', not the class.
968
969 2005-05-16  Tom Tromey  <tromey@redhat.com>
970
971         * gnu/java/net/protocol/http/Headers.java (parse): Include final
972         character of line.
973
974 2005-05-16  Tom Tromey  <tromey@redhat.com>
975
976         PR libgcj/21606:
977         * java/net/URI.java (unquote): Handle lower-case letters as well.
978
979 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
980
981         PR libgcj/20504
982         * gnu/regexp/RE.java: Add support for quoting constructs.
983
984 2005-05-15  Tom Tromey  <tromey@redhat.com>
985
986         * java/lang/String.java (startsWith): Fixed javadoc.
987
988 2005-05-15  Tom Tromey  <tromey@redhat.com>
989
990         PR java/21519:
991         * testsuite/libjava.compile/pr21519.java: New file.
992         * testsuite/libjava.compile/pr21519.no-link: New file.
993
994 2005-05-15  Tom Tromey  <tromey@redhat.com>
995
996         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
997
998 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
999
1000         PR libgcj/21557
1001         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
1002         interrupt status flag if _Jv_CondWait is interrupted.
1003
1004 2005-05-13  Tom Tromey  <tromey@redhat.com>
1005
1006         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
1007         element in path.
1008
1009 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
1010
1011         * include/jvm.h (gcj::verifyClasses): Declare.
1012         * link.cc (gcj::verbose_class_flag): Moved.
1013         * prims.cc (gcj::verifyClasses): Define here.
1014         (gcj::verbose_class_flag): Move definition here.
1015         (_Jv_Linker::wait_for_state): Don't call verify_class
1016         if gcj::verifyClasses is not set.
1017         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
1018
1019 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
1020
1021         * gij.cc (main): Recognize '-verify', '-noverify', and
1022         '-verifyremote'
1023
1024 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1025
1026         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
1027
1028 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1029
1030         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
1031         libgcjawt.la.
1032
1033 2005-05-11  Tom Tromey  <tromey@redhat.com>
1034
1035         * external/w3c_dom/Makefile.in: Rebuilt.
1036         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
1037         -fbootstrap-classes.
1038         * external/sax/Makefile.in: Rebuilt.
1039         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
1040         -fbootstrap-classes.
1041         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
1042         friend.
1043         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1044         Call _Jv_CopyClassesToSystemLoader.
1045         * java/lang/natClassLoader.cc (system_class_list): New global.
1046         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
1047         classes differently.
1048         (_Jv_CopyClassesToSystemLoader): New function.
1049         (SYSTEM_LOADER_INITIALIZED): New define.
1050         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
1051         (_Jv_CheckABIVersion): Use it.
1052         (_Jv_ClassForBootstrapLoader): New function.
1053         * Makefile.in: Rebuilt.
1054         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
1055
1056 2005-05-10  Tom Tromey  <tromey@redhat.com>
1057
1058         * gcj/javaprims.h: Updated.
1059         * java/lang/String.java (String(StringBuilder)): New constructor.
1060         * java/lang/natStringBuilder.cc: New file.
1061         * java/lang/StringBuilder.java: New file.
1062         * Makefile.in: Rebuilt.
1063         * Makefile.am (core_java_source_files): Added StringBuilder.java.
1064         (nat_source_files): Added natStringBuilder.cc.
1065
1066 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
1067
1068         PR java/21436
1069         * testsuite/libjava.jacks/jacks.xfail: Adjust.
1070
1071 2005-05-09  Mike Stump  <mrs@apple.com>
1072
1073         * configure: Regenerate.
1074
1075 2005-05-09  David Daney  <ddaney@avtrex.com>
1076
1077         * java/util/BitSet.java (get(int, int)): Fix breakage when
1078         requested set doesn't start on a multiple of 64.
1079
1080 2005-05-07  Matthias Klose  <doko@debian.org>
1081
1082         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
1083
1084 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1085
1086         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
1087         * Makefile.in: Regenerate.
1088         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
1089         (createCompatibleVolatileImage(int,int)): Implement.
1090         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
1091         Likewise.
1092         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
1093         New fields.
1094         (createVolatileImage): Implement.
1095         (createBuffers): Likewise.
1096         (getBackBuffer): Likewise.
1097         (flip): Likewise.
1098         (destroyBuffers): Likewise.
1099         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
1100         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
1101         (CanvasFlipBufferStrategy): Likewise.
1102         (createBufferStrategy(int)): New method.
1103         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1104         * java/awt/Component.java (BltBufferStrategy): Implement and
1105         document class.
1106         (FlipBufferStrategy): Likewise.
1107         * java/awt/Window.java (WindowBltBufferStrategy): New class.
1108         (WindowFlipBufferStrategy): Likewise.
1109         (createBufferStrategy(int)): New method.
1110         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1111         (getBufferStrategy): Likewise.
1112         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
1113         front to frontCaps and back to backCaps.
1114
1115 2005-05-06  Michael Koch  <konqueror@gmx.de>
1116
1117         * java/awt/BufferCapabilities.java
1118         (BufferCapabilities): Merged javadoc.
1119
1120 2005-05-06  Michael Koch  <konqueror@gmx.de>
1121
1122         * java/util/Locale.java
1123         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1124         (getLocale): New methods. Use it everywhere where instances of Locales
1125         are needed.
1126         (getDisplayLanguage): Merged javadoc.
1127         (getDisplayCountry): Likewise.
1128         (getDisplayVariant): Likewise.
1129
1130 2005-05-06  Archie Cobbs  <archie@dellroad.org>
1131
1132         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1133         use DeleteLocalRef() to avoid exhausting local native references.
1134
1135 2005-05-06  Mark Wielaard  <mark@klomp.org>
1136
1137         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1138         (window_delete_cb): Don't use C++ style comments.
1139
1140 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1141
1142         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1143         copyright header.
1144
1145 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1146
1147         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1148         (window_delete_cb): Made the function return TRUE.
1149
1150 2005-05-06  Roman Kennke  <roman@kennke.org>
1151
1152         * javax/swing/text/PlainView.java
1153         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1154         offset parameter.
1155         * javax/swing/text/Utilities.java
1156         (drawTabbedText): Initilialize local variable pos correctly.
1157
1158 2005-05-06  Roman Kennke  <roman@kennke.org>
1159
1160         * javax/swing/text/AbstractDocument.java
1161         (LeafElement): Made start and end package private fields for
1162         effective reindexing.
1163         * javax/swing/text/PlainDocument.java
1164         (constructor): The field rootElement is always BranchElement,
1165         so we handle it as such.
1166         (removeUpdate): Rewritten reindexing for removeUpdate so that
1167         the actual removal is taken into account.
1168
1169 2005-05-06  Roman Kennke  <roman@kennke.org>
1170
1171         * javax/swing/text/GapContent.java:
1172         Removed debugging output stuff, which I accidentally left in.
1173
1174 2005-05-06  Roman Kennke  <roman@kennke.org>
1175
1176         * javax/swing/text/GapContent.java:
1177         Implemented a real GapContent. Only the public methods have
1178         been implemented so far and still no UndoableEdit support.
1179
1180 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1181
1182         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1183         the typo.
1184
1185 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1186
1187         * java/awt/image/BufferStrategy.java: Document.
1188
1189         * java/awt/BufferCapabilities.java: Document.
1190
1191 2005-05-04  Tom Tromey  <tromey@redhat.com>
1192
1193         * java/nio/channels/FileLock.java (toString): Entirely avoid
1194         String "+".
1195
1196 2005-05-04  Andrew Overholt  <overholt@redhat.com>
1197
1198         * java/nio/channels/FileLock.java (toString): Re-implement using
1199         StringBuffer.
1200
1201 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1202
1203         * java/awt/ImageCapabilities.java: Document.
1204
1205         * java/awt/image/VolatileImage.java: Unindent copyright header.
1206
1207 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1208
1209         * java/awt/image/VolatileImage.java: Document.
1210
1211 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1212
1213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1214         (init_glib_threads): Check if threading system is already
1215         initialized.
1216
1217 2005-05-03  Andrew Overholt  <overholt@redhat.com>
1218
1219         PR libgcj/21372:
1220         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1221         could not be acquired.
1222         * java/nio/channels/FileLock.java (toString): Re-implement to be
1223         in line with other implementations.
1224
1225 2005-05-03  Tom Tromey  <tromey@redhat.com>
1226
1227         * java/lang/VMSecurityManager.java (currentClassLoader): Use
1228         'systemClasssLoader' directly.
1229
1230 2005-05-03  Tom Tromey  <tromey@redhat.com>
1231
1232         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1233         call VMClassLoader.getSystemClassLoader.
1234
1235 2005-04-29  Michael Koch  <konqueror@gmx.de>
1236
1237         * java/net/NetworkInterface.java
1238         (static): Removed.
1239         (NetworkInterface(String,InetAddress)): Made package-private.
1240         (NetworkInterface(String,InetAddress[])): New constructor.
1241         (getRealNetworkInterfaces): Removed.
1242         (getByName): Use VMNetworkInterface.getInterfaces().
1243         (getByInetAddress): Likewise.
1244         (getNetworkInterfaces): Likewise.
1245         * java/net/VMNetworkInterface.java,
1246         java/net/natVMNetworkInterfaceNoNet.cc,
1247         java/net/natVMNetworkInterfacePosix.c,c
1248         java/net/natVMNetworkInterfaceWin32.cc: New files.
1249         * java/net/natNetworkInterfaceNoNet.cc,
1250         java/net/natNetworkInterfacePosix.cc,
1251          java/net/natNetworkInterfaceWin32.cc: Removed.
1252         * configure.ac
1253         * Makefile.am
1254         * configure, Makefile.in: Regenerated.
1255
1256 2005-04-29  Andrew Haley  <aph@redhat.com>
1257
1258         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1259
1260 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
1261
1262         * java/nio/channels/FileChannelImpl.java
1263         (FileChannelImpl(String, int)): Removed.
1264         (FileChannelImpl(File, int)): Added. Check if opened file is a
1265         directory.
1266         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1267         Call FileChannelImpl(File, int).
1268         * java/io/FileOutputStream.java (FileInputStream): Call
1269         FileChannelImpl(File, int).
1270         * java/io/RandomAccessFile.java (RandomAccessFile):
1271         Call FileChannelImpl(File, int). Switched constructors around.
1272
1273 2005-04-27  Andrew Haley  <aph@redhat.com>
1274
1275         PR java/19285
1276         * prims.cc (_Jv_ResolvePoolEntry): New function.
1277         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1278         * link.cc (_Jv_Linker::find_field): New arg: found_class.
1279         (resolve_pool_entry): Initialize the class in which a field is
1280         found.
1281         (link_symbol_table): Pass new arg to found_class.
1282
1283 2005-04-29  Michael Koch  <konqueror@gmx.de>
1284
1285         * java/nio/charset/Charset.java
1286         (provider): Reformatted.
1287
1288 2005-04-29  Michael Koch  <konqueror@gmx.de>
1289
1290         * gnu/java/net/protocol/http/HTTPConnection.java:
1291         (userAgent): Initialize from system properties.
1292         (initUserAgent): Removed.
1293
1294 2005-04-29  Mark Wielaard  <mark@klomp.org>
1295
1296         * java/util/ResourceBundle.java (getObject): Clarify
1297         MissingResourceException detailed message.
1298         (tryBundle(String,ClassLoader)): Likewise.
1299
1300 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1301
1302         * java/beans/FeatureDescriptor.java:
1303         (getShortDescription): Implemented fallback mechanism and fixed
1304         documentation (fixes bug #12637).
1305         (getDisplayName): Dito.
1306
1307 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1308
1309         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1310         will now be set correctly.
1311         (flushCaches): Now flushes all cached intermediate data.
1312
1313 2005-04-28  Michael Koch  <konqueror@gmx.de>
1314
1315         * java/net/InetAddress.java
1316         (aton): Fixed javadoc.
1317         (lookup): Likewise.
1318
1319 2005-04-28  Tom Tromey  <tromey@redhat.com>
1320
1321         * javax/swing/Timer.java
1322         (drainEvents, queueEvent): Now package-private.
1323
1324 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1325
1326         * javax/swing/Timer.java
1327         (constructor): Assigning initialDelay.
1328
1329 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1330
1331         * javax/swing/Timer.java
1332         (Waker.run): firing the first action event.
1333
1334 2005-04-28  Michael Koch  <konqueror@gmx.de>
1335
1336         * javax/swing/Timer.java: Reordered all fields and methods,
1337         Added more javadocs.
1338
1339 2005-04-28  Michael Koch  <konqueror@gmx.de>
1340
1341         * javax/swing/Timer.java: Javadocs merged
1342         from GNU classpath.
1343
1344 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
1345
1346         * gnu/java/net/protocol/file/Connection.java
1347         (StaticData): New inner class to contain statics.
1348         (connect, getHeaderField): Modified to use StaticData.
1349
1350 2005-04-28  Michael Koch  <konqueror@gmx.de>
1351
1352         * gnu/java/net/protocol/file/Connection.java
1353         (lineSeparator): Initialize with SystemProperties.getProperty().
1354
1355 2005-04-27  Chris Burdess  <dog@gnu.org>
1356
1357         * gnu/java/net/protocol/file/Connection.java: Return correct content
1358         length for directory listing.
1359         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1360         #11285: return valid URLs for directories.i
1361
1362 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
1363
1364         * Makefile.am (ordinary_java_source_files): Add
1365         gnu/java/net/protocol/https/Handler.java.
1366         * Makefile.in: Regenerate.
1367         * java/net/URL.java: Remove org.metastatic.jessie from default
1368         protocol search path.
1369
1370 2005-04-27  Chris Burdess  <dog@gnu.org>
1371
1372         * gnu/java/net/protocol/https/Handler.java: New file.
1373
1374 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
1375
1376         * javax/imageio/spi/IIORegistry.java (IIORegistry):
1377         Don't assume that awt Toolkit is always ClasspathToolkit.
1378
1379 2005-04-27  Chris Burdess  <dog@gnu.org>
1380
1381         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1382         absolute and relative paths in Location header.
1383
1384 2005-04-27  Chris Burdess  <dog@gnu.org>
1385
1386         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1387         FileNotFoundException and implement getErrorStream on 404.
1388
1389 2005-04-27  Sven de Marothy <sven@physto.se>
1390
1391         * java/util/TimeZone.java,
1392         (getDefaultDisplayName): Fix previous fix.
1393
1394 2005-04-27  Sven de Marothy <sven@physto.se>
1395
1396         * java/util/TimeZone.java,
1397         (getDefaultDisplayName): Don't print zero offsets.
1398
1399 2005-04-27  Roman Kennke  <roman@kennke.org>
1400
1401         * javax/swing/plaf/basic/BasicScrollBarUI
1402         (getThumbBounds): Do not make thumb smaller than
1403         minimumThumbSize.
1404         * javax/swing/plaf/metal/MetalLookAndFeel
1405         (initComponentDefaults): Added color defaults for ScrollBar.
1406         * javax/swing/plaf/metal/MetalScrollBarUI
1407         (paintThumb): Added.
1408         (getMinimumThumbSize): Added.
1409
1410 2005-04-27  Roman Kennke  <roman@kennke.org>
1411
1412         * javax/swing/plaf/metal/MetalLookAndFeel
1413         (initComponentDefaults): Added some default colors.
1414
1415 2005-04-27  Roman Kennke  <roman@kennke.org>
1416
1417         * javax/swing/plaf/basic/BasicScrollBarUI.java
1418         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1419         to 'ScrollBar.thumbShadow'. The formes does not exist.
1420         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1421
1422 2005-04-27  Roman Kennke  <roman@kennke.org>
1423
1424         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1425         * javax/swing/BoxLayout.java: Likewise.
1426         * javax/swing/UIManager.java: Likewise.
1427         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1428         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1429         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1430         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1431         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1432         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1433         * javax/swing/text/Document.java: Likewise.
1434         * javax/swing/text/GapContent.java: Likewise.
1435         * javax/swing/text/SimpleAttributeSet.java: Likewise.
1436         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1437
1438 2005-04-27  Roman Kennke  <roman@kennke.org>
1439
1440         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1441         (getPropertyPrefix): Added.
1442
1443 2005-04-27  Roman Kennke  <roman@kennke.org>
1444
1445         * javax/swing/plaf/basic/BasicButtonUI.java
1446         (getPropertyPrefix): Added.
1447         (installDefaults): Use getPropertyPrefix instead of hard-coded
1448         prefix.
1449
1450 2005-04-27  Roman Kennke  <roman@kennke.org>
1451
1452         * javax/swing/JToggleButton.java
1453         (JToggleButton): Removed horizontalAlignment setting, this
1454         was wrong. Added setting of an actionCommand, ToggleButtons
1455         have "" as default actionCommand.
1456
1457 2005-04-27  Michael Koch  <konqueror@gmx.de>
1458
1459         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1460         to work around CNI limitation.
1461
1462 2005-04-27  Sven de Marothy  <sven@physto.se>
1463
1464         * java/nio/charset/Charset.java:
1465         (defaultCharset()): New method.
1466         Status updated to 1.5
1467
1468 2005-04-27  Sven de Marothy  <sven@physto.se>
1469
1470         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1471
1472 2005-04-27  Sven de Marothy  <sven@physto.se>
1473
1474         * java/nio/charset/Charset.java: Reset cached de/encoders.
1475
1476 2005-04-27  Robert Schuster <thebohemian@gmx.net>
1477
1478         * java/nio/charset/Charset.java (forName): Throws
1479         IllegalArgumentException when argument is null
1480         and added documentation.
1481
1482 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1483
1484         * java/nio/charset/Charset.java (providers):
1485         New method to make an array of CharsetProviders defined in
1486         META-INF/services/java.nio.charset.spi.CharsetProvider.
1487         (charsetForName, availableCharsets): Use the
1488         new method providers().
1489
1490 2005-04-26  Michael Koch  <konqueror@gmx.de>
1491
1492         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1493         Fixed typos in javadocs.
1494         (isSiteLocalAddress): Fixed handling of byte values.
1495         (isMCLinkLocal): Likewise.
1496         * java/net/Inet4Address.java
1497         (isMulticastAddress): Call super method.
1498         (isLoopbackAddress): Likewise.
1499         (isAnyLocalAddress): Likewise.
1500         (isLinkLocalAddress): Likewise.
1501         (isSiteLocalAddress): Likewise.
1502         (isMCGlobal): Likewise.
1503         (isMCNodeLocal): Likewise.
1504         (isMCLinkLocal): Likewise.
1505         (isMCSiteLocal): Likewise.
1506         (isMCOrgLocal): Likewise.
1507         (getHostAddress): Likewise.
1508
1509 2005-04-26  Sven de Marothy  <sven@physto.se>
1510
1511         * java/net/InetAddress.java
1512         (toString): Don't print empty hostnames.
1513
1514 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
1515
1516         PR libgcj/21136:
1517         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1518         'false' to native lock().
1519         (lock): Pass 'true' to native lock().
1520
1521 2005-04-26  Michael Koch  <konqueror@gmx.de>
1522
1523         * java/net/InetAddress.java:
1524         Fixed typos in javadocs.
1525
1526 2005-04-26  Andrew Haley  <aph@redhat.com>
1527
1528         PR libgcj/21020:
1529         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1530         field's type.
1531
1532 2005-04-26  Tom Tromey  <tromey@redhat.com>
1533
1534         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1535         gnu): Now package-private.
1536         * javax/swing/text/html/parser/DocumentParser.java (parser,
1537         callBack, gnu): Now package-private.
1538         * javax/swing/text/StringContent.java (content, setOffset,
1539         checkLocation): Now package-private.
1540         * javax/swing/text/JTextComponent.java (doc): Now
1541         package-private.
1542         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1543         lastGoodOrientation, origParent, borders, cachedBounds,
1544         cachedOrientation, DragWindow): Now package-private.
1545         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1546         decrButton, viewport, panel, currentScrollLocation, layoutManager,
1547         tabAreaRect, contentRect, createIncreaseButton,
1548         createDecreaseButton, findPointForIndex): Now package-private.
1549         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1550         (currentDividerLocation, moveDividerTo): Now package-private.
1551         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1552         package-private.
1553         * javax/swing/plaf/basic/BasicScrollBarUI.java
1554         (calculatePreferredSize, valueForYPosition, valueForXPosition):
1555         Now package-private.
1556         * javax/swing/plaf/basic/BasicPopupMenuUI.java
1557         (topWindowListener): Now package-private.
1558         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1559         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1560         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1561         package-private.
1562         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1563         package-private.
1564         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1565         Now package-private.
1566         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1567         package-private.
1568         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1569         borderInsets): Now package-private.
1570         (arrowButtonWidth): Likewise.  Now a constant.
1571         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1572         makeTabs, updatePreviewPanel): Now package-private.
1573         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1574         darkShadow, highlight): Now package-private.
1575         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1576         (addColorToQueue): Now package-private.
1577         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1578         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1579         GSpinner, BSpinner): Now package-private.
1580         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1581         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1582         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1583         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1584         updateTrack): Now package-private.
1585         * javax/swing/TransferHandler.java (clipboard): Now
1586         package-private.
1587         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1588         package-private.
1589         * javax/swing/Timer.java (drainEvents, queueEvent): Now
1590         package-private.
1591         * javax/swing/RepaintManager.java (globalManager): Now
1592         package-private.
1593         * javax/swing/JFormattedTextField.java (editValid): Now
1594         package-private.
1595         * javax/swing/JColorChooser.java (makeModal): Now
1596         package-private.
1597         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1598         index, path): Now package-private.
1599         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1600         lineQuadIntersect, lineCubicIntersect, linesIntersect,
1601         pointEquals): Now package-private.
1602         * java/awt/geom/Arc2D.java (type): Now package-private.
1603         * java/awt/Window.java (windowFocusOwner): Now package-private.
1604         * java/awt/TextComponent.java (editable, selectionStart,
1605         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1606         package-private.
1607         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1608         package-private.
1609         * java/awt/MenuComponent.java (focusListener): Now
1610         package-private.
1611         * java/awt/Frame.java (state): Now package-private.
1612         * java/awt/Choice.java (pItems): Now package-private.
1613         * java/awt/Checkbox.java (state): Now package-private.
1614         * java/awt/Button.java (actionCommand, label): Now
1615         package-private.
1616         * gnu/javax/swing/text/html/parser/support/Parser.java
1617         (attributes, _handleEndTag_remaining, _handleStartTag): Now
1618         package-private.
1619         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1620         package-private.
1621         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1622         clip, transform, font, comp): Now package-private.
1623
1624 2005-04-26  Tom Tromey  <tromey@redhat.com>
1625
1626         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1627         static way.
1628
1629 2005-04-26  Mark Wielaard  <mark@klomp.org>
1630
1631         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1632         to MalformedURLException.
1633
1634 2005-04-26  Michael Koch  <konqueror@gmx.de>
1635
1636         * java/security/AccessControlContext.java:
1637         Reformated.
1638         (protectedDomains): Renamed from 'protectionDomain'.
1639         * java/security/AccessController.java:
1640         Reformatted.
1641
1642 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1643
1644         * gnu/java/security/action/GetSecurityPropertyAction.java
1645         (GetSecurityPropertyAction): Implement PrivilegedAction instead
1646         of extending GetPropertyAction.
1647         (name): New field.
1648         (value): Likewise.
1649         (setParamters): New methods.
1650         (GetSecurityPropertyAction): Use new setParameters methods.
1651
1652 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
1653
1654         * java/security/Security.java,
1655         java/security/cert/X509CRLSelector.java,
1656         java/security/cert/X509CertSelector.java:
1657         Modified to use SystemProperties.
1658
1659 2005-04-26  Michael Koch  <konqueror@gmx.de>
1660
1661         * java/lang/System.java
1662         (setSecurityManager): Fixed comment.
1663         (getSecurityManager): Removed obsolete comment.
1664
1665 2005-04-25  Tom Tromey  <tromey@redhat.com>
1666
1667         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1668
1669 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
1670
1671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1672         (connectSignals): Realize the window widget after connecting
1673         signals.
1674
1675 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
1676
1677         * java/awt/GraphicsEnvironment.java
1678         (localGraphicsEnvironment): New field.
1679         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1680         property.
1681         (isHeadless): Added support for java.awt.headless property.
1682         (isHeadlessInstance): Call headless().
1683
1684 2005-04-25  Roman Kennke  <roman@kennke.org>
1685
1686         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1687         (getDisplayMode): Added. Returns the current display mode.
1688         (isFullScreenSupported): Added.
1689         * java/awt/GraphicsDevice.java
1690         (setFullScreenWindow): Implemented a primitive fullscreen mode.
1691         This resizes and relocates the fullscreen window so that it uses
1692         the whole screen. This is not a fully accelerated fullscreen
1693         exclusive mode.
1694
1695 2005-04-25  Michael Koch  <konqueror@gmx.de>
1696
1697         * java/lang/Runtime.java,
1698         java/lang/SecurityManager.java,
1699         java/lang/System.java,
1700         java/lang/ThreadGroup.java:
1701         Replaced java.lang.Runtime.securityManager by
1702         java.lang.SecurityManager.current (as used in GNU classpath).
1703
1704 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
1705
1706         * java/awt/Transparency.java
1707         (getTransparency): fixed API docs.
1708
1709 2005-04-25  Archie Cobbs  <archie@dellroad.org>
1710
1711         * java/lang/Throwable.java: simplify initializing cause in constructor
1712
1713 2005-04-25  Michael Koch  <konqueror@gmx.de>
1714
1715         * gnu/classpath/SystemProperties.java: New file.
1716         * gnu/classpath/natSystemProperties.cc: New file.
1717         * java/lang/Runtime.java
1718         (defaultProperties): Removed.
1719         (static): Likewise.
1720         (): Made thrown exceptions more verbose.
1721         (insertSystemProperties): Removed.
1722         * java/lang/System.java
1723         (static): Likewise.
1724         (properties): Likewise.
1725         (setSecurityManager): Reordered modifiers.
1726         (getenv): Improved javadoc.
1727         (): Likewise.
1728         (isWordsBigEndian): Removed.
1729         * java/lang/natRuntime.cc
1730         (_Jv_SetDLLSearchPath): Likewise.
1731         (file_encoding): Likewise.
1732         (default_file_encoding): Likewise.
1733         (getpwuid_adaptor): Likewise.
1734         (insertSystemProperties): Likewise.
1735         * java/lang/natSystem.cc
1736         (isWordsBigEndian): Likewise.
1737         * Makefile.am
1738         (ordinary_java_source_files):
1739         Added gnu/classpath/SystemProperties.java.
1740         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1741         * Makefile.in: Regenerated.
1742
1743 2005-04-25  Roman Kennke  <roman@kennke.org>
1744
1745         * javax/swing/plaf/basic/BasicScrollBarUI.java
1746         (initDefaults): Initialize thumb*Color fields correctly.
1747
1748 2005-04-25  Roman Kennke  <roman@kennke.org>
1749
1750         * javax/swing/text/GapContent.java:
1751         Added API comments.
1752
1753 2005-04-25  Roman Kennke  <roman@kennke.org>
1754
1755         * javax/swing/plaf/metal/MetalBorders.java:
1756         Added inner class ScrollPaneBorder.
1757         * javax/swing/plaf/metal/MetalLookAndFeel.java
1758         (initComponentDefaults): Added default for "ScrollPane.border"
1759         to use the new ScrollPaneBorder.
1760
1761 2005-04-25  Roman Kennke  <roman@kennke.org>
1762
1763         * javax/swing/text/AbstractDocument.java:
1764         Added FIXME comments. This class still has to be
1765         implemented thread-safe.
1766
1767 2005-04-25  Roman Kennke  <roman@kennke.org>
1768
1769         * javax/swing/tree/DefaultTreeSelectionModel.java
1770         (DefaultTreeSelectionModel): Initialize listenerList here.
1771
1772 2005-04-25  Roman Kennke  <roman@kennke.org>
1773
1774         * javax/swing/plaf/metal/MetalTextFieldUI.java
1775         (createUI): Return one instance per Component instead of a
1776         shared instance.
1777
1778 2005-04-25  Roman Kennke  <roman@kennke.org>
1779
1780         * javax/swing/text/Document.java:
1781         Added API documentation comments.
1782
1783 2005-04-25  Roman Kennke  <roman@kennke.org>
1784
1785         * javax/swing/text/AbstractDocument.java
1786         (getDocumentProperties): Implemented.
1787         (setDocumentProperties): Implemented.
1788         (getProperty): Implemented.
1789         (putProperty): Implemented.
1790
1791 2005-04-25  Roman Kennke  <roman@kennke.org>
1792
1793         * javax/swing/BoxLayout
1794         (preferredLayoutSize): Fixed computation so that it correctly
1795         adds the top and bottom insets of the container.
1796
1797 2005-04-25  Roman Kennke  <roman@kennke.org>
1798
1799         * javax/swing/plaf/basic/BasicMenuItemUI.java
1800         (paintText): Make use of the 'selectionForeground' UI default
1801         for text painting.
1802
1803 2005-04-25  Roman Kennke  <roman@kennke.org>
1804
1805         * javax/swing/plaf/basic/BasicLookAndFeel.java
1806         (initSystemColorDefaults): Modified colors to match the
1807         BasicLookAndFeel in the reference implementation.
1808         (initComponentDefaults): Likewise.
1809
1810 2005-04-25  Tom Tromey  <tromey@redhat.com>
1811
1812         * include/jni.h (_Jv_va_list): Removed.
1813         Moved configuration code...
1814         * include/jni_md.h: ... here.  New file.
1815         * include/Makefile.in: Rebuilt.
1816         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1817
1818 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
1819
1820         * java/io/FileInputStream.java (FileInputStream(File)),
1821         java/io/FileOutputStream.java (FileOutputStream(File)):
1822         Removed unnecessary File.isDirectory() check.
1823
1824 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
1825
1826         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1827         gij if get_multilibs fails.
1828
1829 2005-04-22  Anthony Green  <green@redhat.com>
1830
1831         * jni.cc (natrehash): Don't bother clearing memory again.
1832         * interpret.cc (do_allocate_static_fields): Ditto.
1833         * java/lang/natString.cc (rehash): Ditto.
1834
1835 2005-04-22  Roman Kennke  <roman@kennke.org>
1836
1837         * javax/swing/plaf/basic/BasicLookAndFeel.java
1838         (initComponentDefaults): Changed Button.border to be
1839         BasicBorders.getButtonBorder as it should be.
1840
1841 2005-04-22  Roman Kennke  <roman@kennke.org>
1842
1843         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1844         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1845         should according to a mauve testcase, instead of the preferred
1846         size.
1847
1848 2005-04-22  Roman Kennke  <roman@kennke.org>
1849
1850         * javax/swing/JMenu.java
1851         (add): add(Component) now calls PopupMenu.insert(..) instead of
1852         PopupMenu.add(..). add(..) is not implemented for Component,
1853         so JComponent.add(..) is called instead, adding the component
1854         in the wrong place.
1855
1856 2005-04-22  Roman Kennke  <roman@kennke.org>
1857
1858         * javax/swing/plaf/basic/BasicButtonListener.java
1859         (mousePressed): replaced query to getModifiersEx with getModifiers.
1860         This method relied on faulty behaviour in getModifierEx.
1861         (mouseReleased): replaced query to getModifiersEx with getModifiers.
1862         This method relied on faulty behaviour in getModifierEx.
1863
1864 2005-04-22  Roman Kennke  <roman@kennke.org>
1865
1866         * javax/swing/plaf/metal/MetalLookAndFeel.java
1867         (getDefaults): Call addCustomEntriesToTable on the theme.
1868
1869 2005-04-22  Roman Kennke  <roman@kennke.org>
1870
1871         * javax/swing/tree/DefaultTreeSelectionModel.java
1872         (constructor): Added implementation.
1873         (getRowMapper): Added implementation.
1874         (setSelectionMode): Added implementation.
1875         (getSelectionMode): Added implementation.
1876         (getSelectionPath): Added implementation.
1877         (getSelectionPaths): Added implementation.
1878         (getSelectionCount): Added implementation.
1879         (isSelectionEmpty): Added implementation.
1880         (getSelectionRows): Added implementation.
1881         (getMinSelectionRow): Added implementation.
1882         (getMaxSelectionRow): Added implementation.
1883         (getLeadSelectionRow): Added implementation.
1884         (getLeadSelectionPath): Added implementation.
1885
1886 2005-04-22  Casey Marshall <csm@gnu.org>
1887
1888         * gnu/java/security/der/DERValue.java
1889         (getValueAs): new method.
1890         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1891         (<init>): read both dates with 'DERValue.getValueAs', with
1892         'GENERALIZED_TIME' as the argument.
1893
1894 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
1895
1896         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1897         be null, check for that case and don't deference it.
1898
1899 2005-04-22  Sven de Marothy  <sven@physto.se>
1900
1901         * java/util/logging/LogManager.java: Reformatted.
1902         (readConfiguration): If a logger for a key is not found, create one.
1903
1904 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1905
1906         * java/rmi/Naming.java:
1907         Added class documentation.
1908         (lookup(String)): Call parseURL and getName.
1909         (bind(String,java.rmi.Remote)): Likewise.
1910         (unbind(String)): Likewise.
1911         (rebind(String, java.rmi.Remote)): Likewise.
1912         (list(String)): Call parseURL.
1913         (parseURL(String)): New method to handle parsing and defaults.
1914         (getName(java.net.URL)): New method to handle finding the service name.
1915
1916 2005-04-21  Tom Tromey  <tromey@redhat.com>
1917
1918         * java/lang/natClass.cc (initializeClass): Link class.
1919
1920 2005-04-21  Tom Tromey  <tromey@redhat.com>
1921
1922         * java/lang/AssertionError.java: Typo fix.
1923
1924 2005-04-21  Tom Tromey  <tromey@redhat.com>
1925
1926         * java/lang/VMClassLoader.java (transformException): Removed.
1927         (resolveClass): No longer native.  Now does nothing.
1928         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1929
1930 2005-04-21  Anthony Green  <green@redhat.com>
1931
1932         PR libgcj/21115
1933         * testsuite/libjava.special/special.exp,
1934         testsuite/libjava.special/pr21115I.java,
1935         testsuite/libjava.special/pr21115.java,
1936         testsuite/libjava.special/pr21115.out: New files.
1937
1938 2005-04-21  Chris Burdess  <dog@gnu.org>
1939
1940         * gnu/java/net/CRLFInputStream.java: Rewrite to return
1941         CRLF-delimited chunks.
1942
1943 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1944
1945         * java/net/URI.java:
1946         Added class documentation.
1947         (parseURI(String)): Only handle scheme-specific parts
1948         if URI is not opaque.  Allow for parts that can't be null.
1949         (toString()): Output the scheme-specific part whole, rather
1950         than as its possibly non-existent components.
1951
1952 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1953
1954         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1955         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1956         Adjusted to match new regexp.
1957
1958 2005-04-20  Michael Koch  <konqueror@gmx.de>
1959
1960         * gnu/java/net/protocol/file/Connection.java,
1961         gnu/java/net/protocol/jar/Connection.java:
1962         Reorganized import statements. Fixed @author tags.
1963
1964 2005-04-20  Chris Burdess  <dog@gnu.org>
1965
1966         * java/io/DataOutputStream.java (writeUTF): Use block write for
1967         output.
1968
1969 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1970
1971         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1972         (readLine): Changed newline handling.
1973
1974 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1975
1976         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1977         ColorModel,byte[],int,int): Fixed byte to int conversion.
1978
1979 2005-04-20  Michael Koch  <konqueror@gmx.de>
1980
1981         * java/io/FilePermission.java
1982         (serialVersionUID): Made private.
1983         (ALL_FILES): New constant.
1984         (implies): Handle '<<ALL FILES>>' case.
1985
1986 2005-04-20  Sven de Marothy  <sven@physto.se>
1987
1988         * gnu/java/awt/peer/gtk/GdkGraphics.java:
1989         (drawImage): Don't notify the image observer for offscreen images.
1990         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1991         (setPixels): Don't notify the image observer.
1992
1993 2005-04-20  Sven de Marothy  <sven@physto.se>
1994
1995         * java/nio/ByteBufferImpl.java:
1996         (putChar): Inlined for speed.
1997         (put, get): Bulk methods can use arraycopy.
1998         * java/nio/CharBufferImpl.java:
1999         (put, get): Bulk methods can use arraycopy.
2000
2001 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2002
2003         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
2004         and field updates.
2005         * java/nio/CharBufferImpl.java
2006         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
2007         (get(), put(char)): Inlined checks and field updates. Fixed to
2008         take array_offset into account.
2009         (get(int), put(int, char)): Fixed to take array_offset into account.
2010
2011 2005-04-20  Sven de Marothy  <sven@physto.se>
2012
2013         * java/text/SimpleDateFormat.java:
2014         (formatWithAttribute): Pad year before truncating digits.
2015
2016 2005-04-20  Michael Koch  <konqueror@gmx.de>
2017
2018         * gnu/java/net/PlainDatagramSocketImpl.java:
2019         Merged copyright header.
2020         * gnu/java/net/PlainSocketImpl.java:
2021         Reorganized import statements. Fixed @author tags.
2022
2023 2005-04-20  Michael Koch  <konqueror@gmx.de>
2024
2025         * gnu/java/lang/ClassHelper.java,
2026         gnu/java/lang/reflect/TypeSignature.java:
2027         Fixed @author tag.
2028
2029 2005-04-20  Michael Koch  <konqueror@gmx.de>
2030
2031         * gnu/java/beans/IntrospectionIncubator.java:
2032         Fixed HTML tags in javadocs.
2033
2034 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2035
2036         * gnu/java/beans/IntrospectionIncubator.java
2037         (addToPropertyHash, addToListenerHash): Don't confuse get(),
2038         set(), is(), add() and remove() with properties or events.
2039
2040 2005-04-20  Michael Koch  <konqueror@gmx.de>
2041
2042         * gnu/java/awt/image/XBMDecoder.java:
2043         Fixed modifier order.
2044
2045 2005-04-20  Roman Kennke  <roman@kennke.org>
2046
2047         * javax/swing/plaf/basic/BasicButtonUI.java
2048         (paint): This should not care about margin and insets
2049         at the same time, as insets already include the margin
2050         through the border.
2051         * javax/swing/plaf/basic/BasicGraphicsUtils.java
2052         (getPreferredButtonSize): Likewise.
2053         * javax/swing/plaf/metal/MetalBorders.java
2054         (getBorderInsets): Likewise.
2055
2056 2005-04-20  Roman Kennke  <roman@kennke.org>
2057
2058         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2059         (createMessageArea): The JPanel that holds the message area
2060         doesn't need to override getPreferredSize. This prevents some
2061         message components from rendering nicely.
2062
2063 2005-04-20  Roman Kennke  <roman@kennke.org>
2064
2065         * javax/swing/plaf/metal/MetalInternalFrameUI.java
2066         (createUI): Do not share instances between components.
2067         * javax/swing/plaf/metal/MetalSliderUI.java
2068         (createUI): Do not share instances between components.
2069
2070 2005-04-20  Roman Kennke  <roman@kennke.org>
2071
2072         * javax/swing/plaf/metal/MetalBorders:
2073         (PopupMenuBorder): Added.
2074         * javax/swing/plaf/metal/MetalLookAndFeel
2075         (initComponentDefaults): Added PopupMenuBorder.
2076
2077 2005-04-20  Roman Kennke  <roman@kennke.org>
2078
2079         * javax/swing/tree/DefaultTreeSelectionModel.java:
2080         Added API documentation all over the class.
2081
2082 2005-04-20  Roman Kennke  <roman@kennke.org>
2083
2084         * javax/swing/plaf/basic/BasicScrollPaneUI.java
2085         (installDefaults): Link managed JScrollPane in instance field.
2086         (uninstallDefaults): Unlink managed JScrollPane in instance field.
2087
2088 2005-04-20  Roman Kennke  <roman@kennke.org>
2089
2090         * javax/swing/plaf/basic/BasicScrollBarUI.java
2091         (PropertyChangeHandler.propertyChange): Add default
2092         to switch statement to avoid errors with unusual values
2093         for orientation.
2094         (installComponents): Likewise.
2095
2096 2005-04-20  Roman Kennke  <roman@kennke.org>
2097
2098         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2099         (createUI): Instances cannot be shared among JScrollPanes.
2100
2101 2005-04-20  Roman Kennke  <roman@kennke.org>
2102
2103         * javax/swing/plaf/metal/MetalLookAndFeel.java
2104         (initComponentDefaults): Added defaults for Menu, MenuBar
2105         MenuEntry fonts.
2106
2107 2005-04-20  Roman Kennke  <roman@kennke.org>
2108
2109         * javax/swing/plaf/basic/BasicScrollBarUI.java
2110         (installUI): Install listeners after everything all, otherwise
2111         we get strange NPEs in some situations, especially with
2112         custom L&Fs.
2113         (createIncreaseButton): Orientation is expected to be
2114         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2115         HORIZONTAL or VERTICAL.
2116         (createDecreaseButton): Orientation is expected to be
2117         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2118         HORIZONTAL or VERTICAL.
2119         (installComponents): Orientation for buttons is expected to be
2120         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2121         HORIZONTAL or VERTICAL.
2122
2123 2005-04-20  Roman Kennke  <roman@kennke.org>
2124
2125         * javax/swing/JToolBar.java
2126         (addImpl): Adjust added AbstractButtons to look and feel like
2127         toolbar buttons.
2128         * javax/swing/plaf/metal/MetalBorders.java:
2129         Adjusted insets of ButtonBorder.
2130         (RolloverMarginBorder): Added class for toolbar buttons.
2131         (getButtonBorder): Adjusted factory method to return a shared
2132         instance of button border.
2133         (getToolbarButtonBorder): Added factory method to return a shared
2134         instance of toolbar button border.
2135         (getMarginBorder): Added factory method to return a shared
2136         instance of margin border.
2137         * javax/swing/plaf/metal/MetalButtonUI.java
2138         (installDefauls): If button is child of a JToolBar then set
2139         special border on this button.
2140
2141 2005-04-20  Michael Koch  <konqueror@gmx.de>
2142
2143         * java/net/URLConnection.java
2144         (getContent): Fixed javadoc comment.
2145
2146 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2147
2148         * java/net/URL.java:
2149         (toURI()): Implemented.
2150
2151 2005-04-19  Michael Koch  <konqueror@gmx.de>
2152
2153         * java/net/InetAddress.java
2154         (InetAddress): Fixed javadoc comment.
2155         (aton): Likewise.
2156         (lookup): Added javadoc.
2157         (getFamily): Likewise.
2158         * java/net/ServerSocket.java
2159         (getChannel): Improved javadoc comment.
2160
2161 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2162
2163         * gnu/xml/dom/html2/DomHTMLParser.java:
2164         Changed 'enum' references to become 'enumeration'.
2165
2166 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2167
2168         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2169
2170 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2171
2172         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2173         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2174         * gnu/javax/swing/text/html/parser/htmlValidator.java:
2175         (validateParameters(TagElement,htmlAttributeSet)):
2176         Replaced 'enum' with 'enumeration'.
2177         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2178         Likewise.
2179
2180 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2181
2182         * javax/swing/text/html/parser/Entity.java (getType): New method.
2183         * javax/swing/text/html/parser/DocumentParser.java:
2184         Inherit from javax.swing.text.html.parser.Parser.
2185
2186 2005-04-19  Chris Burdess  <dog@gnu.org>
2187
2188         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2189         check for HTML/XHTML namespace.
2190
2191 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2192
2193         * javax/swing/text/html/parser/Parser.java,
2194         javax/swing/text/html/parser/Entity.java:
2195         Inheriting from DTDConstants.
2196         * javax/swing/text/html/parser/AttributeList.java
2197         (getValues): Changed return type.
2198         * javax/swing/text/html/parser/DocumentParser
2199         (parse): Adding the callback parameter that receives
2200         the parsing events.
2201
2202 2005-04-19  Chris Burdess  <dog@gnu.org>
2203
2204         * gnu/xml/dom/DomImpl.java,
2205         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2206         gnu/xml/dom/html2/DomHTMLDocument.java,
2207         gnu/xml/dom/html2/DomHTMLElement.java,
2208         gnu/xml/dom/html2/DomHTMLFormElement.java,
2209         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2210         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2211         gnu/xml/dom/html2/DomHTMLImpl.java,
2212         gnu/xml/dom/html2/DomHTMLInputElement.java,
2213         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2214         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2215         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2216         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2217         gnu/xml/dom/html2/DomHTMLTableElement.java,
2218         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2219         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2220         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2221         UI events, and tree utility functions.
2222
2223 2005-04-19  Michael Koch  <konqueror@gmx.de>
2224
2225         * gnu/javax/swing/text/html/parser/HTML_401F.java,
2226         gnu/javax/swing/text/html/parser/gnuDTD.java,
2227         gnu/javax/swing/text/html/parser/models/node.java:
2228         Reworked import statements.
2229
2230 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
2231
2232         * javax/swing/text/html/HTMLDocument.java: New file.
2233
2234 2005-04-19  Michael Koch  <konqueror@gmx.de>
2235
2236         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2237         Reformatted.
2238         * javax/swing/text/html/parser/AttributeList.java:
2239         Fixed order of modifiers.
2240         (AttributeList): Made final.
2241         * javax/swing/text/html/parser/ContentModel.java:
2242         Fixed html characters in javadocs.
2243         * javax/swing/text/html/parser/DTD.java
2244         (DTD): Don't implement java.io.Serializable directly.
2245         (getElement): Simplified.
2246         * javax/swing/text/html/parser/DTDConstants.java:
2247         Reformatted file.
2248         * javax/swing/text/html/parser/Element.java:
2249         Fixed order of modifiers.
2250         * javax/swing/text/html/parser/Parser.java:
2251         Reformatted. Don't use fully-qualified class names.
2252         * javax/swing/text/html/parser/ParserDelegator.java:
2253         Fixed order of modifiers.
2254         * javax/swing/text/rtf/RTFParser.java:
2255         Re-ordered import statements.
2256         * javax/swing/text/rtf/RTFScanner.java:
2257         Removed unused import statement.
2258
2259 2005-04-19  Chris Burdess  <dog@gnu.org>
2260
2261         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2262         gnu/xml/dom/html2/DomHTMLCollection.java,
2263         gnu/xml/dom/html2/DomHTMLDocument.java,
2264         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2265         types.
2266         * gnu/xml/dom/html2/DomHTMLDListElement.java,
2267         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2268         gnu/xml/dom/html2/DomHTMLDivElement.java,
2269         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2270         gnu/xml/dom/html2/DomHTMLFontElement.java,
2271         gnu/xml/dom/html2/DomHTMLFormElement.java,
2272         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2273         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2274         gnu/xml/dom/html2/DomHTMLHRElement.java,
2275         gnu/xml/dom/html2/DomHTMLHeadElement.java,
2276         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2277         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2278         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2279         gnu/xml/dom/html2/DomHTMLImageElement.java,
2280         gnu/xml/dom/html2/DomHTMLInputElement.java,
2281         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2282         gnu/xml/dom/html2/DomHTMLLIElement.java,
2283         gnu/xml/dom/html2/DomHTMLLabelElement.java,
2284         gnu/xml/dom/html2/DomHTMLLegendElement.java,
2285         gnu/xml/dom/html2/DomHTMLLinkElement.java,
2286         gnu/xml/dom/html2/DomHTMLMapElement.java,
2287         gnu/xml/dom/html2/DomHTMLMenuElement.java,
2288         gnu/xml/dom/html2/DomHTMLMetaElement.java,
2289         gnu/xml/dom/html2/DomHTMLModElement.java,
2290         gnu/xml/dom/html2/DomHTMLOListElement.java,
2291         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2292         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2293         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2294         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2295         gnu/xml/dom/html2/DomHTMLParamElement.java,
2296         gnu/xml/dom/html2/DomHTMLPreElement.java,
2297         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2298         gnu/xml/dom/html2/DomHTMLScriptElement.java,
2299         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2300         gnu/xml/dom/html2/DomHTMLStyleElement.java,
2301         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2302         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2303         gnu/xml/dom/html2/DomHTMLTableColElement.java,
2304         gnu/xml/dom/html2/DomHTMLTableElement.java,
2305         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2306         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2307         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2308         gnu/xml/dom/html2/DomHTMLTitleElement.java,
2309         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2310
2311 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2312
2313         * javax/swing/text/ChangedCharSetException.java,
2314         javax/swing/text/html/HTMLEditorKit.java,
2315         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2316         javax/swing/text/html/parser/AttributeList.java,
2317         javax/swing/text/html/parser/ContentModel.java,
2318         javax/swing/text/html/parser/DocumentParser.java,
2319         javax/swing/text/html/parser/DTD.java,
2320         javax/swing/text/html/parser/DTDConstants.java,
2321         javax/swing/text/html/parser/Element.java,
2322         javax/swing/text/html/parser/Entity.java,
2323         javax/swing/text/html/parser/Parser.java,
2324         javax/swing/text/html/parser/TagElement.java,
2325         gnu/javax/swing/text/html/package.html,
2326         gnu/javax/swing/text/html/parser/gnuDTD.java,
2327         gnu/javax/swing/text/html/parser/HTML_401F.java,
2328         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2329         gnu/javax/swing/text/html/parser/htmlValidator.java,
2330         gnu/javax/swing/text/html/parser/package.html,
2331         gnu/javax/swing/text/html/parser/models/list.java,
2332         gnu/javax/swing/text/html/parser/models/node.java,
2333         gnu/javax/swing/text/html/parser/models/noTagModel.java,
2334         gnu/javax/swing/text/html/parser/models/package.html,
2335         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2336         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2337         gnu/javax/swing/text/html/parser/models/transformer.java,
2338         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2339         gnu/javax/swing/text/html/parser/support/package.html,
2340         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2341         gnu/javax/swing/text/html/parser/support/Parser.java,
2342         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2343         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2344         gnu/javax/swing/text/html/parser/support/low/Constants.java,
2345         gnu/javax/swing/text/html/parser/support/low/Location.java,
2346         gnu/javax/swing/text/html/parser/support/low/node.java,
2347         gnu/javax/swing/text/html/parser/support/low/package.html,
2348         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2349         gnu/javax/swing/text/html/parser/support/low/pattern.java,
2350         gnu/javax/swing/text/html/parser/support/low/Queue.java,
2351         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2352         New files.
2353         * javax/swing/text/html/HTML.java,
2354         javax/swing/text/html/parser/ParserDelegator.java:
2355         New files (replacing).
2356         * javax/swing/text/html/package.html,
2357         javax/swing/text/html/parser/package.html: Documenting the
2358         packages.
2359
2360 2005-04-19  Chris Burdess  <dog@gnu.org>
2361
2362         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2363         gnu/xml/dom/html2/DomHTMLAppletElement.java,
2364         gnu/xml/dom/html2/DomHTMLAreaElement.java,
2365         gnu/xml/dom/html2/DomHTMLBaseElement.java,
2366         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2367         gnu/xml/dom/html2/DomHTMLBodyElement.java,
2368         gnu/xml/dom/html2/DomHTMLBRElement.java,
2369         gnu/xml/dom/html2/DomHTMLButtonElement.java,
2370         gnu/xml/dom/html2/DomHTMLCollection.java,
2371         gnu/xml/dom/html2/DomHTMLDocument.java,
2372         gnu/xml/dom/html2/DomHTMLElement.java: New files.
2373
2374 2005-04-19  Michael Koch  <konqueror@gmx.de>
2375
2376         * Makefile.am: Added new files.
2377         * Makefile.in: Regenerated.
2378
2379 2005-04-19  Roman Kennke  <roman@kennke.org>
2380
2381         * javax/swing/text/JTextComponent.java
2382         (JTextComponent): Added repaintListener which issues repaint
2383         requests when the underlying document changes.
2384         (setDocument): Adds repaintListener to document when the
2385         document is changed.
2386         * javax/swing/text/DefaultEditorKit.java:
2387         Removed repaint calls on JTextComponent. This is now handled
2388         through a DocumentListener in JTextComponent that repaints
2389         the component when needed.
2390
2391 2005-04-19  Roman Kennke  <roman@kennke.org>
2392
2393         PR libgcj/21064
2394         * javax/swing/text/StyleContext.java
2395         (NamedStyle.setResolveParent): Added null
2396         pointer check.
2397
2398 2005-04-19  Michael Koch  <konqueror@gmx.de>
2399
2400         * java/rmi/server/RemoteObject.java:
2401         Removed unused import statement.
2402
2403 2005-04-19  Michael Koch  <konqueror@gmx.de>
2404
2405         * java/net/URL.java: Formatting cleanups.
2406
2407 2005-04-19  Michael Koch  <konqueror@gmx.de>
2408
2409         * java/awt/FontMetrics.java: Reformatted.
2410         (getFontRenderContext): Handle case when java.awt.Graphics context is
2411         given.
2412
2413 2005-04-19  Michael Koch  <konqueror@gmx.de>
2414
2415         * java/awt/FontMetrics.java
2416         (getStringBounds): New methods.
2417
2418
2419 2005-04-19  Michael Koch  <konqueror@gmx.de>
2420
2421         * gnu/java/security/x509/X509Certificate.java
2422         (parse): Handle val == null case.
2423
2424 2005-04-19  Roman Kennke  <roman@kennke.org>
2425
2426         * javax/swing/plaf/metal/MetalLookAndFeel.java
2427         (initComponentDefaults): Added defaults for Menu, MenuBar
2428         MenuEntry fonts.
2429
2430 2005-04-19  Roman Kennke  <roman@kennke.org>
2431
2432         * javax/swing/plaf/metal/MetalLookAndFeel.java
2433         (initComponentDefaults): Added Label.font.
2434         (initSystemColorDefaults): Added this method and adjusted the
2435         general control color.
2436
2437 2005-04-19  Roman Kennke  <roman@kennke.org>
2438
2439         * javax/swing/plaf/metal/MetalBorders.java:
2440         Added.
2441         * javax/swing/plaf/metal/MetalButtonUI.java:
2442         (installDefaults): Install button font.
2443         * javax/swing/plaf/metal/MetalLookAndFeel.java:
2444         (initComponentDefaults): Added button border, font and margin.
2445         Changed components background color to the Metal current themes
2446         standard color.
2447
2448 2005-04-19  Roman Kennke  <roman@kennke.org>
2449
2450         * javax/swing/plaf/metal/MetalLookAndFeel.java
2451         (initComponentDefaults): Added to set Metal specific component
2452         defaults.
2453
2454 2005-04-19  Mark Wielaard  <mark@klomp.org>
2455
2456         * javax/swing/plaf/metal/MetalLookAndFeel.java
2457         (initClassDefaults): Call super.initClassDefaults().
2458
2459 2005-04-19  Roman Kennke  <roman@kennke.org>
2460
2461         * javax/swing/plaf/metal/MetalLookAndFeel.java
2462         (initClassDefaults): Added to include the *UI classes.
2463
2464 2005-04-19  Roman Kennke  <roman@kennke.org>
2465
2466         * javax/swing/plaf/metal/MetalComboBoxUI.java:
2467         Added.
2468         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2469         Added.
2470         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2471         Added.
2472         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2473         Added.
2474         * javax/swing/plaf/metal/MetalProgressBarUI.java:
2475         Added.
2476         * javax/swing/plaf/metal/MetalRootPaneUI.java:
2477         Added.
2478         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2479         Added.
2480         * javax/swing/plaf/metal/MetalSeparatorUI.java:
2481         Added.
2482         * javax/swing/plaf/metal/MetalSliderUI.java:
2483         Added.
2484         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2485         Added.
2486         * javax/swing/plaf/metal/MetalTextFieldUI.java:
2487         Added.
2488         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2489
2490 2005-04-19  Roman Kennke  <roman@kennke.org>
2491
2492         * javax/swing/plaf/metal/MetalButtonUI.java:
2493         Added skeleton class.
2494         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2495         Added skeleton class.
2496         * javax/swing/plaf/metal/MetalLabelUI.java:
2497         Added skeleton class.
2498         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2499         Added skeleton class.
2500         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2501         Added skeleton class.
2502         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2503         Added skeleton class.
2504
2505 2005-04-19  Roman Kennke  <roman@kennke.org>
2506
2507         * javax/swing/UIDefaults.java:
2508         Added API documentation for all methods.
2509
2510 2005-04-19  Roman Kennke  <roman@kennke.org>
2511
2512         * javax/swing/UIDefaults.java
2513         (put): Now uses new checkAndPut method instead of checking
2514         directly.
2515         (putDefaults): Fixed so that it accepts null-values and
2516         treats them like remove(key).
2517         (checkAndPut): Added. This checks for null-values and calls
2518         put or remove.
2519
2520 2005-04-19  Michael Koch  <konqueror@gmx.de>
2521
2522         * Makefile.am: Added new files.
2523         * Makefile.in: Regenerated.
2524
2525 2005-04-19  Mark Wielaard  <mark@klomp.org>
2526
2527         * java/lang/natRuntime.cc (insertSystemProperties): Set
2528         java.class.path to CLASSPATH only when not empty. Fall back to
2529         default path "." when java.class.path is empty.
2530
2531 2005-04-19  Michael Koch  <konqueror@gmx.de>
2532
2533         * javax/swing/text/rtf/ControlWordToken.java,
2534         javax/swing/text/rtf/RTFEditorKit.java,
2535         javax/swing/text/rtf/RTFParseException.java,
2536         javax/swing/text/rtf/RTFParser.java,
2537         javax/swing/text/rtf/RTFScanner.java,
2538         javax/swing/text/rtf/TextToken.java,
2539         javax/swing/text/rtf/Token.java: New files.
2540         * Makefile.am: Added new files.
2541         * Makefile.in: Regenerated.
2542
2543 2005-04-19  Michael Koch  <konqueror@gmx.de>
2544
2545         * java/awt/geom/QuadCurve2D.java:
2546         Fixed Brian Gough's name for real.
2547
2548 2005-04-19  Roman Kennke  <roman@kennke.org>
2549
2550         * javax/swing/UIManager.java:
2551         Make the UIManager respect the swing.defaultlaf system
2552         property.
2553
2554 2005-04-19  Tom Tromey  <tromey@redhat.com>
2555
2556         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2557         not _Jv_InitClass.
2558
2559 2005-04-19  Roman Kennke  <roman@kennke.org>
2560
2561         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2562         Fixed tabs to spaces.
2563
2564 2005-04-19  Roman Kennke  <roman@kennke.org>
2565
2566         * javax/swing/plaf/basic/BasicMenuUI.java
2567         (getMaximumSize): Now returns preferredSize because JMenu should
2568         never be bigger than that.
2569         * javax/swing/JRootPane
2570         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2571
2572 2005-04-19  Roman Kennke  <roman@kennke.org>
2573
2574         * javax/swing/JRootPane.java:
2575         Fixed various tabs to be spaces.
2576         (RootLayout.layoutContainer): Made menubar left aligned.
2577
2578 2005-04-19  Roman Kennke  <roman@ontographics.com>
2579
2580         * javax/swing/JList.java
2581         (getPreferredScrollableViewportSize):
2582         The previous implementation was merely guessing the size,
2583         now it respects layoutOrientation, visibleRowCount
2584         and preferredSize.
2585         (getScrollableTracksViewportHeight):
2586         Reimplemented so that layoutOrientation, visibleRowCount
2587         and preferred size are respected.
2588         (getScrollableTracksViewportWidth):
2589         Reimplemented so that layoutOrientation, visibleRowCount
2590         and preferred size are respected.
2591         * javax/swing/plaf/basic/BasicListUI.java
2592         (getPreferredSize):
2593         Improved calculation of preferredSize when JList is
2594         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2595         (getCellBounds):
2596         The previous implementation assumed a layoutOrientation of
2597         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2598         JList.VERTICAL_WRAP.
2599
2600 2005-04-19  Roman Kennke  <roman@ontographics.com>
2601
2602         * javax/swing/plaf/basic/BasicListUI.java
2603         (paintCell): use CellRendererPane for painting the cells.
2604
2605 2005-04-19  Roman Kennke  <roman@ontographics.com>
2606
2607         * javax/swing/plaf/basic/BasicListUI:
2608         fixed modifiers of several fields, methods and inner
2609         classes to match the 'spec'.
2610         (getMaximumSize): removed. It's not in the spec and the
2611         implementations was superfluous.
2612
2613 2005-04-19  Roman Kennke  <roman@ontographics.com>
2614
2615         * javax/swing/plaf/basic/BasicListUI:
2616         make BasicListUI capable of wrapping lists
2617         (layoutOrientation property of javax.swing.JList)
2618
2619 2005-04-19  Roman Kennke  <roman@ontographics.com>
2620
2621         * javax/swing/plaf/basic/BasicListUI
2622         (updateLayoutState,paint): make BasicListUI aware of the
2623         width of the rendered JList.
2624
2625 2005-04-19  Roman Kennke  <roman@kennke.org>
2626
2627         * javax/swing/ImageIcon.java
2628         Added API documentation.
2629
2630 2005-04-19  Roman Kennke  <roman@kennke.org>
2631
2632         * javax/swing/text/ImageIcon.java
2633         (ImageIcon): Use setImage instead of direct assignment.
2634         (setImage): Call loadImage to make sure that the image is loaded.
2635         (loadImage): Waits for the image to complete loading.
2636         (getImageLoadStatus): Added. Returns the load status of the
2637         image.
2638
2639 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2640
2641         * javax/swing/JTextArea.java (replaceRange):
2642         Fixing doc.remove(start, length) misinterpretation.
2643
2644 2005-04-19  Roman Kennke  <roman@ontographics.com>
2645
2646         * javax/swing/CellRendererPane.java:
2647         implemented all methods of this class.
2648         reformatted all wrong formatted code.
2649
2650 2005-04-19  Roman Kennke  <roman@kennke.org>
2651
2652         * javax/swing/BoxLayout.java:
2653         (layoutContainer): Made this layout manager respect the
2654         minimum, maximum and preferred size more correctly.
2655
2656 2005-04-19  Roman Kennke  <roman@ontographics.com>
2657
2658         * javax/swing/BoxLayout.java:
2659         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2660         layoutContainer): Make these methods and thereby the
2661         BoxLayout respect the insets (like borders) of the
2662         component that is laid out.
2663
2664 2005-04-19  Roman Kennke  <roman@kennke.org>
2665
2666         * javax/swing/JComponent.java:
2667         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2668         Untabified the file.
2669
2670 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2671
2672         * javax/swing/JComboBox.java (constructors): selecting the
2673         first item if the box was constructed from the provided
2674         non - empty array or vector.
2675
2676 2005-04-19  Michael Koch  <konqueror@gmx.de>
2677
2678         * gnu/java/awt/peer/gtk/GdkGraphics.java
2679         (getClipBounds): Handle clip being null.
2680         (setClip): Likewise.
2681         * java/beans/beancontext/BeanContextSupport.java
2682         (add): Implemented.
2683         (addAll): Likewise.
2684         (clear): Likewise.
2685         (removeAll): Likewise.
2686         (retainAll): Likewise.
2687
2688 2005-04-19  Michael Koch  <konqueror@gmx.de>
2689
2690         * java/beans/beancontext/BeanContextServicesSupport.java
2691         (BeanContextServicesSupport): Reimplemented.
2692         (addBeanContextServicesListener): Implemented.
2693         (initialize): Likewise.
2694         (removeBeanContextServicesListener): Likewise.
2695         * java/beans/beancontext/BeanContextSupport.java
2696         (add): Likewise.
2697         (addBeanContextMembershipListener): Likewise.
2698         (getLocale): Likewise.
2699         (initialize): Likewise.
2700         (iterator): Likewise.
2701         (remove): Likewise.
2702         (toArray): Likewise.
2703
2704 2005-04-19  Roman Kennke  <roman@kennke.org>
2705
2706         * java/awt/MediaTracker.java:
2707         Reindented tabs to spaces.
2708
2709 2005-04-19  Roman Kennke  <roman@kennke.org>
2710
2711         * java/awt/MediaTracker.java
2712         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2713         confused the media tracker and lead to lockups. The LOADING
2714         bit is handled on other places.
2715         (addImage): Removed the 'start image tracking' stuff. This
2716         is not necessary and could confuse the media tracker.
2717         (checkAll): Improved the check for image status so that
2718         images that already complete images are detected. Also now
2719         are really all images checked and if necessary loaded. Before
2720         the method bailed out after the first incomplete image.
2721         (statusAll): Detect images that are complete after the
2722         call to Component.prepareImage(..).
2723         (checkID): The same as in checkAll.
2724         (statusID): The same as in statusAll.
2725
2726 2005-04-19  Roman Kennke  <roman@kennke.org>
2727
2728         * java/awt/MediaTracker.java
2729         (addImage): Synchronized list access.
2730         (waitForAll): Fixed comparison of time (changed < to >).
2731         (waitForID): Fixed comparison of time (changed < to >).
2732         (removeImage): Synchronized list access.
2733
2734 2005-04-19  Roman Kennke  <roman@kennke.org>
2735
2736         * java/awt/MediaTracker.java
2737         Added API documentation.
2738
2739 2005-04-19  Roman Kennke  <roman@kennke.org>
2740
2741         * java/awt/MediaTracker.java
2742         (MediaEntry.imageUpdate): Fixed flags. The different flags
2743         must not be ORed together.
2744         (checkAll): Modified to handle different meaning of the flags.
2745         (waitForAll): Fixed so that it waits maximum the
2746         specified amount of milliseconds.
2747         (statusAll): Modified to handle different meaning of the flags.
2748         (waitForID): Fixed so that it waits maximum the
2749         specified amount of milliseconds.
2750
2751 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
2752
2753         * java/awt/Font.java (decode): Handle null argument and allow
2754         space as delimiter.
2755
2756 2005-04-19  Robert Schuster <thebohemian@gmx.net>
2757
2758         * java/beans/EventHandler.java: Reworked documentation.
2759         (invoke): Fixed behavior to match spec.
2760
2761 2005-04-19  Michael Koch  <konqueror@gmx.de>
2762
2763         * java/awt/print/PrinterJob.java
2764         (pageDialog): New method.
2765         (printDialog): Implemented.
2766
2767 2005-04-19  Michael Koch  <konqueror@gmx.de>
2768
2769         * java/awt/image/ConvolveOp.java:
2770         Removed comment added by eclipse.
2771
2772 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
2773
2774         * java/awt/image/IndexColorModel.java
2775         (getRGB): Check if pixel is negative.
2776
2777 2005-04-19  Michael Koch  <konqueror@gmx.de>
2778
2779         * java/awt/image/RasterOp.java:
2780         Fixed wrong formatting.
2781
2782 2005-04-18  Roman Kennke  <roman@kennke.org>
2783
2784         * java/awt/Compmonent.java
2785         (setComponentOrientation): Made this property firing a
2786         PropertyChangeEvent.
2787
2788 2005-04-18  Roman Kennke  <roman@kennke.org>
2789
2790         * java/awt/BorderLayout.java
2791         (calcSize): Check for overflow when component sizes are added.
2792
2793 2005-04-18  Robert Schuster <thebohemian@gmx.net>
2794
2795         * java/awt/AWTEvent.java (toString): Added case
2796         for source not being an AWT component.
2797
2798 2005-04-18  Chris Burdess  <dog@gnu.org>
2799
2800         * gnu/java/net/BASE64.java: Truncate encoded byte array.
2801
2802 2005-04-18  Michael Koch  <konqueror@gmx.de>
2803
2804         gnu/java/awt/EmbeddedWindowSupport.java,
2805         gnu/java/net/HeaderFieldHelper.java,
2806         gnu/java/net/URLParseError.java,
2807         gnu/java/net/protocol/file/Handler.java,
2808         gnu/java/net/protocol/jar/Handler.java:
2809         Fixed usage of @author tag.
2810
2811 2005-04-18  Michael Koch  <konqueror@gmx.de>
2812
2813         * gnu/xml/aelfred2/XmlParser.java:
2814         Reverted my typo fix.
2815
2816 2005-04-18  Michael Koch  <konqueror@gmx.de>
2817
2818         * java/awt/geom/CubicCurve2D.java,
2819         java/awt/geom/QuadCurve2D.java:
2820         Fixed mentioning of Brian Gouph.
2821
2822 2005-04-18  Michael Koch  <konqueror@gmx.de>
2823
2824         * gnu/java/awt/Buffers.java,
2825         gnu/java/awt/image/ImageDecoder.java,
2826         gnu/java/awt/image/XBMDecoder.java,
2827         gnu/java/awt/peer/ClasspathFontPeer.java,
2828         gnu/java/net/CRLFInputStream.java,
2829         gnu/java/net/EmptyX509TrustManager.java,
2830         gnu/java/net/LineInputStream.java,
2831         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2832         gnu/java/net/protocol/ftp/BlockInputStream.java,
2833         gnu/java/net/protocol/ftp/CompressedInputStream.java,
2834         gnu/java/net/protocol/ftp/DTP.java,
2835         gnu/java/net/protocol/ftp/DTPInputStream.java,
2836         gnu/java/net/protocol/ftp/FTPConnection.java,
2837         gnu/java/net/protocol/ftp/FTPURLConnection.java,
2838         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2839         gnu/java/net/protocol/ftp/StreamInputStream.java,
2840         gnu/java/net/protocol/http/ChunkedInputStream.java,
2841         gnu/java/net/protocol/http/HTTPConnection.java,
2842         gnu/java/net/protocol/http/HTTPURLConnection.java,
2843         gnu/java/net/protocol/http/Headers.java,
2844         gnu/java/net/protocol/http/Request.java,
2845         gnu/java/nio/ChannelInputStream.java,
2846         gnu/java/nio/ChannelOutputStream.java,
2847         gnu/java/nio/InputStreamChannel.java,
2848         gnu/java/nio/OutputStreamChannel.java,
2849         gnu/java/nio/SelectorProviderImpl.java,
2850         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2851         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2852         gnu/java/rmi/dgc/DGCImpl.java,
2853         gnu/java/rmi/registry/RegistryImpl.java,
2854         gnu/java/rmi/server/ProtocolConstants.java,
2855         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2856         gnu/java/rmi/server/RMIIncomingThread.java,
2857         gnu/java/rmi/server/RMIObjectInputStream.java,
2858         gnu/java/rmi/server/RMIObjectOutputStream.java,
2859         gnu/java/rmi/server/RMIVoidValue.java,
2860         gnu/java/rmi/server/UnicastConnectionManager.java,
2861         gnu/java/rmi/server/UnicastRef.java,
2862         gnu/java/rmi/server/UnicastRemoteCall.java,
2863         gnu/java/rmi/server/UnicastRemoteStub.java,
2864         gnu/java/rmi/server/UnicastServerRef.java,
2865         gnu/java/security/OID.java,
2866         gnu/java/security/der/DERReader.java,
2867         gnu/java/security/provider/CollectionCertStoreImpl.java,
2868         gnu/java/security/provider/DSAParameterGenerator.java,
2869         gnu/java/security/provider/DefaultPolicy.java,
2870         gnu/java/security/provider/EncodedKeyFactory.java,
2871         gnu/java/security/provider/GnuDHPublicKey.java,
2872         gnu/java/security/provider/GnuDSAPrivateKey.java,
2873         gnu/java/security/provider/GnuDSAPublicKey.java,
2874         gnu/java/security/provider/GnuRSAPrivateKey.java,
2875         gnu/java/security/provider/GnuRSAPublicKey.java,
2876         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2877         gnu/java/security/provider/RSA.java,
2878         gnu/java/security/provider/SHA1PRNG.java,
2879         gnu/java/security/provider/SHA1withRSA.java,
2880         gnu/java/security/provider/X509CertificateFactory.java,
2881         gnu/java/security/x509/GnuPKIExtension.java,
2882         gnu/java/security/x509/X500DistinguishedName.java,
2883         gnu/java/security/x509/X509CRL.java,
2884         gnu/java/security/x509/X509CRLEntry.java,
2885         gnu/java/security/x509/X509CertPath.java,
2886         gnu/java/security/x509/X509CertSelectorImpl.java,
2887         gnu/java/security/x509/X509Certificate.java,
2888         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2889         gnu/java/security/x509/ext/BasicConstraints.java,
2890         gnu/java/security/x509/ext/CRLNumber.java,
2891         gnu/java/security/x509/ext/CertificatePolicies.java,
2892         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2893         gnu/java/security/x509/ext/Extension.java,
2894         gnu/java/security/x509/ext/GeneralNames.java,
2895         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2896         gnu/java/security/x509/ext/KeyUsage.java,
2897         gnu/java/security/x509/ext/PolicyConstraint.java,
2898         gnu/java/security/x509/ext/PolicyMappings.java,
2899         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2900         gnu/java/security/x509/ext/ReasonCode.java,
2901         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2902         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2903         Reorganized import statements.
2904
2905 2005-04-18  Michael Koch  <konqueror@gmx.de>
2906
2907         * gnu/java/awt/color/CieXyzConverter.java,
2908         gnu/java/awt/color/ClutProfileConverter.java,
2909         gnu/java/awt/color/ColorLookUpTable.java,
2910         gnu/java/awt/color/ColorSpaceConverter.java,
2911         gnu/java/awt/color/GrayProfileConverter.java,
2912         gnu/java/awt/color/GrayScaleConverter.java,
2913         gnu/java/awt/color/LinearRGBConverter.java,
2914         gnu/java/awt/color/ProfileHeader.java,
2915         gnu/java/awt/color/PyccConverter.java,
2916         gnu/java/awt/color/RgbProfileConverter.java,
2917         gnu/java/awt/color/SrgbConverter.java,
2918         gnu/java/awt/color/TagEntry.java,
2919         gnu/java/awt/color/ToneReproductionCurve.java:
2920         Standardized file headers.
2921
2922 2005-04-16  Tom Tromey  <tromey@redhat.com>
2923
2924         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2925         'ANY' package-private.
2926
2927 2005-04-15  Tom Tromey  <tromey@redhat.com>
2928
2929         * Makefile.in: Rebuilt.
2930         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2931         (libgcj0_convenience_la_LIBADD): ... here.
2932
2933 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2934
2935         * gij.cc (version): Properly quote java version.
2936         (main): Fix typo in comment.
2937
2938 2005-04-13  Mark Wielaard  <mark@klomp.org>
2939
2940         * java/lang/natRuntime.cc (insertSystemProperties): Set
2941         java.class.path to CLASSPATH if not already set.
2942
2943 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2944
2945         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2946
2947 2005-04-12  Mike Stump  <mrs@apple.com>
2948
2949         * configure: Regenerate.
2950
2951 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
2952
2953         PR libgcj/20958
2954         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2955         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2956
2957 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
2958
2959         PR libgcj/20975
2960         * scripts/TexinfoDoclet.java: Removed.
2961         * Makefile.am (texinfo): Removed.
2962         * Makefile.in: Regenerated.
2963
2964 2005-04-11  Michael Koch  <konqueror@gmx.de>
2965
2966         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2967         Fixed wrong casting.
2968
2969 2005-04-06  Andrew Haley  <aph@redhat.com>
2970
2971         * testsuite/libjava.lang/bytearray.java: New file.
2972         * testsuite/libjava.lang/bytearray.out: New file.
2973         * java/lang/ClassLoader.java (loadClassFromSig): Declare
2974         (loadClass): Use it.
2975         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2976
2977 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
2978
2979         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2980         gcj-dbtool dependency
2981         * Makefile.in: Regenerated
2982
2983 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
2984
2985         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2986         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2987
2988 2005-04-05  Andrew Haley  <aph@redhat.com>
2989
2990         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2991         (Tokenizer): New class.
2992         (getFiles): New method.
2993         (main): Add "-" argument.
2994         Add "-0" argument.
2995         Read list of files from stdin when merging map databases.
2996         (usage):  Add "-" argument.
2997         Add "-0" argument.
2998         Minor corrections.
2999
3000 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3001
3002         PR libgcj/20750
3003         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
3004         * Makefile.in: Regenerate.
3005         * configure.ac: Add --with-java-home option.
3006         * configure: Regenerate.
3007         * external/Makefile.in: Regenerate.
3008         * external/sax/Makefile.in: Regenerate.
3009         * external/w3c_dom/Makefile.in: Regenerate.
3010         * gcj/Makefile.in: Regenerate.
3011         * include/Makefile.in: Regenerate.
3012         * testsuite/Makefile.in: Regenerate.
3013         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
3014         to JAVA_HOME macro.
3015
3016 2005-04-05  Tom Tromey  <tromey@redhat.com>
3017
3018         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
3019         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
3020         Rewrote to use _Jv_FindClassFromSignature.
3021         * verify.cc (resolve): throw NoClassDefFoundError.
3022         * link.cc (resolve_field): Throw NoClassDefFoundError.
3023         (find_field): Likewise.
3024         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
3025         Handle error cases.  Added 'endp' argument.
3026         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
3027
3028 2005-04-05  Tom Tromey  <tromey@redhat.com>
3029
3030         * Makefile.in: Rebuilt.
3031         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
3032         gtk_awt_peer_sources.
3033         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
3034         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
3035         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
3036         (gtk-awt-peer.lo): New target.
3037
3038 2005-04-04  Steve Pribyl <steve@netfuel.com>
3039
3040         PR libgcj/20761
3041         * configure.ac: Fix fastjar definition for cross builds.
3042         * configure: Rebuilt.
3043
3044 2005-04-04  Tom Tromey  <tromey@redhat.com>
3045
3046         * java/lang/ClassLoader.java (loadClass): Resolve class even if
3047         it was already found.
3048
3049 2005-04-04  Tom Tromey  <tromey@redhat.com>
3050
3051         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
3052         org.metastatic.jessie.
3053
3054 2005-04-02  Anthony Green  <green@redhat.com>
3055
3056         PR libgcj/20727
3057         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
3058
3059 2005-04-02  Mark Wielaard  <mark@klomp.org>
3060
3061         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
3062         Attributes and attribute order doesn't matter.
3063         (BasicAttributesEnumeration.where): Initialize to zero.
3064         (BasicAttributesEnumeration.nextElement): Update and compare where
3065         appropriately (zero based).
3066
3067 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
3068
3069         PR libgcj/20090, PR libgcj/20526
3070         * gij.cc (nonstandard_opts_help): New function.
3071         (add_option): New function.
3072         (main): Support java options.  Set java.class.path.  Don't set
3073         _Jv_Jar_Class_Path.
3074         * prims.cc (parse_x_arg): New function.
3075         (parse_init_args): Call parse_x_arg for -X and _ options, when
3076         ignoreUnrecognized is true.
3077         (new _Jv_RunMain): New vm_args variant.
3078         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
3079         (_Jv_Jar_Class_Path): Remove variable.
3080         * include/java-props.h: Likewise.
3081         * include/cni.h (JvRealloc): New function.
3082         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
3083         * java/lang/natRuntime.cc (insertSystemProperties): Remove
3084         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
3085         macros.
3086         * configure.ac (JV_VERSION): Define.
3087         (JV_API_VERSION): Likewise.
3088         * configure: Regenerate.
3089         * include/config.h.in: Regenerate.
3090
3091 2005-04-01 Mark Anderson <mark@panonet.net>
3092
3093         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
3094         -Infinity as parameters.
3095
3096 2005-04-01  Michael Koch  <konqueror@gmx.de>
3097
3098         * java/io/PipedInputStream.java
3099         (read): Make sure a positive byte value is returned. Revised javadoc.
3100         Thanks to Olafur Bragason for reporting these bugs.
3101
3102 2005-04-01  Tom Tromey  <tromey@redhat.com>
3103
3104         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3105         Updated for name change.
3106         (nativeFindClass): New method.
3107         (loadClass): Use nativeFindClass.
3108         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
3109         form of loadClass.
3110         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
3111         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
3112         VMClassLoader.
3113         (initialize): New method.
3114         (nativeFindClass): Declare.
3115         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
3116         * gnu/gcj/runtime/VMClassLoader.java: Removed.
3117         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3118         VMClassLoader.java.
3119         (definePackageForNative): Removed.
3120         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3121         Moved to VMClassLoader.java.
3122         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3123         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3124         (ordinary_java_source_files): Added ExtensionClassLoader.java,
3125         removed VMClassLoader.java.
3126         (nat_source_files): Removed natVMClassLoader.cc.
3127
3128 2005-04-01  Tom Tromey  <tromey@redhat.com>
3129
3130         * Makefile.in: Rebuilt.
3131         * Makefile.am (db_pathtail): Use $(gcc_version), not
3132         @gcc_version@.
3133
3134 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
3135
3136         * java/util/Timer.java
3137         (run): Stop the queue if a task throws an exception.
3138
3139 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3140
3141         * javax/swing/text/JTextComponent.java (viewToModel): New method.
3142
3143 2005-03-29  Ian Lance Taylor  <ian@airs.com>
3144
3145         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3146         * external/sax/Makefile.in: Rebuild.
3147         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3148         "-fclasspath=".
3149         * external/w3c_dom/Makefile.in: Rebuild.
3150
3151 2005-03-29  Tom Tromey  <tromey@redhat.com>
3152
3153         * java/lang/natRuntime.cc (insertSystemProperties): Set
3154         gnu.gcj.runtime.endorsed.dirs.
3155         * Makefile.in: Rebuilt.
3156         * Makefile.am (ordinary_java_source_files): Added
3157         HelperClassLoader.java.
3158         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3159         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3160         HelperClassLoader.
3161         (init): Use addDirectoriesFromProperty.
3162         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3163         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
3164         gnu.gcj.runtime.endorsed.dirs.
3165         * gnu/gcj/runtime/HelperClassLoader.java: New file.
3166
3167 2005-03-26  Chris Burdess  <dog@gnu.org>
3168
3169         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3170         required.
3171
3172 2005-03-13  Michael Koch  <konqueror@gmx.de>
3173
3174         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3175
3176 2005-03-11  Chris Burdess  <dog@gnu.org>
3177
3178         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3179         warnings.
3180
3181 2005-02-27  Chris Burdess  <dog@gnu.org>
3182
3183         * gnu/xml/aelfred2/JAXPFactory.java,
3184         gnu/xml/aelfred2/SAXDriver.java,
3185         gnu/xml/aelfred2/XmlParser.java,
3186         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3187         formatting conventions. Replaced arrays of Object with struct-like
3188         classes for easier maintainability. Made SAXDriver.stringInterning
3189         package private to allow access from XmlParser inside the loop without
3190         a method call overhead.
3191
3192 2005-03-11  Chris Burdess  <dog@gnu.org>
3193
3194         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3195         warnings.
3196
3197 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
3198
3199         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
3200         settings to sub Makefiles.
3201         (GCJH, ZIP): Prefix with top_builddir.
3202         * configure: Rebuild.
3203         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3204         * external/w3c_dom/Makefile.in: Rebuild.
3205         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3206         * external/sax/Makefile.in: Rebuild.
3207
3208 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3209
3210         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3211         libsocket to the libraries to link for Solaris.
3212
3213 2005-03-28  Per Bothner  <per@bothner.com>
3214
3215         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3216         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3217
3218 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
3219
3220         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3221         to fix a ONESTEP fallout.
3222         * Makefile.in: Regenerate.
3223
3224 2005-03-25  Mike Stump  <mrs@apple.com>
3225
3226         * configure.ac: Fix ZIP and GCJH at configure time to absolute
3227         paths like we do for the compiler, as we use it in external/sax
3228         and it doesn't get MULTIBUILDTOP right when multilibing.
3229
3230 2005-03-24  Anthony Green  <green@redhat.com>
3231
3232         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3233         -p option.
3234         (usage): Add [LIBDIR] to help output.
3235         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3236         * Makefile.am (AM_CXXFLAGS): Define
3237         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3238         (db_pathtail): New macro.
3239
3240 2005-03-24  Tom Tromey  <tromey@redhat.com>
3241
3242         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3243         add sax and w3c libraries.
3244         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3245         libw3c-gcj.la.
3246         * external/w3c_dom/Makefile.in: Rebuilt.
3247         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3248         AM_GCJFLAGS.
3249         (libw3c_gcj_la_LDFLAGS): New variable.
3250         (noinst_LTLIBRARIES): Renamed.
3251         * external/sax/Makefile.in: Rebuilt.
3252         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3253         AM_GCJFLAGS.
3254         (libsax_gcj_la_LDFLAGS): New variable.
3255         (noinst_LTLIBRARIES): Renamed.
3256
3257 2005-03-23  Tom Tromey  <tromey@redhat.com>
3258
3259         * Makefile.in: Rebuilt.
3260         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3261         (libgcj0_convenience_la_SOURCES): Don't include
3262         gnu_xml_source_files.
3263         (libgcj0_convenience_la_LIBADD): New variable.
3264         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3265         (all_java_source_files): javax_imageio_source_files,
3266         javax_xml_source_files, and gnu_java_beans_source_files.
3267         ($(gnu_xml_source_files:.java=.lo)): Removed target.
3268         (gnu-xml.lo): New target.
3269         (javax-imageio.lo): Likewise.
3270         (javax-xml.lo): Likewise.
3271         (gnu-java-beans.lo): Likewise.
3272         (gnu_java_beans_source_files): New variable.
3273         (javax_imageio_source_files): Likewise.
3274         (javax_xml_source_files): Likewise.
3275         (javax_source_files): Moved files to other variable.
3276         (awt_java_source_files): Likewise.
3277         (ordinary_java_source_files): Added BootClassLoader.java.
3278         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3279         not system class loader.
3280         (initBootLoader): New method.
3281         (loadClass): Search bootLoader.
3282         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3283         boot loader, not system class loader.
3284         (_Jv_UnregisterInitiatingLoader): Likewise.
3285         (_Jv_FindClass): Likewise.  Ensure entries in
3286         bootstrap_class_list are unique.
3287         * java/lang/natClass.cc (getClassLoader): Don't special case
3288         system class loader.
3289         * java/lang/VMClassLoader.java (bootLoader): New field.
3290         (getResource): Use bootLoader.
3291         (getResources): Likewise.
3292         (initBootLoader): Declare.
3293         * gnu/gcj/runtime/BootClassLoader.java: New file.
3294         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3295         (EMPTY_ENUMERATION): Now package-private.
3296         * external/w3c_com/Makefile.in: Rebuilt.
3297         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3298         (w3c.jar): New target.
3299         (classes.stamp): Updated.
3300         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3301         Changed name of library.
3302         (libw3c_gcj_la_SOURCES): New variable.
3303         (libw3c_gcj_la_GCJFLAGS): Likewise.
3304         (source_files): Renamed from lib3c_convenience_la_SOURCES.
3305         * external/sax/Makefile.in: Rebuilt.
3306         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3307         (sax.jar): New target.
3308         (classes.stamp): Updated.
3309         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3310         Changed name of library.
3311         (libsax_gcj_la_SOURCES): New variable.
3312         (libsax_gcj_la_GCJFLAGS): Likewise.
3313         (source_files): Renamed from libsax_convenience_la_SOURCES.
3314         * stacktrace.cc (non_system_trace_fn): Don't look at system class
3315         loader.
3316         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3317         loader.
3318         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3319
3320 2005-03-23  Sven de Marothy  <sven@physto.se>
3321
3322         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3323         PR libgcj/11085:
3324         * java/util/Calendar.java
3325         (set): Use starting day of week when one is needed if none is given.
3326         * java/text/SimpleDateFormat.java
3327         (parse): Handle 1-12 and 1-24 timestamps correctly.
3328         * java/util/GregorianCalendar.java
3329         (computeTime, computeFields): HOUR should be in 0-11 format.
3330         (nonLeniencyCheck): Adjust leniency checking to that fact.
3331         (getLinearDay): Should be private.
3332
3333 2005-03-23  Tom Tromey  <tromey@redhat.com>
3334
3335         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3336         (_Jv_CheckABIVersion): Use it.
3337
3338 2005-03-22  Mike Stump  <mrs@apple.com>
3339
3340         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3341
3342         * include/posix.h: .dylib is used on all Apple MACH platforms.
3343         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3344
3345 2005-03-22  Tom Tromey  <tromey@redhat.com>
3346
3347         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3348
3349 2005-03-21  Tom Tromey  <tromey@redhat.com>
3350
3351         * java/lang/VMCompiler.java (static block): Also catch
3352         BufferUnderflowException.
3353
3354 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
3355
3356         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
3357         set tool_include_dir.  In all substitutions, leave $(gcc_version)
3358         to be expanded by the Makefile.
3359         * aclocal.m4, configure: Regenerate.
3360         * Makefile.am: Set gcc_version.  Replace all uses of
3361         @gcc_version@ with $(gcc_version).
3362         * external/Makefile.am, external/sax/Makefile.am
3363         * external/w3c_dom/Makefile.am, gcj/Makefile.am
3364         * testsuite/Makefile.am: Set gcc_version.
3365         * include/Makefile.am: Set gcc_version and tool_include_dir.
3366         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3367         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3368         * testsuite/Makefile.in: Regenerate.
3369
3370 2005-03-17  Andrew Haley  <aph@redhat.com>
3371
3372         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3373         arg: klass.
3374         Pass klass to _Jv_StackTrace::GetClassContext().
3375         * java/lang/ClassLoader.java (getParent): Pass class to
3376         VMSecurityManager.getClassContext()
3377         (getSystemClassLoader): Likewise.
3378         * java/lang/Package.java (getPackage): Likewise.
3379         (getPackages): Likewise.
3380         * java/lang/SecurityManager.java (getClassContext): Likewise.
3381         (currentClassLoader): Likewise.
3382         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3383         (currentClassLoader) Add new arg: caller.
3384         Pass caller to VMSecurityManager.getClassContext.
3385
3386         * stacktrace.cc (GetClassContext): Correct calculation of
3387         jframe_count.
3388
3389         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3390         im->source_file_name.
3391
3392 2005-03-16  Andrew Haley  <aph@redhat.com>
3393
3394         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3395
3396 2005-03-16  Tom Tromey  <tromey@redhat.com>
3397
3398         * link.cc (ensure_class_linked): Removed #ifdef.
3399         (print_class_loaded): Likewise.
3400         (wait_for_state): Likewise.
3401         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3402         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3403         * include/java-interp.h: ... here.
3404
3405 2005-03-16  Tom Tromey  <tromey@redhat.com>
3406
3407         * gnu/java/lang/MainThread.java (run): Load main class using
3408         system class loader.
3409
3410 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
3411
3412         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3413         lgcc_s to the libraries to link for Darwin.
3414
3415 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
3416
3417         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3418         interpreter-specific code with #ifdef INTERPRETER.
3419         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3420         (_Jv_StackTrace::FillInFrameInfo): Likewise.
3421         (_Jv_StackTrace::non_system_trace_fn): Likewise.
3422         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3423         #ifdef INTERPRETER. Also protect declarations that use it.
3424         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3425         #ifdef INTERPRETER block.
3426
3427 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
3428
3429         PR libgcj/20251
3430         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3431         * Makefile.in: Rebuilt.
3432
3433 2005-03-15  David Daney  <ddaney@avtrex.com>
3434
3435         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3436         count == 0 case.
3437
3438 2005-03-15  David Daney  <ddaney@avtrex.com>
3439
3440         * java/io/BufferedInputStream.java (available): Use 'in' instead
3441         of 'super' for underlying stream access.
3442         (close): Ditto.
3443         (read(byte[], int, int)): Ditto.
3444         (refill): Ditto.
3445         (skip): Call skip on underlying stream when possible.
3446
3447 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
3448
3449         * stacktrace.cc (GetCallerInfo): Return nothing in case of
3450         SJLJ_EXCEPTIONS is defined.
3451
3452 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
3453
3454         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3455         tests.
3456
3457 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
3458
3459         * testsuite/lib/libjava.exp (libjava_init): Use the same target
3460         check for Darwin.
3461         (libjava_arguments): Likewise.
3462
3463         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3464         (gcj_jni_test_one): Likewise.
3465         (gcj_jni_invocation_compile_c_to_binary): Likewise.
3466         Add flags to keep the Darwin linker quiet.
3467         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3468         Add -liconv for Darwin.
3469
3470 2005-03-11  Tom Tromey  <tromey@redhat.com>
3471
3472         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3473         (_Jv_CheckABIVersion): Use it.
3474
3475 2005-03-11  Tom Tromey  <tromey@redhat.com>
3476
3477         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3478         (usage): Document '-p'.
3479         * Makefile.in: Rebuilt.
3480         * Makefile.am (dbexecdir): New variable.
3481         (db_name): Likewise.
3482         (dbexec_DATA): Likewise.
3483         ($(db_name)): New target.
3484         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3485         * java/lang/natRuntime.cc (insertSystemProperties): Set default
3486         system database.
3487
3488 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
3489
3490         * exception.cc: Remove stray MethodRef.h include.
3491         * java/lang/natClass.cc: Likewise.
3492         * gnu/gcj/runtime/MethodRef.java: Removed.
3493         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3494         gnu/gcj/runtime/natStackTrace.cc: Really removed.
3495         * java/lang/natRuntime.cc (_load): Remove unsed variable.
3496         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3497         * Makefile.in: Rebuilt.
3498
3499 2005-03-10  Tom Tromey  <tromey@redhat.com>
3500
3501         * Makefile.in: Rebuilt.
3502         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3503
3504 2005-03-10  Chris Burdess  <dog@bluezoo.org>
3505
3506         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3507         not currently parsing the DTD.
3508
3509 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
3510
3511         New Stack Trace infrastructure.
3512         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3513         (gnu/gcj/runtime/StackTrace.java): Removed.
3514         (ordinary_java_source_files): Remove obsolete files.
3515         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3516         * configure.host (fallback_backtrace_h): Set backtrace header
3517         for mingw and cygwin targets.
3518         * configure.ac: Make symlink for fallback backtrace headers.
3519         * Makefile.in, configure: Rebuilt.
3520         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3521         Read 'LineNumberTable' attribute.
3522         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3523         attribute.
3524         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3525         table fields.
3526         * exception.cc: Remove unused include.
3527         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3528         (SAVE_PC): New macro. Save current PC in the interpreter frame.
3529         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3530         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3531         table to direct threaded instruction values.
3532         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3533         (_Jv_InterpMethod::run): No longer member function. All
3534         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3535         is made or where an instruction could throw.
3536         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3537         in line_table.
3538         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3539         (catch_fpe): Likewise.
3540         * stacktrace.cc: New file. Stack trace code now here.
3541         * gnu/gcj/runtime/MethodRef.java:
3542         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3543         calls addr2line to look up PC addresses in a given binary or shared
3544         library.
3545         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3546         gnu/gcj/runtime/natStackTrace.cc: Removed.
3547         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3548         this function name is specially recognised by the stack trace code
3549         and shouldn't be changed.
3550         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3551         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
3552         (_Jv_InterpMethod::run): Update declaration.
3553         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3554         friends.
3555         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3556         * include/java-stack.h: New file. Declarations for stack tracing.
3557         * include/jvm.h (_Jv_Frame_info): Removed.
3558         * java/lang/Class.h: Update friend declarations.
3559         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3560         exception message.
3561         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3562         (getStackTrace): Now native.
3563         (data): New RawDataManaged field.
3564         * java/lang/natClass.cc: Update includes.
3565         (forName): Use _Jv_StackTrace::GetCallingClass for
3566         calling-classloader check.
3567         (getClassLoader): Likewise.
3568         * java/lang/natRuntime.cc: Update includes.
3569         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3570         * java/lang/natVMSecurityManager.cc: Update includes.
3571         (getClassContext): Use _Jv_StackTrace::GetClassContext.
3572         * java/lang/natVMThrowable.cc: New file. Native methods for
3573         VMThrowable.
3574         * java/lang/reflect/natArray.cc: Update includes.
3575         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3576         accessibility check.
3577         * java/lang/reflect/natConstructor.cc: Update includes.
3578         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3579         accessibility check.
3580         * java/lang/reflect/natField.cc: Update includes.
3581         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3582         accessibility check.
3583         * java/lang/reflect/natMethod.cc: Update includes.
3584         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3585         accessibility check.
3586         * java/util/natResourceBundle.cc: Update includes.
3587         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3588         * java/util/logging/natLogger.cc: Update includes. Use
3589         _Jv_StackTrace::GetCallerInfo to get call-site info.
3590         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3591         implementation.
3592         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3593         implementation.
3594
3595 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
3596
3597         * testsuite/libjava.compile/PR20312.java: New file.
3598         * testsuite/libjava.compile/PR20312.xfail: Likewise.
3599         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3600
3601 2005-03-09  Andrew Haley  <aph@redhat.com>
3602
3603         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3604         New.
3605         (smallTransferTo): New.
3606         (transferFrom): Loop around smallTransferFrom, copying pageSize
3607         bytes each time.
3608         (transferTo): Likewise.
3609
3610 2005-03-09  David Daney  <ddaney@avtrex.com>
3611
3612         PR libgcj/20389
3613         Merge BufferedInputStream from GNU Classpath.
3614         * java/io/BufferedInputStream.java (marktarget): Field removed.
3615         (CHUNKSIZE): Field removed.
3616         (bufferSize): New field.
3617         (BufferedInputStream): Initialize fields.
3618         (close): Invalidate mark and buffer indexes.
3619         (mark):  Rewritten.
3620         (read()): Move mark handling code to refill.
3621         (read(byte[], int, int)): Ditto.
3622         (skip): Ditto and simplify EOF testing.
3623         (refill): Rewritten.
3624         * java/io/InputStreamReader.java (refill): Removed mark and reset
3625         of internal BufferedInputStream.
3626
3627 2005-03-09  Tom Tromey  <tromey@redhat.com>
3628
3629         * java/lang/natVMClassLoader.cc (defineClass): Reference
3630         'systemClassLoader' field directly.
3631         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3632         field directly.
3633         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3634         Reference 'systemClassLoader' field directly.
3635         (_Jv_UnregisterInitiatingLoader): Likewise.
3636         (_Jv_FindClass): Likewise.
3637
3638 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
3639
3640         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3641
3642         * java/lang/mprec.h: Remove commented headers. Fix comment to match
3643         the file in GNU Classpath style.
3644
3645 2005-03-09  Tom Tromey  <tromey@redhat.com>
3646
3647         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3648         (toString): Synchronize.
3649
3650 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
3651
3652         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3653         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3654
3655 2005-03-07  Tom Tromey  <tromey@redhat.com>
3656
3657         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3658         (usage): Document '-f'.
3659
3660 2005-03-07  Tom Tromey  <tromey@redhat.com>
3661
3662         * java/lang/VMCompiler.java (md5Digest): New field.
3663         (compileClass): Clone md5Digest instead of looking up a new one.
3664
3665 2005-03-07  Tom Tromey  <tromey@redhat.com>
3666
3667         PR java/20215:
3668         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3669         * link.cc (find_field_helper): Added 'type' argument.
3670         (find_field): Updated.
3671
3672 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
3673         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3674         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3675         throw UnsupportedOperationException, fixed comments.
3676         (setFont, setForeground): Fixed comments.
3677         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3678         return type to boolean.
3679         (getNextEvent): Fixed javadocs.
3680         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3681         (nativeQueueEmpty): Removed unused code.
3682         (iterateNativeQueue): Removed outer loop.
3683
3684 2005-03-06  Roger Sayle  <roger@eyesopen.com>
3685
3686         PR libgcj/20155
3687         * Makefile.am (libgcj0_convenience.la): Revert last change.
3688         * Makefile.in: Regenerate.
3689
3690 2005-03-05  Anthony Green  <green@redhat.com>
3691
3692         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3693         classpath_jawt_lock, classpath_jawt_unlock): New functions.
3694         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3695         (_Jv_GetDrawingSurface): Set visualID.
3696         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3697         (JAWT_GetAWT): Set Lock and Unlock.
3698         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3699         visualID.
3700         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3701         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3702         JAWT_LOCK_SURFACE_CHANGED): New macros.
3703         (struct _JAWT): Add Lock and Unlock.
3704
3705 2005-03-05  Roger Sayle  <roger@eyesopen.com>
3706             Alexandre Oliva  <aoliva@redhat.com>
3707             Kelley Cook  <kcook@gcc.gnu.org>
3708
3709         PR libgcj/20155
3710         * Makefile.am (libgcj0_convenience.la): New rule to create a file
3711         of the object files to link to avoid exceeding the command line
3712         length limits on some platforms.
3713         (clean-local): Clean up objectlist files.
3714         * Makefile.in: Regenerate.
3715
3716 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
3717
3718         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3719         spec_case. Initialize pointer mlo.
3720
3721         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3722         delta.
3723
3724         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3725
3726         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3727         and k.
3728
3729         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3730         uninitialized variable z.
3731
3732         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3733         possible unused variables.
3734
3735         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3736
3737         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3738
3739 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3740
3741         PR libgcj/20292
3742         * testsuite/libjava.jni/jni.exp
3743         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3744         flags.
3745         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3746
3747 2005-02-23  David Daney  <ddaney@avtrex.com>
3748
3749         * configure.host: Don't use -mxgot for MIPS builds.
3750
3751 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
3752
3753         PR bootstrap/17383
3754         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3755         (COMPPATH): Removed.
3756         (ZIP, GCJH): Replace it with ../$(host_subdir).
3757         (built_gcc_dir): Add $(host_subdir).
3758         * configure: Regenerate.
3759         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3760         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3761         external/w3c_dom/Makefile.in: Regenerate.
3762
3763 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
3764
3765         * java/awt/font/TextAttribute.java: changed names to lower case;
3766         (readResolve): implemented.
3767         Added doc comments all over.
3768
3769 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3770
3771         PR libgcj/16923
3772         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
3773         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
3774         value.  Move argument parsing code to prims.cc.
3775         * prims.cc (no_properties): Remove.
3776         (_Jv_Compiler_Properties): Initialize to NULL.
3777         (_Jv_Properties_Count): Initialize to 0.
3778         (parse_verbose_args): New function.
3779         (parse_init_args): New function.
3780         (_Jv_CreateJavaVM): Call parse_init_args.
3781         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3782         * gcj/cni.h (JvVMOption): New struct.
3783         (JvVMInitArgs): Likewise.
3784         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3785         void*.
3786         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3787         (_Jv_VMInitArgs): Likewise.
3788         * include/java-props.h (_Jv_Properties_Count): Declare.
3789         * java/lang/natRuntime.cc (insertSystemProperties): Use
3790         _Jv_Properties_Count in for loop exit condition.
3791         * testsuite/libjava.jni/jni.exp
3792         (gcj_invocation_compile_c_to_binary): New procedure.
3793         (gcj_invocation_test_one): Likewise.
3794         (gcj_jni_run): Run JNI invocation API tests.
3795         * testsuite/libjava.jni/invocation/PR16923.c,
3796         testsuite/libjava.jni/invocation/PR16923.java,
3797         testsuite/libjava.jni/invocation/PR16923.out: New test.
3798
3799 2005-02-23  Michael Koch  <konqueror@gmx.de>
3800
3801         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3802         * Makefile.in: Regenerated.
3803
3804 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
3805
3806         * gnu/java/nio/ChannelReader: Fixed comments.
3807
3808 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
3809
3810         * java/nio/channels/Channels: Added FIXMEs about
3811         stub method implementation.
3812         (newReader): Implemented.
3813         * gnu/java/nio/ChannelReader: New class.
3814
3815 2005-02-23  Michael Koch  <konqueror@gmx.de>
3816
3817         * java/text/SimpleDateFormat.java:
3818         Removed unused import.
3819
3820 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3821
3822         PR libgcj/20029:
3823         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3824         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3825         * Makefile.in: Regenerate.
3826         * configure.ac: Check for libXtst.
3827         * configure: Regenerate.
3828
3829 2005-02-22  Mark Wielaard  <address@bogus.example.com>
3830
3831         * java/security/AlgorithmParameterGenerator.java (getInstance):
3832         Mention provider when throwing NoSuchProviderException.
3833         * java/security/AlgorithmParameters.java (getInstance): Likewise.
3834         * java/security/KeyFactory.java (getInstance): Likewise.
3835         * java/security/KeyStore.java (getInstance): Likewise.
3836         * java/security/SecureRandom.java (getInstance): Likewise.
3837         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3838
3839 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
3840
3841         * java/lang/reflect/Proxy.java,
3842         java/net/URL.java,
3843         java/security/SecureRandom.java,
3844         java/util/Timer.java,
3845         java/util/prefs/AbstractPreferences.java:
3846         Don't catch java.lang.ThreadDeath.
3847
3848 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
3849
3850         * java/awt/font/TransformAttribute.java,
3851         (TransformAttribute(AffineTransform)): throw
3852         IllegalArgumentException for null transform.
3853         (getTransform): return a copy of transform.
3854         Added doc comments to all.
3855
3856 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
3857
3858         * java/io/Externalizable.java,
3859         java/io/Serializable.java
3860         (serialVersionUID): Removed.
3861         * java/rmi/server/RemoteObject.java,
3862         java/rmi/server/UID.java
3863         (serialVersionUID): Made private.
3864         * java/rmi/server/RemoteRef.java,
3865         java/rmi/server/ServerRef.java
3866         (serialVersionUID): Set proper value.
3867         * java/security/interfaces/DSAPrivateKey.java,
3868         java/security/interfaces/DSAPublicKey.java,
3869         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3870         java/security/interfaces/RSAPrivateCrtKey.java,
3871         java/security/interfaces/RSAPrivateKey.java,
3872         java/security/interfaces/RSAPublicKey.java,
3873         javax/crypto/SecretKey.java
3874         (serialVersionUID): Added.
3875
3876 2005-02-22  Tom Tromey  <tromey@redhat.com>
3877
3878         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3879
3880 2005-02-22  Tom Tromey  <tromey@redhat.com>
3881
3882         PR java/20056:
3883         * verify.cc (type::EITHER): New constant.
3884         (check_field_constant): Use it.
3885         (type::compatible): Handle it.
3886
3887 2005-02-22  Michael Koch  <konqueror@gmx.de>
3888
3889         * gnu/java/security/PolicyFile.java,
3890         gnu/java/security/pkcs/PKCS7SignedData.java,
3891         gnu/java/security/pkcs/SignerInfo.java:
3892         Fixed copyright header.
3893
3894 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
3895
3896         * java/beans/PropertyDescriptor.java
3897         (PropertyDescriptor,setReadMethod): Set propertyType.
3898
3899 2005-02-22  Michael Koch  <konqueror@gmx.de>
3900
3901         * java/nio/DirectByteBufferImpl.java
3902         (owner): Fixed formatting of javadoc.
3903         * java/text/DateFormat.java
3904         (getAvailableLocales): Fixed formatting.
3905         * java/text/SimpleDateFormat.java:
3906         Fixed formatting and import statement order.
3907         * java/util/Calendar.java
3908         (Calendar): Fixed javadoc to be HTML compliant.
3909         * java/util/SimpleTimeZone.java:
3910         Fixed javadocs.
3911
3912 2005-02-22  Roman Kennke <roman@ontographics.com>
3913
3914         * javax/swing/plaf/basic/BasicLookAndFeel.java
3915         (initComponentDefaults): Fixed Button left and right margin.
3916
3917 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3918
3919         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3920         empty Runnable.
3921
3922         PR libgcj/17952:
3923         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3924         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3925         (getWidth): New method.
3926         (getHeight): Likewise.
3927         (create): Remove width, height and insets parameters.  Move size
3928         setup ...
3929         (realize_cb): ... here.  New function.
3930         (connectSignals): Connect realize_cb.
3931         (request_frame_extents): Remove FIXME.  Move
3932         postInsetsChangedEvent lookup ...
3933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3934         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
3935         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3936         jmethodID.
3937         (windowGetWidthID): Likewise.
3938         (windowGetHeightID): Likewise.
3939
3940 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3941
3942         PR libgcj/19842
3943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3944         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3945
3946 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
3947
3948         Merge serialization from GNU Classpath.
3949         * gcj/method.h: Add missing #includes.
3950         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3951         primitive class IDs on the stream here...
3952         (resolveClass): ...not here.
3953         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3954         fields.
3955         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3956         setLongNative, setIntNative, setShortNative, setCharNative,
3957         setByteNative, setBooleanNative, setObjectNative): New native methods.
3958         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3959         setLongNative, setIntNative, setShortNative, setCharNative,
3960         setByteNative, setBooleanNative, setObjectNative): Implement them.
3961         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3962         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3963         the constructor here.
3964         (callConstructor): Removed.
3965         (getCallersClassLoader): Removed.
3966         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3967         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3968         to control whether setting final field values is permitted. Call
3969         getAddr() with checkFinal parameter instead of setAddr().
3970         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3971         only if not done already.
3972         (getAddr): Add checkFinal parameter. Do the final field check only if
3973         checkFinal is set.
3974         (setAddr): Removed.
3975
3976 2005-02-21  Mark Wielaard  <mark@klomp.org>
3977
3978         # Fixes bug #11957
3979         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3980         twice.
3981
3982 2005-02-21  Mark Wielaard  <mark@klomp.org>
3983
3984         Fixes bug #11618.
3985         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3986         without a super class and us ObjectStreamClass.lookupForClassObject().
3987         (resolveClass): Check for primitive types.
3988         (lookupClass): Return null when argument is null.
3989
3990 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
3991
3992         * java/io/ObjectInputStream.java
3993         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3994
3995 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
3996
3997         * java/io/ObjectOutputStream.java
3998         (writeObject, callWriteMethod): Replaced reflection with accessing
3999         cached info in ObjectStreamClass.
4000         (getMethod): Removed.
4001         * java/io/ObjectStreamClass.java
4002         (findMethod): Added check to make sure the method found has the
4003         right modifiers.
4004         (cacheMethods): Added writeReplace and writeObject methods.
4005         (setFlags): Look at new writeObjectMethod field instead of doing
4006         reflection again.
4007         (writeReplaceMethod): New field.
4008         (writeObjectMethod): New field.
4009
4010 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
4011         Jeroen Frijters  <jeroen@frijters.net>
4012
4013         * java/io/ObjectInputStream.java
4014         (newObject): Changed prototype. Get a constructor reflect object
4015         directly.
4016         (callConstructor): Removed.
4017         (allocateObject): Changed prototype.
4018         (readClassDescriptor): Build the constructor reflection directly.
4019         (readObject): Invoke newObject using the new prototype.
4020
4021         * java/io/ObjectStreamClass.java
4022         (firstNonSerializableParent): Removed.
4023         (firstNonSerializableParentConstructor): Added.
4024
4025 2005-02-21  Mark Wielaard  <mark@klomp.org>
4026
4027         * gnu/java/locale/LocaleInformation_en.java: Extend
4028         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
4029
4030 2005-02-21  Mark Wielaard  <mark@klomp.org>
4031
4032         * java/text/SimpleDateFormat.java
4033         (SimpleDateFormat(String, DateFormatSymbols)): Throw
4034         NullPointerException when formatData is null.
4035
4036 2005-02-21  Mark Wielaard  <mark@klomp.org>
4037
4038         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
4039         taking dstSavings into account.
4040
4041 2005-02-21  Sven de Marothy <sven@physto.se>
4042
4043         * java/text/SimpleDateFormat.java,
4044         (parse): Set correct DST_OFFSET to the correct value.
4045
4046 2005-02-21  Mark Wielaard  <mark@klomp.org>
4047
4048         * java/util/SimpleTimeZone.java (checkRule): Throw
4049         IllegalArgumentException when month out of range.
4050
4051 2005-02-21  Sven de Marothy  <sven@physto.se>
4052
4053         * java/util/GregorianCalendar.java,
4054         (add): Don't set fields directly anymore. Use set()
4055
4056 2005-02-21  Mark Wielaard  <mark@klomp.org>
4057
4058         * java/text/SimpleDateFormat.java (CompiledField.toString):
4059         Use StringBuffer, not StringBuilder.
4060         (toString): Likewise.
4061
4062 2005-02-21  Sven de Marothy  <sven@physto.se>
4063
4064         * java/util/Calendar.java
4065         (clear): Dates should clear to local time.
4066         * java/util/GregorianCalendar.java
4067         (computeTime): Fix priority problem with DAY_OF_WEEK,
4068         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
4069
4070 2005-02-21  Sven de Marothy  <sven@physto.se>
4071
4072         * java/util/Calendar.java
4073         (Calendar): Constructor should clear fields.
4074
4075 2005-02-21  Sven de Marothy  <sven@physto.se>
4076
4077         * java/text/SimpleDateFormat.java
4078         (parse): Tweak handling of 2-year dates
4079         * java/util/Calendar.java
4080         (clear): Clear fields to correct value.
4081         * java/util/GregorianCalendar.java
4082         (computeTime): Correct handling of time zones.
4083         Correct field minimum values.
4084
4085 2005-02-21  Sven de Marothy  <sven@physto.se>
4086
4087         * java/util/Calendar.java
4088         (set) Invalidate all fields on first call to set().
4089
4090 2005-02-21  Sven de Marothy  <sven@physto.se>
4091
4092         * java/util/GregorianCalendar.java
4093         (computeTime): Fixed handling of time zones.
4094
4095 2005-02-21  Sven de Marothy  <sven@physto.se>
4096
4097         * java/util/Calendar.java
4098         (clear): Set values to Epoch instead of zero.
4099         (set): Set isSet to the relevant field pattern instead of just
4100         the field.
4101         * java/util/GregorianCalendar.java
4102         (getBundle): Removed.
4103         (getDayOfYear): Removed.