OSDN Git Service

2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * configure.ac: Simplify the mmap check a bit more.
4         * configure: Rebuilt.
5         * include/config.h.in: Likewise.
6
7 2006-05-01  Roger Sayle  <roger@eyesopen.com>
8             Andrew Haley  <aph@redhat.com>
9
10         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
11         before calling GC_register_has_static_roots_callback.
12         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
13         HAVE_DLADDR before calling dladdr.
14
15 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
16
17         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
18         to resolve_method.
19         * interpret.cc (insn_invokevirtual): Use method->index, not
20         vtable_index. Check accflag FINAL to determine finals. Only do
21         explicit null check if calling a final method. Use
22         throw_null_pointer_exception.
23         (invokevirtual_resolved): Likewise.
24         (null_pointer_exc): Remove static field.
25         (throw_null_pointer_exception): Always define. Throw a new
26         NullPointerException every time.
27         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
28         field.
29         * include/execution.h (resolve_method): Remove vtable_index argument.   
30
31 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
32
33         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
34         * configure: Rebuilt.
35
36 2006-04-25  Tom Tromey  <tromey@redhat.com>
37
38         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
39         Include platform.h.  Set GC_DEBUG before including gc.h, if
40         needed.
41
42 2006-04-25  Andrew Haley  <aph@redhat.com>
43
44         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
45         * boehm.cc: Don't include link.h.
46         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
47
48 2006-04-24  Tom Tromey  <tromey@redhat.com>
49
50         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
51
52 2006-04-21  Andrew Haley  <aph@redhat.com>
53
54         * include/execution.h (struct _Jv_CompiledEngine): Define for
55         compiled classes.
56         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
57         _Jv_RegisterLibForGc.
58         (_Jv_RegisterClasses_Counted): Likewise.
59         (_Jv_NewClassFromInitializer): New.
60         (_Jv_RegisterNewClasses): New.
61         * sources.am: Regenerate.
62         * boehm.cc (_Jv_GC_has_static_roots): new.
63         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
64         (filename_node, find_file, _Jv_print_gc_store, new_node,
65         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
66         * scripts/makemake.tcl: Add -fno-indirect-classes.
67         * Makefile.in: Regenerate.
68         * link.cc (resolve_pool_entry): Allocate constant pool.
69         Allocate fields.
70         
71 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
72
73         * configure.ac: Weaken the check for MMAP.
74         * configure: Rebuilt.
75         * include/config.h.in: Likewise.
76
77 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
78
79         PR libgcj/27170
80         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
81         dlopen(). From Anthony Green.
82
83 2006-04-20  Tom Tromey  <tromey@redhat.com>
84
85         PR libgcj/21941:
86         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
87         UnknownHostException if needed.
88         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
89         UnknownHostException if needed.
90
91 2006-04-19  Tom Tromey  <tromey@redhat.com>
92
93         * Makefile.in: Rebuilt.
94         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
95         all_java_deps_files.
96
97 2006-04-19  Tom Tromey  <tromey@redhat.com>
98
99         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
100         handle EINTR.
101
102 2006-04-17  Tom Tromey  <tromey@redhat.com>
103
104         PR libgcj/27171:
105         * testsuite/libjava.lang/pr27171.java: New file.
106         * testsuite/libjava.lang/pr27171.out: New file.
107         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
108         true if we've seen a high surrogate.
109         (write): Handle high surrogates at the end of the stream.
110         Properly emit isolated low surrogates.
111
112 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
113
114         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
115         of failure.
116
117 2006-04-13  Tom Tromey  <tromey@redhat.com>
118
119         PR libgcj/26522:
120         * Makefile.in: Rebuilt.
121         * Makefile.am (libsubdir): New variable.
122
123 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
124
125         PR libgcj/23829
126         * configure.ac: Link against -lpthread rather than -lc_r on
127         FreeBSD 5 and above.
128         * configure: Regenerate.
129
130 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
131
132         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
133         of package-private field "loadedClasses" using reflection.
134         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
135         block.
136
137 2006-04-10  Matthias Klose  <doko@debian.org>
138
139         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
140         directory names containing underscores.
141
142 2006-04-10  Andrew Haley  <aph@redhat.com>
143
144         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
145         (SIGNAL_HANDLER): Mark arg as unused.
146         * configure.host (x86_64-* DIVIDESPEC): Use
147         fno-use-divide-subroutine.
148
149 2006-04-07  Andrew Haley  <aph@redhat.com>
150
151         * java/net/InetAddress.java: Throw an UnknownHostException if
152         lookup fails.
153
154 2006-04-05  Tom Tromey  <tromey@redhat.com>
155
156         PR libgcj/26625:
157         * Makefile.in: Rebuilt.
158         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
159         classpath/lib/compile-classes.
160
161 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
162
163         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
164         MinGW since EBP is used for backtracking through call frames on this
165         platform.
166
167 2006-04-05  Archit Shah  <ashah@redhat.com>
168
169         PR java/25414
170         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
171         Add classpath argument.
172         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
173         caller.
174         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
175         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
176         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
177         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
178         mkdirs for destination directory, correct handling of superclasses
179         and interfaces of the remote class, correct handling of exceptions
180         declared by remote methods.
181
182 2006-04-04  Tom Tromey  <tromey@redhat.com>
183
184         PR libgcj/26990:
185         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
186         * gnu/java/lang/natMainThread.cc (call_main): Use
187         exitNoChecksAccessor.
188         * testsuite/libjava.lang/pr26990.out: New file.
189         * testsuite/libjava.lang/pr26990.java: New file.
190         * java/lang/Runtime.java (exitNoChecks): New method.
191         (exitNoChecksAccessor): Likewise.
192         (exit): Call exitNoChecks.
193
194 2006-04-03  Tom Tromey  <tromey@redhat.com>
195
196         * Makefile.in: Rebuilt.
197         * Makefile.am (ZIP): Removed.
198         (libgcj-$(gcc_version).jar): Use $(JAR).
199         (src.zip): Likewise.
200         * configure: Rebuilt.
201         * configure.ac: Check for jar.  Removed code to set ZIP.
202
203 2006-04-03  Andrew Haley  <aph@redhat.com>
204
205         * testsuite/libjava.lang/Float_2.java: New file.
206
207 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
208
209         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
210
211 2006-03-30  Tom Tromey  <tromey@redhat.com>
212
213         PR java/26042:
214         * testsuite/libjava.compile/pr26042.java: New file.
215
216 2006-03-29  Tom Tromey  <tromey@redhat.com>
217
218         * sources.am, Makefile.in: Rebuilt.
219         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
220
221 2006-03-29  Tom Tromey  <tromey@redhat.com>
222
223         PR java/26390:
224         * testsuite/libjava.lang/pr26390.out: New file.
225         * testsuite/libjava.lang/pr26390.java: New file.
226         * sources.am, Makefile.in: Rebuilt.
227         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
228
229 2006-03-29  Tom Tromey  <tromey@redhat.com>
230
231         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
232         CLOCK_HIGHRES.
233
234 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
235
236         * scripts/unicode-muncher.pl: Removed this file.
237         * scripts/MakeCharTables.java: Likewise.
238         * scripts/unicode-to-chartables.pl: New file.
239         * java/lang/natCharacter.cc: 
240         (UNASSIGNED_TYPE): New field.
241         (UNASSIGNED_DIGIT): Likewise.
242         (UNASSIGNED_DIRECTION): Likewise.
243         (UNASSIGNED_NUMERIC_VALUE): Likewise.
244         (PRIVATE_TYPE): Likewise.
245         (PRIVATE_DIRECTION): Likewise.
246         (readCodePoint): New method.
247         (getType(jint)): Likewise.
248         (toLowerCase(jint)): Likewise.
249         (toUpperCase(jint)): Likewise.
250         (toTitleCase(jint)): Likewise.
251         (digit(jint, jint)): Likewise.
252         (getNumericValue(jint)): Likewise.
253         (getDirectionality(jint)): Likewise.
254         (readChar),
255         (getType(jchar)),
256         (toLowerCase(jchar)),
257         (toUpperCase(jchar)),
258         (toTitleCase(jchar)),
259         (digit(jchar, jint)),
260         (getNumericValue(jchar)),
261         (getDirectionality(jchar)): Changed references from data to data[0], 
262         blocks to blocks[0], direction to direction[0], numValue to 
263         numValue[0], upper to upper[0], lower to lower[0], and shift to 
264         shift[0] to reflect the new structures in java-chartables.h.    
265         * java/lang/Character.java:
266         (readCodePoint): Declared new native method.
267         (getType(int)): Likewise.
268         (toLowerCase(int)): Likewise.
269         (toUpperCase(int)): Likewise.
270         (toTitleCase(int)): Likewise.
271         (digit(int, int)): Likewise.
272         (getNumericValue(int)): Likewise.
273         (getDirectionality(int)): Likewise.
274         (isLowerCase(int)): New method.
275         (isUpperCase(int)): Likewise.
276         (itTitleCase(int)): Likewise.
277         (isDigit(int)): Likewise.
278         (isDefined(int)): Likewise.
279         (isLetter(int)): Likewise.
280         (isLetterOrDigit(int)): Likewise.
281         (isJavaIdentifierStart(int)): Likewise.
282         (isJavaIdentifierPart(int)): Likewise.
283         (isUnicodeIdentifierStart(int)): Likewise.
284         (isUnicodeIdentifierPart(int)): Likewise.
285         (isIdentifierIgnorable(int)): Likewise.
286         (isSpaceChar(int)): Likewise.
287         (isWhitespace(int)): Likewise.
288         (isISOControl(int)): Likewise.
289         (isMirrored(int)): Likewise.
290         * include/java-chartables.h: Generated from 
291         scripts/unicode-to-chartables.h.
292
293 2006-03-24  David Daney  <ddaney@avtrex.com)
294
295         * testsuite/libjava.lang/PR26858.java: New test.
296         * testsuite/libjava.lang/PR26858.out: Ditto.
297         * testsuite/libjava.lang/PR26858.xfail: Ditto.
298
299 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
300
301         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
302         macro.
303         
304 2006-03-15  Tom Tromey  <tromey@redhat.com>
305
306         * testsuite/libjava.jacks/jacks.xfail: Removed
307         13.1-runtime-method-5.
308
309 2006-03-15  Tom Tromey  <tromey@redhat.com>
310
311         PR java/26638:
312         * link.cc (get_interfaces): Skip <clinit>.
313         (append_partial_itable): Likewise.
314
315 2006-03-10  Tom Tromey  <tromey@redhat.com>
316
317         PR libgcj/25713:
318         * java/util/zip/Deflater.java (flush): New method.
319         * sources.am, Makefile.in: Rebuilt.
320         * java/util/zip/DeflaterOutputStream.java: Removed.
321         * java/util/zip/InflaterInputStream.java: Likewise.
322         * java/util/zip/GZIPInputStream.java: Likewise.
323         * java/util/zip/GZIPOutputStream.java: Likewise.
324
325 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
326
327         * include/powerpc-signal.h: Fix typo in comment.
328
329 2006-03-09  Mark Wielaard  <mark@klomp.org>
330
331         Imported GNU Classpath 0.90
332         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
333         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
334         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
335         * java/lang/Math.java: New override file.
336         * java/lang/Character.java: Merged from Classpath.
337         (start, end): Now 'int's.
338         (canonicalName): New field.
339         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
340         (UnicodeBlock): Added argument.
341         (of): New overload.
342         (forName): New method.
343         Updated unicode blocks.
344         (sets): Updated.
345         * sources.am: Regenerated.
346         * Makefile.in: Likewise.
347
348 2006-03-09  Tom Tromey  <tromey@redhat.com>
349
350         PR libgcj/23495:
351         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
352         (equals): Use memcmp.
353         (contentEquals): Likewise.
354         (getChars): Use memcpy.
355         (toCharArray): Likewise.
356         (regionMatches): Use memcmp.
357         (regionMatches): Likewise.
358         (startsWith): Likewise.
359         (concat): Use memcpy.
360         (valueOf): Likewise.
361
362 2006-03-09  Tom Tromey  <tromey@redhat.com>
363
364         * configure: Rebuilt.
365         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
366         well.
367
368 2006-03-09  Tom Tromey  <tromey@redhat.com>
369
370         PR libgcj/24461:
371         * java/util/zip/InflaterInputStream.java (fill): Throw exception
372         if stream is truncated.
373
374 2006-03-09  Tom Tromey  <tromey@redhat.com>
375
376         * win32.cc (_Jv_platform_nanotime): New function.
377         * include/win32.h (_Jv_platform_nanotime): Declare.
378         * posix.cc (_Jv_platform_nanotime): New function.
379         * include/posix.h (_Jv_platform_nanotime): Declare.
380         * java/lang/natSystem.cc (nanoTime): New method.
381         * java/lang/System.java (nanoTime): Declare.
382         * include/config.h.in, configure: Rebuilt.
383         * configure.ac: Check for clock_gettime.
384
385 2006-03-08  David Daney  <ddaney@avtrex.com>
386
387         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
388         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
389         (LD_FINISH_STATIC_SPEC): Ditto
390         * configure: Regenerated.
391         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
392         LD_FINISH_STATIC_SPEC.
393         
394 2006-03-07  Tom Tromey  <tromey@redhat.com>
395
396         PR libgcj/26103:
397         * java/lang/ClassLoader.java (loadClass): Don't throw
398         StringIndexOutOfBoundsException if name is empty.
399         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
400         if class not found.
401
402 2006-03-07  David Daney  <ddaney@avtrex.com>
403
404         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
405
406 2006-03-07  David Daney  <ddaney@avtrex.com>
407
408         * link.cc: Include ffi.h if USE_LIBFFI defined.
409         
410 2006-03-03  Tom Tromey  <tromey@redhat.com>
411
412         * interpret.cc (do_allocate_static_fields): Added comment.
413
414 2006-03-01  Tom Tromey  <tromey@redhat.com>
415
416         PR java/24321:
417         * testsuite/libjava.lang/pr24321.java: New file.
418         * testsuite/libjava.lang/pr24321.out: New file.
419         * java/lang/natClass.cc (isInstance): Don't initialize class.
420         (isAssignableFrom): Likewise.
421
422 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
423
424         PR other/26208
425         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
426         of _Unwind_GetIP.
427         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
428         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
429         to throw.
430         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
431         macro.
432         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
433         macro.
434
435 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
436
437         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
438         before returning, handle null clip.
439         (getClipBounds): Handle null clip.
440         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
441         * gnu/awt/xlib/XCanvasPeer.java (): 
442         (getLocationOnScreen): Implement.
443         * classpath/gnu/java/awt/peer/GLightweightPeer.java
444         (repaint): Merged with Classpath.
445         * classpath/java/awt/Graphics.java (hitClip): Merged with
446         Classpath.
447
448 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
449
450         * link.cc: Added variant of create_error_method that
451         will not complain about unused parameter if compiled with
452         USE_LIBFFI not being defined.
453         (_Jv_Linker::find_field_helper): Fixed indentation.
454         (_Jv_Linker::create_error_method): Fixed indentation.
455         (_Jv_Linker::link_symbol_table): Fixed indentation.
456
457 2006-02-16  Andrew Haley  <aph@redhat.com>
458
459         * stacktrace.cc (GetStackTraceElements): Call
460         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
461         non-Java frames should be removed from a printed stack trace.
462         Pass methodName to getLineNumberForFrame().
463         (getLineNumberForFrame): Set method_name from info.dli_sname.
464         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
465         (remove_unknown): New variable.
466         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
467         Add methodName arg.
468
469 2006-02-15  Matthias Klose  <doko@debian.org>
470
471         * gnu/java/nio/charset, gnu/java/net/protocol/file,
472         gnu/regexp: Remove empty directories.
473
474 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
475
476         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
477         'itable' inline, instead of as a pointer.
478         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
479         * link.cc (null_idt): Update definition.
480         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
481         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
482         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
483         (_Jv_Linker::find_iindex): Likewise. Update comment.
484         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
485         _Jv_IDispatchTable change.
486         (_Jv_IsAssignableFrom): Likewise.
487
488 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
489
490         PR libgcj/25187:
491         * gnu/gcj/io/natSimpleSHSStream.cc
492         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
493         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
494         _Jv_InterpFrame(). 
495         * boehm.cc: #undef some autoconf macros before including gc-config.h.
496         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
497         (_Jv_MarkArray): Likewise.
498         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
499         Simplify _Jv_GCRegisterDisappearingLink() call.
500         * java/lang/Class.h (getComponentType): Use element_type.
501         (element_type): New field declaration, as a union with "methods".
502         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
503         * java/net/natVMNetworkInterfacePosix.cc
504         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
505         avoid sign comparison warning.  
506         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
507         argument, not parent call frame.
508         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
509         without a cast.
510         (restore_rt): Declare with hidden visibility, not "static".
511         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
512         constant.
513         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
514         warning.
515
516 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
517
518         PR libgcj/26113:
519         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
520         as "const char *".
521         * verify.cc (verify_fail): Likewise.
522         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
523         * interpret.cc (throw_internal_error, throw_class_format_error):
524         Likewise.
525         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
526         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
527         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
528         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
529         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
530         is_attribute_name): Likewise.
531         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
532         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
533
534 2006-02-08  Tom Tromey  <tromey@redhat.com>
535
536         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
537         * defineclass.cc (parse): Use _Jv_AllocRawObj.
538         (read_constpool): Likewise.
539         (read_one_code_attribute): Use internal function name.
540         (handleConstantPool): Use _Jv_AllocRawObj.
541         (handleInterfacesBegin): Likewise.
542         (handleFieldsBegin): Likewise.
543         (handleMethodsBegin): Likewise.
544         (handleCodeAttribute): Likewise.
545         (handleMethodsEnd): Likewise.
546         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
547         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
548         Allocate reference fields separately.
549         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
550         (add_miranda_methods): Likewise.
551         (generate_itable): Use _Jv_AllocBytes.
552         (find_iindex): Likewise.
553         (struct method_closure): New structure.
554         (create_error_method): Use struct method_closure; allocate with
555         _Jv_AllocBytes.
556         (ensure_fields_laid_out): Separate reference fields from
557         non-reference fields.
558         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
559         of Class.
560         (_Jv_MarkArray): Mark vtable.
561         (_Jv_AllocRawObj): Don't allocate objects of size 0.
562         * include/execution.h
563         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
564         parameter.
565         (struct _Jv_CompiledEngine): Updated.
566         (class _Jv_InterpreterEngine): Updated.
567
568 2006-02-08  Tom Tromey  <tromey@redhat.com>
569
570         PR java/22578:
571         * gcj/javaprims.h: Updated.
572         * sources.am, Makefile.in: Rebuilt.
573         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
574         (doubleToRawLongBits): Likewise.
575         (longBitsToDouble): Likewise.
576         (toString): Likewise.
577         (parseDouble): Likewise.
578         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
579         (floatToRawIntBits): Likewise.
580         (intBitsToFloat): Likewise.
581         * java/lang/VMDouble.java: New file.
582         * java/lang/VMFloat.java: New file.
583         * java/lang/Float.java, java/lang/Double.java: Removed.
584
585 2006-02-06  Tom Tromey  <tromey@redhat.com>
586
587         * gij.cc (version): Use 2006.
588         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
589         * gnu/gcj/convert/Convert.java (version): Use 2006.
590         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
591
592 2006-02-04  Tom Tromey  <tromey@redhat.com>
593
594         PR java/25676:
595         * testsuite/libjava.lang/pr25676.out: New file.
596         * testsuite/libjava.lang/pr25676.java: New file.
597
598 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
599
600         * Makefile.am (src.zip): Update src.zip file search to look in
601         classpath directory.
602         * Makefile.in: Regenerate.
603
604 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
605
606         * link.cc:
607         (_Jv_Linker::create_error_method): Added missing (void *) cast.
608
609 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
610
611         * include/jvm.h:
612         (_Jv_Linker::create_error_method): New method declaration.
613         * link.cc:
614         (_Jv_Linker::create_error_method): New method.
615         (_Jv_Linker::link_symbol_table): Use new method above.
616
617 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
618
619         * link.cc:
620         (_Jv_Linker::find_field_helper): Added checks.
621         (_Jv_Linker::find_field): Use exception swallowing class resolution
622         and added early return.
623         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
624         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
625         resolution, added ffi_closure installation routine, use
626         _Jv_ThrowNoClassDefFoundError for missing static method.
627         (_Jv_Linker::ensure_class_linked): Added string check which does
628         not trigger class resolution.
629         * java/lang/natClassLoader.cc:
630         (_Jv_FindClassNoException): New method.
631         * java/lang/Class.h:
632         (_Jv_FindClassNoException): New method declaration.
633         * include/jvm.h:
634         (_Jv_FindClassNoException): New method declaration.
635         (_Jv_FindClassFromSignatureNoException): New method declaration.
636         * prims.cc:
637         (_Jv_FindClassFromSignatureNoException): New method.
638         * gcj/javaprims.h:
639         (_Jv_equalsUtf8Classname): New method declaration.
640         (_Jv_isPrimitiveOrDerived): Dito.
641         * prims.cc:
642         (_Jv_equalsUtf8Classnames): New method.
643         (_Jv_isPrimitiveOrDerived): New method.
644         * verify.cc:
645         (ref_intersection::equals): Use new classname comparison method.
646         (type::compatible): Use new classname comparison method. Added
647         check whether LHS' type is java.lang.Object .
648         (type::resolve): Added new optional debug message and simplified
649         if-expression.
650         (type::to_array): Added codepath that generates an array type
651         without resolving the element type.
652
653 2006-01-31  Mark Wielaard  <mark@klomp.org>
654  
655         * NEWS: Add 4.1 updates.
656  
657 2006-01-30  Keith Seitz  <keiths@redhat.com>
658
659         * include/java-interp.h (insn_index): New declaration.
660         (num_insn_slots): New private variable.
661         (get_line_table): New declaration.
662         * interpret.cc (insn_index): New function.
663         (get_line_table): New function.
664
665 2006-01-24  Archit Shah  <ashah@redhat.com>
666             Tom Tromey  <tromey@redhat.com>
667
668         * prims.cc (next_property_value): Never return NULL.
669         (process_gcj_properties): Copy 'props' before using it.
670
671 2006-01-23  Keith Seitz  <keiths@redhat.com>
672
673         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
674         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
675
676 2006-01-23  David Daney  <ddaney@avtrex.com>
677
678         * configure.host (disable_dladdr): Remove variable and its
679         documentation.
680         * configure.ac: Do not test for disable_dladdr.
681         * configure: Regenerate.
682         * include/config.h.in: Regenerate.
683
684 2006-01-18  Tom Tromey  <tromey@redhat.com>
685
686         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
687         already exists.
688
689 2006-01-18  Keith Seitz  <keiths@redhat.com>
690
691         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
692         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
693         * interpret.cc (_Jv_CompileMethod): New function.
694         (run):  Massage code to allow for NULL args.
695         Update comments to explain NULL args.
696         Return if compiling the method and args is NULL.
697
698 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
699
700         PR libgcj/25840
701         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
702
703 2006-01-17  Tom Tromey  <tromey@redhat.com>
704
705         PR classpath/20198:
706         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
707         (JarURLLoader): Likewise.
708         (addURLImpl): Canonicalize file URLs.
709
710 2006-01-16  Mark Wielaard  <mark@klomp.org>
711
712         Imported GNU Classpath 0.20
713         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
714         * java/nio/charset/spi/CharsetProvider.java: New override file.
715         * java/security/Security.java: Likewise.
716         * sources.am: Regenerated.
717         * Makefile.in: Likewise.
718
719 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
720
721         * configure.ac (dbexecdir): New substituted var.
722         * configure: Rebuilt.
723         * Makefile.am (dbexecdir): Remove.
724         * Makefile.in: Rebuilt.
725
726 2006-01-13  Tom Tromey  <tromey@redhat.com>
727
728         * gnu/regexp/MessagesBundle_fr.properties: Removed.
729         * gnu/regexp/MessagesBundle.properties: Removed.
730
731 2006-01-13  Tom Tromey  <tromey@redhat.com>
732
733         * java/security/classpath.security: Removed.
734         * Makefile.in: Rebuilt.
735         * Makefile.am (install-data-local): Don't install
736         classpath.security.
737
738 2006-01-08  Chris Burdess  <dog@gnu.org>
739
740         * java/lang/Character.java (toChars,toCodePoint): Correct these
741           methods to use algorithms from Unicode specification.
742
743 2006-01-08  Tom Tromey  <tromey@redhat.com>
744
745         * java/lang/StringBuilder.java (appendCodePoint): New method.
746         (insert): New overloads.
747         * java/lang/StringBuffer.java (StringBuffer): New constructor.
748         (charAt): Remerged javadoc.
749         (codePointAt, codePointBefore): New methods.
750         (appendCodePoint): New method.
751         (append): New overloads.
752         (insert): Likewise.
753         (trimToSize, codePointCount, offsetByCodePoints): New methods.
754         * java/lang/Float.java (SIZE): New field.
755         (valueOf): New method.
756         * java/lang/natDouble.cc (initIDs): Removed.
757         * java/lang/Double.java (static initializer): Removed.
758         (SIZE): New field.
759         (valueOf): New method.
760         (initIDs): Removed.
761
762 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
763
764         PR libgcj/24940
765         * shlibpath.m4: Replace $SED with sed.
766         * configure: Rebuilt.
767
768 2006-01-06  Tom Tromey  <tromey@redhat.com>
769
770         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
771         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
772         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
773         MAX_LOW_SURROGATE): Javadoc fixes.
774         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
775         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
776         methods from Classpath.
777         * java/lang/String.java (codePointAt, codePointBefore,
778         codePointCount, contains, replace): New methods from Classpath.
779         (contentEquals): Declare.
780         * java/lang/natString.cc (contentEquals): New method.
781
782 2005-12-26  Anthony Green  <green@redhat.com>
783
784         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
785         of data to read (dst.remaining()).
786         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
787
788 2005-11-11  Mark Wielaard  <mark@klomp.org>
789
790         Reported by john.zigman@anu.edu.au as bug #24608.
791         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
792         destination ByteBuffer when it doesn't have an array instead of len
793         bytes.
794
795 2006-01-05  Tom Tromey  <tromey@redhat.com>
796
797         * java/lang/natThread.cc (finish_): Don't clear 'group'.
798         * sources.am, Makefile.in: Rebuilt.
799         * java/lang/Runtime.java (exit): Merged with Classpath.
800         (runShutdownHooks): New method from Classpath.
801         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
802         FileDeleter.
803         * gnu/gcj/runtime/FileDeleter.java: Removed.
804         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
805         (exitInternal): Don't run finalizers or delete files.
806
807 2006-01-05  Tom Tromey  <tromey@redhat.com>
808
809         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
810
811 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
812
813         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
814
815 2006-01-04  Tom Tromey  <tromey@redhat.com>
816
817         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
818         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
819         Changed argument type.  Use SystemClassLoader.addClass.
820         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
821
822 2005-12-24  David Daney <ddaney@avtrex.com>
823             Tom Tromey  <tromey@redhat.com>
824
825         PR libgcj/9715, PR libgcj/19132:
826         * java/nio/charset/Charset.java (charsetForName): Try default
827         provider first.
828         (availableCharsets): Re-merged.
829         (providers2): Likewise.
830         (defaultCharset): Likewise.
831         * sources.am, Makefile.in: Rebuilt.
832         * gnu/java/nio/charset/Provider.java: Removed.
833         * java/io/OutputStreamWriter.java
834         (OutputStreamWriter(OutputStream,Charset)): New constructor.
835         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
836         * java/io/InputStreamReader.java
837         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
838         (InputStreamReader(InputStream,Charset)): Likewise.
839         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
840         BytesToCharsetAdaptor.
841         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
842         CharsetToBytesAdaptor.
843         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
844         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
845         * mauve-libgcj: Remove getEncoding exclusion.
846
847 2005-12-28  Anthony Green  <green@redhat.com>
848
849         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
850         as previous patch, but for win32.
851
852 2005-12-28  Anthony Green  <green@redhat.com>
853
854         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
855         address and port before attempting anything.
856
857 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
858
859         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
860         operation atomic.
861
862 2005-12-22  Andrew Haley  <aph@redhat.com>
863
864         PR java/25535
865         * testsuite/libjava.lang/PR25535.java: New test.
866
867 2005-12-22  Tom Tromey  <tromey@redhat.com>
868
869         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
870         reference NUM_OBJECT_METHODS.
871         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
872
873 2005-12-18  Anthony Green  <green@redhat.com>
874
875         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
876         New helper function.
877         (setOption): Use getLocalAddress.  Don't downcast value to
878         InetAddress.
879         (getOption): Use getLocalAddress.
880
881 2005-12-16  Tom Tromey  <tromey@redhat.com>
882
883         * java/lang/Class.java (getPackage): Get package from
884         VMClassLoader if needed.
885
886 2005-12-16  Tom Tromey  <tromey@redhat.com>
887
888         * testsuite/libjava.jacks/jacks.xfail
889         (8.5.2-accessible-static-member-usage-3): Removed.
890
891 2005-12-15  Tom Tromey  <tromey@redhat.com>
892
893         * testsuite/libjava.compile/rh175833.java: New file.
894         * testsuite/libjava.compile/pr25429.java: New file.
895
896 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
897
898         * testsuite/lib/libjava.exp: Revert 2005-12-01.
899         * testsuite/libjava.lang/Array_3.xfail: Delete.
900
901 2005-12-14  Andrew Haley  <aph@redhat.com>
902
903         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
904         handle stdout from the child process.
905
906 2005-12-14  Tom Tromey  <tromey@redhat.com>
907
908         PR classpath/25389:
909         * java/io/File.java (File): Throw IllegalArgumentException if URI is
910         non-hierarchical.
911
912 2005-12-12  Andrew Haley  <aph@redhat.com>
913
914         * java/lang/VMCompiler.java: Directly generate a new instance of
915         gnu.java.security.provider.MD5.
916
917 2005-12-08  Andrew Haley  <aph@redhat.com>
918
919         PR libgcj/25265
920         * java/lang/Object.h (throwNoSuchMethodError): New method.
921         * java/lang/Object.java (throwNoSuchMethodError): New method.
922         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
923         * link.cc (_Jv_ThrowNoSuchFieldError): New.
924         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
925         missing.  Instead, set the otable entry to zero.
926         (link_symbol_table): If we don't find a nonstatic method, insert
927         the vtable offset of Object.throwNoSuchMethodError() into the
928         otable.
929
930 2005-12-05  Tom Tromey  <tromey@redhat.com>
931
932         * testsuite/libjava.compile/rh174912.java: New file.
933
934 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
935
936         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
937         xfail-byte-exec.
938         * testsuite/libjava.lang/Array_3.xfail: New file.
939
940 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
941
942         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
943         to compare _Jv_InterpMethod::run against current func.
944
945 2005-11-30  Andrew Haley  <aph@redhat.com>
946
947         * classpath/lib/Makefile.am (resources): Use `cp -p'.
948         Remove `@' from start of line.
949
950 2005-11-28  Tom Tromey  <tromey@redhat.com>
951
952         PR java/18278:
953         * testsuite/libjava.jni/pr18278.out: New file.
954         * testsuite/libjava.jni/pr18278.c: New file.
955         * testsuite/libjava.jni/pr18278.java: New file.
956         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
957         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
958         (call): Unwrap return value if needed.
959
960 2005-11-25  Mark Wielaard  <mark@klomp.org>
961
962         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
963         gnu/javax/rmi.
964         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
965         gnu/javax/rmi to bc.
966         * gnu/CORBA/ObjectCreator.java: New override file for missing
967         VMStackWalker issue.
968         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
969         * gnu/CORBA/DynAn/RecordAny.java: Likewise
970         * sources.am: Regenerated.
971         * Makefile.in: Regenerated
972
973 2005-11-25  Andrew Haley  <aph@redhat.com>
974
975         PR libgcj/25016
976         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
977         struct timespec we pass to pthread_cond_timedwait.
978
979 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
980
981         * testsuite/libjava.jacks/jacks.xfail: Remove
982         non-jls-argument-expansion-13 and add
983         non-jls-argument-expansion-error-1 in response to the @file support
984         patch in the main GCC driver.
985
986 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
987
988         * sysdep/ia64-frame.h: Removed.
989         * sysdep/ia64.c: Removed.
990         * sysdep/dwarf2-backtrace.cc: Removed.
991         * configure.ac: Remove references to HAVE_BACKTRACE and
992         SUPPLY_BACKTRACE.
993         * Makefile.am: Remove SUPPLY_BACKTRACE support.
994         * configure: Rebuilt.
995         * Makefile.in: Rebuilt.
996
997 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
998
999         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1000
1001 2005-11-17  Mark Wielaard  <mark@klomp.org>
1002
1003         Imported GNU Classpath gcj-import-20051117.
1004         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1005         * sources.am: Regenerated.
1006         * Makefile.in: Likewise.
1007
1008 2005-11-17  Mark Wielaard  <mark@klomp.org>
1009
1010         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1011         * java/net/ServerSocket.java: Likewise.
1012         * sources.am: Regenerated.
1013         * Makefile.in: Regenerated.
1014
1015 2005-11-17  Mark Wielaard  <mark@klomp.org>
1016
1017         Fixes bug #24006
1018         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1019
1020 2005-11-17  Tom Tromey  <tromey@redhat.com>
1021
1022         * java/net/ServerSocket.java (accept): Use correct security manager
1023         call.
1024
1025 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1026
1027         * java/net/ServerSocket.java
1028         (bound): Removed.
1029         (local): New field.
1030         (bind): Cache local socket address.
1031         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1032         Use cached local socket address.
1033         (close): bound field was removed.
1034
1035 2005-11-17  Tom Tromey  <tromey@redhat.com>
1036
1037         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1038         (setDoOutput): Likewise.
1039         (setContentHandlerFactory): Likewise.
1040         (setFileNameMap): Likewise.
1041
1042 2005-11-17  Mark Wielaard  <mark@klomp.org>
1043
1044         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1045
1046 2005-11-17  Mark Wielaard  <mark@klomp.org>
1047
1048         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1049         call urls.add() and addURLImpl() directly on each URL.
1050
1051 2005-11-17  Tom Tromey  <tromey@redhat.com>
1052
1053         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1054
1055 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1056
1057         * java/net/URLClassLoader.java
1058         (Resource.name): Removed field.
1059         (JarURLResource.name): Added field.
1060         (FileResource.getURL): Use File.toURL() instead of doing it in
1061         a way that breaks on Windows.
1062
1063 2005-11-17  Roman Kennke  <roman@kennke.org>
1064
1065         Reported by: Ingo Proetel  <proetel@aicas.com>
1066         * java/net/URLClassLoader.java
1067         (findClass): Added null check to avoid NullPointerException.
1068
1069 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1070
1071         * java/net/URLClassLoader.java: reordered some API doc comments to
1072         suppress Eclipse warnings, and fixed API doc link.
1073
1074 2005-11-17  Tom Tromey  <tromey@redhat.com>
1075
1076         * java/net/URLClassLoader.java (URLClassLoader): Removed
1077         unused constructor.
1078
1079 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1080
1081         * java/net/URLClassLoader (findClass): Close InputStream after we're
1082         done with it.
1083
1084 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1085
1086         Implement -Xss.
1087         * include/jvm.h (gcj::stack_size): Declare.
1088         (_Jv_StackSize): Declare.
1089         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1090         (_Jv_ThreadStart): Set stack size if specified.
1091         * prims.cc (gcj::stack_size): Define.
1092         (parse_memory_size): Renamed from parse_heap_size.
1093         (_Jv_SetStackSize): Parse stack size argument and set 
1094         gcj::stack_size.
1095
1096 2005-11-17  Mark Wielaard  <mark@klomp.org>
1097
1098         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1099         * sources.am: Regenerated.
1100         * Makefile.in: Regenerated.
1101
1102 2005-11-17  Sven de Marothy  <sven@physto.se>
1103
1104         * java/text/SimpleDateFormat.java
1105         (computeOffset): Allow timezone to be first in the parsed String.
1106
1107 2005-11-17  Mark Wielaard  <mark@klomp.org>
1108
1109         * java/text/SimpleDateFormat.java (field, size): Make package private.
1110
1111 2005-11-17  Tom Tromey  <tromey@redhat.com>
1112
1113         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1114         handle quoted single quotes.  PR classspath/23183.
1115
1116 2005-11-17  Tom Tromey  <tromey@redhat.com>
1117
1118         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1119
1120 2005-11-17  Tom Tromey  <tromey@redhat.com>
1121
1122         * java/text/DateFormat.java (serialVersionUID): New field.
1123
1124 2005-11-17  Mark Wielaard  <mark@klomp.org>
1125
1126         * java/text/DateFormat.java (equals): Reimplement.
1127
1128 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1129
1130         * java/text/Collator.java: API doc fixes,
1131         * java/text/DateFormat.java: likewise,
1132         * java/text/DecimalFormatSymbols.java: likewise,
1133         * java/text/DateFormatSymbols.java: likewise,
1134         * java/text/SimpleDateFormat.java: likewise.
1135
1136 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1137
1138         * java/text/Collator.java (getInstance(Locale)):
1139         Added default collation pattern to handle case when resource
1140         is missing and throw InternalError instead of returning null
1141         should parsing fail.
1142
1143 2005-11-15  Mark Wielaard  <mark@klomp.org>
1144
1145         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1146         * java/util/zip/ZipFile.java: Likewise.
1147         * sources.am: Regenerated.
1148         * Makefile.in: Regenerated.
1149
1150 2005-11-15  Tom Tromey  <tromey@redhat.com>
1151
1152         classpath/23890:
1153         * java/util/Calendar.java (equals): Include other calendar
1154         attributes.
1155         (hashCode): Updated.
1156         * java/util/GregorianCalendar.java (hashCode): New method.
1157         (equals): Use super.equals().
1158
1159 2005-11-15  Sven de Marothy  <sven@physto.se>
1160
1161         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1162
1163 2005-11-15  Mark Wielaard  <mark@klomp.org>
1164
1165         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1166         * java/util/Date.java: Likewise.
1167         * sources.am: Regenerated.
1168         * Makefile.in: Regenerated.
1169
1170 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1171
1172         * java/util/Calendar.java: fixed minor problems in API docs,
1173         * java/util/Date.java: likewise,
1174         * java/util/ResourceBundle.java: likewise,
1175         * java/util/SimpleTimeZone.java: likewise,
1176
1177 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1178
1179         * java/io/ObjectInputStream.java
1180         (parseContent): Removed bogus println and fixed bug #24422.
1181                 
1182 2005-11-15  Mark Wielaard  <mark@klomp.org>
1183
1184         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1185         * sources.am: Regenerated.
1186         * Makefile.in: Regenerated.
1187
1188 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1189
1190         * java/io/ObjectInputStream.java
1191         (processResolution): Pass Error, RuntimeException and
1192         ObjectStreamException through to the caller.
1193         (readObject): Documentation update.
1194
1195 2005-11-15  Mark Wielaard  <mark@klomp.org>
1196
1197         Imported GNU Classpath 0.19 + gcj-import-20051115.
1198         * sources.am: Regenerated.
1199         * Makefile.in: Likewise.
1200         * scripts/makemake.tcl: Use glob -nocomplain.
1201
1202 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
1203
1204         * Makefile.in: Re-generated.
1205         * gnu/awt/xlib/XGraphicsDevice.java: New file.
1206         * gnu/awt/xlib/XToolkit.java
1207         (getLocalGraphicsEnvironment): Implemented. 
1208         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1209         * sources.am: Re-generated.
1210
1211 2005-15-09  David Daney <ddaney@avtrex.com>
1212
1213         PR libgcj/15430
1214         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1215         function.
1216         (accept): Call it.
1217         (close): Call shutdown before closing.
1218         (read()): Call read_helper with proper parameters.
1219         (read(buffer, int, int)): Likewise.
1220         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
1221         and timeout parameters.  Make prototype to match. Use 
1222         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1223         in two places.
1224
1225 2005-11-15  Andrew Haley  <aph@redhat.com>
1226
1227         * Merge from Classpath head:
1228
1229    2005-09-16  Andrew Haley  <aph@redhat.com>
1230    
1231            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1232            protected readResolve().  Rewrite accessibility check.
1233    
1234    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1235    
1236            * java/io/ObjectStreamClass.java
1237            (findAccessibleMethod): Added code to make method accessible.
1238    
1239    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1240    
1241            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1242            (findAccessibleMethod): Likewise.
1243            (cacheMethods): Lookup readResolve and writeReplace using the new
1244            findAccessibleMethod().
1245    
1246 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1247
1248         * java/net/natVMNetworkInterfaceWin32.cc: Include
1249         java/net/VMNetworkInterface.h.
1250
1251 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1252             David Daney  <ddaney@avtrex.com>
1253
1254         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1255         (read): Handle count == 0 case.
1256
1257 2005-11-09  Tom Tromey  <tromey@redhat.com>
1258
1259         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1260         passes.
1261
1262 2005-11-08  Tom Tromey  <tromey@redhat.com>
1263
1264         PR libgcj/24587:
1265         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1266
1267 2005-11-08  Tom Tromey  <tromey@redhat.com>
1268
1269         PR libgcj/23763.  From aeby@graeff.com.
1270         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1271         before exec.
1272
1273 2005-11-08  Mark Wielaard  <mark@klomp.org>
1274
1275         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1276
1277 2005-11-07  David Daney  <ddaney@avtrex.com>
1278
1279         * mauve-libgcj: Disable javax.rmi.* and
1280         java.io.InputStreamReader.getEncoding.
1281
1282 2005-11-04  Tom Tromey  <tromey@redhat.com>
1283
1284         PR libgcj/14358, libgcj/24552:
1285         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1286         aliases for 'euc_jp' and 'eucjp'.
1287         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1288         canonical names in output.
1289         (%map): Added UnicodeLittle and UnicodeBig.
1290
1291 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1292
1293         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1294
1295 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1296
1297         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1298         library extensions.
1299
1300 2005-10-12  Andrew Haley  <aph@redhat.com>
1301
1302         PR java/24251
1303         * link.cc (ensure_method_table_complete): Install Miranda methods
1304         for interfaces too.
1305
1306 2005-10-10  Tom Tromey  <tromey@redhat.com>
1307
1308         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1309         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1310         Now static.
1311
1312 2005-10-05  Richard Henderson  <rth@redhat.com>
1313
1314         PR target/23602
1315         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1316         but not BACKTRACESPEC.
1317         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1318
1319 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1320
1321         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1322         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1323         (gcj_jni_invocation_test_one): Likewise.
1324
1325 2005-09-30  Tom Tromey  <tromey@redhat.com>
1326
1327         PR libgcj/24051:
1328         * Makefile.in: Rebuilt.
1329         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1330         requested.
1331         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1332         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1333         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1334         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1335         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1336         * configure: Rebuilt.
1337         * configure.ac: Pass --enable-qt-peers when qt is requested.
1338
1339 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1340
1341         * configure.ac: Fix typo.
1342         * configure: Regenerate.
1343
1344 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1345
1346         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1347         __LP64__ is defined rather than __powerpc64__.
1348         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1349         (compare_and_swap_release): Likewise.
1350
1351 2005-09-28  David Daney  <ddaney@avtrex.com>
1352
1353         * HACKING: Update instructions for classpath import.
1354
1355 2005-09-27  Tom Tromey  <tromey@redhat.com>
1356
1357         PR libgcj/23367:
1358         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1359         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1360         (struct _Jv_mcache): Likewise.
1361         (method_cache): Likewise.
1362         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1363         (_Jv_AddMethodToCache): Likewise.
1364         (_Jv_FreeMethodCache): New function.
1365         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1366         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1367         * configure.ac: Invoke GCC_CHECK_TLS.
1368
1369 2005-09-27  Tom Tromey  <tromey@redhat.com>
1370
1371         * configure, Makefile.in: Rebuilt.
1372         * sources.am: Rebuilt.
1373         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1374         * configure.ac (TOOLKIT): Handle Qt peers properly.
1375
1376 2005-09-23  Tom Tromey  <tromey@redhat.com>
1377
1378         Imported Classpath 0.18.
1379         * sources.am, Makefile.in: Updated.
1380         * Makefile.am (nat_source_files): Removed natProxy.cc.
1381         * java/lang/reflect/natProxy.cc: Removed.
1382         * gnu/classpath/jdwp/VMFrame.java,
1383         gnu/classpath/jdwp/VMIdManager.java,
1384         gnu/classpath/jdwp/VMVirtualMachine.java,
1385         java/lang/reflect/VMProxy.java: New files.
1386
1387 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1388
1389         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1390         list.
1391
1392 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1393
1394         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1395         Remove ClasspathToolkit references.
1396
1397 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1398
1399         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1400         * gnu/awt/xlib/XFramePeer.java: Likewise.
1401         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1402
1403 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1404
1405         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
1406         classpath/native/jawt/jawt.c.
1407         * Makefile.in: Regenerate.
1408         * jawt.c: Remove file.
1409         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1410         jawt_md.h.  Add ../classpath/include/jawt.h and
1411         ../classpath/include/jawt_md.h.
1412         * include/Makefile.in: Regenerate.
1413         * include/jawt.h: Regenerate.
1414         * include/jawt_md.h: Regenerate.
1415
1416 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
1417
1418         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1419         `null' parent ClassLoader to parent constructor.
1420         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1421         constructor.
1422
1423 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
1424
1425         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1426
1427 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1428
1429         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1430         Use libjava_find_lib to find the proper libgcj.
1431
1432 2005-09-16  Anthony Green  <green@redhat.com>
1433
1434         PR libgcj/20198
1435         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1436         resources should all have canonicalized names.
1437
1438 2005-09-15  Tom Tromey  <tromey@redhat.com>
1439
1440         PR libgcj/16032:
1441         * interpret.cc (AVAL1U): Resolve pool entry when not direct
1442         threaded.
1443         (AVAL2U): Likewise.
1444         (compile): Handle 'ldc class' specially.
1445         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1446         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1447         * defineclass.cc (handleCodeAttribute): Set new field.
1448         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1449         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1450         (parse): Check version numbers.
1451         (_Jv_ClassReader::is_15): New field.
1452         (_Jv_ClassReader): Initialize it.
1453         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1454
1455 2005-09-15  Tom Tromey  <tromey@redhat.com>
1456
1457         For PR libgcj/23288:
1458         * java/net/URLClassLoader.java (definePackage): Correctly order
1459         arguments to definePackage.  Look up per-entry Attributes.
1460         (getAttributeValue): New method.
1461
1462 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1463
1464         PR libgcj/23762
1465         * shlibpath.m4: New file.
1466         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1467         macro.
1468         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1469         [USE_LTDL]: If it was not defined with -D set java.library.path to
1470         the value of LTDL_SHLIBPATH_VAR.
1471
1472 2005-09-08  Andrew Haley  <aph@redhat.com>
1473
1474         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1475         loader.
1476         (toString): Likewise.
1477
1478 2005-09-08  Andrew Haley  <aph@redhat.com>
1479
1480         PR java/22084
1481         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1482         R/M field in instruction is 100.
1483
1484 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1485
1486         PR libgcj/23761
1487         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1488         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1489         lt_dlinit.
1490         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1491         Define variable.
1492         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
1493         _Jv_Module_Load_Path.
1494
1495 2005-09-06  Tom Tromey  <tromey@redhat.com>
1496
1497         PR libgcj/23739:
1498         * testsuite/libjava.jni/pr23739.c: New file.
1499         * testsuite/libjava.jni/pr23739.java: New file.
1500         * testsuite/libjava.jni/pr23739.out: New file.
1501         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1502         * java/lang/reflect/natMethod.cc (invoke): Updated.
1503         * java/lang/natClass.cc (isAssignableFrom): Updated.
1504         (isInstance): Likewise.
1505         (_Jv_IsAssignableFrom): Reversed arguments.
1506         (_Jv_IsInstanceOf): Updated.
1507         (_Jv_CheckCast): Likewise.
1508         (_Jv_CheckArrayStore): Likewise.
1509         (_Jv_IsAssignableFromSlow): Reversed arguments.
1510         (_Jv_InterfaceAssignableFrom): Likewise.
1511         * link.cc (verify_type_assertions): Updated.
1512         * prims.cc (_Jv_CheckAccess): Updated.
1513
1514 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
1515
1516         Testsuite changes for PR java/23431.
1517         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1518         8.4.6.2-hiding-5.
1519         * testsuite/libjava.compile/PR23431_1.java: New testcase.
1520         * testsuite/libjava.compile/PR23431_2.java: Likewise.
1521         * testsuite/libjava.compile/PR23431_1.xfail: New file.
1522         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1523
1524 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1525
1526         PR libgcj/23549
1527         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1528         -disableassertions and -da.
1529
1530 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
1531
1532         * configure.ac: Replace "*-*-darwin[0-7].*" with
1533         "*-*-darwin[[0-7]].*"
1534         * configure: Regenerate.
1535
1536 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
1537
1538         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1539         darwin < 8.
1540         * configure: Regenerate.
1541
1542 2005-08-23  Roman Kennke  <roman@kennke.org>
1543
1544         * java/lang/Character.java
1545         (toChars(int)): New JDK1.5 method.
1546         (toChars(int, char[], int)): New JDK1.5 method.
1547         (charCount): New JDK1.5 method.
1548         (isSupplementaryCodePoint): New JDK1.5 method.
1549         (isValidCodePoint): New JDK1.5 method.
1550
1551 2005-08-23  Tom Tromey  <tromey@redhat.com>
1552
1553         * aclocal.m4, Makefile.in: Rebuilt.
1554         * Makefile.am (property_files): Added META-INF files.
1555         (propertyo_files): Changed definition.
1556         ($(propertyo_files)): Updated patterns.
1557
1558 2005-08-22  Tom Tromey  <tromey@redhat.com>
1559
1560         PR libgcj/22622:
1561         * configure: Rebuilt.
1562         * configure.ac: Correctly create Configuration.java (for
1563         temporary use).
1564
1565 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
1566
1567         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1568         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1569         * mingwld.m4: ... this new file.
1570         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
1571         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1572
1573 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1574
1575         PR libgcj/23507
1576         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1577         assignment.  Cast operands of compare to function pointer type.
1578
1579 2005-08-21  Tom Tromey  <tromey@redhat.com>
1580
1581         * HACKING: Updated for hacking classpath in libgcj.
1582
1583 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1584
1585         PR libgcj/21692
1586         * sysdep/pa/descriptor.h: New file.
1587         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1588
1589 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
1590
1591         * Makefile.am (extra_ldflags_libjava): New variable to
1592         substitute in.
1593         (LIBLINK): Add extra_ldflags_libjava to it.
1594         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1595         "-Wl,-single_module".
1596         * Makefile.in: Regenerate.
1597         * aclocal.m4: Regenerate.
1598         * configure: Regenerate.
1599         * gcj/Makefile.in: Regenerate.
1600         * include/Makefile.in: Regenerate.
1601         * testsuite/Makefile.in: Regenerate.
1602
1603 2005-08-17  Tom Tromey  <tromey@redhat.com>
1604
1605         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1606         friend.
1607         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1608         * testsuite/libjava.lang/bclink.java: New file.
1609         * testsuite/libjava.lang/bclink.out: New file.
1610         * link.cc (print_class_loaded): Changed ABI test to look at
1611         various _syms fields.
1612
1613 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
1614
1615         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1616         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1617
1618 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
1619
1620         More testsuite adjustments for PR java/19870.
1621         * testsuite/libjava.lang/PR19870_2.java: New testcase.
1622         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1623         new testcase.
1624         * testsuite/libjava.jacks/jacks.xfail: Remove
1625         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1626
1627 2005-08-16  Tom Tromey  <tromey@redhat.com>
1628
1629         * gnu/xml/xpath/XPathParser.y: Removed.
1630
1631 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
1632
1633         PR libgcj/23353:
1634         * java/lang/natObject.cc (clone): Clear sync_info.
1635
1636 2005-07-26  Tom Tromey  <tromey@redhat.com>
1637
1638         * gnu/java/net/protocol/ftp/package.html,
1639         gnu/javax/swing/text/html/package.html,
1640         gnu/javax/swing/text/html/parser/package.html,
1641         gnu/javax/swing/text/html/parser/models/package.html,
1642         gnu/javax/swing/text/html/parser/support/package.html,
1643         gnu/javax/swing/text/html/parser/support/low/package.html,
1644         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1645         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1646         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1647         java/awt/geom/doc-files/CubicCurve2D-1.png,
1648         java/awt/geom/doc-files/CubicCurve2D-2.png,
1649         java/awt/geom/doc-files/CubicCurve2D-3.png,
1650         java/awt/geom/doc-files/CubicCurve2D-4.png,
1651         java/awt/geom/doc-files/CubicCurve2D-5.png,
1652         java/awt/geom/doc-files/Ellipse-1.png,
1653         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1654         java/awt/geom/doc-files/GeneralPath-1.png,
1655         java/awt/geom/doc-files/QuadCurve2D-1.png,
1656         java/awt/geom/doc-files/QuadCurve2D-2.png,
1657         java/awt/geom/doc-files/QuadCurve2D-3.png,
1658         java/awt/geom/doc-files/QuadCurve2D-4.png,
1659         java/awt/geom/doc-files/QuadCurve2D-5.png,
1660         javax/imageio/package.html, javax/imageio/event/package.html,
1661         javax/imageio/metadata/package.html,
1662         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1663         javax/swing/border/doc-files/BevelBorder-1.png,
1664         javax/swing/border/doc-files/BevelBorder-2.png,
1665         javax/swing/border/doc-files/BevelBorder-3.png,
1666         javax/swing/border/doc-files/EmptyBorder-1.png,
1667         javax/swing/border/doc-files/EtchedBorder-1.png,
1668         javax/swing/border/doc-files/EtchedBorder-2.png,
1669         javax/swing/border/doc-files/LineBorder-1.png,
1670         javax/swing/border/doc-files/MatteBorder-1.png,
1671         javax/swing/border/doc-files/MatteBorder-2.png,
1672         javax/swing/border/doc-files/MatteBorder-3.png,
1673         javax/swing/border/doc-files/MatteBorder-4.png,
1674         javax/swing/border/doc-files/MatteBorder-5.png,
1675         javax/swing/border/doc-files/MatteBorder-6.png,
1676         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1677         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1678         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1679         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1680         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1681         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1682         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1683         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1684         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1685         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1686         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1687         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1688         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1689         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
1690         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1691         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1692         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1693         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1694         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1695         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1696         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
1697         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1698         javax/swing/plaf/doc-files/ComponentUI-1.png,
1699         javax/swing/plaf/doc-files/TreeUI-1.png,
1700         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
1701         javax/xml/parsers/package.html, javax/xml/transform/package.html,
1702         javax/xml/transform/dom/package.html,
1703         javax/xml/transform/sax/package.html,
1704         javax/xml/transform/stream/package.html,
1705         javax/xml/validation/package.html, javax/xml/xpath/package.html:
1706         Removed.
1707
1708 2005-07-22  Tom Tromey  <tromey@redhat.com>
1709
1710         * include/Makefile.in: Rebuilt.
1711         * include/Makefile.am (tool_include__HEADERS): Include
1712         classpath's jni.h.
1713
1714 2005-07-20  Tom Tromey  <tromey@redhat.com>
1715
1716         * sources.am, Makefile.in: Rebuilt.
1717         * Makefile.am (all_xlib_lo_files): Removed.
1718         (all_libgcj_lo_files): Likewise.
1719         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
1720         (xlib_java_source_files): Removed.
1721         (xlib_nat_headers): Updated.
1722         * configure: Rebuilt.
1723         * configure.ac: Create standard.omit.
1724         * standard.omit.in: New file.
1725         * standard.omit: Removed.
1726         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
1727         'package'.
1728         (emit_package_rule): Special case xlib peers.
1729         (emit_source_var): Likewise.
1730         Read standard.omit.in.
1731         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
1732
1733 2005-07-18  Tom Tromey  <tromey@redhat.com>
1734
1735         * HACKING: Updated.
1736
1737 2005-07-19  Matthias Klose  <doko@debian.org>
1738
1739         * classpath/java/awt/im/InputContext.java (clinit): Initialize
1740           line, im.
1741
1742 2005-07-18  Tom Tromey  <tromey@redhat.com>
1743
1744         PR libgj/21058:
1745         * sources.am, Makefile.in: Rebuilt.
1746         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
1747         file.
1748         (emit_source_var): Don't emit patsubst with './'.
1749
1750 2005-07-18  Tom Tromey  <tromey@redhat.com>
1751
1752         * Makefile.in: Rebuilt.
1753         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
1754
1755 2005-07-17  Andreas Jaeger  <aj@suse.de>
1756
1757         * defineclass.cc (handleClassBegin): Remove unused variable.
1758
1759 2005-07-16  Andreas Schwab  <schwab@suse.de>
1760
1761         * scripts/makemake.tcl (emit_package_rule): Emit command to create
1762         target directory.
1763         * Makefile.am (%.lo): Don't create it here.
1764         * sources.am, Makefile.in: Regenerated.
1765
1766 2005-07-15  Tom Tromey  <tromey@redhat.com>
1767
1768         Major merge with Classpath.
1769         Removed many duplicate files.
1770         * HACKING: Updated.x
1771         * classpath: Imported new directory.
1772         * standard.omit: New file.
1773         * Makefile.in, aclocal.m4, configure: Rebuilt.
1774         * sources.am: New file.
1775         * configure.ac: Run Classpath configure script.  Moved code around
1776         to support.  Disable xlib AWT peers (temporarily).
1777         * Makefile.am (SUBDIRS): Added 'classpath'
1778         (JAVAC): Removed.
1779         (AM_CPPFLAGS): Added more -I options.
1780         (BOOTCLASSPATH): Simplified.
1781         Completely redid how sources are built.
1782         Include sources.am.
1783         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
1784         * include/jni.h: Removed (in Classpath).
1785         * scripts/classes.pl: Updated to look at built classes.
1786         * scripts/makemake.tcl: New file.
1787         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
1788         -I options.
1789         (gcj_jni_invocation_compile_c_to_binary): Likewise.
1790
1791 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
1792
1793         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
1794         (eventMask): New field.
1795         (XCanvasPeer(Component)): Use attributes field.
1796         (setBackground): Implemented.
1797         (setEventMask): Process mask only if changed.
1798         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
1799         (eventLoopThread): New field.
1800         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
1801         (interrupt): Removed.
1802         (run): New method.
1803         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
1804         and Component events.
1805         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
1806         field.
1807         (configureNotify): Set and clear processingConfigureNotify.
1808         (setBounds): Process only if processingConfigureNotify is false.
1809         (toBack): Implemented.
1810         (toFront): Implemented.
1811         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
1812         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
1813         color.
1814         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
1815         (wakeNativeQueue): Do nothing.
1816         (iterateNativeQueue): Do queue.wait if blocking.
1817         * gnu/gcj/xlib/Font.java (loadFont): New method.
1818         (loadFontImpl): Renamed native method, was loadFont. 
1819         * gnu/gcj/xlib/Window.java (toFront): New method.
1820         (toBack): New method.
1821         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
1822         loadFont.
1823         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
1824         (toFront): New method. 
1825         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
1826
1827 2005-07-14  Andrew Haley  <aph@redhat.com>
1828
1829         * gnu/java/net/protocol/file/Connection.java (unquote): New
1830         method.
1831         (connect): Unquote filename.
1832         gnu/java/net/protocol/jar/Connection.java (getInputStream):
1833         Likewise.  
1834         (getJarFile): Likewise.
1835
1836         * java/net/URLConnection.java (getContentHandler): Guard cast with
1837         instaceof.
1838
1839         * java/net/URL.java (URL): If the file part of a spec is absolute,
1840         ignore the file part of its context.
1841
1842 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
1843
1844         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
1845         Implemented VirtualMachine Command Set.
1846
1847 2005-07-14  Tom Tromey  <tromey@redhat.com>
1848
1849         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
1850         Classpath.
1851
1852 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1853
1854         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
1855         Implemented the Field CommandSet.
1856         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
1857         Implemented the InterfaceType CommandSet.
1858
1859 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1860
1861         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
1862         shutdown to jdwp instead of connection.
1863
1864 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1865
1866         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
1867         New file.
1868
1869 2005-07-08  Colin Walters  <walters@verbum.org>
1870
1871         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
1872         check for abstract classes or interfaces here; JVM spec
1873         says it should throw an exception, so we'll do so later.
1874         * interpret.cc (run): Throw an InstantiationException for
1875         abstract classes and interfaces.
1876
1877 2005-07-08  Andrew Haley  <aph@redhat.com>
1878
1879         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
1880         (regular, non-realtime scheduling), not SCHED_RR (realtime,
1881         round-robin).
1882
1883 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1884
1885         * gnu/classpath/jdwp/util/Signature.java
1886         (computeFieldSignature): New Method.
1887
1888 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1889
1890         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
1891         file.
1892
1893 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1894
1895         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
1896         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
1897
1898 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1899
1900         * testsuite/libjava.compile/PR21045.java: New test.
1901         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
1902         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
1903
1904 2005-07-06  Tom Tromey  <tromey@redhat.com>
1905
1906         * java/io/InputStreamReader.java (refill): Handle no-progress
1907         case correctly.
1908         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
1909
1910 2005-07-06  Tom Tromey  <tromey@redhat.com>
1911
1912         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
1913
1914 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1915
1916         * testsuite/libjava.compile/PR19674.java: New test.
1917
1918 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
1919
1920         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
1921         New file.
1922
1923 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
1924
1925         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
1926         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
1927         CommandSets to handle JdwpCommandPackets.
1928         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
1929         Constructor.
1930
1931 2005-07-01  Tom Tromey  <tromey@redhat.com>
1932
1933         * libtool-version: Updated.
1934
1935 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
1936
1937         * gnu/classpath/jdwp/util/JdwpString.java: New file.
1938
1939 2005-06-30  Keith Seitz  <keiths@redhat.com>
1940
1941         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
1942         (myWrite): New abstract method.
1943         (toBytes): Remove.
1944         (myToBytes): Remove.
1945         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
1946         method.
1947         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
1948         method.
1949         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
1950         JdwpPacket.write instead of JdwpPacket.toBytes.
1951
1952 2005-06-30  Keith Seitz  <keiths@redhat.com>
1953
1954         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
1955         method.
1956         (_bytes): New member.
1957         (_doStream): New member.
1958         (JdwpConnection): Initialize new members.
1959
1960 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
1961
1962         * all files: Update for new FSF address.
1963
1964 2005-06-29  Tom Tromey  <tromey@redhat.com>
1965
1966         PR libgcj/22211:
1967         * testsuite/libjava.lang/pr22211.java: New file.
1968         * java/lang/natThread.cc (finish_): Synchronize when updating
1969         alive_flag.
1970         (_Jv_AttachCurrentThread): Likewise.
1971         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
1972         * java/lang/Thread.java (isAlive): Now synchronized.
1973
1974 2005-06-29  Tom Tromey  <tromey@redhat.com>
1975
1976         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
1977         _Jv_CheckCast.
1978
1979 2005-06-28  Robin Green  <greenrd@greenrd.org>
1980
1981         PR java/22189
1982         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
1983         error.
1984
1985 2005-06-27  Tom Tromey  <tromey@redhat.com>
1986
1987         PR java/21540, PR java/13788:
1988         * testsuite/libjava.compile/pr21540.java: New file.
1989         * testsuite/libjava.compile/pr13788.java: New file.
1990         * testsuite/libjava.jacks/jacks.xfail: Updated.
1991
1992 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1993
1994         * testsuite/libjava.mauve/xfails: Updated to reflect current state
1995         of mauve and libjava. 
1996
1997 2005-06-24  Tom Tromey  <tromey@redhat.com>
1998
1999         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2000         where class' name is NULL.
2001         (_Jv_FindClass): Don't wait for class state.
2002         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2003         name found.
2004         * include/java-interp.h (_Jv_DefineClass): Updated.
2005         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2006         (struct _Jv_ClassReader): Likewise.
2007         (found_name): New field.
2008         (handleClassBegin): Set *found_name.
2009         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2010         (handleClassBegin): Throw error if super class not set.
2011         (read_methods): Correctly call check_tag and prepare_pool_entry.
2012
2013 2005-06-24  Tom Tromey  <tromey@redhat.com>
2014
2015         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2016
2017 2005-06-24  Tom Tromey  <tromey@redhat.com>
2018
2019         * verify.cc (verify_instructions_0): Correctly handle situation
2020         where PC falls off end.
2021
2022 2005-06-24  Tom Tromey  <tromey@redhat.com>
2023
2024         * interpret.cc (compile): Handle case where table entry is
2025         outside of PC range.
2026
2027 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2028
2029         * testsuite/libjava.compile/PR20697.java: New test-case.
2030
2031 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2032
2033         * Makefile.am (SUBDIRS): Use append for conditional.
2034         (toolexeclib_LTLIBRARIES): Likewise.
2035         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2036         a conditional append.
2037         * Makefile.in: Regenerate.
2038
2039 2005-06-17  Keith Seitz  <keiths@redhat.com>
2040
2041         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2042         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2043         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2044         file.
2045         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2046         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2047         file.
2048         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2049         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2050         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2051         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2052         file.
2053         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2054         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2055
2056 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2057
2058         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2059         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2060         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2061         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2062         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2063         * Makefile.in: Regenerate.
2064
2065 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2066
2067         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2068         (USING_POSIX_PLATFORM): ... here.
2069         * Makefile.am: Delete USING_ECOS_PLATFORM.
2070         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2071         external/Makefile.in, external/sax/Makefile.in,
2072         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2073
2074 2005-06-15  Tom Tromey  <tromey@redhat.com>
2075
2076         PR libgcj/17536:
2077         * testsuite/libjava.lang/pr17536.java: New file.
2078         * testsuite/libjava.lang/pr17536.out: New file.
2079
2080 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2081
2082         PR libgcj/21074:
2083         * gnu/java/net/protocol/http/HTTPURLConnection.java
2084         (getHeaderFieldKey): Check index.
2085
2086 2005-06-15  Tom Tromey  <tromey@redhat.com>
2087
2088         PR libgcj/21906:
2089         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2090         methods.
2091         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2092         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2093         static.
2094         (append_partial_itable): Use it.
2095         (set_vtable_entries): Likewise.
2096
2097 2005-06-15  Tom Tromey  <tromey@redhat.com>
2098
2099         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2100         last_was_sep in loop.
2101
2102 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2103
2104         * configure.host: Handle Solaris 10/x86.
2105
2106 2005-06-14  Keith Seitz  <keiths@redhat.com>
2107
2108         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2109         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2110
2111 2005-06-14  Keith Seitz  <keiths@redhat.com>
2112
2113         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2114         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2115         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2116         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2117         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2118         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2119         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2120         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2121         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2122         * gnu/classpath/jdwp/id/StringId.java: New file.
2123         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2124         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2125
2126 2005-06-14  Tom Tromey  <tromey@redhat.com>
2127
2128         PR libgcj/19877:
2129         * configure, aclocal.m4, Makefile.in: Rebuilt.
2130
2131 2005-06-14  Tom Tromey  <tromey@redhat.com>
2132
2133         * java/lang/Class.java (getClasses): New method.
2134         (internalGetClasses): Likewise.
2135         (getClassLoader): Updated documentation.
2136         (getDeclaredClasses): New overload; old overload no longer
2137         native.
2138         (_getConstructors): Removed.
2139         (resourcePath): Updated.
2140         * java/lang/natClass.cc (getClasses): Removed.
2141         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2142         Updated.
2143         (_getConstructors): Removed.
2144
2145 2005-06-13  Jim Huang  <jserv@kaffe.org>
2146
2147         PR libgcj/22036:
2148         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2149         (_Jv_JNI_NewObject): Likewise.
2150
2151 2005-06-13  Tom Tromey  <tromey@redhat.com>
2152
2153         PR java/21844:
2154         * testsuite/libjava.lang/pr21844.java: New file.
2155         * testsuite/libjava.lang/pr21844.out: New file.
2156
2157 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2158
2159         PR libgcj/21949
2160         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2161         From Gary Benson.
2162
2163 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2164
2165         * java/text/MessageFormat.java (parse): When parsing strings, check
2166         for an empty pattern trailer.
2167
2168 2005-06-06  Keith Seitz  <keiths@redhat.com>
2169
2170         * gnu/classpath/jdwp/util/Signature.java: New file.
2171         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2172
2173 2005-06-05  Anthony Green  <green@redhat.com>
2174
2175         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2176         fall-through bug.
2177
2178 2005-06-04  Anthony Green  <green@redhat.com>
2179
2180         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2181         and gnu.java.net.protocol.core.CoreInputStream.
2182         (CureURLLoader): New class.
2183         (CoreResource): New class.
2184         (addURLImpl): Add special treatment for the "core" protocol.
2185         * gnu/gcj/natCore.cc (find): New method.
2186         * gnu/gcj/Core.java (find): New method.
2187
2188 2005-06-03  Keith Seitz  <keiths@redhat.com>
2189
2190         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2191         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2192         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2193
2194 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2195
2196         * jawt.c: Remove malloc.h, covered by stdlib.h.
2197
2198         * testsuite/libjava.jni/jni.exp
2199         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2200         the build process.
2201
2202 2005-06-02  Keith Seitz  <keiths@redhat.com>
2203
2204         * gnu/classpath/jdwp/transport/TransportException.java: New file.
2205
2206 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
2207
2208         * mauve-libgcj: Remove implemented classes from the fail section.
2209         Add two new not implemented to it.
2210
2211 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
2212
2213         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2214         AC_SUBST definition from configure.host.
2215         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2216         to -fomit-frame-pointer on 32-bit x86 targets.
2217
2218 2005-06-01  Tom Tromey  <tromey@redhat.com>
2219
2220         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2221
2222 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2223
2224         PR libgcj/20435:
2225         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2226         (static): Add possessive matching to JAVA_1_4 syntax.
2227         * gnu/regexp/RETokenRepeated.java (possessive): New field.
2228         (makePossessive, isPossessive): New methods.
2229         (match): Don't back off during possessive matching.
2230         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2231         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2232         to JAVA_1_4.
2233
2234 2005-06-01  Keith Seitz  <keiths@redhat.com>
2235
2236         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2237         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2238         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2239
2240 2005-06-01  Tom Tromey  <tromey@redhat.com>
2241
2242         PR libgcj/21785:
2243         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2244         (currentLoader): New method.
2245         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2246         currentLoader.
2247         (currentLoader): Now native.
2248         (currentClassLoader): Removed.
2249         * testsuite/libjava.lang/pr21785.java: New file.
2250         * testsuite/libjava.lang/pr21785.out: New file.
2251
2252 2005-06-01  Tom Tromey  <tromey@redhat.com>
2253
2254         PR libgcj/21753:
2255         * java/lang/natString.cc (substring): Changed sharing heuristic.
2256
2257 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2258
2259         PR libgcj/21821
2260         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2261         MAXPATHLEN. Format exception message using a StringBuffer instead.
2262
2263 2005-05-29  Michael Koch  <konqueror@gmx.de>
2264
2265         PR libgcj/20273:
2266         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2267
2268 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2269
2270         * ChangeLog: Fix typo.
2271
2272 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2273
2274         Testsuite adjustments for PR java/19870.
2275         * testsuite/libjava.lang/PR19870.java: New testcase.
2276         * testsuite/libjava.lang/PR19870.out: Expected output for the
2277         testcase.
2278         * testsuite/libjava.jacks/jacks.xfail: Add
2279         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2280
2281
2282 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2283
2284         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2285         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2286         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2287         classes.
2288         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2289         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2290         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2291         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2292
2293 2005-05-25  Richard Henderson  <rth@redhat.com>
2294
2295         PR libgcj/21692
2296         * sysdep/descriptor-n.h: New file.
2297         * sysdep/descriptor-y.h: New file.
2298         * sysdep/powerpc/descriptor.h: New file.
2299         * configure.host: Set $descriptor_h appropriate for the host.
2300         * configure.ac: Link it.
2301         * configure: Regenerate.
2302         * stacktrace.cc: Include sysdep/descriptor.h.
2303         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2304
2305 2005-05-25  Chris Burdess  <dog@gnu.org>
2306
2307         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2308         end entity callbacks.
2309
2310 2005-05-24  Gary Benson  <gbenson@redhat.com>
2311
2312         PR libgcj/21736:
2313         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2314         Handle DateFormat.DEFAULT case correctly.
2315
2316 2005-05-21  Tom Tromey  <tromey@redhat.com>
2317
2318         PR libgcj/21703:
2319         * java/lang/ref/natReference.cc (find_slot): Handle case where
2320         table has no NULL entries.
2321         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2322         table has no NULL entries.
2323
2324 2005-05-22  Andreas Jaeger  <aj@suse.de>
2325
2326         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2327         avoid warnings.
2328
2329 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2330
2331         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2332
2333 2005-05-19  Richard Henderson  <rth@redhat.com>
2334
2335         * exception.cc: Revert 05-17 gcc_unreachable change.
2336
2337 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2338
2339         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2340         _Jv_RegisterInitiatingLoader to register array classes, not
2341         _Jv_RegisterClass.
2342         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2343         bootstrapping. Add a FIXME to handle this case better.
2344
2345 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2346
2347         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2348         convenience library.
2349         (libgcj_la_SOURCES): New. Move sources here.
2350         (libgcj.la): Remove rule.
2351
2352 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2353
2354         PR libgcj/19729
2355         * gnu/java/security/provider/DSASignature.java: Import updates
2356         from GNU Crypto.
2357
2358 2005-05-18  Anthony Green  <green@redhat.com>
2359
2360         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2361         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2362         classpath_jawt_destroy_lock): New functions.
2363         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2364         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2365         classpath_jawt_destroy_lock): New functions.
2366         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2367         field.
2368         * jawt.c: #include malloc.h.
2369         (_Jv_Lock): Use lock.
2370         (_Jv_Unlock): Ditto.
2371         (_Jv_GetDrawingSurface): Initialize lock.
2372         (_Jv_FreeDrawingSurface): Destroy lock.
2373         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2374
2375 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
2376
2377         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2378         * Makefile.in: Regenerate.
2379
2380 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
2381
2382         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2383         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2384         * aclocal.m4, configure, config.h.in, include/config.h.in,
2385         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2386         external/Makefile.in, external/sax/Makefile.in,
2387         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2388
2389 2005-05-17  David Daney  <ddaney@avtrex.com>
2390
2391         PR libgcj/18220
2392         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
2393
2394 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2395
2396         * exception.cc (abort): Remove std::abort hack.
2397         (gcc_unreacheable): Define.
2398
2399 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2400
2401         * Makefile.am (Makefile.deps): Do not create native.list and
2402         bytecodes.list.
2403         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2404         * Makefile.in: Regenerate.
2405
2406 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2407
2408         * configure.ac (--enable-libgcj-multifile): Remove.
2409
2410         * Makefile.am (all_native_compiled_source_files,
2411         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2412         all_libgcj_lo_files, all_xlib_lo_files,
2413         all_java_deps_files, all_java_stamp_files,
2414         all_java_filelist_files): New variables.
2415         (EXTRA_DIST): New Automake variable.
2416         (CLEANFILES): Add .stamp, .list and .lo files.
2417         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2418         (classes.stamp): Depend on $(all_java_stamp_files).
2419         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2420         going through write_entries_to_file.
2421
2422         (all_java_source_files, all_property_files): Move earlier.
2423         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2424         all_java_class_files): Remove.
2425         (gtk_awt_peer_sources): Rename to...
2426         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
2427
2428         (ONESTEP): Remove.
2429         (libgcj0_convenience_la_SOURCES): Remove Java source files.
2430         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2431         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2432         (libgcj_la_SOURCES): Remove.
2433         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2434         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2435         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2436
2437         * configure: Regenerate.
2438         * Makefile.in: Regenerate.
2439         * external/Makefile.in: Regenerate.
2440         * external/sax/Makefile.in: Regenerate.
2441         * external/w3c_dom/Makefile.in: Regenerate.
2442         * gcj/Makefile.in: Regenerate.
2443         * include/Makefile.in: Regenerate.
2444         * libltdl/Makefile.in: Regenerate.
2445         * testsuite/Makefile.in: Regenerate.
2446
2447 2005-05-16  Tom Tromey  <tromey@redhat.com>
2448
2449         * java/nio/charset/Charset.java (encode, decode): Synchronize on
2450         'this', not the class.
2451
2452 2005-05-16  Tom Tromey  <tromey@redhat.com>
2453
2454         * gnu/java/net/protocol/http/Headers.java (parse): Include final
2455         character of line.
2456
2457 2005-05-16  Tom Tromey  <tromey@redhat.com>
2458
2459         PR libgcj/21606:
2460         * java/net/URI.java (unquote): Handle lower-case letters as well.
2461
2462 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2463
2464         PR libgcj/20504
2465         * gnu/regexp/RE.java: Add support for quoting constructs.
2466
2467 2005-05-15  Tom Tromey  <tromey@redhat.com>
2468
2469         * java/lang/String.java (startsWith): Fixed javadoc.
2470
2471 2005-05-15  Tom Tromey  <tromey@redhat.com>
2472
2473         PR java/21519:
2474         * testsuite/libjava.compile/pr21519.java: New file.
2475         * testsuite/libjava.compile/pr21519.no-link: New file.
2476
2477 2005-05-15  Tom Tromey  <tromey@redhat.com>
2478
2479         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2480
2481 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
2482
2483         PR libgcj/21557
2484         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2485         interrupt status flag if _Jv_CondWait is interrupted.
2486
2487 2005-05-13  Tom Tromey  <tromey@redhat.com>
2488
2489         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2490         element in path.
2491
2492 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
2493
2494         * include/jvm.h (gcj::verifyClasses): Declare.
2495         * link.cc (gcj::verbose_class_flag): Moved.
2496         * prims.cc (gcj::verifyClasses): Define here.
2497         (gcj::verbose_class_flag): Move definition here.
2498         (_Jv_Linker::wait_for_state): Don't call verify_class
2499         if gcj::verifyClasses is not set.
2500         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2501
2502 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
2503
2504         * gij.cc (main): Recognize '-verify', '-noverify', and
2505         '-verifyremote'
2506
2507 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2508
2509         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2510
2511 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2512
2513         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2514         libgcjawt.la.
2515
2516 2005-05-11  Tom Tromey  <tromey@redhat.com>
2517
2518         * external/w3c_dom/Makefile.in: Rebuilt.
2519         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2520         -fbootstrap-classes.
2521         * external/sax/Makefile.in: Rebuilt.
2522         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2523         -fbootstrap-classes.
2524         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2525         friend.
2526         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2527         Call _Jv_CopyClassesToSystemLoader.
2528         * java/lang/natClassLoader.cc (system_class_list): New global.
2529         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2530         classes differently.
2531         (_Jv_CopyClassesToSystemLoader): New function.
2532         (SYSTEM_LOADER_INITIALIZED): New define.
2533         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2534         (_Jv_CheckABIVersion): Use it.
2535         (_Jv_ClassForBootstrapLoader): New function.
2536         * Makefile.in: Rebuilt.
2537         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2538
2539 2005-05-10  Tom Tromey  <tromey@redhat.com>
2540
2541         * gcj/javaprims.h: Updated.
2542         * java/lang/String.java (String(StringBuilder)): New constructor.
2543         * java/lang/natStringBuilder.cc: New file.
2544         * java/lang/StringBuilder.java: New file.
2545         * Makefile.in: Rebuilt.
2546         * Makefile.am (core_java_source_files): Added StringBuilder.java.
2547         (nat_source_files): Added natStringBuilder.cc.
2548
2549 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
2550
2551         PR java/21436
2552         * testsuite/libjava.jacks/jacks.xfail: Adjust.
2553
2554 2005-05-09  Mike Stump  <mrs@apple.com>
2555
2556         * configure: Regenerate.
2557
2558 2005-05-09  David Daney  <ddaney@avtrex.com>
2559
2560         * java/util/BitSet.java (get(int, int)): Fix breakage when
2561         requested set doesn't start on a multiple of 64.
2562
2563 2005-05-07  Matthias Klose  <doko@debian.org>
2564
2565         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2566
2567 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2568
2569         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2570         * Makefile.in: Regenerate.
2571         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2572         (createCompatibleVolatileImage(int,int)): Implement.
2573         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2574         Likewise.
2575         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2576         New fields.
2577         (createVolatileImage): Implement.
2578         (createBuffers): Likewise.
2579         (getBackBuffer): Likewise.
2580         (flip): Likewise.
2581         (destroyBuffers): Likewise.
2582         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2583         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2584         (CanvasFlipBufferStrategy): Likewise.
2585         (createBufferStrategy(int)): New method.
2586         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2587         * java/awt/Component.java (BltBufferStrategy): Implement and
2588         document class.
2589         (FlipBufferStrategy): Likewise.
2590         * java/awt/Window.java (WindowBltBufferStrategy): New class.
2591         (WindowFlipBufferStrategy): Likewise.
2592         (createBufferStrategy(int)): New method.
2593         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2594         (getBufferStrategy): Likewise.
2595         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2596         front to frontCaps and back to backCaps.
2597
2598 2005-05-06  Michael Koch  <konqueror@gmx.de>
2599
2600         * java/awt/BufferCapabilities.java
2601         (BufferCapabilities): Merged javadoc.
2602
2603 2005-05-06  Michael Koch  <konqueror@gmx.de>
2604
2605         * java/util/Locale.java
2606         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2607         (getLocale): New methods. Use it everywhere where instances of Locales
2608         are needed.
2609         (getDisplayLanguage): Merged javadoc.
2610         (getDisplayCountry): Likewise.
2611         (getDisplayVariant): Likewise.
2612
2613 2005-05-06  Archie Cobbs  <archie@dellroad.org>
2614
2615         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2616         use DeleteLocalRef() to avoid exhausting local native references.
2617
2618 2005-05-06  Mark Wielaard  <mark@klomp.org>
2619
2620         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2621         (window_delete_cb): Don't use C++ style comments.
2622
2623 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2624
2625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2626         copyright header.
2627
2628 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2629
2630         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2631         (window_delete_cb): Made the function return TRUE.
2632
2633 2005-05-06  Roman Kennke  <roman@kennke.org>
2634
2635         * javax/swing/text/PlainView.java
2636         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2637         offset parameter.
2638         * javax/swing/text/Utilities.java
2639         (drawTabbedText): Initilialize local variable pos correctly.
2640
2641 2005-05-06  Roman Kennke  <roman@kennke.org>
2642
2643         * javax/swing/text/AbstractDocument.java
2644         (LeafElement): Made start and end package private fields for
2645         effective reindexing.
2646         * javax/swing/text/PlainDocument.java
2647         (constructor): The field rootElement is always BranchElement,
2648         so we handle it as such.
2649         (removeUpdate): Rewritten reindexing for removeUpdate so that
2650         the actual removal is taken into account.
2651
2652 2005-05-06  Roman Kennke  <roman@kennke.org>
2653
2654         * javax/swing/text/GapContent.java:
2655         Removed debugging output stuff, which I accidentally left in.
2656
2657 2005-05-06  Roman Kennke  <roman@kennke.org>
2658
2659         * javax/swing/text/GapContent.java:
2660         Implemented a real GapContent. Only the public methods have
2661         been implemented so far and still no UndoableEdit support.
2662
2663 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2664
2665         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2666         the typo.
2667
2668 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2669
2670         * java/awt/image/BufferStrategy.java: Document.
2671
2672         * java/awt/BufferCapabilities.java: Document.
2673
2674 2005-05-04  Tom Tromey  <tromey@redhat.com>
2675
2676         * java/nio/channels/FileLock.java (toString): Entirely avoid
2677         String "+".
2678
2679 2005-05-04  Andrew Overholt  <overholt@redhat.com>
2680
2681         * java/nio/channels/FileLock.java (toString): Re-implement using
2682         StringBuffer.
2683
2684 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2685
2686         * java/awt/ImageCapabilities.java: Document.
2687
2688         * java/awt/image/VolatileImage.java: Unindent copyright header.
2689
2690 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2691
2692         * java/awt/image/VolatileImage.java: Document.
2693
2694 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2695
2696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2697         (init_glib_threads): Check if threading system is already
2698         initialized.
2699
2700 2005-05-03  Andrew Overholt  <overholt@redhat.com>
2701
2702         PR libgcj/21372:
2703         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
2704         could not be acquired.
2705         * java/nio/channels/FileLock.java (toString): Re-implement to be
2706         in line with other implementations.
2707
2708 2005-05-03  Tom Tromey  <tromey@redhat.com>
2709
2710         * java/lang/VMSecurityManager.java (currentClassLoader): Use
2711         'systemClasssLoader' directly.
2712
2713 2005-05-03  Tom Tromey  <tromey@redhat.com>
2714
2715         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
2716         call VMClassLoader.getSystemClassLoader.
2717
2718 2005-04-29  Michael Koch  <konqueror@gmx.de>
2719
2720         * java/net/NetworkInterface.java
2721         (static): Removed.
2722         (NetworkInterface(String,InetAddress)): Made package-private.
2723         (NetworkInterface(String,InetAddress[])): New constructor.
2724         (getRealNetworkInterfaces): Removed.
2725         (getByName): Use VMNetworkInterface.getInterfaces().
2726         (getByInetAddress): Likewise.
2727         (getNetworkInterfaces): Likewise.
2728         * java/net/VMNetworkInterface.java,
2729         java/net/natVMNetworkInterfaceNoNet.cc,
2730         java/net/natVMNetworkInterfacePosix.c,c
2731         java/net/natVMNetworkInterfaceWin32.cc: New files.
2732         * java/net/natNetworkInterfaceNoNet.cc,
2733         java/net/natNetworkInterfacePosix.cc,
2734          java/net/natNetworkInterfaceWin32.cc: Removed.
2735         * configure.ac
2736         * Makefile.am
2737         * configure, Makefile.in: Regenerated.
2738
2739 2005-04-29  Andrew Haley  <aph@redhat.com>
2740
2741         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2742
2743 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
2744
2745         * java/nio/channels/FileChannelImpl.java
2746         (FileChannelImpl(String, int)): Removed.
2747         (FileChannelImpl(File, int)): Added. Check if opened file is a
2748         directory.
2749         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
2750         Call FileChannelImpl(File, int).
2751         * java/io/FileOutputStream.java (FileInputStream): Call
2752         FileChannelImpl(File, int).
2753         * java/io/RandomAccessFile.java (RandomAccessFile):
2754         Call FileChannelImpl(File, int). Switched constructors around.
2755
2756 2005-04-27  Andrew Haley  <aph@redhat.com>
2757
2758         PR java/19285
2759         * prims.cc (_Jv_ResolvePoolEntry): New function.
2760         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
2761         * link.cc (_Jv_Linker::find_field): New arg: found_class.
2762         (resolve_pool_entry): Initialize the class in which a field is
2763         found.
2764         (link_symbol_table): Pass new arg to found_class.
2765
2766 2005-04-29  Michael Koch  <konqueror@gmx.de>
2767
2768         * java/nio/charset/Charset.java
2769         (provider): Reformatted.
2770
2771 2005-04-29  Michael Koch  <konqueror@gmx.de>
2772
2773         * gnu/java/net/protocol/http/HTTPConnection.java:
2774         (userAgent): Initialize from system properties.
2775         (initUserAgent): Removed.
2776
2777 2005-04-29  Mark Wielaard  <mark@klomp.org>
2778
2779         * java/util/ResourceBundle.java (getObject): Clarify
2780         MissingResourceException detailed message.
2781         (tryBundle(String,ClassLoader)): Likewise.
2782
2783 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2784
2785         * java/beans/FeatureDescriptor.java:
2786         (getShortDescription): Implemented fallback mechanism and fixed
2787         documentation (fixes bug #12637).
2788         (getDisplayName): Dito.
2789
2790 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2791
2792         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
2793         will now be set correctly.
2794         (flushCaches): Now flushes all cached intermediate data.
2795
2796 2005-04-28  Michael Koch  <konqueror@gmx.de>
2797
2798         * java/net/InetAddress.java
2799         (aton): Fixed javadoc.
2800         (lookup): Likewise.
2801
2802 2005-04-28  Tom Tromey  <tromey@redhat.com>
2803
2804         * javax/swing/Timer.java
2805         (drainEvents, queueEvent): Now package-private.
2806
2807 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2808
2809         * javax/swing/Timer.java
2810         (constructor): Assigning initialDelay.
2811
2812 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2813
2814         * javax/swing/Timer.java
2815         (Waker.run): firing the first action event.
2816
2817 2005-04-28  Michael Koch  <konqueror@gmx.de>
2818
2819         * javax/swing/Timer.java: Reordered all fields and methods,
2820         Added more javadocs.
2821
2822 2005-04-28  Michael Koch  <konqueror@gmx.de>
2823
2824         * javax/swing/Timer.java: Javadocs merged
2825         from GNU classpath.
2826
2827 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
2828
2829         * gnu/java/net/protocol/file/Connection.java
2830         (StaticData): New inner class to contain statics.
2831         (connect, getHeaderField): Modified to use StaticData.
2832
2833 2005-04-28  Michael Koch  <konqueror@gmx.de>
2834
2835         * gnu/java/net/protocol/file/Connection.java
2836         (lineSeparator): Initialize with SystemProperties.getProperty().
2837
2838 2005-04-27  Chris Burdess  <dog@gnu.org>
2839
2840         * gnu/java/net/protocol/file/Connection.java: Return correct content
2841         length for directory listing.
2842         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
2843         #11285: return valid URLs for directories.i
2844
2845 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2846
2847         * Makefile.am (ordinary_java_source_files): Add
2848         gnu/java/net/protocol/https/Handler.java.
2849         * Makefile.in: Regenerate.
2850         * java/net/URL.java: Remove org.metastatic.jessie from default
2851         protocol search path.
2852
2853 2005-04-27  Chris Burdess  <dog@gnu.org>
2854
2855         * gnu/java/net/protocol/https/Handler.java: New file.
2856
2857 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
2858
2859         * javax/imageio/spi/IIORegistry.java (IIORegistry):
2860         Don't assume that awt Toolkit is always ClasspathToolkit.
2861
2862 2005-04-27  Chris Burdess  <dog@gnu.org>
2863
2864         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
2865         absolute and relative paths in Location header.
2866
2867 2005-04-27  Chris Burdess  <dog@gnu.org>
2868
2869         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
2870         FileNotFoundException and implement getErrorStream on 404.
2871
2872 2005-04-27  Sven de Marothy <sven@physto.se>
2873
2874         * java/util/TimeZone.java,
2875         (getDefaultDisplayName): Fix previous fix.
2876
2877 2005-04-27  Sven de Marothy <sven@physto.se>
2878
2879         * java/util/TimeZone.java,
2880         (getDefaultDisplayName): Don't print zero offsets.
2881
2882 2005-04-27  Roman Kennke  <roman@kennke.org>
2883
2884         * javax/swing/plaf/basic/BasicScrollBarUI
2885         (getThumbBounds): Do not make thumb smaller than
2886         minimumThumbSize.
2887         * javax/swing/plaf/metal/MetalLookAndFeel
2888         (initComponentDefaults): Added color defaults for ScrollBar.
2889         * javax/swing/plaf/metal/MetalScrollBarUI
2890         (paintThumb): Added.
2891         (getMinimumThumbSize): Added.
2892
2893 2005-04-27  Roman Kennke  <roman@kennke.org>
2894
2895         * javax/swing/plaf/metal/MetalLookAndFeel
2896         (initComponentDefaults): Added some default colors.
2897
2898 2005-04-27  Roman Kennke  <roman@kennke.org>
2899
2900         * javax/swing/plaf/basic/BasicScrollBarUI.java
2901         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
2902         to 'ScrollBar.thumbShadow'. The formes does not exist.
2903         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
2904
2905 2005-04-27  Roman Kennke  <roman@kennke.org>
2906
2907         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
2908         * javax/swing/BoxLayout.java: Likewise.
2909         * javax/swing/UIManager.java: Likewise.
2910         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2911         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
2912         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2913         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2914         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
2915         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
2916         * javax/swing/text/Document.java: Likewise.
2917         * javax/swing/text/GapContent.java: Likewise.
2918         * javax/swing/text/SimpleAttributeSet.java: Likewise.
2919         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2920
2921 2005-04-27  Roman Kennke  <roman@kennke.org>
2922
2923         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2924         (getPropertyPrefix): Added.
2925
2926 2005-04-27  Roman Kennke  <roman@kennke.org>
2927
2928         * javax/swing/plaf/basic/BasicButtonUI.java
2929         (getPropertyPrefix): Added.
2930         (installDefaults): Use getPropertyPrefix instead of hard-coded
2931         prefix.
2932
2933 2005-04-27  Roman Kennke  <roman@kennke.org>
2934
2935         * javax/swing/JToggleButton.java
2936         (JToggleButton): Removed horizontalAlignment setting, this
2937         was wrong. Added setting of an actionCommand, ToggleButtons
2938         have "" as default actionCommand.
2939
2940 2005-04-27  Michael Koch  <konqueror@gmx.de>
2941
2942         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
2943         to work around CNI limitation.
2944
2945 2005-04-27  Sven de Marothy  <sven@physto.se>
2946
2947         * java/nio/charset/Charset.java:
2948         (defaultCharset()): New method.
2949         Status updated to 1.5
2950
2951 2005-04-27  Sven de Marothy  <sven@physto.se>
2952
2953         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2954
2955 2005-04-27  Sven de Marothy  <sven@physto.se>
2956
2957         * java/nio/charset/Charset.java: Reset cached de/encoders.
2958
2959 2005-04-27  Robert Schuster <thebohemian@gmx.net>
2960
2961         * java/nio/charset/Charset.java (forName): Throws
2962         IllegalArgumentException when argument is null
2963         and added documentation.
2964
2965 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2966
2967         * java/nio/charset/Charset.java (providers):
2968         New method to make an array of CharsetProviders defined in
2969         META-INF/services/java.nio.charset.spi.CharsetProvider.
2970         (charsetForName, availableCharsets): Use the
2971         new method providers().
2972
2973 2005-04-26  Michael Koch  <konqueror@gmx.de>
2974
2975         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
2976         Fixed typos in javadocs.
2977         (isSiteLocalAddress): Fixed handling of byte values.
2978         (isMCLinkLocal): Likewise.
2979         * java/net/Inet4Address.java
2980         (isMulticastAddress): Call super method.
2981         (isLoopbackAddress): Likewise.
2982         (isAnyLocalAddress): Likewise.
2983         (isLinkLocalAddress): Likewise.
2984         (isSiteLocalAddress): Likewise.
2985         (isMCGlobal): Likewise.
2986         (isMCNodeLocal): Likewise.
2987         (isMCLinkLocal): Likewise.
2988         (isMCSiteLocal): Likewise.
2989         (isMCOrgLocal): Likewise.
2990         (getHostAddress): Likewise.
2991
2992 2005-04-26  Sven de Marothy  <sven@physto.se>
2993
2994         * java/net/InetAddress.java
2995         (toString): Don't print empty hostnames.
2996
2997 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
2998
2999         PR libgcj/21136:
3000         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3001         'false' to native lock().
3002         (lock): Pass 'true' to native lock().
3003
3004 2005-04-26  Michael Koch  <konqueror@gmx.de>
3005
3006         * java/net/InetAddress.java:
3007         Fixed typos in javadocs.
3008
3009 2005-04-26  Andrew Haley  <aph@redhat.com>
3010
3011         PR libgcj/21020:
3012         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3013         field's type.
3014
3015 2005-04-26  Tom Tromey  <tromey@redhat.com>
3016
3017         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3018         gnu): Now package-private.
3019         * javax/swing/text/html/parser/DocumentParser.java (parser,
3020         callBack, gnu): Now package-private.
3021         * javax/swing/text/StringContent.java (content, setOffset,
3022         checkLocation): Now package-private.
3023         * javax/swing/text/JTextComponent.java (doc): Now
3024         package-private.
3025         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3026         lastGoodOrientation, origParent, borders, cachedBounds,
3027         cachedOrientation, DragWindow): Now package-private.
3028         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3029         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3030         tabAreaRect, contentRect, createIncreaseButton,
3031         createDecreaseButton, findPointForIndex): Now package-private.
3032         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3033         (currentDividerLocation, moveDividerTo): Now package-private.
3034         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3035         package-private.
3036         * javax/swing/plaf/basic/BasicScrollBarUI.java
3037         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3038         Now package-private.
3039         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3040         (topWindowListener): Now package-private.
3041         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3042         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3043         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3044         package-private.
3045         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3046         package-private.
3047         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3048         Now package-private.
3049         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3050         package-private.
3051         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3052         borderInsets): Now package-private.
3053         (arrowButtonWidth): Likewise.  Now a constant.
3054         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3055         makeTabs, updatePreviewPanel): Now package-private.
3056         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3057         darkShadow, highlight): Now package-private.
3058         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3059         (addColorToQueue): Now package-private.
3060         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3061         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3062         GSpinner, BSpinner): Now package-private.
3063         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3064         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3065         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3066         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3067         updateTrack): Now package-private.
3068         * javax/swing/TransferHandler.java (clipboard): Now
3069         package-private.
3070         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3071         package-private.
3072         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3073         package-private.
3074         * javax/swing/RepaintManager.java (globalManager): Now
3075         package-private.
3076         * javax/swing/JFormattedTextField.java (editValid): Now
3077         package-private.
3078         * javax/swing/JColorChooser.java (makeModal): Now
3079         package-private.
3080         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3081         index, path): Now package-private.
3082         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3083         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3084         pointEquals): Now package-private.
3085         * java/awt/geom/Arc2D.java (type): Now package-private.
3086         * java/awt/Window.java (windowFocusOwner): Now package-private.
3087         * java/awt/TextComponent.java (editable, selectionStart,
3088         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3089         package-private.
3090         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3091         package-private.
3092         * java/awt/MenuComponent.java (focusListener): Now
3093         package-private.
3094         * java/awt/Frame.java (state): Now package-private.
3095         * java/awt/Choice.java (pItems): Now package-private.
3096         * java/awt/Checkbox.java (state): Now package-private.
3097         * java/awt/Button.java (actionCommand, label): Now
3098         package-private.
3099         * gnu/javax/swing/text/html/parser/support/Parser.java
3100         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3101         package-private.
3102         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3103         package-private.
3104         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3105         clip, transform, font, comp): Now package-private.
3106
3107 2005-04-26  Tom Tromey  <tromey@redhat.com>
3108
3109         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3110         static way.
3111
3112 2005-04-26  Mark Wielaard  <mark@klomp.org>
3113
3114         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3115         to MalformedURLException.
3116
3117 2005-04-26  Michael Koch  <konqueror@gmx.de>
3118
3119         * java/security/AccessControlContext.java:
3120         Reformated.
3121         (protectedDomains): Renamed from 'protectionDomain'.
3122         * java/security/AccessController.java:
3123         Reformatted.
3124
3125 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3126
3127         * gnu/java/security/action/GetSecurityPropertyAction.java
3128         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3129         of extending GetPropertyAction.
3130         (name): New field.
3131         (value): Likewise.
3132         (setParamters): New methods.
3133         (GetSecurityPropertyAction): Use new setParameters methods.
3134
3135 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3136
3137         * java/security/Security.java,
3138         java/security/cert/X509CRLSelector.java,
3139         java/security/cert/X509CertSelector.java:
3140         Modified to use SystemProperties.
3141
3142 2005-04-26  Michael Koch  <konqueror@gmx.de>
3143
3144         * java/lang/System.java
3145         (setSecurityManager): Fixed comment.
3146         (getSecurityManager): Removed obsolete comment.
3147
3148 2005-04-25  Tom Tromey  <tromey@redhat.com>
3149
3150         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3151
3152 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3153
3154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3155         (connectSignals): Realize the window widget after connecting
3156         signals.
3157
3158 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3159
3160         * java/awt/GraphicsEnvironment.java
3161         (localGraphicsEnvironment): New field.
3162         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3163         property.
3164         (isHeadless): Added support for java.awt.headless property.
3165         (isHeadlessInstance): Call headless().
3166
3167 2005-04-25  Roman Kennke  <roman@kennke.org>
3168
3169         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3170         (getDisplayMode): Added. Returns the current display mode.
3171         (isFullScreenSupported): Added.
3172         * java/awt/GraphicsDevice.java
3173         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3174         This resizes and relocates the fullscreen window so that it uses
3175         the whole screen. This is not a fully accelerated fullscreen
3176         exclusive mode.
3177
3178 2005-04-25  Michael Koch  <konqueror@gmx.de>
3179
3180         * java/lang/Runtime.java,
3181         java/lang/SecurityManager.java,
3182         java/lang/System.java,
3183         java/lang/ThreadGroup.java:
3184         Replaced java.lang.Runtime.securityManager by
3185         java.lang.SecurityManager.current (as used in GNU classpath).
3186
3187 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
3188
3189         * java/awt/Transparency.java
3190         (getTransparency): fixed API docs.
3191
3192 2005-04-25  Archie Cobbs  <archie@dellroad.org>
3193
3194         * java/lang/Throwable.java: simplify initializing cause in constructor
3195
3196 2005-04-25  Michael Koch  <konqueror@gmx.de>
3197
3198         * gnu/classpath/SystemProperties.java: New file.
3199         * gnu/classpath/natSystemProperties.cc: New file.
3200         * java/lang/Runtime.java
3201         (defaultProperties): Removed.
3202         (static): Likewise.
3203         (): Made thrown exceptions more verbose.
3204         (insertSystemProperties): Removed.
3205         * java/lang/System.java
3206         (static): Likewise.
3207         (properties): Likewise.
3208         (setSecurityManager): Reordered modifiers.
3209         (getenv): Improved javadoc.
3210         (): Likewise.
3211         (isWordsBigEndian): Removed.
3212         * java/lang/natRuntime.cc
3213         (_Jv_SetDLLSearchPath): Likewise.
3214         (file_encoding): Likewise.
3215         (default_file_encoding): Likewise.
3216         (getpwuid_adaptor): Likewise.
3217         (insertSystemProperties): Likewise.
3218         * java/lang/natSystem.cc
3219         (isWordsBigEndian): Likewise.
3220         * Makefile.am
3221         (ordinary_java_source_files):
3222         Added gnu/classpath/SystemProperties.java.
3223         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
3224         * Makefile.in: Regenerated.
3225
3226 2005-04-25  Roman Kennke  <roman@kennke.org>
3227
3228         * javax/swing/plaf/basic/BasicScrollBarUI.java
3229         (initDefaults): Initialize thumb*Color fields correctly.
3230
3231 2005-04-25  Roman Kennke  <roman@kennke.org>
3232
3233         * javax/swing/text/GapContent.java:
3234         Added API comments.
3235
3236 2005-04-25  Roman Kennke  <roman@kennke.org>
3237
3238         * javax/swing/plaf/metal/MetalBorders.java:
3239         Added inner class ScrollPaneBorder.
3240         * javax/swing/plaf/metal/MetalLookAndFeel.java
3241         (initComponentDefaults): Added default for "ScrollPane.border"
3242         to use the new ScrollPaneBorder.
3243
3244 2005-04-25  Roman Kennke  <roman@kennke.org>
3245
3246         * javax/swing/text/AbstractDocument.java:
3247         Added FIXME comments. This class still has to be
3248         implemented thread-safe.
3249
3250 2005-04-25  Roman Kennke  <roman@kennke.org>
3251
3252         * javax/swing/tree/DefaultTreeSelectionModel.java
3253         (DefaultTreeSelectionModel): Initialize listenerList here.
3254
3255 2005-04-25  Roman Kennke  <roman@kennke.org>
3256
3257         * javax/swing/plaf/metal/MetalTextFieldUI.java
3258         (createUI): Return one instance per Component instead of a
3259         shared instance.
3260
3261 2005-04-25  Roman Kennke  <roman@kennke.org>
3262
3263         * javax/swing/text/Document.java:
3264         Added API documentation comments.
3265
3266 2005-04-25  Roman Kennke  <roman@kennke.org>
3267
3268         * javax/swing/text/AbstractDocument.java
3269         (getDocumentProperties): Implemented.
3270         (setDocumentProperties): Implemented.
3271         (getProperty): Implemented.
3272         (putProperty): Implemented.
3273
3274 2005-04-25  Roman Kennke  <roman@kennke.org>
3275
3276         * javax/swing/BoxLayout
3277         (preferredLayoutSize): Fixed computation so that it correctly
3278         adds the top and bottom insets of the container.
3279
3280 2005-04-25  Roman Kennke  <roman@kennke.org>
3281
3282         * javax/swing/plaf/basic/BasicMenuItemUI.java
3283         (paintText): Make use of the 'selectionForeground' UI default
3284         for text painting.
3285
3286 2005-04-25  Roman Kennke  <roman@kennke.org>
3287
3288         * javax/swing/plaf/basic/BasicLookAndFeel.java
3289         (initSystemColorDefaults): Modified colors to match the
3290         BasicLookAndFeel in the reference implementation.
3291         (initComponentDefaults): Likewise.
3292
3293 2005-04-25  Tom Tromey  <tromey@redhat.com>
3294
3295         * include/jni.h (_Jv_va_list): Removed.
3296         Moved configuration code...
3297         * include/jni_md.h: ... here.  New file.
3298         * include/Makefile.in: Rebuilt.
3299         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3300
3301 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
3302
3303         * java/io/FileInputStream.java (FileInputStream(File)),
3304         java/io/FileOutputStream.java (FileOutputStream(File)):
3305         Removed unnecessary File.isDirectory() check.
3306
3307 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
3308
3309         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3310         gij if get_multilibs fails.
3311
3312 2005-04-22  Anthony Green  <green@redhat.com>
3313
3314         * jni.cc (natrehash): Don't bother clearing memory again.
3315         * interpret.cc (do_allocate_static_fields): Ditto.
3316         * java/lang/natString.cc (rehash): Ditto.
3317
3318 2005-04-22  Roman Kennke  <roman@kennke.org>
3319
3320         * javax/swing/plaf/basic/BasicLookAndFeel.java
3321         (initComponentDefaults): Changed Button.border to be
3322         BasicBorders.getButtonBorder as it should be.
3323
3324 2005-04-22  Roman Kennke  <roman@kennke.org>
3325
3326         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3327         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3328         should according to a mauve testcase, instead of the preferred
3329         size.
3330
3331 2005-04-22  Roman Kennke  <roman@kennke.org>
3332
3333         * javax/swing/JMenu.java
3334         (add): add(Component) now calls PopupMenu.insert(..) instead of
3335         PopupMenu.add(..). add(..) is not implemented for Component,
3336         so JComponent.add(..) is called instead, adding the component
3337         in the wrong place.
3338
3339 2005-04-22  Roman Kennke  <roman@kennke.org>
3340
3341         * javax/swing/plaf/basic/BasicButtonListener.java
3342         (mousePressed): replaced query to getModifiersEx with getModifiers.
3343         This method relied on faulty behaviour in getModifierEx.
3344         (mouseReleased): replaced query to getModifiersEx with getModifiers.
3345         This method relied on faulty behaviour in getModifierEx.
3346
3347 2005-04-22  Roman Kennke  <roman@kennke.org>
3348
3349         * javax/swing/plaf/metal/MetalLookAndFeel.java
3350         (getDefaults): Call addCustomEntriesToTable on the theme.
3351
3352 2005-04-22  Roman Kennke  <roman@kennke.org>
3353
3354         * javax/swing/tree/DefaultTreeSelectionModel.java
3355         (constructor): Added implementation.
3356         (getRowMapper): Added implementation.
3357         (setSelectionMode): Added implementation.
3358         (getSelectionMode): Added implementation.
3359         (getSelectionPath): Added implementation.
3360         (getSelectionPaths): Added implementation.
3361         (getSelectionCount): Added implementation.
3362         (isSelectionEmpty): Added implementation.
3363         (getSelectionRows): Added implementation.
3364         (getMinSelectionRow): Added implementation.
3365         (getMaxSelectionRow): Added implementation.
3366         (getLeadSelectionRow): Added implementation.
3367         (getLeadSelectionPath): Added implementation.
3368
3369 2005-04-22  Casey Marshall <csm@gnu.org>
3370
3371         * gnu/java/security/der/DERValue.java
3372         (getValueAs): new method.
3373         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3374         (<init>): read both dates with 'DERValue.getValueAs', with
3375         'GENERALIZED_TIME' as the argument.
3376
3377 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
3378
3379         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
3380         be null, check for that case and don't deference it.
3381
3382 2005-04-22  Sven de Marothy  <sven@physto.se>
3383
3384         * java/util/logging/LogManager.java: Reformatted.
3385         (readConfiguration): If a logger for a key is not found, create one.
3386
3387 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3388
3389         * java/rmi/Naming.java:
3390         Added class documentation.
3391         (lookup(String)): Call parseURL and getName.
3392         (bind(String,java.rmi.Remote)): Likewise.
3393         (unbind(String)): Likewise.
3394         (rebind(String, java.rmi.Remote)): Likewise.
3395         (list(String)): Call parseURL.
3396         (parseURL(String)): New method to handle parsing and defaults.
3397         (getName(java.net.URL)): New method to handle finding the service name.
3398
3399 2005-04-21  Tom Tromey  <tromey@redhat.com>
3400
3401         * java/lang/natClass.cc (initializeClass): Link class.
3402
3403 2005-04-21  Tom Tromey  <tromey@redhat.com>
3404
3405         * java/lang/AssertionError.java: Typo fix.
3406
3407 2005-04-21  Tom Tromey  <tromey@redhat.com>
3408
3409         * java/lang/VMClassLoader.java (transformException): Removed.
3410         (resolveClass): No longer native.  Now does nothing.
3411         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
3412
3413 2005-04-21  Anthony Green  <green@redhat.com>
3414
3415         PR libgcj/21115
3416         * testsuite/libjava.special/special.exp,
3417         testsuite/libjava.special/pr21115I.java,
3418         testsuite/libjava.special/pr21115.java,
3419         testsuite/libjava.special/pr21115.out: New files.
3420
3421 2005-04-21  Chris Burdess  <dog@gnu.org>
3422
3423         * gnu/java/net/CRLFInputStream.java: Rewrite to return
3424         CRLF-delimited chunks.
3425
3426 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3427
3428         * java/net/URI.java:
3429         Added class documentation.
3430         (parseURI(String)): Only handle scheme-specific parts
3431         if URI is not opaque.  Allow for parts that can't be null.
3432         (toString()): Output the scheme-specific part whole, rather
3433         than as its possibly non-existent components.
3434
3435 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3436
3437         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
3438         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
3439         Adjusted to match new regexp.
3440
3441 2005-04-20  Michael Koch  <konqueror@gmx.de>
3442
3443         * gnu/java/net/protocol/file/Connection.java,
3444         gnu/java/net/protocol/jar/Connection.java:
3445         Reorganized import statements. Fixed @author tags.
3446
3447 2005-04-20  Chris Burdess  <dog@gnu.org>
3448
3449         * java/io/DataOutputStream.java (writeUTF): Use block write for
3450         output.
3451
3452 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3453
3454         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
3455         (readLine): Changed newline handling.
3456
3457 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3458
3459         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
3460         ColorModel,byte[],int,int): Fixed byte to int conversion.
3461
3462 2005-04-20  Michael Koch  <konqueror@gmx.de>
3463
3464         * java/io/FilePermission.java
3465         (serialVersionUID): Made private.
3466         (ALL_FILES): New constant.
3467         (implies): Handle '<<ALL FILES>>' case.
3468
3469 2005-04-20  Sven de Marothy  <sven@physto.se>
3470
3471         * gnu/java/awt/peer/gtk/GdkGraphics.java:
3472         (drawImage): Don't notify the image observer for offscreen images.
3473         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
3474         (setPixels): Don't notify the image observer.
3475
3476 2005-04-20  Sven de Marothy  <sven@physto.se>
3477
3478         * java/nio/ByteBufferImpl.java:
3479         (putChar): Inlined for speed.
3480         (put, get): Bulk methods can use arraycopy.
3481         * java/nio/CharBufferImpl.java:
3482         (put, get): Bulk methods can use arraycopy.
3483
3484 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3485
3486         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
3487         and field updates.
3488         * java/nio/CharBufferImpl.java
3489         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
3490         (get(), put(char)): Inlined checks and field updates. Fixed to
3491         take array_offset into account.
3492         (get(int), put(int, char)): Fixed to take array_offset into account.
3493
3494 2005-04-20  Sven de Marothy  <sven@physto.se>
3495
3496         * java/text/SimpleDateFormat.java:
3497         (formatWithAttribute): Pad year before truncating digits.
3498
3499 2005-04-20  Michael Koch  <konqueror@gmx.de>
3500
3501         * gnu/java/net/PlainDatagramSocketImpl.java:
3502         Merged copyright header.
3503         * gnu/java/net/PlainSocketImpl.java:
3504         Reorganized import statements. Fixed @author tags.
3505
3506 2005-04-20  Michael Koch  <konqueror@gmx.de>
3507
3508         * gnu/java/lang/ClassHelper.java,
3509         gnu/java/lang/reflect/TypeSignature.java:
3510         Fixed @author tag.
3511
3512 2005-04-20  Michael Koch  <konqueror@gmx.de>
3513