OSDN Git Service

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