OSDN Git Service

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