OSDN Git Service

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