OSDN Git Service

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