1 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
3 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
4 HP-UX and add appropriate extension for shared libraries, sl.
5 (gcj_jni_test_one): Likewise.
7 * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
10 2006-05-05 Tom Tromey <tromey@redhat.com>
13 * java/lang/natVMClassLoader.cc (defineClass): Throw
14 VirtualMachineError if no interpreter configured.
16 2006-05-03 Andrew Haley <aph@redhat.com>
19 * java/lang/Class.java (getClassLoader(Class)): New.
20 forName(String, Class): New.
21 * java/lang/natClass.cc (getClassLoader(Class)): New.
23 2006-05-02 Andrew Haley <aph@redhat.com>
25 * prims.cc (_Jv_NewMultiArray): Check for phantom class.
27 2006-05-04 Tom Tromey <tromey@redhat.com>
30 * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
31 <insn_putfield>: Likewise.
32 (NULLCHECK): Define unconditionally.
33 * link.cc (ensure_class_linked): Removed dead code.
35 2006-05-04 Tom Tromey <tromey@redhat.com>
37 * java/lang/Class.h (JV_STATE_LOADING): Added comment.
38 * Makefile.in: Rebuilt.
39 * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
40 * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
41 * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
43 (loadedClasses): Removed.
45 (addClass): Add to nativeClasses, not loadedClasses.
47 2006-05-04 Andrew Haley <aph@redhat.com>
50 * testsuite/libjava.lang/PR26858.xfail: Delete.
52 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
54 * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
55 -findirect-dispatch compilation.
57 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
59 * configure.ac: Simplify the mmap check a bit more.
61 * include/config.h.in: Likewise.
63 2006-05-01 Roger Sayle <roger@eyesopen.com>
64 Andrew Haley <aph@redhat.com>
66 * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
67 before calling GC_register_has_static_roots_callback.
68 (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
69 HAVE_DLADDR before calling dladdr.
71 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
73 * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
75 * interpret.cc (insn_invokevirtual): Use method->index, not
76 vtable_index. Check accflag FINAL to determine finals. Only do
77 explicit null check if calling a final method. Use
78 throw_null_pointer_exception.
79 (invokevirtual_resolved): Likewise.
80 (null_pointer_exc): Remove static field.
81 (throw_null_pointer_exception): Always define. Throw a new
82 NullPointerException every time.
83 * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
85 * include/execution.h (resolve_method): Remove vtable_index argument.
87 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
89 * configure.ac: Add an additional checks for dladdr and dlopen on dld.
92 2006-04-25 Tom Tromey <tromey@redhat.com>
94 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
95 Include platform.h. Set GC_DEBUG before including gc.h, if
98 2006-04-25 Andrew Haley <aph@redhat.com>
100 * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
101 * boehm.cc: Don't include link.h.
102 (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
104 2006-04-24 Tom Tromey <tromey@redhat.com>
106 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
108 2006-04-21 Andrew Haley <aph@redhat.com>
110 * include/execution.h (struct _Jv_CompiledEngine): Define for
112 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
113 _Jv_RegisterLibForGc.
114 (_Jv_RegisterClasses_Counted): Likewise.
115 (_Jv_NewClassFromInitializer): New.
116 (_Jv_RegisterNewClasses): New.
117 * sources.am: Regenerate.
118 * boehm.cc (_Jv_GC_has_static_roots): new.
119 (_Jv_InitGC): Call GC_register_has_static_roots_callback.
120 (filename_node, find_file, _Jv_print_gc_store, new_node,
121 _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
122 * scripts/makemake.tcl: Add -fno-indirect-classes.
123 * Makefile.in: Regenerate.
124 * link.cc (resolve_pool_entry): Allocate constant pool.
127 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
129 * configure.ac: Weaken the check for MMAP.
130 * configure: Rebuilt.
131 * include/config.h.in: Likewise.
133 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
136 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
137 dlopen(). From Anthony Green.
139 2006-04-20 Tom Tromey <tromey@redhat.com>
142 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
143 UnknownHostException if needed.
144 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
145 UnknownHostException if needed.
147 2006-04-19 Tom Tromey <tromey@redhat.com>
149 * Makefile.in: Rebuilt.
150 * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
153 2006-04-19 Tom Tromey <tromey@redhat.com>
155 * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
158 2006-04-17 Tom Tromey <tromey@redhat.com>
161 * testsuite/libjava.lang/pr27171.java: New file.
162 * testsuite/libjava.lang/pr27171.out: New file.
163 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
164 true if we've seen a high surrogate.
165 (write): Handle high surrogates at the end of the stream.
166 Properly emit isolated low surrogates.
168 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
170 * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
173 2006-04-13 Tom Tromey <tromey@redhat.com>
176 * Makefile.in: Rebuilt.
177 * Makefile.am (libsubdir): New variable.
179 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
182 * configure.ac: Link against -lpthread rather than -lc_r on
184 * configure: Regenerate.
186 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
188 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
189 of package-private field "loadedClasses" using reflection.
190 * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
193 2006-04-10 Matthias Klose <doko@debian.org>
195 * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
196 directory names containing underscores.
198 2006-04-10 Andrew Haley <aph@redhat.com>
200 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
201 (SIGNAL_HANDLER): Mark arg as unused.
202 * configure.host (x86_64-* DIVIDESPEC): Use
203 fno-use-divide-subroutine.
205 2006-04-07 Andrew Haley <aph@redhat.com>
207 * java/net/InetAddress.java: Throw an UnknownHostException if
210 2006-04-05 Tom Tromey <tromey@redhat.com>
213 * Makefile.in: Rebuilt.
214 * Makefile.am (libgcj-$(gcc_version).jar): Depend on
215 classpath/lib/compile-classes.
217 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
219 * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
220 MinGW since EBP is used for backtracking through call frames on this
223 2006-04-05 Archit Shah <ashah@redhat.com>
226 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
227 Add classpath argument.
228 * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
230 * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
231 * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
232 * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
233 * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
234 mkdirs for destination directory, correct handling of superclasses
235 and interfaces of the remote class, correct handling of exceptions
236 declared by remote methods.
238 2006-04-04 Tom Tromey <tromey@redhat.com>
241 * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
242 * gnu/java/lang/natMainThread.cc (call_main): Use
243 exitNoChecksAccessor.
244 * testsuite/libjava.lang/pr26990.out: New file.
245 * testsuite/libjava.lang/pr26990.java: New file.
246 * java/lang/Runtime.java (exitNoChecks): New method.
247 (exitNoChecksAccessor): Likewise.
248 (exit): Call exitNoChecks.
250 2006-04-03 Tom Tromey <tromey@redhat.com>
252 * Makefile.in: Rebuilt.
253 * Makefile.am (ZIP): Removed.
254 (libgcj-$(gcc_version).jar): Use $(JAR).
256 * configure: Rebuilt.
257 * configure.ac: Check for jar. Removed code to set ZIP.
259 2006-04-03 Andrew Haley <aph@redhat.com>
261 * testsuite/libjava.lang/Float_2.java: New file.
263 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
265 * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
267 2006-03-30 Tom Tromey <tromey@redhat.com>
270 * testsuite/libjava.compile/pr26042.java: New file.
272 2006-03-29 Tom Tromey <tromey@redhat.com>
274 * sources.am, Makefile.in: Rebuilt.
275 * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
277 2006-03-29 Tom Tromey <tromey@redhat.com>
280 * testsuite/libjava.lang/pr26390.out: New file.
281 * testsuite/libjava.lang/pr26390.java: New file.
282 * sources.am, Makefile.in: Rebuilt.
283 * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
285 2006-03-29 Tom Tromey <tromey@redhat.com>
287 * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
290 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
292 * scripts/unicode-muncher.pl: Removed this file.
293 * scripts/MakeCharTables.java: Likewise.
294 * scripts/unicode-to-chartables.pl: New file.
295 * java/lang/natCharacter.cc:
296 (UNASSIGNED_TYPE): New field.
297 (UNASSIGNED_DIGIT): Likewise.
298 (UNASSIGNED_DIRECTION): Likewise.
299 (UNASSIGNED_NUMERIC_VALUE): Likewise.
300 (PRIVATE_TYPE): Likewise.
301 (PRIVATE_DIRECTION): Likewise.
302 (readCodePoint): New method.
303 (getType(jint)): Likewise.
304 (toLowerCase(jint)): Likewise.
305 (toUpperCase(jint)): Likewise.
306 (toTitleCase(jint)): Likewise.
307 (digit(jint, jint)): Likewise.
308 (getNumericValue(jint)): Likewise.
309 (getDirectionality(jint)): Likewise.
312 (toLowerCase(jchar)),
313 (toUpperCase(jchar)),
314 (toTitleCase(jchar)),
315 (digit(jchar, jint)),
316 (getNumericValue(jchar)),
317 (getDirectionality(jchar)): Changed references from data to data[0],
318 blocks to blocks[0], direction to direction[0], numValue to
319 numValue[0], upper to upper[0], lower to lower[0], and shift to
320 shift[0] to reflect the new structures in java-chartables.h.
321 * java/lang/Character.java:
322 (readCodePoint): Declared new native method.
323 (getType(int)): Likewise.
324 (toLowerCase(int)): Likewise.
325 (toUpperCase(int)): Likewise.
326 (toTitleCase(int)): Likewise.
327 (digit(int, int)): Likewise.
328 (getNumericValue(int)): Likewise.
329 (getDirectionality(int)): Likewise.
330 (isLowerCase(int)): New method.
331 (isUpperCase(int)): Likewise.
332 (itTitleCase(int)): Likewise.
333 (isDigit(int)): Likewise.
334 (isDefined(int)): Likewise.
335 (isLetter(int)): Likewise.
336 (isLetterOrDigit(int)): Likewise.
337 (isJavaIdentifierStart(int)): Likewise.
338 (isJavaIdentifierPart(int)): Likewise.
339 (isUnicodeIdentifierStart(int)): Likewise.
340 (isUnicodeIdentifierPart(int)): Likewise.
341 (isIdentifierIgnorable(int)): Likewise.
342 (isSpaceChar(int)): Likewise.
343 (isWhitespace(int)): Likewise.
344 (isISOControl(int)): Likewise.
345 (isMirrored(int)): Likewise.
346 * include/java-chartables.h: Generated from
347 scripts/unicode-to-chartables.h.
349 2006-03-24 David Daney <ddaney@avtrex.com)
351 * testsuite/libjava.lang/PR26858.java: New test.
352 * testsuite/libjava.lang/PR26858.out: Ditto.
353 * testsuite/libjava.lang/PR26858.xfail: Ditto.
355 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
357 * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
360 2006-03-15 Tom Tromey <tromey@redhat.com>
362 * testsuite/libjava.jacks/jacks.xfail: Removed
363 13.1-runtime-method-5.
365 2006-03-15 Tom Tromey <tromey@redhat.com>
368 * link.cc (get_interfaces): Skip <clinit>.
369 (append_partial_itable): Likewise.
371 2006-03-10 Tom Tromey <tromey@redhat.com>
374 * java/util/zip/Deflater.java (flush): New method.
375 * sources.am, Makefile.in: Rebuilt.
376 * java/util/zip/DeflaterOutputStream.java: Removed.
377 * java/util/zip/InflaterInputStream.java: Likewise.
378 * java/util/zip/GZIPInputStream.java: Likewise.
379 * java/util/zip/GZIPOutputStream.java: Likewise.
381 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
383 * include/powerpc-signal.h: Fix typo in comment.
385 2006-03-09 Mark Wielaard <mark@klomp.org>
387 Imported GNU Classpath 0.90
388 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
389 * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
390 * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
391 * java/lang/Math.java: New override file.
392 * java/lang/Character.java: Merged from Classpath.
393 (start, end): Now 'int's.
394 (canonicalName): New field.
395 (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
396 (UnicodeBlock): Added argument.
398 (forName): New method.
399 Updated unicode blocks.
401 * sources.am: Regenerated.
402 * Makefile.in: Likewise.
404 2006-03-09 Tom Tromey <tromey@redhat.com>
407 * java/lang/natString.cc (_Jv_NewString): Use memcpy.
408 (equals): Use memcmp.
409 (contentEquals): Likewise.
410 (getChars): Use memcpy.
411 (toCharArray): Likewise.
412 (regionMatches): Use memcmp.
413 (regionMatches): Likewise.
414 (startsWith): Likewise.
415 (concat): Use memcpy.
418 2006-03-09 Tom Tromey <tromey@redhat.com>
420 * configure: Rebuilt.
421 * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
424 2006-03-09 Tom Tromey <tromey@redhat.com>
427 * java/util/zip/InflaterInputStream.java (fill): Throw exception
428 if stream is truncated.
430 2006-03-09 Tom Tromey <tromey@redhat.com>
432 * win32.cc (_Jv_platform_nanotime): New function.
433 * include/win32.h (_Jv_platform_nanotime): Declare.
434 * posix.cc (_Jv_platform_nanotime): New function.
435 * include/posix.h (_Jv_platform_nanotime): Declare.
436 * java/lang/natSystem.cc (nanoTime): New method.
437 * java/lang/System.java (nanoTime): Declare.
438 * include/config.h.in, configure: Rebuilt.
439 * configure.ac: Check for clock_gettime.
441 2006-03-08 David Daney <ddaney@avtrex.com>
443 * configure.ac (LD): Add AC_CHECK_TOOL for ld.
444 (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
445 (LD_FINISH_STATIC_SPEC): Ditto
446 * configure: Regenerated.
447 * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
448 LD_FINISH_STATIC_SPEC.
450 2006-03-07 Tom Tromey <tromey@redhat.com>
453 * java/lang/ClassLoader.java (loadClass): Don't throw
454 StringIndexOutOfBoundsException if name is empty.
455 * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
458 2006-03-07 David Daney <ddaney@avtrex.com>
460 * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
462 2006-03-07 David Daney <ddaney@avtrex.com>
464 * link.cc: Include ffi.h if USE_LIBFFI defined.
466 2006-03-03 Tom Tromey <tromey@redhat.com>
468 * interpret.cc (do_allocate_static_fields): Added comment.
470 2006-03-01 Tom Tromey <tromey@redhat.com>
473 * testsuite/libjava.lang/pr24321.java: New file.
474 * testsuite/libjava.lang/pr24321.out: New file.
475 * java/lang/natClass.cc (isInstance): Don't initialize class.
476 (isAssignableFrom): Likewise.
478 2006-02-27 Jakub Jelinek <jakub@redhat.com>
481 * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
483 * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
484 (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
486 * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
488 * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
491 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
493 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
494 before returning, handle null clip.
495 (getClipBounds): Handle null clip.
496 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
497 * gnu/awt/xlib/XCanvasPeer.java ():
498 (getLocationOnScreen): Implement.
499 * classpath/gnu/java/awt/peer/GLightweightPeer.java
500 (repaint): Merged with Classpath.
501 * classpath/java/awt/Graphics.java (hitClip): Merged with
504 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
506 * link.cc: Added variant of create_error_method that
507 will not complain about unused parameter if compiled with
508 USE_LIBFFI not being defined.
509 (_Jv_Linker::find_field_helper): Fixed indentation.
510 (_Jv_Linker::create_error_method): Fixed indentation.
511 (_Jv_Linker::link_symbol_table): Fixed indentation.
513 2006-02-16 Andrew Haley <aph@redhat.com>
515 * stacktrace.cc (GetStackTraceElements): Call
516 gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
517 non-Java frames should be removed from a printed stack trace.
518 Pass methodName to getLineNumberForFrame().
519 (getLineNumberForFrame): Set method_name from info.dli_sname.
520 * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
521 (remove_unknown): New variable.
522 * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
525 2006-02-15 Matthias Klose <doko@debian.org>
527 * gnu/java/nio/charset, gnu/java/net/protocol/file,
528 gnu/regexp: Remove empty directories.
530 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
532 * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
533 'itable' inline, instead of as a pointer.
534 (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
535 * link.cc (null_idt): Update definition.
536 (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
537 as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
538 (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
539 (_Jv_Linker::find_iindex): Likewise. Update comment.
540 * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
541 _Jv_IDispatchTable change.
542 (_Jv_IsAssignableFrom): Likewise.
544 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
547 * gnu/gcj/io/natSimpleSHSStream.cc
548 (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
549 * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
551 * boehm.cc: #undef some autoconf macros before including gc-config.h.
552 (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
553 (_Jv_MarkArray): Likewise.
554 * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
555 Simplify _Jv_GCRegisterDisappearingLink() call.
556 * java/lang/Class.h (getComponentType): Use element_type.
557 (element_type): New field declaration, as a union with "methods".
558 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
559 * java/net/natVMNetworkInterfacePosix.cc
560 (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
561 avoid sign comparison warning.
562 * include/java-interp.h (_Jv_InterpFrame): Take thread as second
563 argument, not parent call frame.
564 * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
566 (restore_rt): Declare with hidden visibility, not "static".
567 * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
569 * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
572 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
575 * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
577 * verify.cc (verify_fail): Likewise.
578 * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
579 * interpret.cc (throw_internal_error, throw_class_format_error):
581 * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
582 _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
583 * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
584 * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
585 * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
586 is_attribute_name): Likewise.
587 * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
588 _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
590 2006-02-08 Tom Tromey <tromey@redhat.com>
592 PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
593 * defineclass.cc (parse): Use _Jv_AllocRawObj.
594 (read_constpool): Likewise.
595 (read_one_code_attribute): Use internal function name.
596 (handleConstantPool): Use _Jv_AllocRawObj.
597 (handleInterfacesBegin): Likewise.
598 (handleFieldsBegin): Likewise.
599 (handleMethodsBegin): Likewise.
600 (handleCodeAttribute): Likewise.
601 (handleMethodsEnd): Likewise.
602 * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
603 * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
604 Allocate reference fields separately.
605 * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
606 (add_miranda_methods): Likewise.
607 (generate_itable): Use _Jv_AllocBytes.
608 (find_iindex): Likewise.
609 (struct method_closure): New structure.
610 (create_error_method): Use struct method_closure; allocate with
612 (ensure_fields_laid_out): Separate reference fields from
613 non-reference fields.
614 * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
616 (_Jv_MarkArray): Mark vtable.
617 (_Jv_AllocRawObj): Don't allocate objects of size 0.
618 * include/execution.h
619 (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
621 (struct _Jv_CompiledEngine): Updated.
622 (class _Jv_InterpreterEngine): Updated.
624 2006-02-08 Tom Tromey <tromey@redhat.com>
627 * gcj/javaprims.h: Updated.
628 * sources.am, Makefile.in: Rebuilt.
629 * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
630 (doubleToRawLongBits): Likewise.
631 (longBitsToDouble): Likewise.
632 (toString): Likewise.
633 (parseDouble): Likewise.
634 * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
635 (floatToRawIntBits): Likewise.
636 (intBitsToFloat): Likewise.
637 * java/lang/VMDouble.java: New file.
638 * java/lang/VMFloat.java: New file.
639 * java/lang/Float.java, java/lang/Double.java: Removed.
641 2006-02-06 Tom Tromey <tromey@redhat.com>
643 * gij.cc (version): Use 2006.
644 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
645 * gnu/gcj/convert/Convert.java (version): Use 2006.
646 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
648 2006-02-04 Tom Tromey <tromey@redhat.com>
651 * testsuite/libjava.lang/pr25676.out: New file.
652 * testsuite/libjava.lang/pr25676.java: New file.
654 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
656 * Makefile.am (src.zip): Update src.zip file search to look in
658 * Makefile.in: Regenerate.
660 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
663 (_Jv_Linker::create_error_method): Added missing (void *) cast.
665 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
668 (_Jv_Linker::create_error_method): New method declaration.
670 (_Jv_Linker::create_error_method): New method.
671 (_Jv_Linker::link_symbol_table): Use new method above.
673 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
676 (_Jv_Linker::find_field_helper): Added checks.
677 (_Jv_Linker::find_field): Use exception swallowing class resolution
678 and added early return.
679 (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
680 (_Jv_Linker::link_symbol_table): Use exception swallowing class
681 resolution, added ffi_closure installation routine, use
682 _Jv_ThrowNoClassDefFoundError for missing static method.
683 (_Jv_Linker::ensure_class_linked): Added string check which does
684 not trigger class resolution.
685 * java/lang/natClassLoader.cc:
686 (_Jv_FindClassNoException): New method.
688 (_Jv_FindClassNoException): New method declaration.
690 (_Jv_FindClassNoException): New method declaration.
691 (_Jv_FindClassFromSignatureNoException): New method declaration.
693 (_Jv_FindClassFromSignatureNoException): New method.
695 (_Jv_equalsUtf8Classname): New method declaration.
696 (_Jv_isPrimitiveOrDerived): Dito.
698 (_Jv_equalsUtf8Classnames): New method.
699 (_Jv_isPrimitiveOrDerived): New method.
701 (ref_intersection::equals): Use new classname comparison method.
702 (type::compatible): Use new classname comparison method. Added
703 check whether LHS' type is java.lang.Object .
704 (type::resolve): Added new optional debug message and simplified
706 (type::to_array): Added codepath that generates an array type
707 without resolving the element type.
709 2006-01-31 Mark Wielaard <mark@klomp.org>
711 * NEWS: Add 4.1 updates.
713 2006-01-30 Keith Seitz <keiths@redhat.com>
715 * include/java-interp.h (insn_index): New declaration.
716 (num_insn_slots): New private variable.
717 (get_line_table): New declaration.
718 * interpret.cc (insn_index): New function.
719 (get_line_table): New function.
721 2006-01-24 Archit Shah <ashah@redhat.com>
722 Tom Tromey <tromey@redhat.com>
724 * prims.cc (next_property_value): Never return NULL.
725 (process_gcj_properties): Copy 'props' before using it.
727 2006-01-23 Keith Seitz <keiths@redhat.com>
729 * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
730 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
732 2006-01-23 David Daney <ddaney@avtrex.com>
734 * configure.host (disable_dladdr): Remove variable and its
736 * configure.ac: Do not test for disable_dladdr.
737 * configure: Regenerate.
738 * include/config.h.in: Regenerate.
740 2006-01-18 Tom Tromey <tromey@redhat.com>
742 * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
745 2006-01-18 Keith Seitz <keiths@redhat.com>
747 * include/java-interp.h (_Jv_CompileMethod): Add declaration.
748 (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
749 * interpret.cc (_Jv_CompileMethod): New function.
750 (run): Massage code to allow for NULL args.
751 Update comments to explain NULL args.
752 Return if compiling the method and args is NULL.
754 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
757 * include/x86_64-signal.h (RESTORE2): Add ".text\n".
759 2006-01-17 Tom Tromey <tromey@redhat.com>
762 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
763 (JarURLLoader): Likewise.
764 (addURLImpl): Canonicalize file URLs.
766 2006-01-16 Mark Wielaard <mark@klomp.org>
768 Imported GNU Classpath 0.20
769 * Makefile.am (AM_CPPFLAGS): Add classpath/include.
770 * java/nio/charset/spi/CharsetProvider.java: New override file.
771 * java/security/Security.java: Likewise.
772 * sources.am: Regenerated.
773 * Makefile.in: Likewise.
775 2006-01-17 Jakub Jelinek <jakub@redhat.com>
777 * configure.ac (dbexecdir): New substituted var.
778 * configure: Rebuilt.
779 * Makefile.am (dbexecdir): Remove.
780 * Makefile.in: Rebuilt.
782 2006-01-13 Tom Tromey <tromey@redhat.com>
784 * gnu/regexp/MessagesBundle_fr.properties: Removed.
785 * gnu/regexp/MessagesBundle.properties: Removed.
787 2006-01-13 Tom Tromey <tromey@redhat.com>
789 * java/security/classpath.security: Removed.
790 * Makefile.in: Rebuilt.
791 * Makefile.am (install-data-local): Don't install
794 2006-01-08 Chris Burdess <dog@gnu.org>
796 * java/lang/Character.java (toChars,toCodePoint): Correct these
797 methods to use algorithms from Unicode specification.
799 2006-01-08 Tom Tromey <tromey@redhat.com>
801 * java/lang/StringBuilder.java (appendCodePoint): New method.
802 (insert): New overloads.
803 * java/lang/StringBuffer.java (StringBuffer): New constructor.
804 (charAt): Remerged javadoc.
805 (codePointAt, codePointBefore): New methods.
806 (appendCodePoint): New method.
807 (append): New overloads.
809 (trimToSize, codePointCount, offsetByCodePoints): New methods.
810 * java/lang/Float.java (SIZE): New field.
811 (valueOf): New method.
812 * java/lang/natDouble.cc (initIDs): Removed.
813 * java/lang/Double.java (static initializer): Removed.
815 (valueOf): New method.
818 2006-01-07 Jakub Jelinek <jakub@redhat.com>
821 * shlibpath.m4: Replace $SED with sed.
822 * configure: Rebuilt.
824 2006-01-06 Tom Tromey <tromey@redhat.com>
826 * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
827 MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
828 (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
829 MAX_LOW_SURROGATE): Javadoc fixes.
830 (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
831 isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
832 methods from Classpath.
833 * java/lang/String.java (codePointAt, codePointBefore,
834 codePointCount, contains, replace): New methods from Classpath.
835 (contentEquals): Declare.
836 * java/lang/natString.cc (contentEquals): New method.
838 2005-12-26 Anthony Green <green@redhat.com>
840 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
841 of data to read (dst.remaining()).
842 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
844 2005-11-11 Mark Wielaard <mark@klomp.org>
846 Reported by john.zigman@anu.edu.au as bug #24608.
847 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
848 destination ByteBuffer when it doesn't have an array instead of len
851 2006-01-05 Tom Tromey <tromey@redhat.com>
853 * java/lang/natThread.cc (finish_): Don't clear 'group'.
854 * sources.am, Makefile.in: Rebuilt.
855 * java/lang/Runtime.java (exit): Merged with Classpath.
856 (runShutdownHooks): New method from Classpath.
857 * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
859 * gnu/gcj/runtime/FileDeleter.java: Removed.
860 * java/lang/natRuntime.cc (runFinalizationForExit): New method.
861 (exitInternal): Don't run finalizers or delete files.
863 2006-01-05 Tom Tromey <tromey@redhat.com>
865 * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
867 2006-01-04 Krister Walfridsson <cato@df.lth.se>
869 * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
871 2006-01-04 Tom Tromey <tromey@redhat.com>
873 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
874 * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
875 Changed argument type. Use SystemClassLoader.addClass.
876 * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
878 2005-12-24 David Daney <ddaney@avtrex.com>
879 Tom Tromey <tromey@redhat.com>
881 PR libgcj/9715, PR libgcj/19132:
882 * java/nio/charset/Charset.java (charsetForName): Try default
884 (availableCharsets): Re-merged.
885 (providers2): Likewise.
886 (defaultCharset): Likewise.
887 * sources.am, Makefile.in: Rebuilt.
888 * gnu/java/nio/charset/Provider.java: Removed.
889 * java/io/OutputStreamWriter.java
890 (OutputStreamWriter(OutputStream,Charset)): New constructor.
891 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
892 * java/io/InputStreamReader.java
893 (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
894 (InputStreamReader(InputStream,Charset)): Likewise.
895 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
896 BytesToCharsetAdaptor.
897 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
898 CharsetToBytesAdaptor.
899 * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
900 * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
901 * mauve-libgcj: Remove getEncoding exclusion.
903 2005-12-28 Anthony Green <green@redhat.com>
905 * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
906 as previous patch, but for win32.
908 2005-12-28 Anthony Green <green@redhat.com>
910 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
911 address and port before attempting anything.
913 2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
915 * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
918 2005-12-22 Andrew Haley <aph@redhat.com>
921 * testsuite/libjava.lang/PR25535.java: New test.
923 2005-12-22 Tom Tromey <tromey@redhat.com>
925 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
926 reference NUM_OBJECT_METHODS.
927 * include/jvm.h (NUM_OBJECT_METHODS): Removed.
929 2005-12-18 Anthony Green <green@redhat.com>
931 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
933 (setOption): Use getLocalAddress. Don't downcast value to
935 (getOption): Use getLocalAddress.
937 2005-12-16 Tom Tromey <tromey@redhat.com>
939 * java/lang/Class.java (getPackage): Get package from
940 VMClassLoader if needed.
942 2005-12-16 Tom Tromey <tromey@redhat.com>
944 * testsuite/libjava.jacks/jacks.xfail
945 (8.5.2-accessible-static-member-usage-3): Removed.
947 2005-12-15 Tom Tromey <tromey@redhat.com>
949 * testsuite/libjava.compile/rh175833.java: New file.
950 * testsuite/libjava.compile/pr25429.java: New file.
952 2005-12-15 Alan Modra <amodra@bigpond.net.au>
954 * testsuite/lib/libjava.exp: Revert 2005-12-01.
955 * testsuite/libjava.lang/Array_3.xfail: Delete.
957 2005-12-14 Andrew Haley <aph@redhat.com>
959 * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
960 handle stdout from the child process.
962 2005-12-14 Tom Tromey <tromey@redhat.com>
965 * java/io/File.java (File): Throw IllegalArgumentException if URI is
968 2005-12-12 Andrew Haley <aph@redhat.com>
970 * java/lang/VMCompiler.java: Directly generate a new instance of
971 gnu.java.security.provider.MD5.
973 2005-12-08 Andrew Haley <aph@redhat.com>
976 * java/lang/Object.h (throwNoSuchMethodError): New method.
977 * java/lang/Object.java (throwNoSuchMethodError): New method.
978 * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
979 * link.cc (_Jv_ThrowNoSuchFieldError): New.
980 (link_symbol_table): Don't throw a NoSuchFieldError if a field is
981 missing. Instead, set the otable entry to zero.
982 (link_symbol_table): If we don't find a nonstatic method, insert
983 the vtable offset of Object.throwNoSuchMethodError() into the
986 2005-12-05 Tom Tromey <tromey@redhat.com>
988 * testsuite/libjava.compile/rh174912.java: New file.
990 2005-12-01 Geoffrey Keating <geoffk@apple.com>
992 * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
994 * testsuite/libjava.lang/Array_3.xfail: New file.
996 2005-12-01 Alan Modra <amodra@bigpond.net.au>
998 * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
999 to compare _Jv_InterpMethod::run against current func.
1001 2005-11-30 Andrew Haley <aph@redhat.com>
1003 * classpath/lib/Makefile.am (resources): Use `cp -p'.
1004 Remove `@' from start of line.
1006 2005-11-28 Tom Tromey <tromey@redhat.com>
1009 * testsuite/libjava.jni/pr18278.out: New file.
1010 * testsuite/libjava.jni/pr18278.c: New file.
1011 * testsuite/libjava.jni/pr18278.java: New file.
1012 * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1013 * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1014 (call): Unwrap return value if needed.
1016 2005-11-25 Mark Wielaard <mark@klomp.org>
1018 * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1020 * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1021 gnu/javax/rmi to bc.
1022 * gnu/CORBA/ObjectCreator.java: New override file for missing
1023 VMStackWalker issue.
1024 * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1025 * gnu/CORBA/DynAn/RecordAny.java: Likewise
1026 * sources.am: Regenerated.
1027 * Makefile.in: Regenerated
1029 2005-11-25 Andrew Haley <aph@redhat.com>
1032 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1033 struct timespec we pass to pthread_cond_timedwait.
1035 2005-11-25 Ranjit Mathew <rmathew@gcc.gnu.org>
1037 * testsuite/libjava.jacks/jacks.xfail: Remove
1038 non-jls-argument-expansion-13 and add
1039 non-jls-argument-expansion-error-1 in response to the @file support
1040 patch in the main GCC driver.
1042 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
1044 * sysdep/ia64-frame.h: Removed.
1045 * sysdep/ia64.c: Removed.
1046 * sysdep/dwarf2-backtrace.cc: Removed.
1047 * configure.ac: Remove references to HAVE_BACKTRACE and
1049 * Makefile.am: Remove SUPPLY_BACKTRACE support.
1050 * configure: Rebuilt.
1051 * Makefile.in: Rebuilt.
1053 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
1055 * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1057 2005-11-17 Mark Wielaard <mark@klomp.org>
1059 Imported GNU Classpath gcj-import-20051117.
1060 * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1061 * sources.am: Regenerated.
1062 * Makefile.in: Likewise.
1064 2005-11-17 Mark Wielaard <mark@klomp.org>
1066 * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1067 * java/net/ServerSocket.java: Likewise.
1068 * sources.am: Regenerated.
1069 * Makefile.in: Regenerated.
1071 2005-11-17 Mark Wielaard <mark@klomp.org>
1074 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1076 2005-11-17 Tom Tromey <tromey@redhat.com>
1078 * java/net/ServerSocket.java (accept): Use correct security manager
1081 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
1083 * java/net/ServerSocket.java
1086 (bind): Cache local socket address.
1087 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1088 Use cached local socket address.
1089 (close): bound field was removed.
1091 2005-11-17 Tom Tromey <tromey@redhat.com>
1093 * java/net/URLConnection.java (setDoInput): Javadoc fix.
1094 (setDoOutput): Likewise.
1095 (setContentHandlerFactory): Likewise.
1096 (setFileNameMap): Likewise.
1098 2005-11-17 Mark Wielaard <mark@klomp.org>
1100 * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1102 2005-11-17 Mark Wielaard <mark@klomp.org>
1104 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1105 call urls.add() and addURLImpl() directly on each URL.
1107 2005-11-17 Tom Tromey <tromey@redhat.com>
1109 * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1111 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
1113 * java/net/URLClassLoader.java
1114 (Resource.name): Removed field.
1115 (JarURLResource.name): Added field.
1116 (FileResource.getURL): Use File.toURL() instead of doing it in
1117 a way that breaks on Windows.
1119 2005-11-17 Roman Kennke <roman@kennke.org>
1121 Reported by: Ingo Proetel <proetel@aicas.com>
1122 * java/net/URLClassLoader.java
1123 (findClass): Added null check to avoid NullPointerException.
1125 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
1127 * java/net/URLClassLoader.java: reordered some API doc comments to
1128 suppress Eclipse warnings, and fixed API doc link.
1130 2005-11-17 Tom Tromey <tromey@redhat.com>
1132 * java/net/URLClassLoader.java (URLClassLoader): Removed
1135 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
1137 * java/net/URLClassLoader (findClass): Close InputStream after we're
1140 2005-11-17 Bryce McKinlay <mckinlay@redhat.com>
1143 * include/jvm.h (gcj::stack_size): Declare.
1144 (_Jv_StackSize): Declare.
1145 * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1146 (_Jv_ThreadStart): Set stack size if specified.
1147 * prims.cc (gcj::stack_size): Define.
1148 (parse_memory_size): Renamed from parse_heap_size.
1149 (_Jv_SetStackSize): Parse stack size argument and set
1152 2005-11-17 Mark Wielaard <mark@klomp.org>
1154 * java/text/SimpleDateFormat.java: Removed, fully merged now.
1155 * sources.am: Regenerated.
1156 * Makefile.in: Regenerated.
1158 2005-11-17 Sven de Marothy <sven@physto.se>
1160 * java/text/SimpleDateFormat.java
1161 (computeOffset): Allow timezone to be first in the parsed String.
1163 2005-11-17 Mark Wielaard <mark@klomp.org>
1165 * java/text/SimpleDateFormat.java (field, size): Make package private.
1167 2005-11-17 Tom Tromey <tromey@redhat.com>
1169 * java/text/SimpleDateFormat.java (compileFormat): Correctly
1170 handle quoted single quotes. PR classspath/23183.
1172 2005-11-17 Tom Tromey <tromey@redhat.com>
1174 * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1176 2005-11-17 Tom Tromey <tromey@redhat.com>
1178 * java/text/DateFormat.java (serialVersionUID): New field.
1180 2005-11-17 Mark Wielaard <mark@klomp.org>
1182 * java/text/DateFormat.java (equals): Reimplement.
1184 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
1186 * java/text/Collator.java: API doc fixes,
1187 * java/text/DateFormat.java: likewise,
1188 * java/text/DecimalFormatSymbols.java: likewise,
1189 * java/text/DateFormatSymbols.java: likewise,
1190 * java/text/SimpleDateFormat.java: likewise.
1192 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
1194 * java/text/Collator.java (getInstance(Locale)):
1195 Added default collation pattern to handle case when resource
1196 is missing and throw InternalError instead of returning null
1197 should parsing fail.
1199 2005-11-15 Mark Wielaard <mark@klomp.org>
1201 * java/util/zip/ZipEntry.java: Removed, fully merged now.
1202 * java/util/zip/ZipFile.java: Likewise.
1203 * sources.am: Regenerated.
1204 * Makefile.in: Regenerated.
1206 2005-11-15 Tom Tromey <tromey@redhat.com>
1209 * java/util/Calendar.java (equals): Include other calendar
1211 (hashCode): Updated.
1212 * java/util/GregorianCalendar.java (hashCode): New method.
1213 (equals): Use super.equals().
1215 2005-11-15 Sven de Marothy <sven@physto.se>
1217 * java/util/Calendar (setTimeInMillis): Recompute time fields.
1219 2005-11-15 Mark Wielaard <mark@klomp.org>
1221 * java/util/SimpleTimeZone.java: Removed, fully merged now.
1222 * java/util/Date.java: Likewise.
1223 * sources.am: Regenerated.
1224 * Makefile.in: Regenerated.
1226 2005-11-15 David Gilbert <david.gilbert@object-refinery.com>
1228 * java/util/Calendar.java: fixed minor problems in API docs,
1229 * java/util/Date.java: likewise,
1230 * java/util/ResourceBundle.java: likewise,
1231 * java/util/SimpleTimeZone.java: likewise,
1233 2005-11-15 Jeroen Frijters <jeroen@frijters.net>
1235 * java/io/ObjectInputStream.java
1236 (parseContent): Removed bogus println and fixed bug #24422.
1238 2005-11-15 Mark Wielaard <mark@klomp.org>
1240 * java/io/ObjectStreamClass.java: Removed, fully merged now.
1241 * sources.am: Regenerated.
1242 * Makefile.in: Regenerated.
1244 2005-11-15 Wolfgang Baer <WBaer@gmx.de>
1246 * java/io/ObjectInputStream.java
1247 (processResolution): Pass Error, RuntimeException and
1248 ObjectStreamException through to the caller.
1249 (readObject): Documentation update.
1251 2005-11-15 Mark Wielaard <mark@klomp.org>
1253 Imported GNU Classpath 0.19 + gcj-import-20051115.
1254 * sources.am: Regenerated.
1255 * Makefile.in: Likewise.
1256 * scripts/makemake.tcl: Use glob -nocomplain.
1258 2005-11-15 Scott Gilbertson <scottg@mantatest.com>
1260 * Makefile.in: Re-generated.
1261 * gnu/awt/xlib/XGraphicsDevice.java: New file.
1262 * gnu/awt/xlib/XToolkit.java
1263 (getLocalGraphicsEnvironment): Implemented.
1264 * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1265 * sources.am: Re-generated.
1267 2005-15-09 David Daney <ddaney@avtrex.com>
1270 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1273 (close): Call shutdown before closing.
1274 (read()): Call read_helper with proper parameters.
1275 (read(buffer, int, int)): Likewise.
1276 (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd
1277 and timeout parameters. Make prototype to match. Use
1278 pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1281 2005-11-15 Andrew Haley <aph@redhat.com>
1283 * Merge from Classpath head:
1285 2005-09-16 Andrew Haley <aph@redhat.com>
1287 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1288 protected readResolve(). Rewrite accessibility check.
1290 2005-07-07 Jeroen Frijters <jeroen@frijters.net>
1292 * java/io/ObjectStreamClass.java
1293 (findAccessibleMethod): Added code to make method accessible.
1295 2005-07-03 Daniel Bonniot <bonniot@users.sf.net>
1297 * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1298 (findAccessibleMethod): Likewise.
1299 (cacheMethods): Lookup readResolve and writeReplace using the new
1300 findAccessibleMethod().
1302 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
1304 * java/net/natVMNetworkInterfaceWin32.cc: Include
1305 java/net/VMNetworkInterface.h.
1307 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
1308 David Daney <ddaney@avtrex.com>
1310 * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1311 (read): Handle count == 0 case.
1313 2005-11-09 Tom Tromey <tromey@redhat.com>
1315 * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1318 2005-11-08 Tom Tromey <tromey@redhat.com>
1321 * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1323 2005-11-08 Tom Tromey <tromey@redhat.com>
1325 PR libgcj/23763. From aeby@graeff.com.
1326 * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1329 2005-11-08 Mark Wielaard <mark@klomp.org>
1331 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1333 2005-11-07 David Daney <ddaney@avtrex.com>
1335 * mauve-libgcj: Disable javax.rmi.* and
1336 java.io.InputStreamReader.getEncoding.
1338 2005-11-04 Tom Tromey <tromey@redhat.com>
1340 PR libgcj/14358, libgcj/24552:
1341 * gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add
1342 aliases for 'euc_jp' and 'eucjp'.
1343 * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include
1344 canonical names in output.
1345 (%map): Added UnicodeLittle and UnicodeBig.
1347 2005-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1349 * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1351 2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
1353 * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1356 2005-10-12 Andrew Haley <aph@redhat.com>
1359 * link.cc (ensure_method_table_complete): Install Miranda methods
1362 2005-10-10 Tom Tromey <tromey@redhat.com>
1364 * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1365 * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1368 2005-10-05 Richard Henderson <rth@redhat.com>
1371 * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1372 but not BACKTRACESPEC.
1373 (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
1375 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>
1377 * testsuite/lib/jni.exp (gcj_jni_test_one): For
1378 darwin, use -shared-libgcc not -lgcc_s, and explain why.
1379 (gcj_jni_invocation_test_one): Likewise.
1381 2005-09-30 Tom Tromey <tromey@redhat.com>
1384 * Makefile.in: Rebuilt.
1385 * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1387 (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1388 (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1389 (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1390 (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1391 (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1392 * configure: Rebuilt.
1393 * configure.ac: Pass --enable-qt-peers when qt is requested.
1395 2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
1397 * configure.ac: Fix typo.
1398 * configure: Regenerate.
1400 2005-09-28 Geoffrey Keating <geoffk@apple.com>
1402 * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1403 __LP64__ is defined rather than __powerpc64__.
1404 (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1405 (compare_and_swap_release): Likewise.
1407 2005-09-28 David Daney <ddaney@avtrex.com>
1409 * HACKING: Update instructions for classpath import.
1411 2005-09-27 Tom Tromey <tromey@redhat.com>
1414 * include/jvm.h (_Jv_FreeMethodCache): Declare.
1415 * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1416 (struct _Jv_mcache): Likewise.
1417 (method_cache): Likewise.
1418 (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1419 (_Jv_AddMethodToCache): Likewise.
1420 (_Jv_FreeMethodCache): New function.
1421 * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1422 * aclocal.m4, configure, include/config.h.in: Rebuilt.
1423 * configure.ac: Invoke GCC_CHECK_TLS.
1425 2005-09-27 Tom Tromey <tromey@redhat.com>
1427 * configure, Makefile.in: Rebuilt.
1428 * sources.am: Rebuilt.
1429 * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1430 * configure.ac (TOOLKIT): Handle Qt peers properly.
1432 2005-09-23 Tom Tromey <tromey@redhat.com>
1434 Imported Classpath 0.18.
1435 * sources.am, Makefile.in: Updated.
1436 * Makefile.am (nat_source_files): Removed natProxy.cc.
1437 * java/lang/reflect/natProxy.cc: Removed.
1438 * gnu/classpath/jdwp/VMFrame.java,
1439 gnu/classpath/jdwp/VMIdManager.java,
1440 gnu/classpath/jdwp/VMVirtualMachine.java,
1441 java/lang/reflect/VMProxy.java: New files.
1443 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1445 * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1448 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1450 * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1451 Remove ClasspathToolkit references.
1453 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1455 * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1456 * gnu/awt/xlib/XFramePeer.java: Likewise.
1457 * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1459 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1461 * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
1462 classpath/native/jawt/jawt.c.
1463 * Makefile.in: Regenerate.
1464 * jawt.c: Remove file.
1465 * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1466 jawt_md.h. Add ../classpath/include/jawt.h and
1467 ../classpath/include/jawt_md.h.
1468 * include/Makefile.in: Regenerate.
1469 * include/jawt.h: Regenerate.
1470 * include/jawt_md.h: Regenerate.
1472 2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
1474 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1475 `null' parent ClassLoader to parent constructor.
1476 * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1479 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
1481 * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1483 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
1485 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1486 Use libjava_find_lib to find the proper libgcj.
1488 2005-09-16 Anthony Green <green@redhat.com>
1491 * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1492 resources should all have canonicalized names.
1494 2005-09-15 Tom Tromey <tromey@redhat.com>
1497 * interpret.cc (AVAL1U): Resolve pool entry when not direct
1500 (compile): Handle 'ldc class' specially.
1501 (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1502 * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1503 * defineclass.cc (handleCodeAttribute): Set new field.
1504 (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1505 MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1506 (parse): Check version numbers.
1507 (_Jv_ClassReader::is_15): New field.
1508 (_Jv_ClassReader): Initialize it.
1509 * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1511 2005-09-15 Tom Tromey <tromey@redhat.com>
1513 For PR libgcj/23288:
1514 * java/net/URLClassLoader.java (definePackage): Correctly order
1515 arguments to definePackage. Look up per-entry Attributes.
1516 (getAttributeValue): New method.
1518 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com>
1521 * shlibpath.m4: New file.
1522 * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1524 * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1525 [USE_LTDL]: If it was not defined with -D set java.library.path to
1526 the value of LTDL_SHLIBPATH_VAR.
1528 2005-09-08 Andrew Haley <aph@redhat.com>
1530 * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1532 (toString): Likewise.
1534 2005-09-08 Andrew Haley <aph@redhat.com>
1537 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1538 R/M field in instruction is 100.
1540 2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1543 * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1544 * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1546 * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1548 (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
1549 _Jv_Module_Load_Path.
1551 2005-09-06 Tom Tromey <tromey@redhat.com>
1554 * testsuite/libjava.jni/pr23739.c: New file.
1555 * testsuite/libjava.jni/pr23739.java: New file.
1556 * testsuite/libjava.jni/pr23739.out: New file.
1557 * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1558 * java/lang/reflect/natMethod.cc (invoke): Updated.
1559 * java/lang/natClass.cc (isAssignableFrom): Updated.
1560 (isInstance): Likewise.
1561 (_Jv_IsAssignableFrom): Reversed arguments.
1562 (_Jv_IsInstanceOf): Updated.
1563 (_Jv_CheckCast): Likewise.
1564 (_Jv_CheckArrayStore): Likewise.
1565 (_Jv_IsAssignableFromSlow): Reversed arguments.
1566 (_Jv_InterfaceAssignableFrom): Likewise.
1567 * link.cc (verify_type_assertions): Updated.
1568 * prims.cc (_Jv_CheckAccess): Updated.
1570 2005-09-05 Ranjit Mathew <rmathew@hotmail.com>
1572 Testsuite changes for PR java/23431.
1573 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1575 * testsuite/libjava.compile/PR23431_1.java: New testcase.
1576 * testsuite/libjava.compile/PR23431_2.java: Likewise.
1577 * testsuite/libjava.compile/PR23431_1.xfail: New file.
1578 * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1580 2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1583 * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1584 -disableassertions and -da.
1586 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu>
1588 * configure.ac: Replace "*-*-darwin[0-7].*" with
1589 "*-*-darwin[[0-7]].*"
1590 * configure: Regenerate.
1592 2005-08-24 Andreas Tobler <a.tobler@schweiz.ch>
1594 * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1596 * configure: Regenerate.
1598 2005-08-23 Roman Kennke <roman@kennke.org>
1600 * java/lang/Character.java
1601 (toChars(int)): New JDK1.5 method.
1602 (toChars(int, char[], int)): New JDK1.5 method.
1603 (charCount): New JDK1.5 method.
1604 (isSupplementaryCodePoint): New JDK1.5 method.
1605 (isValidCodePoint): New JDK1.5 method.
1607 2005-08-23 Tom Tromey <tromey@redhat.com>
1609 * aclocal.m4, Makefile.in: Rebuilt.
1610 * Makefile.am (property_files): Added META-INF files.
1611 (propertyo_files): Changed definition.
1612 ($(propertyo_files)): Updated patterns.
1614 2005-08-22 Tom Tromey <tromey@redhat.com>
1617 * configure: Rebuilt.
1618 * configure.ac: Correctly create Configuration.java (for
1621 2005-08-22 Kelley Cook <kcook@gcc.gnu.org>
1623 * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1624 * acinclude.m4: Delete. Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1625 * mingwld.m4: ... this new file.
1626 * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
1627 * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1629 2005-08-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1632 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1633 assignment. Cast operands of compare to function pointer type.
1635 2005-08-21 Tom Tromey <tromey@redhat.com>
1637 * HACKING: Updated for hacking classpath in libgcj.
1639 2005-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1642 * sysdep/pa/descriptor.h: New file.
1643 * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1645 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
1647 * Makefile.am (extra_ldflags_libjava): New variable to
1649 (LIBLINK): Add extra_ldflags_libjava to it.
1650 * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1651 "-Wl,-single_module".
1652 * Makefile.in: Regenerate.
1653 * aclocal.m4: Regenerate.
1654 * configure: Regenerate.
1655 * gcj/Makefile.in: Regenerate.
1656 * include/Makefile.in: Regenerate.
1657 * testsuite/Makefile.in: Regenerate.
1659 2005-08-17 Tom Tromey <tromey@redhat.com>
1661 * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1663 * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1664 * testsuite/libjava.lang/bclink.java: New file.
1665 * testsuite/libjava.lang/bclink.out: New file.
1666 * link.cc (print_class_loaded): Changed ABI test to look at
1667 various _syms fields.
1669 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch>
1671 * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1672 15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1674 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
1676 More testsuite adjustments for PR java/19870.
1677 * testsuite/libjava.lang/PR19870_2.java: New testcase.
1678 * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1680 * testsuite/libjava.jacks/jacks.xfail: Remove
1681 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1683 2005-08-16 Tom Tromey <tromey@redhat.com>
1685 * gnu/xml/xpath/XPathParser.y: Removed.
1687 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
1690 * java/lang/natObject.cc (clone): Clear sync_info.
1692 2005-07-26 Tom Tromey <tromey@redhat.com>
1694 * gnu/java/net/protocol/ftp/package.html,
1695 gnu/javax/swing/text/html/package.html,
1696 gnu/javax/swing/text/html/parser/package.html,
1697 gnu/javax/swing/text/html/parser/models/package.html,
1698 gnu/javax/swing/text/html/parser/support/package.html,
1699 gnu/javax/swing/text/html/parser/support/low/package.html,
1700 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1701 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1702 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1703 java/awt/geom/doc-files/CubicCurve2D-1.png,
1704 java/awt/geom/doc-files/CubicCurve2D-2.png,
1705 java/awt/geom/doc-files/CubicCurve2D-3.png,
1706 java/awt/geom/doc-files/CubicCurve2D-4.png,
1707 java/awt/geom/doc-files/CubicCurve2D-5.png,
1708 java/awt/geom/doc-files/Ellipse-1.png,
1709 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1710 java/awt/geom/doc-files/GeneralPath-1.png,
1711 java/awt/geom/doc-files/QuadCurve2D-1.png,
1712 java/awt/geom/doc-files/QuadCurve2D-2.png,
1713 java/awt/geom/doc-files/QuadCurve2D-3.png,
1714 java/awt/geom/doc-files/QuadCurve2D-4.png,
1715 java/awt/geom/doc-files/QuadCurve2D-5.png,
1716 javax/imageio/package.html, javax/imageio/event/package.html,
1717 javax/imageio/metadata/package.html,
1718 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1719 javax/swing/border/doc-files/BevelBorder-1.png,
1720 javax/swing/border/doc-files/BevelBorder-2.png,
1721 javax/swing/border/doc-files/BevelBorder-3.png,
1722 javax/swing/border/doc-files/EmptyBorder-1.png,
1723 javax/swing/border/doc-files/EtchedBorder-1.png,
1724 javax/swing/border/doc-files/EtchedBorder-2.png,
1725 javax/swing/border/doc-files/LineBorder-1.png,
1726 javax/swing/border/doc-files/MatteBorder-1.png,
1727 javax/swing/border/doc-files/MatteBorder-2.png,
1728 javax/swing/border/doc-files/MatteBorder-3.png,
1729 javax/swing/border/doc-files/MatteBorder-4.png,
1730 javax/swing/border/doc-files/MatteBorder-5.png,
1731 javax/swing/border/doc-files/MatteBorder-6.png,
1732 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1733 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1734 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1735 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1736 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1737 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1738 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1739 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1740 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1741 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1742 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1743 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1744 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1745 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
1746 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1747 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1748 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1749 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1750 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1751 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1752 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
1753 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1754 javax/swing/plaf/doc-files/ComponentUI-1.png,
1755 javax/swing/plaf/doc-files/TreeUI-1.png,
1756 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
1757 javax/xml/parsers/package.html, javax/xml/transform/package.html,
1758 javax/xml/transform/dom/package.html,
1759 javax/xml/transform/sax/package.html,
1760 javax/xml/transform/stream/package.html,
1761 javax/xml/validation/package.html, javax/xml/xpath/package.html:
1764 2005-07-22 Tom Tromey <tromey@redhat.com>
1766 * include/Makefile.in: Rebuilt.
1767 * include/Makefile.am (tool_include__HEADERS): Include
1770 2005-07-20 Tom Tromey <tromey@redhat.com>
1772 * sources.am, Makefile.in: Rebuilt.
1773 * Makefile.am (all_xlib_lo_files): Removed.
1774 (all_libgcj_lo_files): Likewise.
1775 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
1776 (xlib_java_source_files): Removed.
1777 (xlib_nat_headers): Updated.
1778 * configure: Rebuilt.
1779 * configure.ac: Create standard.omit.
1780 * standard.omit.in: New file.
1781 * standard.omit: Removed.
1782 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
1784 (emit_package_rule): Special case xlib peers.
1785 (emit_source_var): Likewise.
1786 Read standard.omit.in.
1787 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
1789 2005-07-18 Tom Tromey <tromey@redhat.com>
1793 2005-07-19 Matthias Klose <doko@debian.org>
1795 * classpath/java/awt/im/InputContext.java (clinit): Initialize
1798 2005-07-18 Tom Tromey <tromey@redhat.com>
1801 * sources.am, Makefile.in: Rebuilt.
1802 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
1804 (emit_source_var): Don't emit patsubst with './'.
1806 2005-07-18 Tom Tromey <tromey@redhat.com>
1808 * Makefile.in: Rebuilt.
1809 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
1811 2005-07-17 Andreas Jaeger <aj@suse.de>
1813 * defineclass.cc (handleClassBegin): Remove unused variable.
1815 2005-07-16 Andreas Schwab <schwab@suse.de>
1817 * scripts/makemake.tcl (emit_package_rule): Emit command to create
1819 * Makefile.am (%.lo): Don't create it here.
1820 * sources.am, Makefile.in: Regenerated.
1822 2005-07-15 Tom Tromey <tromey@redhat.com>
1824 Major merge with Classpath.
1825 Removed many duplicate files.
1826 * HACKING: Updated.x
1827 * classpath: Imported new directory.
1828 * standard.omit: New file.
1829 * Makefile.in, aclocal.m4, configure: Rebuilt.
1830 * sources.am: New file.
1831 * configure.ac: Run Classpath configure script. Moved code around
1832 to support. Disable xlib AWT peers (temporarily).
1833 * Makefile.am (SUBDIRS): Added 'classpath'
1835 (AM_CPPFLAGS): Added more -I options.
1836 (BOOTCLASSPATH): Simplified.
1837 Completely redid how sources are built.
1839 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
1840 * include/jni.h: Removed (in Classpath).
1841 * scripts/classes.pl: Updated to look at built classes.
1842 * scripts/makemake.tcl: New file.
1843 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
1845 (gcj_jni_invocation_compile_c_to_binary): Likewise.
1847 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
1849 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
1850 (eventMask): New field.
1851 (XCanvasPeer(Component)): Use attributes field.
1852 (setBackground): Implemented.
1853 (setEventMask): Process mask only if changed.
1854 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
1855 (eventLoopThread): New field.
1856 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
1857 (interrupt): Removed.
1859 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
1860 and Component events.
1861 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
1863 (configureNotify): Set and clear processingConfigureNotify.
1864 (setBounds): Process only if processingConfigureNotify is false.
1865 (toBack): Implemented.
1866 (toFront): Implemented.
1867 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
1868 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
1870 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
1871 (wakeNativeQueue): Do nothing.
1872 (iterateNativeQueue): Do queue.wait if blocking.
1873 * gnu/gcj/xlib/Font.java (loadFont): New method.
1874 (loadFontImpl): Renamed native method, was loadFont.
1875 * gnu/gcj/xlib/Window.java (toFront): New method.
1876 (toBack): New method.
1877 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
1879 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
1880 (toFront): New method.
1881 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
1883 2005-07-14 Andrew Haley <aph@redhat.com>
1885 * gnu/java/net/protocol/file/Connection.java (unquote): New
1887 (connect): Unquote filename.
1888 gnu/java/net/protocol/jar/Connection.java (getInputStream):
1890 (getJarFile): Likewise.
1892 * java/net/URLConnection.java (getContentHandler): Guard cast with
1895 * java/net/URL.java (URL): If the file part of a spec is absolute,
1896 ignore the file part of its context.
1898 2005-07-14 Aaron Luchko <aluchko@redhat.com>
1900 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
1901 Implemented VirtualMachine Command Set.
1903 2005-07-14 Tom Tromey <tromey@redhat.com>
1905 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
1908 2005-07-12 Aaron Luchko <aluchko@redhat.com>
1910 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
1911 Implemented the Field CommandSet.
1912 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
1913 Implemented the InterfaceType CommandSet.
1915 2005-07-12 Aaron Luchko <aluchko@redhat.com>
1917 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
1918 shutdown to jdwp instead of connection.
1920 2005-07-12 Aaron Luchko <aluchko@redhat.com>
1922 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
1925 2005-07-08 Colin Walters <walters@verbum.org>
1927 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
1928 check for abstract classes or interfaces here; JVM spec
1929 says it should throw an exception, so we'll do so later.
1930 * interpret.cc (run): Throw an InstantiationException for
1931 abstract classes and interfaces.
1933 2005-07-08 Andrew Haley <aph@redhat.com>
1935 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
1936 (regular, non-realtime scheduling), not SCHED_RR (realtime,
1939 2005-07-07 Aaron Luchko <aluchko@redhat.com>
1941 * gnu/classpath/jdwp/util/Signature.java
1942 (computeFieldSignature): New Method.
1944 2005-07-07 Aaron Luchko <aluchko@redhat.com>
1946 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
1949 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
1951 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
1952 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
1954 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
1956 * testsuite/libjava.compile/PR21045.java: New test.
1957 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
1958 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
1960 2005-07-06 Tom Tromey <tromey@redhat.com>
1962 * java/io/InputStreamReader.java (refill): Handle no-progress
1964 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
1966 2005-07-06 Tom Tromey <tromey@redhat.com>
1968 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
1970 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
1972 * testsuite/libjava.compile/PR19674.java: New test.
1974 2005-07-05 Aaron Luchko <aluchko@redhat.com>
1976 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
1979 2005-07-04 Aaron Luchko <aluchko@redhat.com>
1981 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
1982 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
1983 CommandSets to handle JdwpCommandPackets.
1984 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
1987 2005-07-01 Tom Tromey <tromey@redhat.com>
1989 * libtool-version: Updated.
1991 2005-06-30 Aaron Luchko <aluchko@redhat.com>
1993 * gnu/classpath/jdwp/util/JdwpString.java: New file.
1995 2005-06-30 Keith Seitz <keiths@redhat.com>
1997 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
1998 (myWrite): New abstract method.
2000 (myToBytes): Remove.
2001 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2003 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2005 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2006 JdwpPacket.write instead of JdwpPacket.toBytes.
2008 2005-06-30 Keith Seitz <keiths@redhat.com>
2010 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2012 (_bytes): New member.
2013 (_doStream): New member.
2014 (JdwpConnection): Initialize new members.
2016 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
2018 * all files: Update for new FSF address.
2020 2005-06-29 Tom Tromey <tromey@redhat.com>
2023 * testsuite/libjava.lang/pr22211.java: New file.
2024 * java/lang/natThread.cc (finish_): Synchronize when updating
2026 (_Jv_AttachCurrentThread): Likewise.
2027 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2028 * java/lang/Thread.java (isAlive): Now synchronized.
2030 2005-06-29 Tom Tromey <tromey@redhat.com>
2032 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2035 2005-06-28 Robin Green <greenrd@greenrd.org>
2038 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2041 2005-06-27 Tom Tromey <tromey@redhat.com>
2043 PR java/21540, PR java/13788:
2044 * testsuite/libjava.compile/pr21540.java: New file.
2045 * testsuite/libjava.compile/pr13788.java: New file.
2046 * testsuite/libjava.jacks/jacks.xfail: Updated.
2048 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
2050 * testsuite/libjava.mauve/xfails: Updated to reflect current state
2051 of mauve and libjava.
2053 2005-06-24 Tom Tromey <tromey@redhat.com>
2055 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2056 where class' name is NULL.
2057 (_Jv_FindClass): Don't wait for class state.
2058 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2060 * include/java-interp.h (_Jv_DefineClass): Updated.
2061 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2062 (struct _Jv_ClassReader): Likewise.
2063 (found_name): New field.
2064 (handleClassBegin): Set *found_name.
2065 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2066 (handleClassBegin): Throw error if super class not set.
2067 (read_methods): Correctly call check_tag and prepare_pool_entry.
2069 2005-06-24 Tom Tromey <tromey@redhat.com>
2071 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2073 2005-06-24 Tom Tromey <tromey@redhat.com>
2075 * verify.cc (verify_instructions_0): Correctly handle situation
2076 where PC falls off end.
2078 2005-06-24 Tom Tromey <tromey@redhat.com>
2080 * interpret.cc (compile): Handle case where table entry is
2081 outside of PC range.
2083 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
2085 * testsuite/libjava.compile/PR20697.java: New test-case.
2087 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
2089 * Makefile.am (SUBDIRS): Use append for conditional.
2090 (toolexeclib_LTLIBRARIES): Likewise.
2091 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2092 a conditional append.
2093 * Makefile.in: Regenerate.
2095 2005-06-17 Keith Seitz <keiths@redhat.com>
2097 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2098 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2099 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2101 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2102 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2104 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2105 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2106 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2107 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2109 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2110 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2112 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
2114 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2115 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2116 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2117 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2118 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2119 * Makefile.in: Regenerate.
2121 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
2123 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2124 (USING_POSIX_PLATFORM): ... here.
2125 * Makefile.am: Delete USING_ECOS_PLATFORM.
2126 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2127 external/Makefile.in, external/sax/Makefile.in,
2128 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2130 2005-06-15 Tom Tromey <tromey@redhat.com>
2133 * testsuite/libjava.lang/pr17536.java: New file.
2134 * testsuite/libjava.lang/pr17536.out: New file.
2136 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
2139 * gnu/java/net/protocol/http/HTTPURLConnection.java
2140 (getHeaderFieldKey): Check index.
2142 2005-06-15 Tom Tromey <tromey@redhat.com>
2145 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2147 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2148 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
2150 (append_partial_itable): Use it.
2151 (set_vtable_entries): Likewise.
2153 2005-06-15 Tom Tromey <tromey@redhat.com>
2155 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2156 last_was_sep in loop.
2158 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2160 * configure.host: Handle Solaris 10/x86.
2162 2005-06-14 Keith Seitz <keiths@redhat.com>
2164 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2165 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2167 2005-06-14 Keith Seitz <keiths@redhat.com>
2169 * gnu/classpath/jdwp/id/ArrayId.java: New file.
2170 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2171 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2172 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2173 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2174 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2175 * gnu/classpath/jdwp/id/JdwpId.java: New file.
2176 * gnu/classpath/jdwp/id/ObjectId.java: New file.
2177 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2178 * gnu/classpath/jdwp/id/StringId.java: New file.
2179 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2180 * gnu/classpath/jdwp/id/ThreadId.java: New file.
2182 2005-06-14 Tom Tromey <tromey@redhat.com>
2185 * configure, aclocal.m4, Makefile.in: Rebuilt.
2187 2005-06-14 Tom Tromey <tromey@redhat.com>
2189 * java/lang/Class.java (getClasses): New method.
2190 (internalGetClasses): Likewise.
2191 (getClassLoader): Updated documentation.
2192 (getDeclaredClasses): New overload; old overload no longer
2194 (_getConstructors): Removed.
2195 (resourcePath): Updated.
2196 * java/lang/natClass.cc (getClasses): Removed.
2197 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2199 (_getConstructors): Removed.
2201 2005-06-13 Jim Huang <jserv@kaffe.org>
2204 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2205 (_Jv_JNI_NewObject): Likewise.
2207 2005-06-13 Tom Tromey <tromey@redhat.com>
2210 * testsuite/libjava.lang/pr21844.java: New file.
2211 * testsuite/libjava.lang/pr21844.out: New file.
2213 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
2216 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2219 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
2221 * java/text/MessageFormat.java (parse): When parsing strings, check
2222 for an empty pattern trailer.
2224 2005-06-06 Keith Seitz <keiths@redhat.com>
2226 * gnu/classpath/jdwp/util/Signature.java: New file.
2227 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2229 2005-06-05 Anthony Green <green@redhat.com>
2231 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2234 2005-06-04 Anthony Green <green@redhat.com>
2236 * java/net/URLClassLoader.java: import gnu.gcj.Core,
2237 and gnu.java.net.protocol.core.CoreInputStream.
2238 (CureURLLoader): New class.
2239 (CoreResource): New class.
2240 (addURLImpl): Add special treatment for the "core" protocol.
2241 * gnu/gcj/natCore.cc (find): New method.
2242 * gnu/gcj/Core.java (find): New method.
2244 2005-06-03 Keith Seitz <keiths@redhat.com>
2246 * gnu/classpath/jdwp/transport/ITransport.java: New file.
2247 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2248 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2250 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
2252 * jawt.c: Remove malloc.h, covered by stdlib.h.
2254 * testsuite/libjava.jni/jni.exp
2255 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2258 2005-06-02 Keith Seitz <keiths@redhat.com>
2260 * gnu/classpath/jdwp/transport/TransportException.java: New file.
2262 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
2264 * mauve-libgcj: Remove implemented classes from the fail section.
2265 Add two new not implemented to it.
2267 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
2269 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2270 AC_SUBST definition from configure.host.
2271 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2272 to -fomit-frame-pointer on 32-bit x86 targets.
2274 2005-06-01 Tom Tromey <tromey@redhat.com>
2276 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2278 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
2281 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2282 (static): Add possessive matching to JAVA_1_4 syntax.
2283 * gnu/regexp/RETokenRepeated.java (possessive): New field.
2284 (makePossessive, isPossessive): New methods.
2285 (match): Don't back off during possessive matching.
2286 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2287 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2290 2005-06-01 Keith Seitz <keiths@redhat.com>
2292 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2293 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2294 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2296 2005-06-01 Tom Tromey <tromey@redhat.com>
2299 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2300 (currentLoader): New method.
2301 * java/io/ObjectInputStream.java (resolveProxyClass): Use
2303 (currentLoader): Now native.
2304 (currentClassLoader): Removed.
2305 * testsuite/libjava.lang/pr21785.java: New file.
2306 * testsuite/libjava.lang/pr21785.out: New file.
2308 2005-06-01 Tom Tromey <tromey@redhat.com>
2311 * java/lang/natString.cc (substring): Changed sharing heuristic.
2313 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
2316 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2317 MAXPATHLEN. Format exception message using a StringBuffer instead.
2319 2005-05-29 Michael Koch <konqueror@gmx.de>
2322 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2324 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
2326 * ChangeLog: Fix typo.
2328 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
2330 Testsuite adjustments for PR java/19870.
2331 * testsuite/libjava.lang/PR19870.java: New testcase.
2332 * testsuite/libjava.lang/PR19870.out: Expected output for the
2334 * testsuite/libjava.jacks/jacks.xfail: Add
2335 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2338 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
2340 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2341 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2342 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2344 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2345 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2346 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2347 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
2349 2005-05-25 Richard Henderson <rth@redhat.com>
2352 * sysdep/descriptor-n.h: New file.
2353 * sysdep/descriptor-y.h: New file.
2354 * sysdep/powerpc/descriptor.h: New file.
2355 * configure.host: Set $descriptor_h appropriate for the host.
2356 * configure.ac: Link it.
2357 * configure: Regenerate.
2358 * stacktrace.cc: Include sysdep/descriptor.h.
2359 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2361 2005-05-25 Chris Burdess <dog@gnu.org>
2363 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2364 end entity callbacks.
2366 2005-05-24 Gary Benson <gbenson@redhat.com>
2369 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2370 Handle DateFormat.DEFAULT case correctly.
2372 2005-05-21 Tom Tromey <tromey@redhat.com>
2375 * java/lang/ref/natReference.cc (find_slot): Handle case where
2376 table has no NULL entries.
2377 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2378 table has no NULL entries.
2380 2005-05-22 Andreas Jaeger <aj@suse.de>
2382 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2385 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
2387 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2389 2005-05-19 Richard Henderson <rth@redhat.com>
2391 * exception.cc: Revert 05-17 gcc_unreachable change.
2393 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
2395 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2396 _Jv_RegisterInitiatingLoader to register array classes, not
2398 (_Jv_RegisterInitiatingLoader): Give up if called very early during
2399 bootstrapping. Add a FIXME to handle this case better.
2401 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
2403 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2404 convenience library.
2405 (libgcj_la_SOURCES): New. Move sources here.
2406 (libgcj.la): Remove rule.
2408 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2411 * gnu/java/security/provider/DSASignature.java: Import updates
2414 2005-05-18 Anthony Green <green@redhat.com>
2416 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2417 classpath_jawt_object_unlock, classpath_jawt_create_lock,
2418 classpath_jawt_destroy_lock): New functions.
2419 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2420 classpath_jawt_object_unlock, classpath_jawt_create_lock,
2421 classpath_jawt_destroy_lock): New functions.
2422 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2424 * jawt.c: #include malloc.h.
2425 (_Jv_Lock): Use lock.
2426 (_Jv_Unlock): Ditto.
2427 (_Jv_GetDrawingSurface): Initialize lock.
2428 (_Jv_FreeDrawingSurface): Destroy lock.
2429 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2431 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
2433 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2434 * Makefile.in: Regenerate.
2436 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
2438 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2439 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2440 * aclocal.m4, configure, config.h.in, include/config.h.in,
2441 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2442 external/Makefile.in, external/sax/Makefile.in,
2443 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2445 2005-05-17 David Daney <ddaney@avtrex.com>
2448 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
2450 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2452 * exception.cc (abort): Remove std::abort hack.
2453 (gcc_unreacheable): Define.
2455 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
2457 * Makefile.am (Makefile.deps): Do not create native.list and
2459 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2460 * Makefile.in: Regenerate.
2462 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
2464 * configure.ac (--enable-libgcj-multifile): Remove.
2466 * Makefile.am (all_native_compiled_source_files,
2467 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2468 all_libgcj_lo_files, all_xlib_lo_files,
2469 all_java_deps_files, all_java_stamp_files,
2470 all_java_filelist_files): New variables.
2471 (EXTRA_DIST): New Automake variable.
2472 (CLEANFILES): Add .stamp, .list and .lo files.
2473 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2474 (classes.stamp): Depend on $(all_java_stamp_files).
2475 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2476 going through write_entries_to_file.
2478 (all_java_source_files, all_property_files): Move earlier.
2479 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2480 all_java_class_files): Remove.
2481 (gtk_awt_peer_sources): Rename to...
2482 (gtk_awt_peer_source_files): ... this. Adjust throughout.
2485 (libgcj0_convenience_la_SOURCES): Remove Java source files.
2486 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2487 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2488 (libgcj_la_SOURCES): Remove.
2489 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2490 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2491 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2493 * configure: Regenerate.
2494 * Makefile.in: Regenerate.
2495 * external/Makefile.in: Regenerate.
2496 * external/sax/Makefile.in: Regenerate.
2497 * external/w3c_dom/Makefile.in: Regenerate.
2498 * gcj/Makefile.in: Regenerate.
2499 * include/Makefile.in: Regenerate.
2500 * libltdl/Makefile.in: Regenerate.
2501 * testsuite/Makefile.in: Regenerate.
2503 2005-05-16 Tom Tromey <tromey@redhat.com>
2505 * java/nio/charset/Charset.java (encode, decode): Synchronize on
2506 'this', not the class.
2508 2005-05-16 Tom Tromey <tromey@redhat.com>
2510 * gnu/java/net/protocol/http/Headers.java (parse): Include final
2513 2005-05-16 Tom Tromey <tromey@redhat.com>
2516 * java/net/URI.java (unquote): Handle lower-case letters as well.
2518 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
2521 * gnu/regexp/RE.java: Add support for quoting constructs.
2523 2005-05-15 Tom Tromey <tromey@redhat.com>
2525 * java/lang/String.java (startsWith): Fixed javadoc.
2527 2005-05-15 Tom Tromey <tromey@redhat.com>
2530 * testsuite/libjava.compile/pr21519.java: New file.
2531 * testsuite/libjava.compile/pr21519.no-link: New file.
2533 2005-05-15 Tom Tromey <tromey@redhat.com>
2535 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2537 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
2540 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2541 interrupt status flag if _Jv_CondWait is interrupted.
2543 2005-05-13 Tom Tromey <tromey@redhat.com>
2545 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2548 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
2550 * include/jvm.h (gcj::verifyClasses): Declare.
2551 * link.cc (gcj::verbose_class_flag): Moved.
2552 * prims.cc (gcj::verifyClasses): Define here.
2553 (gcj::verbose_class_flag): Move definition here.
2554 (_Jv_Linker::wait_for_state): Don't call verify_class
2555 if gcj::verifyClasses is not set.
2556 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2558 2005-05-12 Aaron Luchko <aluchko@redhat.com>
2560 * gij.cc (main): Recognize '-verify', '-noverify', and
2563 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2565 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2567 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2569 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2572 2005-05-11 Tom Tromey <tromey@redhat.com>
2574 * external/w3c_dom/Makefile.in: Rebuilt.
2575 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2576 -fbootstrap-classes.
2577 * external/sax/Makefile.in: Rebuilt.
2578 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2579 -fbootstrap-classes.
2580 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2582 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2583 Call _Jv_CopyClassesToSystemLoader.
2584 * java/lang/natClassLoader.cc (system_class_list): New global.
2585 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2586 classes differently.
2587 (_Jv_CopyClassesToSystemLoader): New function.
2588 (SYSTEM_LOADER_INITIALIZED): New define.
2589 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2590 (_Jv_CheckABIVersion): Use it.
2591 (_Jv_ClassForBootstrapLoader): New function.
2592 * Makefile.in: Rebuilt.
2593 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2595 2005-05-10 Tom Tromey <tromey@redhat.com>
2597 * gcj/javaprims.h: Updated.
2598 * java/lang/String.java (String(StringBuilder)): New constructor.
2599 * java/lang/natStringBuilder.cc: New file.
2600 * java/lang/StringBuilder.java: New file.
2601 * Makefile.in: Rebuilt.
2602 * Makefile.am (core_java_source_files): Added StringBuilder.java.
2603 (nat_source_files): Added natStringBuilder.cc.
2605 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
2608 * testsuite/libjava.jacks/jacks.xfail: Adjust.
2610 2005-05-09 Mike Stump <mrs@apple.com>
2612 * configure: Regenerate.
2614 2005-05-09 David Daney <ddaney@avtrex.com>
2616 * java/util/BitSet.java (get(int, int)): Fix breakage when
2617 requested set doesn't start on a multiple of 64.
2619 2005-05-07 Matthias Klose <doko@debian.org>
2621 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2623 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
2625 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2626 * Makefile.in: Regenerate.
2627 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2628 (createCompatibleVolatileImage(int,int)): Implement.
2629 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2631 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2633 (createVolatileImage): Implement.
2634 (createBuffers): Likewise.
2635 (getBackBuffer): Likewise.
2637 (destroyBuffers): Likewise.
2638 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2639 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2640 (CanvasFlipBufferStrategy): Likewise.
2641 (createBufferStrategy(int)): New method.
2642 (createBufferStrategy(int,BufferCapabilities)): Likewise.
2643 * java/awt/Component.java (BltBufferStrategy): Implement and
2645 (FlipBufferStrategy): Likewise.
2646 * java/awt/Window.java (WindowBltBufferStrategy): New class.
2647 (WindowFlipBufferStrategy): Likewise.
2648 (createBufferStrategy(int)): New method.
2649 (createBufferStrategy(int,BufferCapabilities)): Likewise.
2650 (getBufferStrategy): Likewise.
2651 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2652 front to frontCaps and back to backCaps.
2654 2005-05-06 Michael Koch <konqueror@gmx.de>
2656 * java/awt/BufferCapabilities.java
2657 (BufferCapabilities): Merged javadoc.
2659 2005-05-06 Michael Koch <konqueror@gmx.de>
2661 * java/util/Locale.java
2662 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2663 (getLocale): New methods. Use it everywhere where instances of Locales
2665 (getDisplayLanguage): Merged javadoc.
2666 (getDisplayCountry): Likewise.
2667 (getDisplayVariant): Likewise.
2669 2005-05-06 Archie Cobbs <archie@dellroad.org>
2671 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2672 use DeleteLocalRef() to avoid exhausting local native references.
2674 2005-05-06 Mark Wielaard <mark@klomp.org>
2676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2677 (window_delete_cb): Don't use C++ style comments.
2679 2005-05-06 Robert Schuster <thebohemian@gmx.net>
2681 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2684 2005-05-06 Robert Schuster <thebohemian@gmx.net>
2686 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2687 (window_delete_cb): Made the function return TRUE.
2689 2005-05-06 Roman Kennke <roman@kennke.org>
2691 * javax/swing/text/PlainView.java
2692 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2694 * javax/swing/text/Utilities.java
2695 (drawTabbedText): Initilialize local variable pos correctly.
2697 2005-05-06 Roman Kennke <roman@kennke.org>
2699 * javax/swing/text/AbstractDocument.java
2700 (LeafElement): Made start and end package private fields for
2701 effective reindexing.
2702 * javax/swing/text/PlainDocument.java
2703 (constructor): The field rootElement is always BranchElement,
2704 so we handle it as such.
2705 (removeUpdate): Rewritten reindexing for removeUpdate so that
2706 the actual removal is taken into account.
2708 2005-05-06 Roman Kennke <roman@kennke.org>
2710 * javax/swing/text/GapContent.java:
2711 Removed debugging output stuff, which I accidentally left in.
2713 2005-05-06 Roman Kennke <roman@kennke.org>
2715 * javax/swing/text/GapContent.java:
2716 Implemented a real GapContent. Only the public methods have
2717 been implemented so far and still no UndoableEdit support.
2719 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
2721 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2724 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2726 * java/awt/image/BufferStrategy.java: Document.
2728 * java/awt/BufferCapabilities.java: Document.
2730 2005-05-04 Tom Tromey <tromey@redhat.com>
2732 * java/nio/channels/FileLock.java (toString): Entirely avoid
2735 2005-05-04 Andrew Overholt <overholt@redhat.com>
2737 * java/nio/channels/FileLock.java (toString): Re-implement using
2740 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2742 * java/awt/ImageCapabilities.java: Document.
2744 * java/awt/image/VolatileImage.java: Unindent copyright header.
2746 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2748 * java/awt/image/VolatileImage.java: Document.
2750 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2753 (init_glib_threads): Check if threading system is already
2756 2005-05-03 Andrew Overholt <overholt@redhat.com>
2759 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
2760 could not be acquired.
2761 * java/nio/channels/FileLock.java (toString): Re-implement to be
2762 in line with other implementations.
2764 2005-05-03 Tom Tromey <tromey@redhat.com>
2766 * java/lang/VMSecurityManager.java (currentClassLoader): Use
2767 'systemClasssLoader' directly.
2769 2005-05-03 Tom Tromey <tromey@redhat.com>
2771 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
2772 call VMClassLoader.getSystemClassLoader.
2774 2005-04-29 Michael Koch <konqueror@gmx.de>
2776 * java/net/NetworkInterface.java
2778 (NetworkInterface(String,InetAddress)): Made package-private.
2779 (NetworkInterface(String,InetAddress[])): New constructor.
2780 (getRealNetworkInterfaces): Removed.
2781 (getByName): Use VMNetworkInterface.getInterfaces().
2782 (getByInetAddress): Likewise.
2783 (getNetworkInterfaces): Likewise.
2784 * java/net/VMNetworkInterface.java,
2785 java/net/natVMNetworkInterfaceNoNet.cc,
2786 java/net/natVMNetworkInterfacePosix.c,c
2787 java/net/natVMNetworkInterfaceWin32.cc: New files.
2788 * java/net/natNetworkInterfaceNoNet.cc,
2789 java/net/natNetworkInterfacePosix.cc,
2790 java/net/natNetworkInterfaceWin32.cc: Removed.
2793 * configure, Makefile.in: Regenerated.
2795 2005-04-29 Andrew Haley <aph@redhat.com>
2797 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2799 2005-04-29 Dalibor Topic <robilad@kaffe.org>
2801 * java/nio/channels/FileChannelImpl.java
2802 (FileChannelImpl(String, int)): Removed.
2803 (FileChannelImpl(File, int)): Added. Check if opened file is a
2805 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
2806 Call FileChannelImpl(File, int).
2807 * java/io/FileOutputStream.java (FileInputStream): Call
2808 FileChannelImpl(File, int).
2809 * java/io/RandomAccessFile.java (RandomAccessFile):
2810 Call FileChannelImpl(File, int). Switched constructors around.
2812 2005-04-27 Andrew Haley <aph@redhat.com>
2815 * prims.cc (_Jv_ResolvePoolEntry): New function.
2816 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
2817 * link.cc (_Jv_Linker::find_field): New arg: found_class.
2818 (resolve_pool_entry): Initialize the class in which a field is
2820 (link_symbol_table): Pass new arg to found_class.
2822 2005-04-29 Michael Koch <konqueror@gmx.de>
2824 * java/nio/charset/Charset.java
2825 (provider): Reformatted.
2827 2005-04-29 Michael Koch <konqueror@gmx.de>
2829 * gnu/java/net/protocol/http/HTTPConnection.java:
2830 (userAgent): Initialize from system properties.
2831 (initUserAgent): Removed.
2833 2005-04-29 Mark Wielaard <mark@klomp.org>
2835 * java/util/ResourceBundle.java (getObject): Clarify
2836 MissingResourceException detailed message.
2837 (tryBundle(String,ClassLoader)): Likewise.
2839 2005-04-29 Robert Schuster <thebohemian@gmx.net>
2841 * java/beans/FeatureDescriptor.java:
2842 (getShortDescription): Implemented fallback mechanism and fixed
2843 documentation (fixes bug #12637).
2844 (getDisplayName): Dito.
2846 2005-04-29 Robert Schuster <thebohemian@gmx.net>
2848 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
2849 will now be set correctly.
2850 (flushCaches): Now flushes all cached intermediate data.
2852 2005-04-28 Michael Koch <konqueror@gmx.de>
2854 * java/net/InetAddress.java
2855 (aton): Fixed javadoc.
2858 2005-04-28 Tom Tromey <tromey@redhat.com>
2860 * javax/swing/Timer.java
2861 (drainEvents, queueEvent): Now package-private.
2863 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
2865 * javax/swing/Timer.java
2866 (constructor): Assigning initialDelay.
2868 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
2870 * javax/swing/Timer.java
2871 (Waker.run): firing the first action event.
2873 2005-04-28 Michael Koch <konqueror@gmx.de>
2875 * javax/swing/Timer.java: Reordered all fields and methods,
2876 Added more javadocs.
2878 2005-04-28 Michael Koch <konqueror@gmx.de>
2880 * javax/swing/Timer.java: Javadocs merged
2883 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
2885 * gnu/java/net/protocol/file/Connection.java
2886 (StaticData): New inner class to contain statics.
2887 (connect, getHeaderField): Modified to use StaticData.
2889 2005-04-28 Michael Koch <konqueror@gmx.de>
2891 * gnu/java/net/protocol/file/Connection.java
2892 (lineSeparator): Initialize with SystemProperties.getProperty().
2894 2005-04-27 Chris Burdess <dog@gnu.org>
2896 * gnu/java/net/protocol/file/Connection.java: Return correct content
2897 length for directory listing.
2898 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
2899 #11285: return valid URLs for directories.i
2901 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2903 * Makefile.am (ordinary_java_source_files): Add
2904 gnu/java/net/protocol/https/Handler.java.
2905 * Makefile.in: Regenerate.
2906 * java/net/URL.java: Remove org.metastatic.jessie from default
2907 protocol search path.
2909 2005-04-27 Chris Burdess <dog@gnu.org>
2911 * gnu/java/net/protocol/https/Handler.java: New file.
2913 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
2915 * javax/imageio/spi/IIORegistry.java (IIORegistry):
2916 Don't assume that awt Toolkit is always ClasspathToolkit.
2918 2005-04-27 Chris Burdess <dog@gnu.org>
2920 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
2921 absolute and relative paths in Location header.
2923 2005-04-27 Chris Burdess <dog@gnu.org>
2925 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
2926 FileNotFoundException and implement getErrorStream on 404.
2928 2005-04-27 Sven de Marothy <sven@physto.se>
2930 * java/util/TimeZone.java,
2931 (getDefaultDisplayName): Fix previous fix.
2933 2005-04-27 Sven de Marothy <sven@physto.se>
2935 * java/util/TimeZone.java,
2936 (getDefaultDisplayName): Don't print zero offsets.
2938 2005-04-27 Roman Kennke <roman@kennke.org>
2940 * javax/swing/plaf/basic/BasicScrollBarUI
2941 (getThumbBounds): Do not make thumb smaller than
2943 * javax/swing/plaf/metal/MetalLookAndFeel
2944 (initComponentDefaults): Added color defaults for ScrollBar.
2945 * javax/swing/plaf/metal/MetalScrollBarUI
2946 (paintThumb): Added.
2947 (getMinimumThumbSize): Added.
2949 2005-04-27 Roman Kennke <roman@kennke.org>
2951 * javax/swing/plaf/metal/MetalLookAndFeel
2952 (initComponentDefaults): Added some default colors.
2954 2005-04-27 Roman Kennke <roman@kennke.org>
2956 * javax/swing/plaf/basic/BasicScrollBarUI.java
2957 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
2958 to 'ScrollBar.thumbShadow'. The formes does not exist.
2959 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
2961 2005-04-27 Roman Kennke <roman@kennke.org>
2963 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
2964 * javax/swing/BoxLayout.java: Likewise.
2965 * javax/swing/UIManager.java: Likewise.
2966 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2967 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
2968 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2969 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2970 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
2971 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
2972 * javax/swing/text/Document.java: Likewise.
2973 * javax/swing/text/GapContent.java: Likewise.
2974 * javax/swing/text/SimpleAttributeSet.java: Likewise.
2975 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2977 2005-04-27 Roman Kennke <roman@kennke.org>
2979 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2980 (getPropertyPrefix): Added.
2982 2005-04-27 Roman Kennke <roman@kennke.org>
2984 * javax/swing/plaf/basic/BasicButtonUI.java
2985 (getPropertyPrefix): Added.
2986 (installDefaults): Use getPropertyPrefix instead of hard-coded
2989 2005-04-27 Roman Kennke <roman@kennke.org>
2991 * javax/swing/JToggleButton.java
2992 (JToggleButton): Removed horizontalAlignment setting, this
2993 was wrong. Added setting of an actionCommand, ToggleButtons
2994 have "" as default actionCommand.
2996 2005-04-27 Michael Koch <konqueror@gmx.de>
2998 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
2999 to work around CNI limitation.
3001 2005-04-27 Sven de Marothy <sven@physto.se>
3003 * java/nio/charset/Charset.java:
3004 (defaultCharset()): New method.
3005 Status updated to 1.5
3007 2005-04-27 Sven de Marothy <sven@physto.se>
3009 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3011 2005-04-27 Sven de Marothy <sven@physto.se>
3013 * java/nio/charset/Charset.java: Reset cached de/encoders.
3015 2005-04-27 Robert Schuster <thebohemian@gmx.net>
3017 * java/nio/charset/Charset.java (forName): Throws
3018 IllegalArgumentException when argument is null
3019 and added documentation.
3021 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
3023 * java/nio/charset/Charset.java (providers):
3024 New method to make an array of CharsetProviders defined in
3025 META-INF/services/java.nio.charset.spi.CharsetProvider.
3026 (charsetForName, availableCharsets): Use the
3027 new method providers().
3029 2005-04-26 Michael Koch <konqueror@gmx.de>
3031 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3032 Fixed typos in javadocs.
3033 (isSiteLocalAddress): Fixed handling of byte values.
3034 (isMCLinkLocal): Likewise.
3035 * java/net/Inet4Address.java
3036 (isMulticastAddress): Call super method.
3037 (isLoopbackAddress): Likewise.
3038 (isAnyLocalAddress): Likewise.
3039 (isLinkLocalAddress): Likewise.
3040 (isSiteLocalAddress): Likewise.
3041 (isMCGlobal): Likewise.
3042 (isMCNodeLocal): Likewise.
3043 (isMCLinkLocal): Likewise.
3044 (isMCSiteLocal): Likewise.
3045 (isMCOrgLocal): Likewise.
3046 (getHostAddress): Likewise.
3048 2005-04-26 Sven de Marothy <sven@physto.se>
3050 * java/net/InetAddress.java
3051 (toString): Don't print empty hostnames.
3053 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
3056 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3057 'false' to native lock().
3058 (lock): Pass 'true' to native lock().
3060 2005-04-26 Michael Koch <konqueror@gmx.de>
3062 * java/net/InetAddress.java:
3063 Fixed typos in javadocs.
3065 2005-04-26 Andrew Haley <aph@redhat.com>
3068 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3071 2005-04-26 Tom Tromey <tromey@redhat.com>
3073 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3074 gnu): Now package-private.
3075 * javax/swing/text/html/parser/DocumentParser.java (parser,
3076 callBack, gnu): Now package-private.
3077 * javax/swing/text/StringContent.java (content, setOffset,
3078 checkLocation): Now package-private.
3079 * javax/swing/text/JTextComponent.java (doc): Now
3081 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3082 lastGoodOrientation, origParent, borders, cachedBounds,
3083 cachedOrientation, DragWindow): Now package-private.
3084 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3085 decrButton, viewport, panel, currentScrollLocation, layoutManager,
3086 tabAreaRect, contentRect, createIncreaseButton,
3087 createDecreaseButton, findPointForIndex): Now package-private.
3088 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3089 (currentDividerLocation, moveDividerTo): Now package-private.
3090 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3092 * javax/swing/plaf/basic/BasicScrollBarUI.java
3093 (calculatePreferredSize, valueForYPosition, valueForXPosition):
3094 Now package-private.
3095 * javax/swing/plaf/basic/BasicPopupMenuUI.java
3096 (topWindowListener): Now package-private.
3097 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3098 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3099 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3101 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3103 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3104 Now package-private.
3105 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3107 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3108 borderInsets): Now package-private.
3109 (arrowButtonWidth): Likewise. Now a constant.
3110 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3111 makeTabs, updatePreviewPanel): Now package-private.
3112 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3113 darkShadow, highlight): Now package-private.
3114 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3115 (addColorToQueue): Now package-private.
3116 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3117 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3118 GSpinner, BSpinner): Now package-private.
3119 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3120 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3121 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3122 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3123 updateTrack): Now package-private.
3124 * javax/swing/TransferHandler.java (clipboard): Now
3126 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3128 * javax/swing/Timer.java (drainEvents, queueEvent): Now
3130 * javax/swing/RepaintManager.java (globalManager): Now
3132 * javax/swing/JFormattedTextField.java (editValid): Now
3134 * javax/swing/JColorChooser.java (makeModal): Now
3136 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3137 index, path): Now package-private.
3138 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3139 lineQuadIntersect, lineCubicIntersect, linesIntersect,
3140 pointEquals): Now package-private.
3141 * java/awt/geom/Arc2D.java (type): Now package-private.
3142 * java/awt/Window.java (windowFocusOwner): Now package-private.
3143 * java/awt/TextComponent.java (editable, selectionStart,
3144 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3146 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3148 * java/awt/MenuComponent.java (focusListener): Now
3150 * java/awt/Frame.java (state): Now package-private.
3151 * java/awt/Choice.java (pItems): Now package-private.
3152 * java/awt/Checkbox.java (state): Now package-private.
3153 * java/awt/Button.java (actionCommand, label): Now
3155 * gnu/javax/swing/text/html/parser/support/Parser.java
3156 (attributes, _handleEndTag_remaining, _handleStartTag): Now
3158 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3160 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3161 clip, transform, font, comp): Now package-private.
3163 2005-04-26 Tom Tromey <tromey@redhat.com>
3165 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3168 2005-04-26 Mark Wielaard <mark@klomp.org>
3170 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3171 to MalformedURLException.
3173 2005-04-26 Michael Koch <konqueror@gmx.de>
3175 * java/security/AccessControlContext.java:
3177 (protectedDomains): Renamed from 'protectionDomain'.
3178 * java/security/AccessController.java:
3181 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
3183 * gnu/java/security/action/GetSecurityPropertyAction.java
3184 (GetSecurityPropertyAction): Implement PrivilegedAction instead
3185 of extending GetPropertyAction.
3188 (setParamters): New methods.
3189 (GetSecurityPropertyAction): Use new setParameters methods.
3191 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
3193 * java/security/Security.java,
3194 java/security/cert/X509CRLSelector.java,
3195 java/security/cert/X509CertSelector.java:
3196 Modified to use SystemProperties.
3198 2005-04-26 Michael Koch <konqueror@gmx.de>
3200 * java/lang/System.java
3201 (setSecurityManager): Fixed comment.
3202 (getSecurityManager): Removed obsolete comment.
3204 2005-04-25 Tom Tromey <tromey@redhat.com>
3206 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3208 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
3210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3211 (connectSignals): Realize the window widget after connecting
3214 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
3216 * java/awt/GraphicsEnvironment.java
3217 (localGraphicsEnvironment): New field.
3218 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3220 (isHeadless): Added support for java.awt.headless property.
3221 (isHeadlessInstance): Call headless().
3223 2005-04-25 Roman Kennke <roman@kennke.org>
3225 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3226 (getDisplayMode): Added. Returns the current display mode.
3227 (isFullScreenSupported): Added.
3228 * java/awt/GraphicsDevice.java
3229 (setFullScreenWindow): Implemented a primitive fullscreen mode.
3230 This resizes and relocates the fullscreen window so that it uses
3231 the whole screen. This is not a fully accelerated fullscreen
3234 2005-04-25 Michael Koch <konqueror@gmx.de>
3236 * java/lang/Runtime.java,
3237 java/lang/SecurityManager.java,
3238 java/lang/System.java,
3239 java/lang/ThreadGroup.java:
3240 Replaced java.lang.Runtime.securityManager by
3241 java.lang.SecurityManager.current (as used in GNU classpath).
3243 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
3245 * java/awt/Transparency.java
3246 (getTransparency): fixed API docs.
3248 2005-04-25 Archie Cobbs <archie@dellroad.org>
3250 * java/lang/Throwable.java: simplify initializing cause in constructor
3252 2005-04-25 Michael Koch <konqueror@gmx.de>
3254 * gnu/classpath/SystemProperties.java: New file.
3255 * gnu/classpath/natSystemProperties.cc: New file.
3256 * java/lang/Runtime.java
3257 (defaultProperties): Removed.
3259 (): Made thrown exceptions more verbose.
3260 (insertSystemProperties): Removed.
3261 * java/lang/System.java
3263 (properties): Likewise.
3264 (setSecurityManager): Reordered modifiers.
3265 (getenv): Improved javadoc.
3267 (isWordsBigEndian): Removed.
3268 * java/lang/natRuntime.cc
3269 (_Jv_SetDLLSearchPath): Likewise.
3270 (file_encoding): Likewise.
3271 (default_file_encoding): Likewise.
3272 (getpwuid_adaptor): Likewise.
3273 (insertSystemProperties): Likewise.
3274 * java/lang/natSystem.cc
3275 (isWordsBigEndian): Likewise.
3277 (ordinary_java_source_files):
3278 Added gnu/classpath/SystemProperties.java.
3279 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
3280 * Makefile.in: Regenerated.
3282 2005-04-25 Roman Kennke <roman@kennke.org>
3284 * javax/swing/plaf/basic/BasicScrollBarUI.java
3285 (initDefaults): Initialize thumb*Color fields correctly.
3287 2005-04-25 Roman Kennke <roman@kennke.org>
3289 * javax/swing/text/GapContent.java:
3292 2005-04-25 Roman Kennke <roman@kennke.org>
3294 * javax/swing/plaf/metal/MetalBorders.java:
3295 Added inner class ScrollPaneBorder.
3296 * javax/swing/plaf/metal/MetalLookAndFeel.java
3297 (initComponentDefaults): Added default for "ScrollPane.border"
3298 to use the new ScrollPaneBorder.
3300 2005-04-25 Roman Kennke <roman@kennke.org>
3302 * javax/swing/text/AbstractDocument.java:
3303 Added FIXME comments. This class still has to be
3304 implemented thread-safe.
3306 2005-04-25 Roman Kennke <roman@kennke.org>
3308 * javax/swing/tree/DefaultTreeSelectionModel.java
3309 (DefaultTreeSelectionModel): Initialize listenerList here.
3311 2005-04-25 Roman Kennke <roman@kennke.org>
3313 * javax/swing/plaf/metal/MetalTextFieldUI.java
3314 (createUI): Return one instance per Component instead of a
3317 2005-04-25 Roman Kennke <roman@kennke.org>
3319 * javax/swing/text/Document.java:
3320 Added API documentation comments.
3322 2005-04-25 Roman Kennke <roman@kennke.org>
3324 * javax/swing/text/AbstractDocument.java
3325 (getDocumentProperties): Implemented.
3326 (setDocumentProperties): Implemented.
3327 (getProperty): Implemented.
3328 (putProperty): Implemented.
3330 2005-04-25 Roman Kennke <roman@kennke.org>
3332 * javax/swing/BoxLayout
3333 (preferredLayoutSize): Fixed computation so that it correctly
3334 adds the top and bottom insets of the container.
3336 2005-04-25 Roman Kennke <roman@kennke.org>
3338 * javax/swing/plaf/basic/BasicMenuItemUI.java
3339 (paintText): Make use of the 'selectionForeground' UI default
3342 2005-04-25 Roman Kennke <roman@kennke.org>
3344 * javax/swing/plaf/basic/BasicLookAndFeel.java
3345 (initSystemColorDefaults): Modified colors to match the
3346 BasicLookAndFeel in the reference implementation.
3347 (initComponentDefaults): Likewise.
3349 2005-04-25 Tom Tromey <tromey@redhat.com>
3351 * include/jni.h (_Jv_va_list): Removed.
3352 Moved configuration code...
3353 * include/jni_md.h: ... here. New file.
3354 * include/Makefile.in: Rebuilt.
3355 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3357 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
3359 * java/io/FileInputStream.java (FileInputStream(File)),
3360 java/io/FileOutputStream.java (FileOutputStream(File)):
3361 Removed unnecessary File.isDirectory() check.
3363 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
3365 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3366 gij if get_multilibs fails.
3368 2005-04-22 Anthony Green <green@redhat.com>
3370 * jni.cc (natrehash): Don't bother clearing memory again.
3371 * interpret.cc (do_allocate_static_fields): Ditto.
3372 * java/lang/natString.cc (rehash): Ditto.
3374 2005-04-22 Roman Kennke <roman@kennke.org>
3376 * javax/swing/plaf/basic/BasicLookAndFeel.java
3377 (initComponentDefaults): Changed Button.border to be
3378 BasicBorders.getButtonBorder as it should be.
3380 2005-04-22 Roman Kennke <roman@kennke.org>
3382 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3383 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3384 should according to a mauve testcase, instead of the preferred
3387 2005-04-22 Roman Kennke <roman@kennke.org>
3389 * javax/swing/JMenu.java
3390 (add): add(Component) now calls PopupMenu.insert(..) instead of
3391 PopupMenu.add(..). add(..) is not implemented for Component,
3392 so JComponent.add(..) is called instead, adding the component
3395 2005-04-22 Roman Kennke <roman@kennke.org>
3397 * javax/swing/plaf/basic/BasicButtonListener.java
3398 (mousePressed): replaced query to getModifiersEx with getModifiers.
3399 This method relied on faulty behaviour in getModifierEx.
3400 (mouseReleased): replaced query to getModifiersEx with getModifiers.
3401 This method relied on faulty behaviour in getModifierEx.
3403 2005-04-22 Roman Kennke <roman@kennke.org>
3405 * javax/swing/plaf/metal/MetalLookAndFeel.java
3406 (getDefaults): Call addCustomEntriesToTable on the theme.
3408 2005-04-22 Roman Kennke <roman@kennke.org>
3410 * javax/swing/tree/DefaultTreeSelectionModel.java
3411 (constructor): Added implementation.
3412 (getRowMapper): Added implementation.
3413 (setSelectionMode): Added implementation.
3414 (getSelectionMode): Added implementation.
3415 (getSelectionPath): Added implementation.
3416 (getSelectionPaths): Added implementation.
3417 (getSelectionCount): Added implementation.
3418 (isSelectionEmpty): Added implementation.
3419 (getSelectionRows): Added implementation.
3420 (getMinSelectionRow): Added implementation.
3421 (getMaxSelectionRow): Added implementation.
3422 (getLeadSelectionRow): Added implementation.
3423 (getLeadSelectionPath): Added implementation.
3425 2005-04-22 Casey Marshall <csm@gnu.org>
3427 * gnu/java/security/der/DERValue.java
3428 (getValueAs): new method.
3429 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3430 (<init>): read both dates with 'DERValue.getValueAs', with
3431 'GENERALIZED_TIME' as the argument.
3433 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
3435 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
3436 be null, check for that case and don't deference it.
3438 2005-04-22 Sven de Marothy <sven@physto.se>
3440 * java/util/logging/LogManager.java: Reformatted.
3441 (readConfiguration): If a logger for a key is not found, create one.
3443 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
3445 * java/rmi/Naming.java:
3446 Added class documentation.
3447 (lookup(String)): Call parseURL and getName.
3448 (bind(String,java.rmi.Remote)): Likewise.
3449 (unbind(String)): Likewise.
3450 (rebind(String, java.rmi.Remote)): Likewise.
3451 (list(String)): Call parseURL.
3452 (parseURL(String)): New method to handle parsing and defaults.
3453 (getName(java.net.URL)): New method to handle finding the service name.
3455 2005-04-21 Tom Tromey <tromey@redhat.com>
3457 * java/lang/natClass.cc (initializeClass): Link class.
3459 2005-04-21 Tom Tromey <tromey@redhat.com>
3461 * java/lang/AssertionError.java: Typo fix.
3463 2005-04-21 Tom Tromey <tromey@redhat.com>
3465 * java/lang/VMClassLoader.java (transformException): Removed.
3466 (resolveClass): No longer native. Now does nothing.
3467 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
3469 2005-04-21 Anthony Green <green@redhat.com>
3472 * testsuite/libjava.special/special.exp,
3473 testsuite/libjava.special/pr21115I.java,
3474 testsuite/libjava.special/pr21115.java,
3475 testsuite/libjava.special/pr21115.out: New files.
3477 2005-04-21 Chris Burdess <dog@gnu.org>
3479 * gnu/java/net/CRLFInputStream.java: Rewrite to return
3480 CRLF-delimited chunks.
3482 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
3484 * java/net/URI.java:
3485 Added class documentation.
3486 (parseURI(String)): Only handle scheme-specific parts
3487 if URI is not opaque. Allow for parts that can't be null.
3488 (toString()): Output the scheme-specific part whole, rather
3489 than as its possibly non-existent components.
3491 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
3493 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
3494 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
3495 Adjusted to match new regexp.
3497 2005-04-20 Michael Koch <konqueror@gmx.de>
3499 * gnu/java/net/protocol/file/Connection.java,
3500 gnu/java/net/protocol/jar/Connection.java:
3501 Reorganized import statements. Fixed @author tags.
3503 2005-04-20 Chris Burdess <dog@gnu.org>
3505 * java/io/DataOutputStream.java (writeUTF): Use block write for
3508 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
3510 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
3511 (readLine): Changed newline handling.
3513 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
3515 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
3516 ColorModel,byte[],int,int): Fixed byte to int conversion.
3518 2005-04-20 Michael Koch <konqueror@gmx.de>
3520 * java/io/FilePermission.java
3521 (serialVersionUID): Made private.
3522 (ALL_FILES): New constant.
3523 (implies): Handle '<<ALL FILES>>' case.
3525 2005-04-20 Sven de Marothy <sven@physto.se>
3527 * gnu/java/awt/peer/gtk/GdkGraphics.java:
3528 (drawImage): Don't notify the image observer for offscreen images.
3529 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
3530 (setPixels): Don't notify the image observer.
3532 2005-04-20 Sven de Marothy <sven@physto.se>
3534 * java/nio/ByteBufferImpl.java:
3535 (putChar): Inlined for speed.
3536 (put, get): Bulk methods can use arraycopy.
3537 * java/nio/CharBufferImpl.java:
3538 (put, get): Bulk methods can use arraycopy.
3540 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
3542 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
3544 * java/nio/CharBufferImpl.java
3545 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
3546 (get(), put(char)): Inlined checks and field updates. Fixed to
3547 take array_offset into account.
3548 (get(int), put(int, char)): Fixed to take array_offset into account.
3550 2005-04-20 Sven de Marothy <sven@physto.se>
3552 * java/text/SimpleDateFormat.java:
3553 (formatWithAttribute): Pad year before truncating digits.
3555 2005-04-20 Michael Koch <konqueror@gmx.de>
3557 * gnu/java/net/PlainDatagramSocketImpl.java:
3558 Merged copyright header.
3559 * gnu/java/net/PlainSocketImpl.java:
3560 Reorganized import statements. Fixed @author tags.
3562 2005-04-20 Michael Koch <konqueror@gmx.de>
3564 * gnu/java/lang/ClassHelper.java,
3565 gnu/java/lang/reflect/TypeSignature.java:
3568 2005-04-20 Michael Koch <konqueror@gmx.de>
3570 * gnu/java/beans/IntrospectionIncubator.java:
3571 Fixed HTML tags in javadocs.
3573 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
3575 * gnu/java/beans/IntrospectionIncubator.java
3576 (addToPropertyHash, addToListenerHash): Don't confuse get(),
3577 set(), is(), add() and remove() with properties or events.
3579 2005-04-20 Michael Koch <konqueror@gmx.de>
3581 * gnu/java/awt/image/XBMDecoder.java:
3582 Fixed modifier order.
3584 2005-04-20 Roman Kennke <roman@kennke.org>
3586 * javax/swing/plaf/basic/BasicButtonUI.java
3587 (paint): This should not care about margin and insets
3588 at the same time, as insets already include the margin
3590 * javax/swing/plaf/basic/BasicGraphicsUtils.java
3591 (getPreferredButtonSize): Likewise.
3592 * javax/swing/plaf/metal/MetalBorders.java
3593 (getBorderInsets): Likewise.
3595 2005-04-20 Roman Kennke <roman@kennke.org>
3597 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3598 (createMessageArea): The JPanel that holds the message area
3599 doesn't need to override getPreferredSize. This prevents some
3600 message components from rendering nicely.
3602 2005-04-20 Roman Kennke <roman@kennke.org>
3604 * javax/swing/plaf/metal/MetalInternalFrameUI.java
3605 (createUI): Do not share instances between components.
3606 * javax/swing/plaf/metal/MetalSliderUI.java
3607 (createUI): Do not share instances between components.
3609 2005-04-20 Roman Kennke <roman@kennke.org>
3611 * javax/swing/plaf/metal/MetalBorders:
3612 (PopupMenuBorder): Added.
3613 * javax/swing/plaf/metal/MetalLookAndFeel
3614 (initComponentDefaults): Added PopupMenuBorder.
3616 2005-04-20 Roman Kennke <roman@kennke.org>
3618 * javax/swing/tree/DefaultTreeSelectionModel.java:
3619 Added API documentation all over the class.
3621 2005-04-20 Roman Kennke <roman@kennke.org>
3623 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3624 (installDefaults): Link managed JScrollPane in instance field.
3625 (uninstallDefaults): Unlink managed JScrollPane in instance field.
3627 2005-04-20 Roman Kennke <roman@kennke.org>
3629 * javax/swing/plaf/basic/BasicScrollBarUI.java
3630 (PropertyChangeHandler.propertyChange): Add default
3631 to switch statement to avoid errors with unusual values
3633 (installComponents): Likewise.
3635 2005-04-20 Roman Kennke <roman@kennke.org>
3637 * javax/swing/plaf/metal/MetalScrollBarUI.java:
3638 (createUI): Instances cannot be shared among JScrollPanes.
3640 2005-04-20 Roman Kennke <roman@kennke.org>
3642 * javax/swing/plaf/metal/MetalLookAndFeel.java
3643 (initComponentDefaults): Added defaults for Menu, MenuBar
3646 2005-04-20 Roman Kennke <roman@kennke.org>
3648 * javax/swing/plaf/basic/BasicScrollBarUI.java
3649 (installUI): Install listeners after everything all, otherwise
3650 we get strange NPEs in some situations, especially with
3652 (createIncreaseButton): Orientation is expected to be
3653 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3654 HORIZONTAL or VERTICAL.
3655 (createDecreaseButton): Orientation is expected to be
3656 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3657 HORIZONTAL or VERTICAL.
3658 (installComponents): Orientation for buttons is expected to be
3659 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3660 HORIZONTAL or VERTICAL.
3662 2005-04-20 Roman Kennke <roman@kennke.org>
3664 * javax/swing/JToolBar.java
3665 (addImpl): Adjust added AbstractButtons to look and feel like
3667 * javax/swing/plaf/metal/MetalBorders.java:
3668 Adjusted insets of ButtonBorder.
3669 (RolloverMarginBorder): Added class for toolbar buttons.
3670 (getButtonBorder): Adjusted factory method to return a shared
3671 instance of button border.
3672 (getToolbarButtonBorder): Added factory method to return a shared
3673 instance of toolbar button border.
3674 (getMarginBorder): Added factory method to return a shared
3675 instance of margin border.
3676 * javax/swing/plaf/metal/MetalButtonUI.java
3677 (installDefauls): If button is child of a JToolBar then set
3678 special border on this button.
3680 2005-04-20 Michael Koch <konqueror@gmx.de>
3682 * java/net/URLConnection.java
3683 (getContent): Fixed javadoc comment.
3685 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
3687 * java/net/URL.java:
3688 (toURI()): Implemented.
3690 2005-04-19 Michael Koch <konqueror@gmx.de>
3692 * java/net/InetAddress.java
3693 (InetAddress): Fixed javadoc comment.
3695 (lookup): Added javadoc.
3696 (getFamily): Likewise.
3697 * java/net/ServerSocket.java
3698 (getChannel): Improved javadoc comment.
3700 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
3702 * gnu/xml/dom/html2/DomHTMLParser.java:
3703 Changed 'enum' references to become 'enumeration'.
3705 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
3707 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
3709 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
3711 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
3712 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
3713 * gnu/javax/swing/text/html/parser/htmlValidator.java:
3714 (validateParameters(TagElement,htmlAttributeSet)):
3715 Replaced 'enum' with 'enumeration'.
3716 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
3719 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
3721 * javax/swing/text/html/parser/Entity.java (getType): New method.
3722 * javax/swing/text/html/parser/DocumentParser.java:
3723 Inherit from javax.swing.text.html.parser.Parser.
3725 2005-04-19 Chris Burdess <dog@gnu.org>
3727 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
3728 check for HTML/XHTML namespace.
3730 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
3732 * javax/swing/text/html/parser/Parser.java,
3733 javax/swing/text/html/parser/Entity.java:
3734 Inheriting from DTDConstants.
3735 * javax/swing/text/html/parser/AttributeList.java
3736 (getValues): Changed return type.
3737 * javax/swing/text/html/parser/DocumentParser
3738 (parse): Adding the callback parameter that receives
3741 2005-04-19 Chris Burdess <dog@gnu.org>
3743 * gnu/xml/dom/DomImpl.java,
3744 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3745 gnu/xml/dom/html2/DomHTMLDocument.java,
3746 gnu/xml/dom/html2/DomHTMLElement.java,
3747 gnu/xml/dom/html2/DomHTMLFormElement.java,
3748 gnu/xml/dom/html2/DomHTMLFrameElement.java,
3749 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3750 gnu/xml/dom/html2/DomHTMLImpl.java,
3751 gnu/xml/dom/html2/DomHTMLInputElement.java,
3752 gnu/xml/dom/html2/DomHTMLObjectElement.java,
3753 gnu/xml/dom/html2/DomHTMLOptionElement.java,
3754 gnu/xml/dom/html2/DomHTMLSelectElement.java,
3755 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3756 gnu/xml/dom/html2/DomHTMLTableElement.java,
3757 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3758 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3759 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
3760 UI events, and tree utility functions.
3762 2005-04-19 Michael Koch <konqueror@gmx.de>
3764 * gnu/javax/swing/text/html/parser/HTML_401F.java,
3765 gnu/javax/swing/text/html/parser/gnuDTD.java,
3766 gnu/javax/swing/text/html/parser/models/node.java:
3767 Reworked import statements.
3769 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
3771 * javax/swing/text/html/HTMLDocument.java: New file.
3773 2005-04-19 Michael Koch <konqueror@gmx.de>
3775 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
3777 * javax/swing/text/html/parser/AttributeList.java:
3778 Fixed order of modifiers.
3779 (AttributeList): Made final.
3780 * javax/swing/text/html/parser/ContentModel.java:
3781 Fixed html characters in javadocs.
3782 * javax/swing/text/html/parser/DTD.java
3783 (DTD): Don't implement java.io.Serializable directly.
3784 (getElement): Simplified.
3785 * javax/swing/text/html/parser/DTDConstants.java:
3787 * javax/swing/text/html/parser/Element.java:
3788 Fixed order of modifiers.
3789 * javax/swing/text/html/parser/Parser.java:
3790 Reformatted. Don't use fully-qualified class names.
3791 * javax/swing/text/html/parser/ParserDelegator.java:
3792 Fixed order of modifiers.
3793 * javax/swing/text/rtf/RTFParser.java:
3794 Re-ordered import statements.
3795 * javax/swing/text/rtf/RTFScanner.java:
3796 Removed unused import statement.
3798 2005-04-19 Chris Burdess <dog@gnu.org>
3800 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
3801 gnu/xml/dom/html2/DomHTMLCollection.java,
3802 gnu/xml/dom/html2/DomHTMLDocument.java,
3803 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
3805 * gnu/xml/dom/html2/DomHTMLDListElement.java,
3806 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
3807 gnu/xml/dom/html2/DomHTMLDivElement.java,
3808 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
3809 gnu/xml/dom/html2/DomHTMLFontElement.java,
3810 gnu/xml/dom/html2/DomHTMLFormElement.java,
3811 gnu/xml/dom/html2/DomHTMLFrameElement.java,
3812 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
3813 gnu/xml/dom/html2/DomHTMLHRElement.java,
3814 gnu/xml/dom/html2/DomHTMLHeadElement.java,
3815 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
3816 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
3817 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3818 gnu/xml/dom/html2/DomHTMLImageElement.java,
3819 gnu/xml/dom/html2/DomHTMLInputElement.java,
3820 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
3821 gnu/xml/dom/html2/DomHTMLLIElement.java,
3822 gnu/xml/dom/html2/DomHTMLLabelElement.java,
3823 gnu/xml/dom/html2/DomHTMLLegendElement.java,
3824 gnu/xml/dom/html2/DomHTMLLinkElement.java,
3825 gnu/xml/dom/html2/DomHTMLMapElement.java,
3826 gnu/xml/dom/html2/DomHTMLMenuElement.java,
3827 gnu/xml/dom/html2/DomHTMLMetaElement.java,
3828 gnu/xml/dom/html2/DomHTMLModElement.java,
3829 gnu/xml/dom/html2/DomHTMLOListElement.java,
3830 gnu/xml/dom/html2/DomHTMLObjectElement.java,
3831 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
3832 gnu/xml/dom/html2/DomHTMLOptionElement.java,
3833 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
3834 gnu/xml/dom/html2/DomHTMLParamElement.java,
3835 gnu/xml/dom/html2/DomHTMLPreElement.java,
3836 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
3837 gnu/xml/dom/html2/DomHTMLScriptElement.java,
3838 gnu/xml/dom/html2/DomHTMLSelectElement.java,
3839 gnu/xml/dom/html2/DomHTMLStyleElement.java,
3840 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
3841 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3842 gnu/xml/dom/html2/DomHTMLTableColElement.java,
3843 gnu/xml/dom/html2/DomHTMLTableElement.java,
3844 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3845 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3846 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
3847 gnu/xml/dom/html2/DomHTMLTitleElement.java,
3848 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
3850 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
3852 * javax/swing/text/ChangedCharSetException.java,
3853 javax/swing/text/html/HTMLEditorKit.java,
3854 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
3855 javax/swing/text/html/parser/AttributeList.java,
3856 javax/swing/text/html/parser/ContentModel.java,
3857 javax/swing/text/html/parser/DocumentParser.java,
3858 javax/swing/text/html/parser/DTD.java,
3859 javax/swing/text/html/parser/DTDConstants.java,
3860 javax/swing/text/html/parser/Element.java,
3861 javax/swing/text/html/parser/Entity.java,
3862 javax/swing/text/html/parser/Parser.java,
3863 javax/swing/text/html/parser/TagElement.java,
3864 gnu/javax/swing/text/html/package.html,
3865 gnu/javax/swing/text/html/parser/gnuDTD.java,
3866 gnu/javax/swing/text/html/parser/HTML_401F.java,
3867 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
3868 gnu/javax/swing/text/html/parser/htmlValidator.java,
3869 gnu/javax/swing/text/html/parser/package.html,
3870 gnu/javax/swing/text/html/parser/models/list.java,
3871 gnu/javax/swing/text/html/parser/models/node.java,
3872 gnu/javax/swing/text/html/parser/models/noTagModel.java,
3873 gnu/javax/swing/text/html/parser/models/package.html,
3874 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
3875 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
3876 gnu/javax/swing/text/html/parser/models/transformer.java,
3877 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
3878 gnu/javax/swing/text/html/parser/support/package.html,
3879 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
3880 gnu/javax/swing/text/html/parser/support/Parser.java,
3881 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
3882 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
3883 gnu/javax/swing/text/html/parser/support/low/Constants.java,
3884 gnu/javax/swing/text/html/parser/support/low/Location.java,
3885 gnu/javax/swing/text/html/parser/support/low/node.java,
3886 gnu/javax/swing/text/html/parser/support/low/package.html,
3887 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
3888 gnu/javax/swing/text/html/parser/support/low/pattern.java,
3889 gnu/javax/swing/text/html/parser/support/low/Queue.java,
3890 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
3892 * javax/swing/text/html/HTML.java,
3893 javax/swing/text/html/parser/ParserDelegator.java:
3894 New files (replacing).
3895 * javax/swing/text/html/package.html,
3896 javax/swing/text/html/parser/package.html: Documenting the
3899 2005-04-19 Chris Burdess <dog@gnu.org>
3901 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3902 gnu/xml/dom/html2/DomHTMLAppletElement.java,
3903 gnu/xml/dom/html2/DomHTMLAreaElement.java,
3904 gnu/xml/dom/html2/DomHTMLBaseElement.java,
3905 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
3906 gnu/xml/dom/html2/DomHTMLBodyElement.java,
3907 gnu/xml/dom/html2/DomHTMLBRElement.java,
3908 gnu/xml/dom/html2/DomHTMLButtonElement.java,
3909 gnu/xml/dom/html2/DomHTMLCollection.java,
3910 gnu/xml/dom/html2/DomHTMLDocument.java,
3911 gnu/xml/dom/html2/DomHTMLElement.java: New files.
3913 2005-04-19 Michael Koch <konqueror@gmx.de>
3915 * Makefile.am: Added new files.
3916 * Makefile.in: Regenerated.
3918 2005-04-19 Roman Kennke <roman@kennke.org>
3920 * javax/swing/text/JTextComponent.java
3921 (JTextComponent): Added repaintListener which issues repaint
3922 requests when the underlying document changes.
3923 (setDocument): Adds repaintListener to document when the
3924 document is changed.
3925 * javax/swing/text/DefaultEditorKit.java:
3926 Removed repaint calls on JTextComponent. This is now handled
3927 through a DocumentListener in JTextComponent that repaints
3928 the component when needed.
3930 2005-04-19 Roman Kennke <roman@kennke.org>
3933 * javax/swing/text/StyleContext.java
3934 (NamedStyle.setResolveParent): Added null
3937 2005-04-19 Michael Koch <konqueror@gmx.de>
3939 * java/rmi/server/RemoteObject.java:
3940 Removed unused import statement.
3942 2005-04-19 Michael Koch <konqueror@gmx.de>
3944 * java/net/URL.java: Formatting cleanups.
3946 2005-04-19 Michael Koch <konqueror@gmx.de>
3948 * java/awt/FontMetrics.java: Reformatted.
3949 (getFontRenderContext): Handle case when java.awt.Graphics context is
3952 2005-04-19 Michael Koch <konqueror@gmx.de>
3954 * java/awt/FontMetrics.java
3955 (getStringBounds): New methods.
3958 2005-04-19 Michael Koch <konqueror@gmx.de>
3960 * gnu/java/security/x509/X509Certificate.java
3961 (parse): Handle val == null case.
3963 2005-04-19 Roman Kennke <roman@kennke.org>
3965 * javax/swing/plaf/metal/MetalLookAndFeel.java
3966 (initComponentDefaults): Added defaults for Menu, MenuBar
3969 2005-04-19 Roman Kennke <roman@kennke.org>
3971 * javax/swing/plaf/metal/MetalLookAndFeel.java
3972 (initComponentDefaults): Added Label.font.
3973 (initSystemColorDefaults): Added this method and adjusted the
3974 general control color.
3976 2005-04-19 Roman Kennke <roman@kennke.org>
3978 * javax/swing/plaf/metal/MetalBorders.java:
3980 * javax/swing/plaf/metal/MetalButtonUI.java:
3981 (installDefaults): Install button font.
3982 * javax/swing/plaf/metal/MetalLookAndFeel.java:
3983 (initComponentDefaults): Added button border, font and margin.
3984 Changed components background color to the Metal current themes
3987 2005-04-19 Roman Kennke <roman@kennke.org>
3989 * javax/swing/plaf/metal/MetalLookAndFeel.java
3990 (initComponentDefaults): Added to set Metal specific component
3993 2005-04-19 Mark Wielaard <mark@klomp.org>
3995 * javax/swing/plaf/metal/MetalLookAndFeel.java
3996 (initClassDefaults): Call super.initClassDefaults().
3998 2005-04-19 Roman Kennke <roman@kennke.org>
4000 * javax/swing/plaf/metal/MetalLookAndFeel.java
4001 (initClassDefaults): Added to include the *UI classes.
4003 2005-04-19 Roman Kennke <roman@kennke.org>
4005 * javax/swing/plaf/metal/MetalComboBoxUI.java:
4007 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
4009 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
4011 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
4013 * javax/swing/plaf/metal/MetalProgressBarUI.java:
4015 * javax/swing/plaf/metal/MetalRootPaneUI.java:
4017 * javax/swing/plaf/metal/MetalScrollBarUI.java:
4019 * javax/swing/plaf/metal/MetalSeparatorUI.java:
4021 * javax/swing/plaf/metal/MetalSliderUI.java:
4023 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
4025 * javax/swing/plaf/metal/MetalTextFieldUI.java:
4027 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
4029 2005-04-19 Roman Kennke <roman@kennke.org>
4031 * javax/swing/plaf/metal/MetalButtonUI.java:
4032 Added skeleton class.
4033 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
4034 Added skeleton class.
4035 * javax/swing/plaf/metal/MetalLabelUI.java:
4036 Added skeleton class.
4037 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
4038 Added skeleton class.
4039 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
4040 Added skeleton class.
4041 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
4042 Added skeleton class.
4044 2005-04-19 Roman Kennke <roman@kennke.org>
4046 * javax/swing/UIDefaults.java:
4047 Added API documentation for all methods.
4049 2005-04-19 Roman Kennke <roman@kennke.org>
4051 * javax/swing/UIDefaults.java
4052 (put): Now uses new checkAndPut method instead of checking
4054 (putDefaults): Fixed so that it accepts null-values and
4055 treats them like remove(key).
4056 (checkAndPut): Added. This checks for null-values and calls
4059 2005-04-19 Michael Koch <konqueror@gmx.de>
4061 * Makefile.am: Added new files.
4062 * Makefile.in: Regenerated.
4064 2005-04-19 Mark Wielaard <mark@klomp.org>
4066 * java/lang/natRuntime.cc (insertSystemProperties): Set
4067 java.class.path to CLASSPATH only when not empty. Fall back to
4068 default path "." when java.class.path is empty.
4070 2005-04-19 Michael Koch <konqueror@gmx.de>
4072 * javax/swing/text/rtf/ControlWordToken.java,
4073 javax/swing/text/rtf/RTFEditorKit.java,
4074 javax/swing/text/rtf/RTFParseException.java,
4075 javax/swing/text/rtf/RTFParser.java,
4076 javax/swing/text/rtf/RTFScanner.java,
4077 javax/swing/text/rtf/TextToken.java,
4078 javax/swing/text/rtf/Token.java: New files.
4079 * Makefile.am: Added new files.
4080 * Makefile.in: Regenerated.
4082 2005-04-19 Michael Koch <konqueror@gmx.de>
4084 * java/awt/geom/QuadCurve2D.java:
4085 Fixed Brian Gough's name for real.
4087 2005-04-19 Roman Kennke <roman@kennke.org>
4089 * javax/swing/UIManager.java:
4090 Make the UIManager respect the swing.defaultlaf system
4093 2005-04-19 Tom Tromey <tromey@redhat.com>
4095 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
4098 2005-04-19 Roman Kennke <roman@kennke.org>
4100 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4101 Fixed tabs to spaces.
4103 2005-04-19 Roman Kennke <roman@kennke.org>
4105 * javax/swing/plaf/basic/BasicMenuUI.java
4106 (getMaximumSize): Now returns preferredSize because JMenu should
4107 never be bigger than that.
4108 * javax/swing/JRootPane
4109 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
4111 2005-04-19 Roman Kennke <roman@kennke.org>
4113 * javax/swing/JRootPane.java:
4114 Fixed various tabs to be spaces.
4115 (RootLayout.layoutContainer): Made menubar left aligned.
4117 2005-04-19 Roman Kennke <roman@ontographics.com>
4119 * javax/swing/JList.java
4120 (getPreferredScrollableViewportSize):
4121 The previous implementation was merely guessing the size,
4122 now it respects layoutOrientation, visibleRowCount
4124 (getScrollableTracksViewportHeight):
4125 Reimplemented so that layoutOrientation, visibleRowCount
4126 and preferred size are respected.
4127 (getScrollableTracksViewportWidth):
4128 Reimplemented so that layoutOrientation, visibleRowCount
4129 and preferred size are respected.
4130 * javax/swing/plaf/basic/BasicListUI.java
4132 Improved calculation of preferredSize when JList is
4133 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
4135 The previous implementation assumed a layoutOrientation of
4136 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
4137 JList.VERTICAL_WRAP.
4139 2005-04-19 Roman Kennke <roman@ontographics.com>
4141 * javax/swing/plaf/basic/BasicListUI.java
4142 (paintCell): use CellRendererPane for painting the cells.
4144 2005-04-19 Roman Kennke <roman@ontographics.com>
4146 * javax/swing/plaf/basic/BasicListUI:
4147 fixed modifiers of several fields, methods and inner
4148 classes to match the 'spec'.
4149 (getMaximumSize): removed. It's not in the spec and the
4150 implementations was superfluous.
4152 2005-04-19 Roman Kennke <roman@ontographics.com>
4154 * javax/swing/plaf/basic/BasicListUI:
4155 make BasicListUI capable of wrapping lists
4156 (layoutOrientation property of javax.swing.JList)
4158 2005-04-19 Roman Kennke <roman@ontographics.com>
4160 * javax/swing/plaf/basic/BasicListUI
4161 (updateLayoutState,paint): make BasicListUI aware of the
4162 width of the rendered JList.
4164 2005-04-19 Roman Kennke <roman@kennke.org>
4166 * javax/swing/ImageIcon.java
4167 Added API documentation.
4169 2005-04-19 Roman Kennke <roman@kennke.org>
4171 * javax/swing/text/ImageIcon.java
4172 (ImageIcon): Use setImage instead of direct assignment.
4173 (setImage): Call loadImage to make sure that the image is loaded.
4174 (loadImage): Waits for the image to complete loading.
4175 (getImageLoadStatus): Added. Returns the load status of the
4178 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
4180 * javax/swing/JTextArea.java (replaceRange):
4181 Fixing doc.remove(start, length) misinterpretation.
4183 2005-04-19 Roman Kennke <roman@ontographics.com>
4185 * javax/swing/CellRendererPane.java:
4186 implemented all methods of this class.
4187 reformatted all wrong formatted code.
4189 2005-04-19 Roman Kennke <roman@kennke.org>
4191 * javax/swing/BoxLayout.java:
4192 (layoutContainer): Made this layout manager respect the
4193 minimum, maximum and preferred size more correctly.
4195 2005-04-19 Roman Kennke <roman@ontographics.com>
4197 * javax/swing/BoxLayout.java:
4198 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
4199 layoutContainer): Make these methods and thereby the
4200 BoxLayout respect the insets (like borders) of the
4201 component that is laid out.
4203 2005-04-19 Roman Kennke <roman@kennke.org>
4205 * javax/swing/JComponent.java:
4206 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
4207 Untabified the file.
4209 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
4211 * javax/swing/JComboBox.java (constructors): selecting the
4212 first item if the box was constructed from the provided
4213 non - empty array or vector.
4215 2005-04-19 Michael Koch <konqueror@gmx.de>
4217 * gnu/java/awt/peer/gtk/GdkGraphics.java
4218 (getClipBounds): Handle clip being null.
4219 (setClip): Likewise.
4220 * java/beans/beancontext/BeanContextSupport.java
4224 (removeAll): Likewise.
4225 (retainAll): Likewise.
4227 2005-04-19 Michael Koch <konqueror@gmx.de>
4229 * java/beans/beancontext/BeanContextServicesSupport.java
4230 (BeanContextServicesSupport): Reimplemented.
4231 (addBeanContextServicesListener): Implemented.
4232 (initialize): Likewise.
4233 (removeBeanContextServicesListener): Likewise.
4234 * java/beans/beancontext/BeanContextSupport.java
4236 (addBeanContextMembershipListener): Likewise.
4237 (getLocale): Likewise.
4238 (initialize): Likewise.
4239 (iterator): Likewise.
4241 (toArray): Likewise.
4243 2005-04-19 Roman Kennke <roman@kennke.org>
4245 * java/awt/MediaTracker.java:
4246 Reindented tabs to spaces.
4248 2005-04-19 Roman Kennke <roman@kennke.org>
4250 * java/awt/MediaTracker.java
4251 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
4252 confused the media tracker and lead to lockups. The LOADING
4253 bit is handled on other places.
4254 (addImage): Removed the 'start image tracking' stuff. This
4255 is not necessary and could confuse the media tracker.
4256 (checkAll): Improved the check for image status so that
4257 images that already complete images are detected. Also now
4258 are really all images checked and if necessary loaded. Before
4259 the method bailed out after the first incomplete image.
4260 (statusAll): Detect images that are complete after the
4261 call to Component.prepareImage(..).
4262 (checkID): The same as in checkAll.
4263 (statusID): The same as in statusAll.
4265 2005-04-19 Roman Kennke <roman@kennke.org>
4267 * java/awt/MediaTracker.java
4268 (addImage): Synchronized list access.
4269 (waitForAll): Fixed comparison of time (changed < to >).
4270 (waitForID): Fixed comparison of time (changed < to >).
4271 (removeImage): Synchronized list access.
4273 2005-04-19 Roman Kennke <roman@kennke.org>
4275 * java/awt/MediaTracker.java
4276 Added API documentation.
4278 2005-04-19 Roman Kennke <roman@kennke.org>
4280 * java/awt/MediaTracker.java
4281 (MediaEntry.imageUpdate): Fixed flags. The different flags
4282 must not be ORed together.
4283 (checkAll): Modified to handle different meaning of the flags.
4284 (waitForAll): Fixed so that it waits maximum the
4285 specified amount of milliseconds.
4286 (statusAll): Modified to handle different meaning of the flags.
4287 (waitForID): Fixed so that it waits maximum the
4288 specified amount of milliseconds.
4290 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
4292 * java/awt/Font.java (decode): Handle null argument and allow
4295 2005-04-19 Robert Schuster <thebohemian@gmx.net>
4297 * java/beans/EventHandler.java: Reworked documentation.
4298 (invoke): Fixed behavior to match spec.
4300 2005-04-19 Michael Koch <konqueror@gmx.de>
4302 * java/awt/print/PrinterJob.java
4303 (pageDialog): New method.
4304 (printDialog): Implemented.
4306 2005-04-19 Michael Koch <konqueror@gmx.de>
4308 * java/awt/image/ConvolveOp.java:
4309 Removed comment added by eclipse.
4311 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
4313 * java/awt/image/IndexColorModel.java
4314 (getRGB): Check if pixel is negative.
4316 2005-04-19 Michael Koch <konqueror@gmx.de>
4318 * java/awt/image/RasterOp.java:
4319 Fixed wrong formatting.
4321 2005-04-18 Roman Kennke <roman@kennke.org>
4323 * java/awt/Compmonent.java
4324 (setComponentOrientation): Made this property firing a
4325 PropertyChangeEvent.
4327 2005-04-18 Roman Kennke <roman@kennke.org>
4329 * java/awt/BorderLayout.java
4330 (calcSize): Check for overflow when component sizes are added.
4332 2005-04-18 Robert Schuster <thebohemian@gmx.net>
4334 * java/awt/AWTEvent.java (toString): Added case
4335 for source not being an AWT component.
4337 2005-04-18 Chris Burdess <dog@gnu.org>
4339 * gnu/java/net/BASE64.java: Truncate encoded byte array.
4341 2005-04-18 Michael Koch <konqueror@gmx.de>
4343 gnu/java/awt/EmbeddedWindowSupport.java,
4344 gnu/java/net/HeaderFieldHelper.java,
4345 gnu/java/net/URLParseError.java,
4346 gnu/java/net/protocol/file/Handler.java,
4347 gnu/java/net/protocol/jar/Handler.java:
4348 Fixed usage of @author tag.
4350 2005-04-18 Michael Koch <konqueror@gmx.de>
4352 * gnu/xml/aelfred2/XmlParser.java:
4353 Reverted my typo fix.
4355 2005-04-18 Michael Koch <konqueror@gmx.de>
4357 * java/awt/geom/CubicCurve2D.java,
4358 java/awt/geom/QuadCurve2D.java:
4359 Fixed mentioning of Brian Gouph.
4361 2005-04-18 Michael Koch <konqueror@gmx.de>
4363 * gnu/java/awt/Buffers.java,
4364 gnu/java/awt/image/ImageDecoder.java,
4365 gnu/java/awt/image/XBMDecoder.java,
4366 gnu/java/awt/peer/ClasspathFontPeer.java,
4367 gnu/java/net/CRLFInputStream.java,
4368 gnu/java/net/EmptyX509TrustManager.java,
4369 gnu/java/net/LineInputStream.java,
4370 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4371 gnu/java/net/protocol/ftp/BlockInputStream.java,
4372 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4373 gnu/java/net/protocol/ftp/DTP.java,
4374 gnu/java/net/protocol/ftp/DTPInputStream.java,
4375 gnu/java/net/protocol/ftp/FTPConnection.java,
4376 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4377 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4378 gnu/java/net/protocol/ftp/StreamInputStream.java,
4379 gnu/java/net/protocol/http/ChunkedInputStream.java,
4380 gnu/java/net/protocol/http/HTTPConnection.java,
4381 gnu/java/net/protocol/http/HTTPURLConnection.java,
4382 gnu/java/net/protocol/http/Headers.java,
4383 gnu/java/net/protocol/http/Request.java,
4384 gnu/java/nio/ChannelInputStream.java,
4385 gnu/java/nio/ChannelOutputStream.java,
4386 gnu/java/nio/InputStreamChannel.java,
4387 gnu/java/nio/OutputStreamChannel.java,
4388 gnu/java/nio/SelectorProviderImpl.java,
4389 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
4390 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
4391 gnu/java/rmi/dgc/DGCImpl.java,
4392 gnu/java/rmi/registry/RegistryImpl.java,
4393 gnu/java/rmi/server/ProtocolConstants.java,
4394 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
4395 gnu/java/rmi/server/RMIIncomingThread.java,
4396 gnu/java/rmi/server/RMIObjectInputStream.java,
4397 gnu/java/rmi/server/RMIObjectOutputStream.java,
4398 gnu/java/rmi/server/RMIVoidValue.java,
4399 gnu/java/rmi/server/UnicastConnectionManager.java,
4400 gnu/java/rmi/server/UnicastRef.java,
4401 gnu/java/rmi/server/UnicastRemoteCall.java,
4402 gnu/java/rmi/server/UnicastRemoteStub.java,
4403 gnu/java/rmi/server/UnicastServerRef.java,
4404 gnu/java/security/OID.java,
4405 gnu/java/security/der/DERReader.java,
4406 gnu/java/security/provider/CollectionCertStoreImpl.java,
4407 gnu/java/security/provider/DSAParameterGenerator.java,
4408 gnu/java/security/provider/DefaultPolicy.java,
4409 gnu/java/security/provider/EncodedKeyFactory.java,
4410 gnu/java/security/provider/GnuDHPublicKey.java,
4411 gnu/java/security/provider/GnuDSAPrivateKey.java,
4412 gnu/java/security/provider/GnuDSAPublicKey.java,
4413 gnu/java/security/provider/GnuRSAPrivateKey.java,
4414 gnu/java/security/provider/GnuRSAPublicKey.java,
4415 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4416 gnu/java/security/provider/RSA.java,
4417 gnu/java/security/provider/SHA1PRNG.java,
4418 gnu/java/security/provider/SHA1withRSA.java,
4419 gnu/java/security/provider/X509CertificateFactory.java,
4420 gnu/java/security/x509/GnuPKIExtension.java,
4421 gnu/java/security/x509/X500DistinguishedName.java,
4422 gnu/java/security/x509/X509CRL.java,
4423 gnu/java/security/x509/X509CRLEntry.java,
4424 gnu/java/security/x509/X509CertPath.java,
4425 gnu/java/security/x509/X509CertSelectorImpl.java,
4426 gnu/java/security/x509/X509Certificate.java,
4427 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4428 gnu/java/security/x509/ext/BasicConstraints.java,
4429 gnu/java/security/x509/ext/CRLNumber.java,
4430 gnu/java/security/x509/ext/CertificatePolicies.java,
4431 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4432 gnu/java/security/x509/ext/Extension.java,
4433 gnu/java/security/x509/ext/GeneralNames.java,
4434 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4435 gnu/java/security/x509/ext/KeyUsage.java,
4436 gnu/java/security/x509/ext/PolicyConstraint.java,
4437 gnu/java/security/x509/ext/PolicyMappings.java,
4438 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4439 gnu/java/security/x509/ext/ReasonCode.java,
4440 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4441 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
4442 Reorganized import statements.
4444 2005-04-18 Michael Koch <konqueror@gmx.de>
4446 * gnu/java/awt/color/CieXyzConverter.java,
4447 gnu/java/awt/color/ClutProfileConverter.java,
4448 gnu/java/awt/color/ColorLookUpTable.java,
4449 gnu/java/awt/color/ColorSpaceConverter.java,
4450 gnu/java/awt/color/GrayProfileConverter.java,
4451 gnu/java/awt/color/GrayScaleConverter.java,
4452 gnu/java/awt/color/LinearRGBConverter.java,
4453 gnu/java/awt/color/ProfileHeader.java,
4454 gnu/java/awt/color/PyccConverter.java,
4455 gnu/java/awt/color/RgbProfileConverter.java,
4456 gnu/java/awt/color/SrgbConverter.java,
4457 gnu/java/awt/color/TagEntry.java,
4458 gnu/java/awt/color/ToneReproductionCurve.java:
4459 Standardized file headers.
4461 2005-04-16 Tom Tromey <tromey@redhat.com>
4463 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
4464 'ANY' package-private.
4466 2005-04-15 Tom Tromey <tromey@redhat.com>
4468 * Makefile.in: Rebuilt.
4469 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
4470 (libgcj0_convenience_la_LIBADD): ... here.
4472 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4474 * gij.cc (version): Properly quote java version.
4475 (main): Fix typo in comment.
4477 2005-04-13 Mark Wielaard <mark@klomp.org>
4479 * java/lang/natRuntime.cc (insertSystemProperties): Set
4480 java.class.path to CLASSPATH if not already set.
4482 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4484 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
4486 2005-04-12 Mike Stump <mrs@apple.com>
4488 * configure: Regenerate.
4490 2005-04-12 Aaron Luchko <aluchko@redhat.com>
4493 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
4494 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
4496 2005-04-12 Aaron Luchko <aluchko@redhat.com>
4499 * scripts/TexinfoDoclet.java: Removed.
4500 * Makefile.am (texinfo): Removed.
4501 * Makefile.in: Regenerated.
4503 2005-04-11 Michael Koch <konqueror@gmx.de>
4505 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
4506 Fixed wrong casting.
4508 2005-04-06 Andrew Haley <aph@redhat.com>
4510 * testsuite/libjava.lang/bytearray.java: New file.
4511 * testsuite/libjava.lang/bytearray.out: New file.
4512 * java/lang/ClassLoader.java (loadClassFromSig): Declare
4513 (loadClass): Use it.
4514 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
4516 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
4518 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
4519 gcj-dbtool dependency
4520 * Makefile.in: Regenerated
4522 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
4524 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
4525 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
4527 2005-04-05 Andrew Haley <aph@redhat.com>
4529 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
4530 (Tokenizer): New class.
4531 (getFiles): New method.
4532 (main): Add "-" argument.
4534 Read list of files from stdin when merging map databases.
4535 (usage): Add "-" argument.
4539 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
4542 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
4543 * Makefile.in: Regenerate.
4544 * configure.ac: Add --with-java-home option.
4545 * configure: Regenerate.
4546 * external/Makefile.in: Regenerate.
4547 * external/sax/Makefile.in: Regenerate.
4548 * external/w3c_dom/Makefile.in: Regenerate.
4549 * gcj/Makefile.in: Regenerate.
4550 * include/Makefile.in: Regenerate.
4551 * testsuite/Makefile.in: Regenerate.
4552 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
4555 2005-04-05 Tom Tromey <tromey@redhat.com>
4557 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
4558 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
4559 Rewrote to use _Jv_FindClassFromSignature.
4560 * verify.cc (resolve): throw NoClassDefFoundError.
4561 * link.cc (resolve_field): Throw NoClassDefFoundError.
4562 (find_field): Likewise.
4563 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
4564 Handle error cases. Added 'endp' argument.
4565 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
4567 2005-04-05 Tom Tromey <tromey@redhat.com>
4569 * Makefile.in: Rebuilt.
4570 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
4571 gtk_awt_peer_sources.
4572 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
4573 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
4574 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
4575 (gtk-awt-peer.lo): New target.
4577 2005-04-04 Steve Pribyl <steve@netfuel.com>
4580 * configure.ac: Fix fastjar definition for cross builds.
4581 * configure: Rebuilt.
4583 2005-04-04 Tom Tromey <tromey@redhat.com>
4585 * java/lang/ClassLoader.java (loadClass): Resolve class even if
4586 it was already found.
4588 2005-04-04 Tom Tromey <tromey@redhat.com>
4590 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
4591 org.metastatic.jessie.
4593 2005-04-02 Anthony Green <green@redhat.com>
4596 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
4598 2005-04-02 Mark Wielaard <mark@klomp.org>
4600 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
4601 Attributes and attribute order doesn't matter.
4602 (BasicAttributesEnumeration.where): Initialize to zero.
4603 (BasicAttributesEnumeration.nextElement): Update and compare where
4604 appropriately (zero based).
4606 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
4608 PR libgcj/20090, PR libgcj/20526
4609 * gij.cc (nonstandard_opts_help): New function.
4610 (add_option): New function.
4611 (main): Support java options. Set java.class.path. Don't set
4613 * prims.cc (parse_x_arg): New function.
4614 (parse_init_args): Call parse_x_arg for -X and _ options, when
4615 ignoreUnrecognized is true.
4616 (new _Jv_RunMain): New vm_args variant.
4617 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
4618 (_Jv_Jar_Class_Path): Remove variable.
4619 * include/java-props.h: Likewise.
4620 * include/cni.h (JvRealloc): New function.
4621 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
4622 * java/lang/natRuntime.cc (insertSystemProperties): Remove
4623 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
4625 * configure.ac (JV_VERSION): Define.
4626 (JV_API_VERSION): Likewise.
4627 * configure: Regenerate.
4628 * include/config.h.in: Regenerate.
4630 2005-04-01 Mark Anderson <mark@panonet.net>
4632 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
4633 -Infinity as parameters.
4635 2005-04-01 Michael Koch <konqueror@gmx.de>
4637 * java/io/PipedInputStream.java
4638 (read): Make sure a positive byte value is returned. Revised javadoc.
4639 Thanks to Olafur Bragason for reporting these bugs.
4641 2005-04-01 Tom Tromey <tromey@redhat.com>
4643 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4644 Updated for name change.
4645 (nativeFindClass): New method.
4646 (loadClass): Use nativeFindClass.
4647 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
4649 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
4650 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
4652 (initialize): New method.
4653 (nativeFindClass): Declare.
4654 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
4655 * gnu/gcj/runtime/VMClassLoader.java: Removed.
4656 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
4658 (definePackageForNative): Removed.
4659 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
4660 Moved to VMClassLoader.java.
4661 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
4662 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
4663 (ordinary_java_source_files): Added ExtensionClassLoader.java,
4664 removed VMClassLoader.java.
4665 (nat_source_files): Removed natVMClassLoader.cc.
4667 2005-04-01 Tom Tromey <tromey@redhat.com>
4669 * Makefile.in: Rebuilt.
4670 * Makefile.am (db_pathtail): Use $(gcc_version), not
4673 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
4675 * java/util/Timer.java
4676 (run): Stop the queue if a task throws an exception.
4678 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
4680 * javax/swing/text/JTextComponent.java (viewToModel): New method.
4682 2005-03-29 Ian Lance Taylor <ian@airs.com>
4684 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
4685 * external/sax/Makefile.in: Rebuild.
4686 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
4688 * external/w3c_dom/Makefile.in: Rebuild.
4690 2005-03-29 Tom Tromey <tromey@redhat.com>
4692 * java/lang/natRuntime.cc (insertSystemProperties): Set
4693 gnu.gcj.runtime.endorsed.dirs.
4694 * Makefile.in: Rebuilt.
4695 * Makefile.am (ordinary_java_source_files): Added
4696 HelperClassLoader.java.
4697 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
4698 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
4700 (init): Use addDirectoriesFromProperty.
4701 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
4702 HelperClassLoader. Use addDirectoriesFromProperty. Handle
4703 gnu.gcj.runtime.endorsed.dirs.
4704 * gnu/gcj/runtime/HelperClassLoader.java: New file.
4706 2005-03-26 Chris Burdess <dog@gnu.org>
4708 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
4711 2005-03-13 Michael Koch <konqueror@gmx.de>
4713 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
4715 2005-03-11 Chris Burdess <dog@gnu.org>
4717 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4720 2005-02-27 Chris Burdess <dog@gnu.org>
4722 * gnu/xml/aelfred2/JAXPFactory.java,
4723 gnu/xml/aelfred2/SAXDriver.java,
4724 gnu/xml/aelfred2/XmlParser.java,
4725 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
4726 formatting conventions. Replaced arrays of Object with struct-like
4727 classes for easier maintainability. Made SAXDriver.stringInterning
4728 package private to allow access from XmlParser inside the loop without
4729 a method call overhead.
4731 2005-03-11 Chris Burdess <dog@gnu.org>
4733 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4736 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
4738 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
4739 settings to sub Makefiles.
4740 (GCJH, ZIP): Prefix with top_builddir.
4741 * configure: Rebuild.
4742 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
4743 * external/w3c_dom/Makefile.in: Rebuild.
4744 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
4745 * external/sax/Makefile.in: Rebuild.
4747 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
4749 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4750 libsocket to the libraries to link for Solaris.
4752 2005-03-28 Per Bothner <per@bothner.com>
4754 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
4755 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
4757 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
4759 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
4760 to fix a ONESTEP fallout.
4761 * Makefile.in: Regenerate.
4763 2005-03-25 Mike Stump <mrs@apple.com>
4765 * configure.ac: Fix ZIP and GCJH at configure time to absolute
4766 paths like we do for the compiler, as we use it in external/sax
4767 and it doesn't get MULTIBUILDTOP right when multilibing.
4769 2005-03-24 Anthony Green <green@redhat.com>
4771 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
4773 (usage): Add [LIBDIR] to help output.
4774 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
4775 * Makefile.am (AM_CXXFLAGS): Define
4776 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
4777 (db_pathtail): New macro.
4779 2005-03-24 Tom Tromey <tromey@redhat.com>
4781 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
4782 add sax and w3c libraries.
4783 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
4785 * external/w3c_dom/Makefile.in: Rebuilt.
4786 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
4788 (libw3c_gcj_la_LDFLAGS): New variable.
4789 (noinst_LTLIBRARIES): Renamed.
4790 * external/sax/Makefile.in: Rebuilt.
4791 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
4793 (libsax_gcj_la_LDFLAGS): New variable.
4794 (noinst_LTLIBRARIES): Renamed.
4796 2005-03-23 Tom Tromey <tromey@redhat.com>
4798 * Makefile.in: Rebuilt.
4799 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
4800 (libgcj0_convenience_la_SOURCES): Don't include
4801 gnu_xml_source_files.
4802 (libgcj0_convenience_la_LIBADD): New variable.
4803 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
4804 (all_java_source_files): javax_imageio_source_files,
4805 javax_xml_source_files, and gnu_java_beans_source_files.
4806 ($(gnu_xml_source_files:.java=.lo)): Removed target.
4807 (gnu-xml.lo): New target.
4808 (javax-imageio.lo): Likewise.
4809 (javax-xml.lo): Likewise.
4810 (gnu-java-beans.lo): Likewise.
4811 (gnu_java_beans_source_files): New variable.
4812 (javax_imageio_source_files): Likewise.
4813 (javax_xml_source_files): Likewise.
4814 (javax_source_files): Moved files to other variable.
4815 (awt_java_source_files): Likewise.
4816 (ordinary_java_source_files): Added BootClassLoader.java.
4817 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
4818 not system class loader.
4819 (initBootLoader): New method.
4820 (loadClass): Search bootLoader.
4821 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
4822 boot loader, not system class loader.
4823 (_Jv_UnregisterInitiatingLoader): Likewise.
4824 (_Jv_FindClass): Likewise. Ensure entries in
4825 bootstrap_class_list are unique.
4826 * java/lang/natClass.cc (getClassLoader): Don't special case
4827 system class loader.
4828 * java/lang/VMClassLoader.java (bootLoader): New field.
4829 (getResource): Use bootLoader.
4830 (getResources): Likewise.
4831 (initBootLoader): Declare.
4832 * gnu/gcj/runtime/BootClassLoader.java: New file.
4833 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
4834 (EMPTY_ENUMERATION): Now package-private.
4835 * external/w3c_com/Makefile.in: Rebuilt.
4836 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
4837 (w3c.jar): New target.
4838 (classes.stamp): Updated.
4839 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4840 Changed name of library.
4841 (libw3c_gcj_la_SOURCES): New variable.
4842 (libw3c_gcj_la_GCJFLAGS): Likewise.
4843 (source_files): Renamed from lib3c_convenience_la_SOURCES.
4844 * external/sax/Makefile.in: Rebuilt.
4845 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
4846 (sax.jar): New target.
4847 (classes.stamp): Updated.
4848 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4849 Changed name of library.
4850 (libsax_gcj_la_SOURCES): New variable.
4851 (libsax_gcj_la_GCJFLAGS): Likewise.
4852 (source_files): Renamed from libsax_convenience_la_SOURCES.
4853 * stacktrace.cc (non_system_trace_fn): Don't look at system class
4855 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
4857 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
4859 2005-03-23 Sven de Marothy <sven@physto.se>
4861 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
4863 * java/util/Calendar.java
4864 (set): Use starting day of week when one is needed if none is given.
4865 * java/text/SimpleDateFormat.java
4866 (parse): Handle 1-12 and 1-24 timestamps correctly.
4867 * java/util/GregorianCalendar.java
4868 (computeTime, computeFields): HOUR should be in 0-11 format.
4869 (nonLeniencyCheck): Adjust leniency checking to that fact.
4870 (getLinearDay): Should be private.
4872 2005-03-23 Tom Tromey <tromey@redhat.com>
4874 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4875 (_Jv_CheckABIVersion): Use it.
4877 2005-03-22 Mike Stump <mrs@apple.com>
4879 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
4881 * include/posix.h: .dylib is used on all Apple MACH platforms.
4882 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
4884 2005-03-22 Tom Tromey <tromey@redhat.com>
4886 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
4888 2005-03-21 Tom Tromey <tromey@redhat.com>
4890 * java/lang/VMCompiler.java (static block): Also catch
4891 BufferUnderflowException.
4893 2005-03-21 Zack Weinberg <zack@codesourcery.com>
4895 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
4896 set tool_include_dir. In all substitutions, leave $(gcc_version)
4897 to be expanded by the Makefile.
4898 * aclocal.m4, configure: Regenerate.
4899 * Makefile.am: Set gcc_version. Replace all uses of
4900 @gcc_version@ with $(gcc_version).
4901 * external/Makefile.am, external/sax/Makefile.am
4902 * external/w3c_dom/Makefile.am, gcj/Makefile.am
4903 * testsuite/Makefile.am: Set gcc_version.
4904 * include/Makefile.am: Set gcc_version and tool_include_dir.
4905 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
4906 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
4907 * testsuite/Makefile.in: Regenerate.
4909 2005-03-17 Andrew Haley <aph@redhat.com>
4911 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
4913 Pass klass to _Jv_StackTrace::GetClassContext().
4914 * java/lang/ClassLoader.java (getParent): Pass class to
4915 VMSecurityManager.getClassContext()
4916 (getSystemClassLoader): Likewise.
4917 * java/lang/Package.java (getPackage): Likewise.
4918 (getPackages): Likewise.
4919 * java/lang/SecurityManager.java (getClassContext): Likewise.
4920 (currentClassLoader): Likewise.
4921 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
4922 (currentClassLoader) Add new arg: caller.
4923 Pass caller to VMSecurityManager.getClassContext.
4925 * stacktrace.cc (GetClassContext): Correct calculation of
4928 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
4929 im->source_file_name.
4931 2005-03-16 Andrew Haley <aph@redhat.com>
4933 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
4935 2005-03-16 Tom Tromey <tromey@redhat.com>
4937 * link.cc (ensure_class_linked): Removed #ifdef.
4938 (print_class_loaded): Likewise.
4939 (wait_for_state): Likewise.
4940 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
4941 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
4942 * include/java-interp.h: ... here.
4944 2005-03-16 Tom Tromey <tromey@redhat.com>
4946 * gnu/java/lang/MainThread.java (run): Load main class using
4947 system class loader.
4949 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
4951 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4952 lgcc_s to the libraries to link for Darwin.
4954 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
4956 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
4957 interpreter-specific code with #ifdef INTERPRETER.
4958 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
4959 (_Jv_StackTrace::FillInFrameInfo): Likewise.
4960 (_Jv_StackTrace::non_system_trace_fn): Likewise.
4961 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
4962 #ifdef INTERPRETER. Also protect declarations that use it.
4963 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
4964 #ifdef INTERPRETER block.
4966 2005-03-15 Jakub Jelinek <jakub@redhat.com>
4969 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
4970 * Makefile.in: Rebuilt.
4972 2005-03-15 David Daney <ddaney@avtrex.com>
4974 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
4977 2005-03-15 David Daney <ddaney@avtrex.com>
4979 * java/io/BufferedInputStream.java (available): Use 'in' instead
4980 of 'super' for underlying stream access.
4982 (read(byte[], int, int)): Ditto.
4984 (skip): Call skip on underlying stream when possible.
4986 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
4988 * stacktrace.cc (GetCallerInfo): Return nothing in case of
4989 SJLJ_EXCEPTIONS is defined.
4991 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
4993 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
4996 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
4998 * testsuite/lib/libjava.exp (libjava_init): Use the same target
5000 (libjava_arguments): Likewise.
5002 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
5003 (gcj_jni_test_one): Likewise.
5004 (gcj_jni_invocation_compile_c_to_binary): Likewise.
5005 Add flags to keep the Darwin linker quiet.
5006 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
5007 Add -liconv for Darwin.
5009 2005-03-11 Tom Tromey <tromey@redhat.com>
5011 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5012 (_Jv_CheckABIVersion): Use it.
5014 2005-03-11 Tom Tromey <tromey@redhat.com>
5016 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
5017 (usage): Document '-p'.
5018 * Makefile.in: Rebuilt.
5019 * Makefile.am (dbexecdir): New variable.
5020 (db_name): Likewise.
5021 (dbexec_DATA): Likewise.
5022 ($(db_name)): New target.
5023 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
5024 * java/lang/natRuntime.cc (insertSystemProperties): Set default
5027 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
5029 * exception.cc: Remove stray MethodRef.h include.
5030 * java/lang/natClass.cc: Likewise.
5031 * gnu/gcj/runtime/MethodRef.java: Removed.
5032 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5033 gnu/gcj/runtime/natStackTrace.cc: Really removed.
5034 * java/lang/natRuntime.cc (_load): Remove unsed variable.
5035 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
5036 * Makefile.in: Rebuilt.
5038 2005-03-10 Tom Tromey <tromey@redhat.com>
5040 * Makefile.in: Rebuilt.
5041 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
5043 2005-03-10 Chris Burdess <dog@bluezoo.org>
5045 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
5046 not currently parsing the DTD.
5048 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
5050 New Stack Trace infrastructure.
5051 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
5052 (gnu/gcj/runtime/StackTrace.java): Removed.
5053 (ordinary_java_source_files): Remove obsolete files.
5054 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
5055 * configure.host (fallback_backtrace_h): Set backtrace header
5056 for mingw and cygwin targets.
5057 * configure.ac: Make symlink for fallback backtrace headers.
5058 * Makefile.in, configure: Rebuilt.
5059 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
5060 Read 'LineNumberTable' attribute.
5061 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
5063 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
5065 * exception.cc: Remove unused include.
5066 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
5067 (SAVE_PC): New macro. Save current PC in the interpreter frame.
5068 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
5069 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
5070 table to direct threaded instruction values.
5071 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
5072 (_Jv_InterpMethod::run): No longer member function. All
5073 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
5074 is made or where an instruction could throw.
5075 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
5077 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
5078 (catch_fpe): Likewise.
5079 * stacktrace.cc: New file. Stack trace code now here.
5080 * gnu/gcj/runtime/MethodRef.java:
5081 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
5082 calls addr2line to look up PC addresses in a given binary or shared
5084 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5085 gnu/gcj/runtime/natStackTrace.cc: Removed.
5086 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
5087 this function name is specially recognised by the stack trace code
5088 and shouldn't be changed.
5089 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
5090 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
5091 (_Jv_InterpMethod::run): Update declaration.
5092 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
5094 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
5095 * include/java-stack.h: New file. Declarations for stack tracing.
5096 * include/jvm.h (_Jv_Frame_info): Removed.
5097 * java/lang/Class.h: Update friend declarations.
5098 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
5100 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
5101 (getStackTrace): Now native.
5102 (data): New RawDataManaged field.
5103 * java/lang/natClass.cc: Update includes.
5104 (forName): Use _Jv_StackTrace::GetCallingClass for
5105 calling-classloader check.
5106 (getClassLoader): Likewise.
5107 * java/lang/natRuntime.cc: Update includes.
5108 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
5109 * java/lang/natVMSecurityManager.cc: Update includes.
5110 (getClassContext): Use _Jv_StackTrace::GetClassContext.
5111 * java/lang/natVMThrowable.cc: New file. Native methods for
5113 * java/lang/reflect/natArray.cc: Update includes.
5114 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5115 accessibility check.
5116 * java/lang/reflect/natConstructor.cc: Update includes.
5117 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5118 accessibility check.
5119 * java/lang/reflect/natField.cc: Update includes.
5120 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
5121 accessibility check.
5122 * java/lang/reflect/natMethod.cc: Update includes.
5123 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
5124 accessibility check.
5125 * java/util/natResourceBundle.cc: Update includes.
5126 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
5127 * java/util/logging/natLogger.cc: Update includes. Use
5128 _Jv_StackTrace::GetCallerInfo to get call-site info.
5129 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
5131 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
5134 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
5136 * testsuite/libjava.compile/PR20312.java: New file.
5137 * testsuite/libjava.compile/PR20312.xfail: Likewise.
5138 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
5140 2005-03-09 Andrew Haley <aph@redhat.com>
5142 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
5144 (smallTransferTo): New.
5145 (transferFrom): Loop around smallTransferFrom, copying pageSize
5147 (transferTo): Likewise.
5149 2005-03-09 David Daney <ddaney@avtrex.com>
5152 Merge BufferedInputStream from GNU Classpath.
5153 * java/io/BufferedInputStream.java (marktarget): Field removed.
5154 (CHUNKSIZE): Field removed.
5155 (bufferSize): New field.
5156 (BufferedInputStream): Initialize fields.
5157 (close): Invalidate mark and buffer indexes.
5159 (read()): Move mark handling code to refill.
5160 (read(byte[], int, int)): Ditto.
5161 (skip): Ditto and simplify EOF testing.
5162 (refill): Rewritten.
5163 * java/io/InputStreamReader.java (refill): Removed mark and reset
5164 of internal BufferedInputStream.
5166 2005-03-09 Tom Tromey <tromey@redhat.com>
5168 * java/lang/natVMClassLoader.cc (defineClass): Reference
5169 'systemClassLoader' field directly.
5170 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
5172 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5173 Reference 'systemClassLoader' field directly.
5174 (_Jv_UnregisterInitiatingLoader): Likewise.
5175 (_Jv_FindClass): Likewise.
5177 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
5179 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
5181 * java/lang/mprec.h: Remove commented headers. Fix comment to match
5182 the file in GNU Classpath style.
5184 2005-03-09 Tom Tromey <tromey@redhat.com>
5186 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
5187 (toString): Synchronize.
5189 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
5191 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
5192 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
5194 2005-03-07 Tom Tromey <tromey@redhat.com>
5196 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
5197 (usage): Document '-f'.
5199 2005-03-07 Tom Tromey <tromey@redhat.com>
5201 * java/lang/VMCompiler.java (md5Digest): New field.
5202 (compileClass): Clone md5Digest instead of looking up a new one.
5204 2005-03-07 Tom Tromey <tromey@redhat.com>
5207 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
5208 * link.cc (find_field_helper): Added 'type' argument.
5209 (find_field): Updated.
5211 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
5212 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
5213 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
5214 throw UnsupportedOperationException, fixed comments.
5215 (setFont, setForeground): Fixed comments.
5216 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
5217 return type to boolean.
5218 (getNextEvent): Fixed javadocs.
5219 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
5220 (nativeQueueEmpty): Removed unused code.
5221 (iterateNativeQueue): Removed outer loop.
5223 2005-03-06 Roger Sayle <roger@eyesopen.com>
5226 * Makefile.am (libgcj0_convenience.la): Revert last change.
5227 * Makefile.in: Regenerate.
5229 2005-03-05 Anthony Green <green@redhat.com>
5231 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
5232 classpath_jawt_lock, classpath_jawt_unlock): New functions.
5233 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
5234 (_Jv_GetDrawingSurface): Set visualID.
5235 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
5236 (JAWT_GetAWT): Set Lock and Unlock.
5237 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
5239 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
5240 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
5241 JAWT_LOCK_SURFACE_CHANGED): New macros.
5242 (struct _JAWT): Add Lock and Unlock.
5244 2005-03-05 Roger Sayle <roger@eyesopen.com>
5245 Alexandre Oliva <aoliva@redhat.com>
5246 Kelley Cook <kcook@gcc.gnu.org>
5249 * Makefile.am (libgcj0_convenience.la): New rule to create a file
5250 of the object files to link to avoid exceeding the command line
5251 length limits on some platforms.
5252 (clean-local): Clean up objectlist files.
5253 * Makefile.in: Regenerate.
5255 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
5257 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
5258 spec_case. Initialize pointer mlo.
5260 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
5263 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
5265 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
5268 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
5269 uninitialized variable z.
5271 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
5272 possible unused variables.
5274 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
5276 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
5278 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5281 * testsuite/libjava.jni/jni.exp
5282 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
5284 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
5286 2005-02-23 David Daney <ddaney@avtrex.com>
5288 * configure.host: Don't use -mxgot for MIPS builds.
5290 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
5293 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
5294 (COMPPATH): Removed.
5295 (ZIP, GCJH): Replace it with ../$(host_subdir).
5296 (built_gcc_dir): Add $(host_subdir).
5297 * configure: Regenerate.
5298 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5299 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
5300 external/w3c_dom/Makefile.in: Regenerate.
5302 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
5304 * java/awt/font/TextAttribute.java: changed names to lower case;
5305 (readResolve): implemented.
5306 Added doc comments all over.
5308 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5311 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
5312 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
5313 value. Move argument parsing code to prims.cc.
5314 * prims.cc (no_properties): Remove.
5315 (_Jv_Compiler_Properties): Initialize to NULL.
5316 (_Jv_Properties_Count): Initialize to 0.
5317 (parse_verbose_args): New function.
5318 (parse_init_args): New function.
5319 (_Jv_CreateJavaVM): Call parse_init_args.
5320 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
5321 * gcj/cni.h (JvVMOption): New struct.
5322 (JvVMInitArgs): Likewise.
5323 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
5325 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
5326 (_Jv_VMInitArgs): Likewise.
5327 * include/java-props.h (_Jv_Properties_Count): Declare.
5328 * java/lang/natRuntime.cc (insertSystemProperties): Use
5329 _Jv_Properties_Count in for loop exit condition.
5330 * testsuite/libjava.jni/jni.exp
5331 (gcj_invocation_compile_c_to_binary): New procedure.
5332 (gcj_invocation_test_one): Likewise.
5333 (gcj_jni_run): Run JNI invocation API tests.
5334 * testsuite/libjava.jni/invocation/PR16923.c,
5335 testsuite/libjava.jni/invocation/PR16923.java,
5336 testsuite/libjava.jni/invocation/PR16923.out: New test.
5338 2005-02-23 Michael Koch <konqueror@gmx.de>
5340 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
5341 * Makefile.in: Regenerated.
5343 2005-02-23 Robert Schuster <thebohemian@gmx.net>
5345 * gnu/java/nio/ChannelReader: Fixed comments.
5347 2005-02-23 Robert Schuster <thebohemian@gmx.net>
5349 * java/nio/channels/Channels: Added FIXMEs about
5350 stub method implementation.
5351 (newReader): Implemented.
5352 * gnu/java/nio/ChannelReader: New class.
5354 2005-02-23 Michael Koch <konqueror@gmx.de>
5356 * java/text/SimpleDateFormat.java:
5357 Removed unused import.
5359 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5362 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
5363 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
5364 * Makefile.in: Regenerate.
5365 * configure.ac: Check for libXtst.
5366 * configure: Regenerate.
5368 2005-02-22 Mark Wielaard <address@bogus.example.com>
5370 * java/security/AlgorithmParameterGenerator.java (getInstance):
5371 Mention provider when throwing NoSuchProviderException.
5372 * java/security/AlgorithmParameters.java (getInstance): Likewise.
5373 * java/security/KeyFactory.java (getInstance): Likewise.
5374 * java/security/KeyStore.java (getInstance): Likewise.
5375 * java/security/SecureRandom.java (getInstance): Likewise.
5376 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
5378 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
5380 * java/lang/reflect/Proxy.java,
5382 java/security/SecureRandom.java,
5383 java/util/Timer.java,
5384 java/util/prefs/AbstractPreferences.java:
5385 Don't catch java.lang.ThreadDeath.
5387 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
5389 * java/awt/font/TransformAttribute.java,
5390 (TransformAttribute(AffineTransform)): throw
5391 IllegalArgumentException for null transform.
5392 (getTransform): return a copy of transform.
5393 Added doc comments to all.
5395 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
5397 * java/io/Externalizable.java,
5398 java/io/Serializable.java
5399 (serialVersionUID): Removed.
5400 * java/rmi/server/RemoteObject.java,
5401 java/rmi/server/UID.java
5402 (serialVersionUID): Made private.
5403 * java/rmi/server/RemoteRef.java,
5404 java/rmi/server/ServerRef.java
5405 (serialVersionUID): Set proper value.
5406 * java/security/interfaces/DSAPrivateKey.java,
5407 java/security/interfaces/DSAPublicKey.java,
5408 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5409 java/security/interfaces/RSAPrivateCrtKey.java,
5410 java/security/interfaces/RSAPrivateKey.java,
5411 java/security/interfaces/RSAPublicKey.java,
5412 javax/crypto/SecretKey.java
5413 (serialVersionUID): Added.
5415 2005-02-22 Tom Tromey <tromey@redhat.com>
5417 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
5419 2005-02-22 Tom Tromey <tromey@redhat.com>
5422 * verify.cc (type::EITHER): New constant.
5423 (check_field_constant): Use it.
5424 (type::compatible): Handle it.
5426 2005-02-22 Michael Koch <konqueror@gmx.de>
5428 * gnu/java/security/PolicyFile.java,
5429 gnu/java/security/pkcs/PKCS7SignedData.java,
5430 gnu/java/security/pkcs/SignerInfo.java:
5431 Fixed copyright header.
5433 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
5435 * java/beans/PropertyDescriptor.java
5436 (PropertyDescriptor,setReadMethod): Set propertyType.
5438 2005-02-22 Michael Koch <konqueror@gmx.de>
5440 * java/nio/DirectByteBufferImpl.java
5441 (owner): Fixed formatting of javadoc.
5442 * java/text/DateFormat.java
5443 (getAvailableLocales): Fixed formatting.
5444 * java/text/SimpleDateFormat.java:
5445 Fixed formatting and import statement order.
5446 * java/util/Calendar.java
5447 (Calendar): Fixed javadoc to be HTML compliant.
5448 * java/util/SimpleTimeZone.java:
5451 2005-02-22 Roman Kennke <roman@ontographics.com>
5453 * javax/swing/plaf/basic/BasicLookAndFeel.java
5454 (initComponentDefaults): Fixed Button left and right margin.
5456 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5458 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
5462 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5463 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5464 (getWidth): New method.
5465 (getHeight): Likewise.
5466 (create): Remove width, height and insets parameters. Move size
5468 (realize_cb): ... here. New function.
5469 (connectSignals): Connect realize_cb.
5470 (request_frame_extents): Remove FIXME. Move
5471 postInsetsChangedEvent lookup ...
5472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
5473 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
5474 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
5476 (windowGetWidthID): Likewise.
5477 (windowGetHeightID): Likewise.
5479 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5483 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
5485 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
5487 Merge serialization from GNU Classpath.
5488 * gcj/method.h: Add missing #includes.
5489 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
5490 primitive class IDs on the stream here...
5491 (resolveClass): ...not here.
5492 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
5494 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
5495 setLongNative, setIntNative, setShortNative, setCharNative,
5496 setByteNative, setBooleanNative, setObjectNative): New native methods.
5497 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
5498 setLongNative, setIntNative, setShortNative, setCharNative,
5499 setByteNative, setBooleanNative, setObjectNative): Implement them.
5500 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
5501 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
5502 the constructor here.
5503 (callConstructor): Removed.
5504 (getCallersClassLoader): Removed.
5505 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
5506 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
5507 to control whether setting final field values is permitted. Call
5508 getAddr() with checkFinal parameter instead of setAddr().
5509 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
5510 only if not done already.
5511 (getAddr): Add checkFinal parameter. Do the final field check only if
5515 2005-02-21 Mark Wielaard <mark@klomp.org>
5518 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
5521 2005-02-21 Mark Wielaard <mark@klomp.org>
5524 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
5525 without a super class and us ObjectStreamClass.lookupForClassObject().
5526 (resolveClass): Check for primitive types.
5527 (lookupClass): Return null when argument is null.
5529 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
5531 * java/io/ObjectInputStream.java
5532 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
5534 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
5536 * java/io/ObjectOutputStream.java
5537 (writeObject, callWriteMethod): Replaced reflection with accessing
5538 cached info in ObjectStreamClass.
5539 (getMethod): Removed.
5540 * java/io/ObjectStreamClass.java
5541 (findMethod): Added check to make sure the method found has the
5543 (cacheMethods): Added writeReplace and writeObject methods.
5544 (setFlags): Look at new writeObjectMethod field instead of doing
5546 (writeReplaceMethod): New field.
5547 (writeObjectMethod): New field.
5549 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
5550 Jeroen Frijters <jeroen@frijters.net>
5552 * java/io/ObjectInputStream.java
5553 (newObject): Changed prototype. Get a constructor reflect object
5555 (callConstructor): Removed.
5556 (allocateObject): Changed prototype.
5557 (readClassDescriptor): Build the constructor reflection directly.
5558 (readObject): Invoke newObject using the new prototype.
5560 * java/io/ObjectStreamClass.java
5561 (firstNonSerializableParent): Removed.
5562 (firstNonSerializableParentConstructor): Added.
5564 2005-02-21 Mark Wielaard <mark@klomp.org>
5566 * gnu/java/locale/LocaleInformation_en.java: Extend
5567 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
5569 2005-02-21 Mark Wielaard <mark@klomp.org>
5571 * java/text/SimpleDateFormat.java
5572 (SimpleDateFormat(String, DateFormatSymbols)): Throw
5573 NullPointerException when formatData is null.
5575 2005-02-21 Mark Wielaard <mark@klomp.org>
5577 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
5578 taking dstSavings into account.
5580 2005-02-21 Sven de Marothy <sven@physto.se>
5582 * java/text/SimpleDateFormat.java,
5583 (parse): Set correct DST_OFFSET to the correct value.
5585 2005-02-21 Mark Wielaard <mark@klomp.org>
5587 * java/util/SimpleTimeZone.java (checkRule): Throw
5588 IllegalArgumentException when month out of range.
5590 2005-02-21 Sven de Marothy <sven@physto.se>
5592 * java/util/GregorianCalendar.java,
5593 (add): Don't set fields directly anymore. Use set()
5595 2005-02-21 Mark Wielaard <mark@klomp.org>
5597 * java/text/SimpleDateFormat.java (CompiledField.toString):
5598 Use StringBuffer, not StringBuilder.
5599 (toString): Likewise.
5601 2005-02-21 Sven de Marothy <sven@physto.se>
5603 * java/util/Calendar.java
5604 (clear): Dates should clear to local time.
5605 * java/util/GregorianCalendar.java
5606 (computeTime): Fix priority problem with DAY_OF_WEEK,
5607 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
5609 2005-02-21 Sven de Marothy <sven@physto.se>
5611 * java/util/Calendar.java
5612 (Calendar): Constructor should clear fields.
5614 2005-02-21 Sven de Marothy <sven@physto.se>
5616 * java/text/SimpleDateFormat.java
5617 (parse): Tweak handling of 2-year dates
5618 * java/util/Calendar.java
5619 (clear): Clear fields to correct value.
5620 * java/util/GregorianCalendar.java
5621 (computeTime): Correct handling of time zones.
5622 Correct field minimum values.
5624 2005-02-21 Sven de Marothy <sven@physto.se>
5626 * java/util/Calendar.java
5627 (set) Invalidate all fields on first call to set().
5629 2005-02-21 Sven de Marothy <sven@physto.se>
5631 * java/util/GregorianCalendar.java
5632 (computeTime): Fixed handling of time zones.
5634 2005-02-21 Sven de Marothy <sven@physto.se>
5636 * java/util/Calendar.java
5637 (clear): Set values to Epoch instead of zero.
5638 (set): Set isSet to the relevant field pattern instead of just
5640 * java/util/GregorianCalendar.java
5641 (getBundle): Removed.
5642 (getDayOfYear): Removed.
5643 (getFirstDayOfMonth): New private method.
5644 (nonLeniencyCheck): New private method.
5645 (computeTime): Correct handling of insufficient data.
5647 2005-02-21 Sven de Marothy <sven@physto.se>
5649 * java/util/Calendar.java: Invalidate ERA field on setting
5651 * java/util/SimpleTimeZone.java:
5652 (getDaysInMonth): Reimplemented.
5653 * java/util/GregorianCalendar.java:
5654 (getLinearTime): Removed.
5655 (isLeapYear(int,boolean)): Removed.
5656 (before(), after()): Removed.
5657 (computeTime): Reimplemented.
5659 2005-02-21 Sven de Marothy <sven@physto.se>
5661 * java/util/Calendar.java: Reformatted.
5662 * java/util/GregorianCalendar.java: Reformatted.
5663 * java/util/SimpleTimeZone.java: Reformatted.
5665 2005-02-21 Sven de Marothy <sven@physto.se>
5667 * java/util/GregorianCalendar.java
5668 (GregorianCalendar): Update fields in the constructor
5670 2005-02-21 Noa Resare <noa@resare.com>
5672 * java/util/Calendar.java (explicitDSTOffset): New instance field.
5673 (set(int,int)): Set and use new field.
5674 (set(int,int,int)): Check new field.
5676 2005-02-21 Noa Resare <address@hidden>
5678 * java/util/Calendar.java(set):
5679 Fix for DST related regression.
5681 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
5683 * java/util/Calendar.java
5684 (setTimeInMillis): Added call to clear, removed computeFields call.
5685 * java/util/Date.java
5686 (Date(int,int,int,int,int,int)): Removed workaround for
5687 GregorianCalendar bug.
5688 * java/util/GregorianCalendar.java
5689 (GregorianCalendar): Chained all constructors to a (new)
5691 (computeTime): Fixed support for lenient month treatment.
5692 (getLinearDay): Return long instead of int.
5693 (calculateDay): Added fields argument and changed day argument
5696 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
5698 * java/text/SimpleDateFormat.java
5699 Lots of documentation updates.
5700 (readObject(java.io.ObjectInputStream)): Wraps
5701 IllegalArgumentException as specified.
5702 (compileFormat(String)): Uses standardChars
5703 rather than the local pattern characters.
5704 Throws IllegalArgumentException rather than
5706 (toString()): Extended to include all variables
5708 (translateLocalizedPattern(String, String, String)):
5709 Renamed to better define the use of this method.
5711 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
5713 * java/text/DateFormat.java:
5714 Documented pattern character offset constants and
5716 (Field): Added new static fields for new pattern chars.
5717 * java/text/SimpleDateFormat.java:
5718 (CompiledField): Changed name of FieldSizePair class
5719 to CompiledField after adding the character as an
5720 attribute. Changed fields to private and added
5721 accessors to give encapsulation.
5722 (CompiledField.CompiledField(int,int,char)): Extended
5723 with character field.
5724 (CompiledField.getField()): New accessor method.
5725 (CompiledField.getSize()): New acceessor method.
5726 (CompiledField.getCharacter()): New accessor method.
5727 (CompiledField.toString()): Added primarily for debugging.
5728 (standardChars): Now uses extended 24 character sequence.
5729 (compileFormat(String)): Changed to use CompiledField.
5730 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
5731 java.text.FieldPosition)): Changed to use CompiledField.
5732 New handler for RFC 822 timezones added.
5734 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
5736 * java/text/SimpleDateFormat.java:
5737 (parse(String, java.text.ParsePosition)):
5738 Changed 'E' and 'M' cases to use both
5739 short and long names. Extended 'z'
5740 case to also handle 'Z', and deal
5741 with simple GMT offsets such as +0100.
5742 (computeOffset(String)): New private method,
5743 which converts a GMT offset specification,
5744 such as GMT-0500 to a numeric offset in
5746 * java/util/TimeZone.java:
5747 (timezones()): Added "CEST", the daylight
5748 savings time version of "CET", or Central
5751 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5753 * java/text/SimpleDateFormat.java:
5754 (parse): Set the DST offset to 0 when parsing
5755 GMT offset timezones.
5757 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
5759 * java/text/SimpleDateFormat.java:
5760 (parse): Use offset to set ZONE_OFFSET
5761 rather than the DST_OFFSET, so that
5762 GMT offset timezones change the right
5765 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
5767 * java/text/SimpleDateFormat.java:
5768 (getDateFormatSymbols()): return a copy
5769 (setDateFormatSymbols(java.text.DateFormatSymbols)):
5770 throw exception on null input
5771 (clone()): implemented to clone
5774 2005-02-21 Sven de Marothy <sven@physto.se>
5776 * java/text/SimpleDateFormat.java
5777 (parse): comparison should be case-insensitive, ignore null
5780 2005-02-21 Robert Schuster <theBohemian@gmx.net>
5782 * gnu/java/beans/IntrospectionIncubator.java
5783 (addMethod) Reverts the patch that ntroduced a regression (see bug
5784 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
5786 2005-02-21 Michael Koch <konqueror@gmx.de>
5788 * java/awt/Checkbox.java
5789 (next_checkbox_number): New static variable.
5790 (generateName): New method.
5791 (getUniqueLong): Likewise.
5792 * java/awt/Window.java
5793 (next_window_number): New static variable.
5794 (generateName): New method.
5795 (getUniqueLong): Likewise.
5797 2005-02-21 Mark Wielaard <mark@klomp.org>
5799 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
5802 2005-02-21 Andrew Haley <aph@redhat.com>
5804 * Makefile.in: Rebuilt.
5805 * Makefile.am (nat_source_files): Added natLogger.cc.
5806 * java/util/logging/natLogger.cc: New file.
5807 * java/util/logging/Logger.java (getCallerStackFrame): Now
5810 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
5812 * Makefile.am (all_property_files): Remove left over.
5813 (classes.stamp): Add stamp for the ONESTEP build, also known as
5814 --enable-libgcj-multifile.
5815 * Makefile.in: Regenerated.
5817 2005-02-21 Michael Koch <konqueror@gmx.de>
5819 * java/awt/Button.java,
5820 java/awt/Container.java,
5822 java/awt/Frame.java,
5823 java/text/CollationElementIterator.java,
5824 java/text/RuleBasedCollator.java,
5825 java/util/PropertyPermission.java:
5826 Fixed formatting issues all over.
5828 2005-02-21 Mark Wielaard <mark@klomp.org>
5830 * java/io/FileDescriptor.java (sync): Add real exception to
5831 SyncFailedException.
5833 2005-02-21 Michael Koch <konqueror@gmx.de>
5835 * java/io/InputStreamReader.java:
5838 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
5841 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
5843 2005-02-20 Dalibor Topic <robilad@kaffe.org>
5845 * libraries/javalib/gnu/regexp/RE.java,
5846 libraries/javalib/java/io/ObjectInputStream.java,
5847 libraries/javalib/java/security/AllPermission.java,
5848 libraries/javalib/java/security/BasicPermission.java,
5849 libraries/javalib/java/security/Permissions.java,
5850 libraries/javalib/java/text/MessageFormat.java:
5851 Made 'inner' classes real public static inner classes,
5852 and made them final where possible, or removed them
5855 2005-02-20 Michael Koch <konqueror@gmx.de>
5857 * gnu/java/text/FormatCharacterIterator.java:
5858 Removed redundant modifiers.
5860 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5862 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
5865 2005-02-19 Michael Koch <konqueror@gmx.de>
5867 * Makefile.am: Added new files in gnu/java/beans and
5868 java/beans/XMLDecoder.java.
5869 * Makefile.in: Regenerated.
5871 2005-02-19 Robert Schuster <thebohemian@gmx.net>
5873 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
5874 assignment behavior by using java.lang.reflect.Array.set()
5877 2005-02-19 Dalibor Topic <robilad@kaffe.org>
5879 * gnu/java/beans/EmptyBeanInfo.java,
5880 gnu/java/beans/info/ComponentBeanInfo.java:
5881 Removed unused files.
5883 2005-02-19 Robert Schuster <thebohemian@gmx.net>
5885 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
5886 of AppletStub for java.beans.Beans.instantiate.
5887 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
5889 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
5890 to be conformant with Javadoc guidelines.
5891 (instantiate): Added two more overloaded variants, reworked user
5892 documentation, fixed exception behavior, fixed behavior when
5895 2005-02-19 Mark Wielaard <mark@klomp.org>
5897 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
5899 * gnu/java/beans/decoder/DummyContext.java: Likewise.
5901 2005-02-19 Robert Schuster <theBohemian@gmx.net>
5903 * gnu/java/beans/decoder/AbstractContext.java,
5904 gnu/java/beans/decoder/AbstractCreatableContext.java,
5905 gnu/java/beans/decoder/AbstractElementHandler.java,
5906 gnu/java/beans/decoder/AbstractObjectContext.java,
5907 gnu/java/beans/decoder/ArrayContext.java,
5908 gnu/java/beans/decoder/ArrayHandler.java,
5909 gnu/java/beans/decoder/AssemblyException.java,
5910 gnu/java/beans/decoder/BooleanHandler.java,
5911 gnu/java/beans/decoder/ByteHandler.java,
5912 gnu/java/beans/decoder/CharHandler.java,
5913 gnu/java/beans/decoder/ClassHandler.java,
5914 gnu/java/beans/decoder/ConstructorContext.java,
5915 gnu/java/beans/decoder/Context.java,
5916 gnu/java/beans/decoder/DecoderContext.java,
5917 gnu/java/beans/decoder/DefaultExceptionListener.java,
5918 gnu/java/beans/decoder/DoubleHandler.java,
5919 gnu/java/beans/decoder/DummyContext.java,
5920 gnu/java/beans/decoder/DummyHandler.java,
5921 gnu/java/beans/decoder/ElementHandler.java,
5922 gnu/java/beans/decoder/FloatHandler.java,
5923 gnu/java/beans/decoder/GrowableArrayContext.java,
5924 gnu/java/beans/decoder/IndexContext.java,
5925 gnu/java/beans/decoder/IntHandler.java,
5926 gnu/java/beans/decoder/JavaHandler.java,
5927 gnu/java/beans/decoder/LongHandler.java,
5928 gnu/java/beans/decoder/MethodContext.java,
5929 gnu/java/beans/decoder/MethodFinder.java,
5930 gnu/java/beans/decoder/NullHandler.java,
5931 gnu/java/beans/decoder/ObjectContext.java,
5932 gnu/java/beans/decoder/ObjectHandler.java,
5933 gnu/java/beans/decoder/PersistenceParser.java,
5934 gnu/java/beans/decoder/PropertyContext.java,
5935 gnu/java/beans/decoder/ShortHandler.java,
5936 gnu/java/beans/decoder/SimpleHandler.java,
5937 gnu/java/beans/decoder/StaticMethodContext.java,
5938 gnu/java/beans/decoder/StringHandler.java,
5939 gnu/java/beans/decoder/VoidHandler.java: New class
5940 implementing java.beans.XMLDecoder decoding functionality.
5941 * java/beans/XMLDecoder.java: New class.
5943 2005-02-19 Michael Koch <konqueror@gmx.de>
5945 * javax/swing/JTextField.java
5946 (notfiyAction): Added javadoc.
5948 2005-02-19 Sven de Marothy <sven@physto.se>
5950 * javax/swing/SpinnerDateModel.java: Implemented.
5952 2005-02-19 Michael Koch <konqueror@gmx.de>
5954 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
5955 * Makefile.in: Regenerated.
5957 2005-02-19 Michael Koch <konqueror@gmx.de>
5959 * gnu/java/nio/SelectorImpl.java:
5960 Reworked import statements.
5961 (register): Removed unused code.
5962 * java/nio/channels/Channels.java: Reformatted.
5963 * java/nio/charset/Charset.java: Likewise.
5964 * java/rmi/server/RemoteObject.java
5965 (serialVersionUID): Made private.
5966 * java/rmi/server/UID.java
5967 (serialVersionUID): Likewise.
5969 2005-02-19 Michael Koch <konqueror@gmx.de>
5971 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
5972 gnu/java/net/protocol/ftp/BlockInputStream.java,
5973 gnu/java/net/protocol/ftp/BlockOutputStream.java,
5974 gnu/java/net/protocol/ftp/CompressedInputStream.java,
5975 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
5976 gnu/java/net/protocol/ftp/DTPInputStream.java,
5977 gnu/java/net/protocol/ftp/DTP.java,
5978 gnu/java/net/protocol/ftp/DTPOutputStream.java,
5979 gnu/java/net/protocol/ftp/FTPConnection.java,
5980 gnu/java/net/protocol/ftp/FTPException.java,
5981 gnu/java/net/protocol/ftp/FTPResponse.java,
5982 gnu/java/net/protocol/ftp/FTPURLConnection.java,
5983 gnu/java/net/protocol/ftp/Handler.java,
5984 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
5985 gnu/java/net/protocol/ftp/StreamInputStream.java,
5986 gnu/java/net/protocol/ftp/StreamOutputStream.java,
5987 gnu/java/net/CRLFInputStream.java,
5988 gnu/java/net/CRLFOutputStream.java,
5989 gnu/java/net/GetLocalHostAction.java,
5990 gnu/java/net/protocol/ftp/package.html: New files.
5991 * Makefile.am: Added new files.
5992 * Makefile.in: Regenerated.
5994 2005-02-18 Tom Tromey <tromey@redhat.com>
5996 * link.cc (make_vtable): Remove abstract method check.
5997 (append_partial_itable): Likewise.
6000 * verify.cc (type::equals): Fixed test.
6001 * testsuite/libjava.lang/PR20056.out: New file.
6002 * testsuite/libjava.lang/PR20056.java: New file.
6004 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
6006 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
6007 not the HashEntry. Reported by Jean-Marie White.
6009 2005-02-18 Tom Tromey <tromey@redhat.com>
6012 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
6013 * link.cc (has_field_p): New function.
6014 * verify.cc (check_field_constant): Added 'putfield' argument.
6015 (verify_instructions_0): Updated.
6016 (type::equals): New method.
6018 2005-02-18 Anthony Green <green@redhat.com>
6020 * NEWS: Draft of libgcj NEWS for 4.0.
6022 2005-02-18 Anthony Green <green@redhat.com>
6024 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
6025 architecture names to "i386" for compatibility reasons. Win32
6028 2005-02-18 Anthony Green <green@redhat.com>
6030 * gij.cc (version): Change year for '--version' to 2005.
6031 * gnu/gcj/convert/Convert.java: Ditto.
6032 * gnu/java/rmi/rmic/RMIC.java: Ditto.
6033 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
6035 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
6036 recent copyright year in `--version' output.
6038 2005-02-18 Robert Schuster <thebohemian@gmx.net>
6040 * java/nio/charset/Charset.java (forName): Throws
6041 IllegalArgumentException when argument is null
6042 and added documentation.
6044 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
6046 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
6047 Move the position of the source buffer forward.
6049 2005-02-17 Tom Tromey <tromey@redhat.com>
6051 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
6052 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
6053 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
6054 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
6055 Changed type of second argument. Rewrote.
6056 (make_vtable): Use it.
6057 (append_partial_itable): Updated.
6058 (layout_vtable_methods): Updated.
6060 2005-02-17 Michael Koch <konqueror@gmx.de>
6062 * gnu/java/net/PlainSocketImpl.java
6063 (shutdownInput): Added javadoc.
6064 (shutdownOutput): Likewise.
6066 2005-02-17 Michael Koch <konqueror@gmx.de>
6068 * javax/print/attribute/standard/Chromaticity.java,
6069 javax/print/attribute/standard/Destination.java,
6070 javax/print/attribute/standard/MediaPrintableArea.java,
6071 javax/print/attribute/standard/MediaSize.java: New files.
6072 * Makefile.am: Added new files.
6073 * Makefile.in: Regenerated.
6075 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
6076 Michael Koch <konqueror@gmx.de>
6078 * gnu/java/net/protocol/http/Cookie.java,
6079 gnu/java/net/protocol/http/HTTPConnection.java,
6080 gnu/java/net/protocol/http/HTTPDateFormat.java,
6081 gnu/java/net/protocol/http/Request.java,
6082 gnu/java/nio/PipeImpl.java,
6083 gnu/java/rmi/dgc/DGCImpl.java,
6084 gnu/java/rmi/server/ConnectionRunnerPool.java,
6085 gnu/java/rmi/server/UnicastConnectionManager.java,
6086 gnu/java/security/der/DERWriter.java,
6087 gnu/java/security/pkcs/SignerInfo.java,
6088 gnu/java/security/provider/EncodedKeyFactory.java,
6089 gnu/java/security/provider/GnuDHPublicKey.java,
6090 gnu/java/security/provider/GnuDSAPrivateKey.java,
6091 gnu/java/security/provider/GnuDSAPublicKey.java,
6092 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6093 gnu/java/security/x509/X500DistinguishedName.java,
6094 gnu/java/security/x509/X509CRL.java,
6095 gnu/java/security/x509/X509CRLEntry.java,
6096 gnu/java/security/x509/X509Certificate.java,
6097 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6098 gnu/java/security/x509/ext/CertificatePolicies.java,
6099 gnu/java/security/x509/ext/PolicyConstraint.java,
6100 gnu/xml/dom/Consumer.java,
6101 gnu/xml/dom/DomCharacterData.java,
6102 gnu/xml/dom/DomDocument.java,
6103 gnu/xml/dom/DomDocumentBuilder.java,
6104 gnu/xml/dom/DomIterator.java,
6105 gnu/xml/dom/DomNode.java,
6106 gnu/xml/dom/DomXPathExpression.java,
6107 gnu/xml/dom/DomXPathResult.java,
6108 gnu/xml/dom/JAXPFactory.java,
6109 gnu/xml/pipeline/CallFilter.java,
6110 gnu/xml/pipeline/DomConsumer.java,
6111 gnu/xml/pipeline/LinkFilter.java,
6112 gnu/xml/pipeline/NSFilter.java,
6113 gnu/xml/pipeline/TeeConsumer.java,
6114 gnu/xml/pipeline/ValidationConsumer.java,
6115 gnu/xml/pipeline/WellFormednessFilter.java,
6116 gnu/xml/pipeline/XIncludeFilter.java,
6117 gnu/xml/pipeline/XsltFilter.java,
6118 gnu/xml/transform/ApplyImportsNode.java,
6119 gnu/xml/transform/Bindings.java,
6120 gnu/xml/transform/DocumentFunction.java,
6121 gnu/xml/transform/FormatNumberFunction.java,
6122 gnu/xml/transform/NodeNumberNode.java,
6123 gnu/xml/transform/NumberNode.java,
6124 gnu/xml/transform/Stylesheet.java,
6125 gnu/xml/transform/SystemPropertyFunction.java,
6126 gnu/xml/transform/Template.java,
6127 gnu/xml/transform/TemplatesImpl.java,
6128 gnu/xml/transform/TransformerImpl.java,
6129 gnu/xml/transform/ValueOfNode.java,
6130 gnu/xml/transform/XSLURIResolver.java,
6131 gnu/xml/util/DoParse.java,
6132 gnu/xml/util/Resolver.java,
6133 gnu/xml/xpath/Expr.java,
6134 gnu/xml/xpath/FunctionCall.java,
6135 gnu/xml/xpath/RelationalExpr.java,
6136 gnu/xml/xpath/Selector.java,
6137 gnu/xml/xpath/XPathParser.java:
6138 Reworked import statements, fixed modifier order and some little
6141 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
6143 * java/nio/ByteBufferImpl.java (compact):
6144 Set position and limit even if no bytes were moved.
6146 2005-02-17 Michael Koch <konqueror@gmx.de>
6148 * java/nio/CharViewBufferImpl.java (compact): Likewise.
6149 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
6150 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
6151 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
6152 * java/nio/IntViewBufferImpl.java (compact): Likewise.
6153 * java/nio/LongViewBufferImpl.java (compact): Likewise.
6154 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
6155 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
6156 * java/nio/FloatBufferImpl.java (compact): Set position.
6157 * java/nio/CharBufferImpl.java (compact): Likewise.
6158 * java/nio/DoubleBufferImpl.java (compact): Likewise.
6159 * java/nio/IntBufferImpl.java (compact): Likewise.
6160 * java/nio/LongBufferImpl.java (compact): Likewise.
6161 * java/nio/ShortBufferImpl.java (compact): Likewise.
6163 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
6165 * java/nio/ByteBufferImpl.java,
6166 java/nio/CharBufferImpl.java,
6167 java/nio/DirectByteBufferImpl.java,
6168 java/nio/DoubleBufferImpl.java,
6169 java/nio/FloatBufferImpl.java,
6170 java/nio/IntBufferImpl.java,
6171 java/nio/LongBufferImpl.java,
6172 java/nio/MappedByteBufferImpl.java,
6173 java/nio/ShortBufferImpl.java
6174 (compact): Added explicit read-only check and invalidate mark.
6176 2005-02-17 Michael Koch <konqueror@gmx.de>
6178 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6179 gnu/java/awt/peer/gtk/GdkFontPeer.java,
6180 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6181 gnu/java/awt/peer/gtk/GdkGraphics.java,
6182 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6183 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
6184 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6185 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6186 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6187 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
6188 gnu/java/awt/peer/gtk/GdkTextLayout.java,
6189 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6190 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6191 gnu/java/awt/peer/gtk/GtkClipboard.java,
6192 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6193 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6194 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6195 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6196 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6197 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6198 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6199 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6200 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6201 gnu/java/awt/peer/gtk/GtkToolkit.java,
6202 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6203 java/applet/Applet.java,
6204 java/awt/AWTError.java,
6205 java/awt/AWTEvent.java,
6206 java/awt/AWTEventMulticaster.java,
6207 java/awt/AWTException.java,
6208 java/awt/AWTKeyStroke.java,
6209 java/awt/AWTPermission.java,
6210 java/awt/ActiveEvent.java,
6211 java/awt/Adjustable.java,
6212 java/awt/AlphaComposite.java,
6213 java/awt/AttributeValue.java,
6214 java/awt/BorderLayout.java,
6215 java/awt/BufferCapabilities.java,
6216 java/awt/Button.java,
6217 java/awt/Canvas.java,
6218 java/awt/CheckboxGroup.java,
6219 java/awt/CheckboxMenuItem.java,
6220 java/awt/Color.java,
6221 java/awt/ColorPaintContext.java,
6222 java/awt/Component.java,
6223 java/awt/ComponentOrientation.java,
6224 java/awt/Composite.java,
6225 java/awt/CompositeContext.java,
6226 java/awt/Container.java,
6227 java/awt/ContainerOrderFocusTraversalPolicy.java,
6228 java/awt/DefaultFocusTraversalPolicy.java,
6229 java/awt/Dialog.java,
6230 java/awt/Dimension.java,
6231 java/awt/DisplayMode.java,
6232 java/awt/EventQueue.java,
6233 java/awt/FileDialog.java,
6234 java/awt/FontFormatException.java,
6235 java/awt/Graphics.java,
6236 java/awt/Graphics2D.java,
6237 java/awt/GraphicsConfigTemplate.java,
6238 java/awt/GraphicsConfiguration.java,
6239 java/awt/GraphicsDevice.java,
6240 java/awt/GridBagLayout.java,
6241 java/awt/GridBagLayoutInfo.java,
6242 java/awt/GridLayout.java,
6243 java/awt/HeadlessException.java,
6244 java/awt/IllegalComponentStateException.java,
6245 java/awt/Image.java,
6246 java/awt/Insets.java,
6247 java/awt/ItemSelectable.java,
6248 java/awt/JobAttributes.java,
6249 java/awt/KeyEventDispatcher.java,
6250 java/awt/KeyEventPostProcessor.java,
6251 java/awt/KeyboardFocusManager.java,
6252 java/awt/Label.java,
6253 java/awt/LayoutManager.java,
6254 java/awt/MenuBar.java,
6255 java/awt/MenuComponent.java,
6256 java/awt/MenuContainer.java,
6257 java/awt/PageAttributes.java,
6258 java/awt/Paint.java,
6259 java/awt/PaintContext.java,
6260 java/awt/Panel.java,
6261 java/awt/Point.java,
6262 java/awt/Polygon.java,
6263 java/awt/PrintGraphics.java,
6264 java/awt/PrintJob.java,
6265 java/awt/Rectangle.java,
6266 java/awt/RenderingHints.java,
6267 java/awt/Shape.java,
6268 java/awt/Stroke.java,
6269 java/awt/SystemColor.java,
6270 java/awt/Toolkit.java,
6271 java/awt/Transparency.java,
6272 java/awt/Window.java,
6273 java/awt/color/CMMException.java,
6274 java/awt/color/ColorSpace.java,
6275 java/awt/color/ICC_ColorSpace.java,
6276 java/awt/color/ICC_Profile.java,
6277 java/awt/color/ProfileDataException.java,
6278 java/awt/datatransfer/FlavorTable.java,
6279 java/awt/datatransfer/MimeTypeParseException.java,
6280 java/awt/datatransfer/Transferable.java,
6281 java/awt/datatransfer/UnsupportedFlavorException.java,
6282 java/awt/dnd/Autoscroll.java,
6283 java/awt/dnd/DnDConstants.java,
6284 java/awt/dnd/DragGestureListener.java,
6285 java/awt/dnd/DragSourceAdapter.java,
6286 java/awt/dnd/DragSourceDropEvent.java,
6287 java/awt/dnd/DragSourceListener.java,
6288 java/awt/dnd/DragSourceMotionListener.java,
6289 java/awt/dnd/DropTargetAdapter.java,
6290 java/awt/dnd/DropTargetContext.java,
6291 java/awt/dnd/DropTargetListener.java,
6292 java/awt/dnd/InvalidDnDOperationException.java,
6293 java/awt/dnd/MouseDragGestureRecognizer.java,
6294 java/awt/dnd/peer/DropTargetContextPeer.java,
6295 java/awt/event/AWTEventListener.java,
6296 java/awt/event/AWTEventListenerProxy.java,
6297 java/awt/event/ActionEvent.java,
6298 java/awt/event/AdjustmentEvent.java,
6299 java/awt/event/AdjustmentListener.java,
6300 java/awt/event/ComponentAdapter.java,
6301 java/awt/event/ComponentEvent.java,
6302 java/awt/event/ComponentListener.java,
6303 java/awt/event/ContainerAdapter.java,
6304 java/awt/event/ContainerEvent.java,
6305 java/awt/event/ContainerListener.java,
6306 java/awt/event/FocusAdapter.java,
6307 java/awt/event/FocusEvent.java,
6308 java/awt/event/FocusListener.java,
6309 java/awt/event/InputEvent.java,
6310 java/awt/event/InputMethodEvent.java,
6311 java/awt/event/InputMethodListener.java,
6312 java/awt/event/InvocationEvent.java,
6313 java/awt/event/ItemEvent.java,
6314 java/awt/event/ItemListener.java,
6315 java/awt/event/KeyAdapter.java,
6316 java/awt/event/KeyEvent.java,
6317 java/awt/event/KeyListener.java,
6318 java/awt/event/MouseAdapter.java,
6319 java/awt/event/MouseEvent.java,
6320 java/awt/event/MouseListener.java,
6321 java/awt/event/MouseMotionAdapter.java,
6322 java/awt/event/MouseMotionListener.java,
6323 java/awt/event/MouseWheelEvent.java,
6324 java/awt/event/MouseWheelListener.java,
6325 java/awt/event/PaintEvent.java,
6326 java/awt/event/TextEvent.java,
6327 java/awt/event/TextListener.java,
6328 java/awt/event/WindowAdapter.java,
6329 java/awt/event/WindowEvent.java,
6330 java/awt/event/WindowFocusListener.java,
6331 java/awt/event/WindowListener.java,
6332 java/awt/event/WindowStateListener.java,
6333 java/awt/font/TextHitInfo.java,
6334 java/awt/geom/CubicCurve2D.java,
6335 java/awt/geom/Dimension2D.java,
6336 java/awt/geom/Ellipse2D.java,
6337 java/awt/geom/IllegalPathStateException.java,
6338 java/awt/geom/Line2D.java,
6339 java/awt/geom/NoninvertibleTransformException.java,
6340 java/awt/geom/PathIterator.java,
6341 java/awt/geom/Point2D.java,
6342 java/awt/geom/QuadCurve2D.java,
6343 java/awt/geom/RectangularShape.java,
6344 java/awt/geom/RoundRectangle2D.java,
6345 java/awt/im/InputContext.java,
6346 java/awt/im/InputMethodHighlight.java,
6347 java/awt/im/InputMethodRequests.java,
6348 java/awt/im/InputSubset.java,
6349 java/awt/im/spi/InputMethod.java,
6350 java/awt/im/spi/InputMethodDescriptor.java,
6351 java/awt/image/BandCombineOp.java,
6352 java/awt/image/BandedSampleModel.java,
6353 java/awt/image/ByteLookupTable.java,
6354 java/awt/image/ComponentSampleModel.java,
6355 java/awt/image/DataBuffer.java,
6356 java/awt/image/DataBufferByte.java,
6357 java/awt/image/DataBufferDouble.java,
6358 java/awt/image/DataBufferFloat.java,
6359 java/awt/image/DataBufferInt.java,
6360 java/awt/image/DataBufferShort.java,
6361 java/awt/image/DataBufferUShort.java,
6362 java/awt/image/ImagingOpException.java,
6363 java/awt/image/Kernel.java,
6364 java/awt/image/LookupTable.java,
6365 java/awt/image/MultiPixelPackedSampleModel.java,
6366 java/awt/image/PackedColorModel.java,
6367 java/awt/image/PixelInterleavedSampleModel.java,
6368 java/awt/image/RGBImageFilter.java,
6369 java/awt/image/Raster.java,
6370 java/awt/image/RasterFormatException.java,
6371 java/awt/image/SampleModel.java,
6372 java/awt/image/ShortLookupTable.java,
6373 java/awt/image/SinglePixelPackedSampleModel.java,
6374 java/awt/image/WritableRaster.java,
6375 java/awt/print/PrinterAbortException.java,
6376 java/awt/print/PrinterException.java,
6377 java/awt/print/PrinterIOException.java,
6378 java/beans/AppletInitializer.java,
6379 java/beans/ExceptionListener.java,
6380 java/beans/PropertyChangeEvent.java,
6381 java/beans/PropertyChangeListenerProxy.java,
6382 java/beans/PropertyChangeSupport.java,
6383 java/beans/PropertyDescriptor.java,
6384 java/beans/VetoableChangeListenerProxy.java,
6385 java/beans/VetoableChangeSupport.java,
6386 java/io/BufferedReader.java,
6387 java/io/ByteArrayInputStream.java,
6388 java/io/ByteArrayOutputStream.java,
6389 java/io/CharArrayReader.java,
6390 java/io/CharArrayWriter.java,
6391 java/io/CharConversionException.java,
6392 java/io/DataInput.java,
6393 java/io/DataInputStream.java,
6394 java/io/DataOutput.java,
6395 java/io/DataOutputStream.java,
6396 java/io/EOFException.java,
6397 java/io/FileInputStream.java,
6398 java/io/FileNotFoundException.java,
6399 java/io/FileOutputStream.java,
6400 java/io/FilenameFilter.java,
6401 java/io/FilterInputStream.java,
6402 java/io/FilterOutputStream.java,
6403 java/io/FilterReader.java,
6404 java/io/FilterWriter.java,
6405 java/io/IOException.java,
6406 java/io/InputStream.java,
6407 java/io/InterruptedIOException.java,
6408 java/io/LineNumberInputStream.java,
6409 java/io/LineNumberReader.java,
6410 java/io/ObjectInputStream.java,
6411 java/io/ObjectStreamException.java,
6412 java/io/OptionalDataException.java,
6413 java/io/OutputStream.java,
6414 java/io/OutputStreamWriter.java,
6415 java/io/PrintStream.java,
6416 java/io/PrintWriter.java,
6417 java/io/PushbackInputStream.java,
6418 java/io/PushbackReader.java,
6419 java/io/RandomAccessFile.java,
6420 java/io/Reader.java,
6421 java/io/SequenceInputStream.java,
6422 java/io/Serializable.java,
6423 java/io/StreamCorruptedException.java,
6424 java/io/StreamTokenizer.java,
6425 java/io/StringBufferInputStream.java,
6426 java/io/StringWriter.java,
6427 java/io/SyncFailedException.java,
6428 java/io/UTFDataFormatException.java,
6429 java/io/UnsupportedEncodingException.java,
6430 java/io/WriteAbortedException.java,
6431 java/io/Writer.java,
6432 java/lang/AbstractMethodError.java,
6433 java/lang/ArithmeticException.java,
6434 java/lang/ArrayIndexOutOfBoundsException.java,
6435 java/lang/ArrayStoreException.java,
6436 java/lang/AssertionError.java,
6437 java/lang/Boolean.java,
6438 java/lang/Byte.java,
6439 java/lang/Class.java,
6440 java/lang/ClassCastException.java,
6441 java/lang/ClassCircularityError.java,
6442 java/lang/ClassLoader.java,
6443 java/lang/ClassNotFoundException.java,
6444 java/lang/CloneNotSupportedException.java,
6445 java/lang/Cloneable.java,
6446 java/lang/Comparable.java,
6447 java/lang/Compiler.java,
6448 java/lang/Double.java,
6449 java/lang/Error.java,
6450 java/lang/Exception.java,
6451 java/lang/ExceptionInInitializerError.java,
6452 java/lang/Float.java,
6453 java/lang/IllegalAccessError.java,
6454 java/lang/IllegalAccessException.java,
6455 java/lang/IllegalArgumentException.java,
6456 java/lang/IllegalMonitorStateException.java,
6457 java/lang/IllegalStateException.java,
6458 java/lang/IllegalThreadStateException.java,
6459 java/lang/IncompatibleClassChangeError.java,
6460 java/lang/IndexOutOfBoundsException.java,
6461 java/lang/InheritableThreadLocal.java,
6462 java/lang/InstantiationError.java,
6463 java/lang/InstantiationException.java,
6464 java/lang/Integer.java,
6465 java/lang/InternalError.java,
6466 java/lang/InterruptedException.java,
6467 java/lang/LinkageError.java,
6468 java/lang/Long.java,
6469 java/lang/NegativeArraySizeException.java,
6470 java/lang/NoClassDefFoundError.java,
6471 java/lang/NoSuchFieldError.java,
6472 java/lang/NoSuchFieldException.java,
6473 java/lang/NoSuchMethodError.java,
6474 java/lang/NoSuchMethodException.java,
6475 java/lang/NullPointerException.java,
6476 java/lang/Number.java,
6477 java/lang/NumberFormatException.java,
6478 java/lang/OutOfMemoryError.java,
6479 java/lang/Process.java,
6480 java/lang/Runnable.java,
6481 java/lang/Runtime.java,
6482 java/lang/RuntimeException.java,
6483 java/lang/RuntimePermission.java,
6484 java/lang/SecurityException.java,
6485 java/lang/SecurityManager.java,
6486 java/lang/Short.java,
6487 java/lang/StackOverflowError.java,
6488 java/lang/StackTraceElement.java,
6489 java/lang/StringBuffer.java,
6490 java/lang/StringIndexOutOfBoundsException.java,
6491 java/lang/ThreadDeath.java,
6492 java/lang/ThreadGroup.java,
6493 java/lang/Throwable.java,
6494 java/lang/UnsatisfiedLinkError.java,
6495 java/lang/UnsupportedOperationException.java,
6496 java/lang/VerifyError.java,
6497 java/lang/VirtualMachineError.java,
6498 java/lang/reflect/AccessibleObject.java,
6499 java/lang/reflect/Array.java,
6500 java/lang/reflect/InvocationTargetException.java,
6501 java/lang/reflect/Member.java,
6502 java/lang/reflect/Modifier.java,
6503 java/lang/reflect/Proxy.java,
6504 java/lang/reflect/ReflectPermission.java,
6505 java/lang/reflect/UndeclaredThrowableException.java,
6506 java/math/BigInteger.java,
6507 java/net/NetworkInterface.java,
6508 java/nio/ByteBufferHelper.java,
6509 java/nio/ByteBufferImpl.java,
6510 java/nio/DirectByteBufferImpl.java,
6511 java/nio/DoubleBufferImpl.java,
6512 java/nio/FloatBufferImpl.java,
6513 java/nio/IntBufferImpl.java,
6514 java/nio/LongBufferImpl.java,
6515 java/nio/ShortBufferImpl.java,
6516 java/nio/channels/Channel.java,
6517 java/nio/channels/IllegalBlockingModeException.java,
6518 java/nio/charset/spi/CharsetProvider.java,
6519 java/security/AccessControlException.java,
6520 java/security/BasicPermission.java,
6521 java/security/DigestException.java,
6522 java/security/DigestInputStream.java,
6523 java/security/DigestOutputStream.java,
6524 java/security/GeneralSecurityException.java,
6525 java/security/Guard.java,
6526 java/security/GuardedObject.java,
6527 java/security/InvalidAlgorithmParameterException.java,
6528 java/security/InvalidKeyException.java,
6529 java/security/InvalidParameterException.java,
6530 java/security/Key.java,
6531 java/security/KeyException.java,
6532 java/security/KeyManagementException.java,
6533 java/security/KeyStoreException.java,
6534 java/security/MessageDigestSpi.java,
6535 java/security/NoSuchAlgorithmException.java,
6536 java/security/NoSuchProviderException.java,
6537 java/security/Permission.java,
6538 java/security/PermissionCollection.java,
6539 java/security/Permissions.java,
6540 java/security/Principal.java,
6541 java/security/PrivateKey.java,
6542 java/security/PrivilegedActionException.java,
6543 java/security/ProviderException.java,
6544 java/security/PublicKey.java,
6545 java/security/SecureRandom.java,
6546 java/security/SecureRandomSpi.java,
6547 java/security/SignatureException.java,
6548 java/security/SignatureSpi.java,
6549 java/security/SignedObject.java,
6550 java/security/Signer.java,
6551 java/security/UnrecoverableKeyException.java,
6552 java/security/UnresolvedPermission.java,
6553 java/security/acl/AclNotFoundException.java,
6554 java/security/acl/LastOwnerException.java,
6555 java/security/acl/NotOwnerException.java,
6556 java/security/cert/CertPath.java,
6557 java/security/cert/CertPathBuilderException.java,
6558 java/security/cert/CertPathValidatorException.java,
6559 java/security/cert/CertStoreException.java,
6560 java/text/BreakIterator.java,
6561 java/text/ChoiceFormat.java,
6562 java/text/CollationElementIterator.java,
6563 java/text/CollationKey.java,
6564 java/text/Collator.java,
6565 java/text/DateFormat.java,
6566 java/text/DateFormatSymbols.java,
6567 java/text/DecimalFormat.java,
6568 java/text/DecimalFormatSymbols.java,
6569 java/text/FieldPosition.java,
6570 java/text/Format.java,
6571 java/text/NumberFormat.java,
6572 java/text/ParseException.java,
6573 java/text/ParsePosition.java,
6574 java/text/StringCharacterIterator.java,
6575 java/util/AbstractCollection.java,
6576 java/util/AbstractList.java,
6577 java/util/AbstractMap.java,
6578 java/util/AbstractSequentialList.java,
6579 java/util/AbstractSet.java,
6580 java/util/ArrayList.java,
6581 java/util/Arrays.java,
6582 java/util/BitSet.java,
6583 java/util/Collection.java,
6584 java/util/Collections.java,
6585 java/util/Comparator.java,
6586 java/util/ConcurrentModificationException.java,
6587 java/util/Currency.java,
6588 java/util/Date.java,
6589 java/util/EmptyStackException.java,
6590 java/util/Enumeration.java,
6591 java/util/EventListener.java,
6592 java/util/EventListenerProxy.java,
6593 java/util/EventObject.java,
6594 java/util/HashMap.java,
6595 java/util/HashSet.java,
6596 java/util/Hashtable.java,
6597 java/util/IdentityHashMap.java,
6598 java/util/Iterator.java,
6599 java/util/LinkedHashSet.java,
6600 java/util/LinkedList.java,
6601 java/util/List.java,
6602 java/util/ListIterator.java,
6603 java/util/ListResourceBundle.java,
6605 java/util/MissingResourceException.java,
6606 java/util/NoSuchElementException.java,
6607 java/util/Observable.java,
6608 java/util/Observer.java,
6609 java/util/Properties.java,
6610 java/util/PropertyPermissionCollection.java,
6611 java/util/RandomAccess.java,
6613 java/util/SortedMap.java,
6614 java/util/SortedSet.java,
6615 java/util/Stack.java,
6616 java/util/StringTokenizer.java,
6617 java/util/TooManyListenersException.java,
6618 java/util/TreeMap.java,
6619 java/util/TreeSet.java,
6620 java/util/Vector.java,
6621 java/util/logging/FileHandler.java,
6622 java/util/logging/Level.java,
6623 java/util/prefs/BackingStoreException.java,
6624 java/util/prefs/InvalidPreferencesFormatException.java,
6625 java/util/prefs/Preferences.java,
6626 javax/accessibility/Accessible.java,
6627 javax/accessibility/AccessibleAction.java,
6628 javax/accessibility/AccessibleBundle.java,
6629 javax/accessibility/AccessibleComponent.java,
6630 javax/accessibility/AccessibleContext.java,
6631 javax/accessibility/AccessibleEditableText.java,
6632 javax/accessibility/AccessibleExtendedComponent.java,
6633 javax/accessibility/AccessibleExtendedTable.java,
6634 javax/accessibility/AccessibleHyperlink.java,
6635 javax/accessibility/AccessibleHypertext.java,
6636 javax/accessibility/AccessibleIcon.java,
6637 javax/accessibility/AccessibleKeyBinding.java,
6638 javax/accessibility/AccessibleRelation.java,
6639 javax/accessibility/AccessibleRelationSet.java,
6640 javax/accessibility/AccessibleResourceBundle.java,
6641 javax/accessibility/AccessibleRole.java,
6642 javax/accessibility/AccessibleSelection.java,
6643 javax/accessibility/AccessibleState.java,
6644 javax/accessibility/AccessibleStateSet.java,
6645 javax/accessibility/AccessibleTable.java,
6646 javax/accessibility/AccessibleTableModelChange.java,
6647 javax/accessibility/AccessibleText.java,
6648 javax/accessibility/AccessibleValue.java,
6649 javax/imageio/IIOException.java,
6650 javax/imageio/ImageIO.java,
6651 javax/imageio/spi/IIOServiceProvider.java,
6652 javax/imageio/spi/ImageInputStreamSpi.java,
6653 javax/imageio/spi/ImageOutputStreamSpi.java,
6654 javax/imageio/spi/ImageReaderWriterSpi.java,
6655 javax/imageio/spi/ImageTranscoderSpi.java,
6656 javax/imageio/spi/RegisterableService.java,
6657 javax/imageio/spi/ServiceRegistry.java,
6658 javax/imageio/stream/IIOByteBuffer.java,
6659 javax/imageio/stream/ImageInputStream.java,
6660 javax/imageio/stream/ImageOutputStream.java,
6661 javax/naming/Binding.java,
6662 javax/naming/CannotProceedException.java,
6663 javax/naming/CompositeName.java,
6664 javax/naming/CompoundName.java,
6665 javax/naming/LinkException.java,
6666 javax/naming/LinkRef.java,
6667 javax/naming/NameClassPair.java,
6668 javax/naming/Reference.java,
6669 javax/naming/ReferralException.java,
6670 javax/naming/directory/Attribute.java,
6671 javax/naming/directory/AttributeModificationException.java,
6672 javax/naming/directory/Attributes.java,
6673 javax/naming/directory/DirContext.java,
6674 javax/naming/directory/ModificationItem.java,
6675 javax/naming/directory/SearchControls.java,
6676 javax/naming/directory/SearchResult.java,
6677 javax/naming/event/EventContext.java,
6678 javax/naming/event/EventDirContext.java,
6679 javax/naming/event/NamespaceChangeListener.java,
6680 javax/naming/event/NamingExceptionEvent.java,
6681 javax/naming/event/NamingListener.java,
6682 javax/naming/event/ObjectChangeListener.java,
6683 javax/naming/ldap/Control.java,
6684 javax/naming/ldap/ExtendedResponse.java,
6685 javax/naming/ldap/HasControls.java,
6686 javax/naming/ldap/LdapContext.java,
6687 javax/naming/ldap/UnsolicitedNotification.java,
6688 javax/naming/ldap/UnsolicitedNotificationEvent.java,
6689 javax/naming/ldap/UnsolicitedNotificationListener.java,
6690 javax/naming/spi/DirectoryManager.java,
6691 javax/naming/spi/ResolveResult.java,
6692 javax/naming/spi/Resolver.java,
6693 javax/security/auth/callback/Callback.java,
6694 javax/security/auth/callback/CallbackHandler.java,
6695 javax/security/auth/callback/ChoiceCallback.java,
6696 javax/security/auth/callback/ConfirmationCallback.java,
6697 javax/security/auth/callback/LanguageCallback.java,
6698 javax/security/auth/callback/NameCallback.java,
6699 javax/security/auth/callback/PasswordCallback.java,
6700 javax/security/auth/callback/TextInputCallback.java,
6701 javax/security/auth/callback/TextOutputCallback.java,
6702 javax/security/auth/callback/UnsupportedCallbackException.java,
6703 javax/security/sasl/Sasl.java,
6704 javax/security/sasl/SaslServerFactory.java,
6705 javax/swing/DefaultBoundedRangeModel.java,
6706 javax/swing/JComponent.java,
6707 javax/swing/JList.java,
6708 javax/swing/JProgressBar.java,
6709 javax/swing/JRadioButton.java,
6710 javax/swing/JTextArea.java,
6711 javax/swing/JTextField.java,
6712 javax/swing/JToggleButton.java,
6713 javax/swing/JTree.java,
6714 javax/swing/SpinnerListModel.java,
6715 javax/swing/event/EventListenerList.java,
6716 javax/swing/text/JTextComponent.java,
6717 javax/swing/text/StringContent.java,
6718 javax/swing/text/Utilities.java,
6719 javax/swing/undo/UndoManager.java,
6720 javax/swing/undo/UndoableEditSupport.java,
6721 javax/transaction/HeuristicCommitException.java,
6722 javax/transaction/HeuristicMixedException.java,
6723 javax/transaction/HeuristicRollbackException.java,
6724 javax/transaction/InvalidTransactionException.java,
6725 javax/transaction/NotSupportedException.java,
6726 javax/transaction/RollbackException.java,
6727 javax/transaction/Status.java,
6728 javax/transaction/Synchronization.java,
6729 javax/transaction/SystemException.java,
6730 javax/transaction/Transaction.java,
6731 javax/transaction/TransactionManager.java,
6732 javax/transaction/TransactionRequiredException.java,
6733 javax/transaction/TransactionRolledbackException.java,
6734 javax/transaction/UserTransaction.java,
6735 javax/transaction/xa/XAException.java,
6736 javax/transaction/xa/XAResource.java,
6737 javax/transaction/xa/Xid.java,
6738 javax/xml/XMLConstants.java,
6739 javax/xml/datatype/DatatypeConfigurationException.java,
6740 javax/xml/datatype/DatatypeConstants.java,
6741 javax/xml/datatype/DatatypeFactory.java,
6742 javax/xml/datatype/Duration.java,
6743 javax/xml/datatype/XMLGregorianCalendar.java,
6744 javax/xml/namespace/NamespaceContext.java,
6745 javax/xml/namespace/QName.java,
6746 javax/xml/parsers/DocumentBuilder.java,
6747 javax/xml/parsers/DocumentBuilderFactory.java,
6748 javax/xml/parsers/FactoryConfigurationError.java,
6749 javax/xml/parsers/ParserConfigurationException.java,
6750 javax/xml/parsers/SAXParser.java,
6751 javax/xml/parsers/SAXParserFactory.java,
6752 javax/xml/transform/ErrorListener.java,
6753 javax/xml/transform/OutputKeys.java,
6754 javax/xml/transform/Result.java,
6755 javax/xml/transform/Source.java,
6756 javax/xml/transform/SourceLocator.java,
6757 javax/xml/transform/Templates.java,
6758 javax/xml/transform/Transformer.java,
6759 javax/xml/transform/TransformerConfigurationException.java,
6760 javax/xml/transform/TransformerException.java,
6761 javax/xml/transform/TransformerFactory.java,
6762 javax/xml/transform/TransformerFactoryConfigurationError.java,
6763 javax/xml/transform/URIResolver.java,
6764 javax/xml/transform/dom/DOMLocator.java,
6765 javax/xml/transform/dom/DOMResult.java,
6766 javax/xml/transform/dom/DOMSource.java,
6767 javax/xml/transform/sax/SAXResult.java,
6768 javax/xml/transform/sax/SAXSource.java,
6769 javax/xml/transform/sax/SAXTransformerFactory.java,
6770 javax/xml/transform/sax/TemplatesHandler.java,
6771 javax/xml/transform/sax/TransformerHandler.java,
6772 javax/xml/transform/stream/StreamResult.java,
6773 javax/xml/transform/stream/StreamSource.java,
6774 javax/xml/validation/Schema.java,
6775 javax/xml/validation/SchemaFactory.java,
6776 javax/xml/validation/TypeInfoProvider.java,
6777 javax/xml/validation/Validator.java,
6778 javax/xml/validation/ValidatorHandler.java,
6779 javax/xml/xpath/XPathConstants.java,
6780 javax/xml/xpath/XPathException.java,
6781 javax/xml/xpath/XPathExpression.java,
6782 javax/xml/xpath/XPathExpressionException.java,
6783 javax/xml/xpath/XPathFactory.java,
6784 javax/xml/xpath/XPathFactoryConfigurationException.java,
6785 javax/xml/xpath/XPathFunction.java,
6786 javax/xml/xpath/XPathFunctionException.java,
6787 javax/xml/xpath/XPathFunctionResolver.java:
6788 Fixed usage of @author tag, reworked import statements,
6789 removed CVS tags, changed the modifier order and fixed
6790 HTML usage in javadocs.
6792 2005-02-16 Julian Scheid <julian@sektor37.de>
6794 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
6796 (encodeLoop): Likewise.
6798 2005-02-16 Mark Wielaard <mark@klomp.org>
6800 * Makefile.am (ordinary_java_source_files): Add new files
6801 gnu/java/security/ber/BER.java,
6802 gnu/java/security/ber/BEREncodingException.java,
6803 gnu/java/security/ber/BERReader.java,
6804 gnu/java/security/ber/BERValue.java,
6805 gnu/java/security/pkcs/PKCS7SignedData.java and
6806 gnu/java/security/pkcs/SignerInfo.java.
6807 * Makefile.in: Regenerated.
6809 2005-02-16 Casey Marshall <csm@gnu.org>
6811 * gnu/java/security/provider/GnuDSAPrivateKey.java
6812 (encodedKey): new field.
6813 (getFormat): return "PKCS#8".
6814 (getEncoded): implemented.
6815 (toString): check for 'null' values.
6816 * gnu/java/security/provider/GnuDSAPublicKey.java
6817 (encodedKey): new field.
6818 (getFormat): return "X.509".
6819 (getEncoded): implemented.
6820 (toString): check for 'null' values.
6822 2005-02-16 Michael Koch <konqueror@gmx.de>
6824 * java/util/jar/JarFile.java: Imports reworked.
6826 2005-02-16 Mark Wielaard <mark@klomp.org>
6828 * java/util/jar/JarFile.java (verify): Make package private.
6829 (signaturesRead): Likewise.
6830 (verified): Likewise.
6831 (entryCerts): Likewise.
6834 (entries): Construct new JarEnumeration with reference to this.
6835 (JarEnumeration): Make static.
6836 (JarEnumeration.jarfile): New field.
6837 (JarEnumeration.nextElement): Use and synchronize on jarfile.
6838 Compare verified value to Boolean.TRUE or Boolean.False only
6839 when verify is true.
6840 (getEntry): Make synchronized. Compare value of verified to
6842 (getInputStream): Construct EntryInputStream with reference to this.
6843 (getManifest): Make synchronized.
6844 (EntryInputStream): Make static.
6845 (EntryInputStream.jarfile): New field.
6846 (EntryInputStream.EntryInputStream): Check if manifest exists,
6847 before getting attributes.
6848 (eof): Synchronize on jarfile.
6850 2005-02-16 Casey Marshall <csm@gnu.org>
6852 * java/util/jar/JarFile.java (verify): return if the jar is signed
6853 with an unsupported algorithm.
6855 2005-02-16 Mark Wielaard <mark@klomp.org>
6857 * java/util/jar/JarFile.java (EntryInputStream): Add actual
6858 InputStream as argument.
6859 (getInputStream): Construct a new EntryInputStream with the result of
6860 super.getInputStream(entry).
6862 2005-02-16 Casey Marshall <csm@gnu.org>
6864 Signed JAR file support.
6865 * java/net/URLClassLoader.java
6866 (JarURLResource.getCertificates): re-read jar entry to ensure
6867 certificates are picked up.
6868 (findClass): fill in class `signers' field, too.
6869 * java/util/jar/JarFile.java (META_INF): new constant.
6870 (PKCS7_DSA_SUFFIX): new constant.
6871 (PKCS7_RSA_SUFFIX): new constant.
6872 (DIGEST_KEY_SUFFIX): new constant.
6873 (SF_SUFFIX): new constant.
6874 (MD2_OID): new constant.
6875 (MD4_OID): new constant.
6876 (MD5_OID): new constant.
6877 (SHA1_OID): new constant.
6878 (DSA_ENCRYPTION_OID): new constant.
6879 (RSA_ENCRYPTION_OID): new constant.
6880 (signaturesRead): new field.
6881 (verified): new field.
6882 (entryCerts): new field.
6883 (DEBUG): new constant.
6884 (debug): new method.
6885 (JarEnumeration.nextElement): fill in entry certificates, read
6886 signatures if they haven't been read.
6887 (getEntry): likewise.
6888 (getInputStream): verify stream if it hasn't been verified yet.
6889 (readSignatures): new method.
6890 (verify): new method.
6891 (verifyHashes): new method.
6892 (readManifestEntry): new method.
6893 (EntryInputStream): new class.
6894 * gnu/java/io/Base64InputStream.java (decode): new class
6896 * gnu/java/security/der/DERReader.java don't make class
6898 (in): made protected.
6900 (readLength): likewise.
6901 * gnu/java/security/ber/BER.java,
6902 * gnu/java/security/ber/BEREncodingException.java,
6903 * gnu/java/security/ber/BERReader.java,
6904 * gnu/java/security/ber/BERValue.java,
6905 * gnu/java/security/pkcs/PKCS7SignedData.java,
6906 * gnu/java/security/pkcs/SignerInfo.java:
6909 2005-02-16 Tom Tromey <tromey@redhat.com>
6911 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
6912 copied file on exit.
6914 2005-02-15 Mark Wielaard <mark@klomp.org>
6916 * java/awt/BasicStroke.java (hashCode): Check for null dash.
6918 2005-02-15 Michael Koch <konqueror@gmx.de>
6920 * gnu/java/awt/peer/gtk/GtkArg.java,
6921 gnu/java/awt/peer/gtk/GtkArgList.java:
6924 2005-02-15 Craig Black <craig.black@aonix.com>
6926 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
6927 (postMenuActionEvent): Implement to notify ItemListeners.
6928 * java/awt/CheckboxMenuItem.java
6929 (dispatchEventImpl): Update state on ItemEvent.
6930 * java/awt/MenuItem.java
6931 (processActionEvent): Retarget event source.
6933 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
6935 * gnu/java/awt/color/ClutProfileConverter.java,
6936 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
6937 gnu/java/awt/peer/gtk/GdkFontPeer.java,
6938 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6939 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6940 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6941 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6942 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6943 gnu/java/awt/peer/gtk/GdkTextLayout.java,
6944 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6945 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6946 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6947 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6948 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6949 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6950 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6951 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6952 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6953 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6954 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6955 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6956 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6957 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6958 gnu/java/awt/peer/gtk/GtkToolkit.java,
6959 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6960 javax/swing/JPopupMenu.java,
6961 javax/swing/JSpinner.java,
6962 javax/swing/SortingFocusTraversalPolicy.java,
6963 javax/swing/SwingUtilities.java,
6964 javax/swing/plaf/basic/BasicComboBoxEditor.java,
6965 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
6966 javax/swing/tree/DefaultMutableTreeNode.java:
6967 Removed unused imports and expanded starred
6970 2005-02-15 Mark Wielaard <mark@klomp.org>
6972 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
6973 IllegalArgumentException when the given String is null.
6975 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
6976 when given keystoke sequence cannot be parsed.
6978 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
6979 if one is installed. Only install the given menubar is not null.
6981 * javax/swing/JViewport.java (getViewSize): Return an empty
6982 Dimension when the view isn't set or preferred component size when
6985 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
6986 empty Dimension when there is no view set.
6987 (minimumLayoutSize): Likewise.
6988 (layoutContainer): Don't try to layout when there is no view.
6990 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6993 * include/jawt.h: Likewise.
6994 * include/jawt_md.h: Likewise.
6995 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6997 * jni/classpath/classpath_jawt.h: Likewise.
6998 * jni/gtk-peer/gtk_jawt.c: Likewise.
6999 * Makefile.am: Build libjawt.so.
7001 2005-02-15 Michael Koch <konqueror@gmx.de>
7003 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7004 Merged file header with classpath CVS head.
7005 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7006 Merged code formatting with classpath CVS head.
7007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
7009 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7010 Handle special JNI strings with 2 '\0' at the end.
7011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7012 Merged file header with classpath CVS head.
7013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7014 Merged code formatting with classpath CVS head.
7016 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7018 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
7019 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
7020 (handle_response): Use GTK_RESPONSE_ACCEPT.
7022 2005-02-15 Graydon Hoare <graydon@redhat.com>
7024 * Makefile.am: Fix library build breakage.
7025 * Makefile.in: Regenerate.
7027 2005-02-15 Michael Koch <konqueror@gmx.de>
7029 * javax/swing/JTabbedPane.java
7030 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
7032 2005-02-15 Michael Koch <konqueror@gmx.de>
7034 * javax/swing/tree/DefaultMutableTreeNode.java:
7035 Reworked Javadocs all over.
7036 (getPathToRoot): Fixed direction of result array initialization.
7038 2005-02-15 Michael Koch <konqueror@gmx.de>
7040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7041 Fix includes for cairo 0.3.0 snappshot.
7042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7043 Merged file header from classpath CVS HEAD.
7045 2005-02-15 Craig Black <craig.black@aonix.com>
7047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7048 (copyState): Pass a JNI global reference to signal handler.
7049 (realize_cb): Use and free JNI global reference.
7050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7051 (create): Pass a JNI global reference to signal handler.
7052 (selection_changed): Match declaration.
7053 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7054 (dispose): Do not remove entries from state tables until after widget is
7057 2005-02-15 Michael Koch <konqueror@gmx.de>
7059 * java/awt/Container.javai (paramString):
7060 If layoutMgr is null just return result of super.paramString().
7061 * java/awt/Scrollbar.java: Reformatted.
7062 * java/awt/im/InputContext.java (static):
7063 Removed redundant initializations.
7065 2005-02-15 Michael Koch <konqueror@gmx.de>
7067 * javax/swing/ImageIcon.java,
7068 javax/swing/UIManager.java,
7069 javax/swing/text/EditorKit.java,
7070 javax/swing/text/Segment.java:
7071 More whitespace cleanups.
7073 2005-02-15 Michael Koch <konqueror@gmx.de>
7075 * gnu/java/awt/EmbeddedWindow.java,
7076 gnu/java/awt/image/ImageDecoder.java,
7077 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7078 java/awt/DefaultKeyboardFocusManager.java,
7079 java/awt/Frame.java,
7080 java/awt/image/RGBImageFilter.java,
7081 javax/swing/AbstractButton.java,
7082 javax/swing/ActionMap.java,
7083 javax/swing/ComponentInputMap.java,
7084 javax/swing/DefaultDesktopManager.java,
7085 javax/swing/ImageIcon.java,
7086 javax/swing/InputMap.java,
7087 javax/swing/JButton.java,
7088 javax/swing/JCheckBox.java,
7089 javax/swing/JCheckBoxMenuItem.java,
7090 javax/swing/JEditorPane.java,
7091 javax/swing/JMenu.java,
7092 javax/swing/JMenuItem.java,
7093 javax/swing/JOptionPane.java,
7094 javax/swing/JRootPane.java,
7095 javax/swing/JTable.java,
7096 javax/swing/MenuSelectionManager.java,
7097 javax/swing/RepaintManager.java,
7098 javax/swing/ScrollPaneLayout.java,
7099 javax/swing/SortingFocusTraversalPolicy.java,
7100 javax/swing/UIManager.java,
7101 javax/swing/ViewportLayout.java,
7102 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7103 javax/swing/plaf/basic/BasicInternalFrameUI.java,
7104 javax/swing/plaf/basic/BasicLabelUI.java,
7105 javax/swing/plaf/basic/BasicListUI.java,
7106 javax/swing/plaf/basic/BasicMenuItemUI.java,
7107 javax/swing/plaf/basic/BasicMenuUI.java,
7108 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7109 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7110 javax/swing/plaf/basic/BasicRootPaneUI.java,
7111 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7112 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
7113 javax/swing/plaf/basic/BasicTextUI.java,
7114 javax/swing/table/TableColumnModel.java,
7115 javax/swing/text/AbstractDocument.java,
7116 javax/swing/text/EditorKit.java,
7117 javax/swing/text/Position.java,
7118 javax/swing/text/Segment.java,
7119 javax/swing/text/StyledEditorKit.java,
7120 javax/swing/text/ViewFactory.java:
7121 Cleanup whitespace differences to classpath CVS HEAD.
7123 2005-02-15 Graydon Hoare <graydon@redhat.com>
7125 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7126 (finalize): Call finish from here.
7127 (produce): Not from here.
7128 * Makefile.am (gtk_c_source_files):
7129 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
7130 * Makefile.in: Regenerate.
7131 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7133 (cairoDrawGdkTextLayout):
7135 (getPeerTextMetrics):
7136 (getPeerFontMetrics): Remove.
7137 (setFont): Don't call cairoSetFont.
7138 (cairoDrawGlyphVector): Accept font peer argument.
7139 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
7140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7141 (ensure_metrics_cairo):
7142 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
7143 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
7144 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
7145 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
7147 (metrics_surface): Remove.
7148 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
7149 Pass and install font peer.
7151 2005-02-15 Graydon Hoare <graydon@redhat.com>
7153 * Makefile.am: Create "split library" structure.
7154 * Makefile.in: Regenerate.
7156 2005-02-15 Graydon Hoare <graydon@redhat.com>
7158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7162 Release GDK lock during upcalls.
7164 2005-02-15 Graydon Hoare <graydon@redhat.com>
7166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
7167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
7168 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7169 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
7170 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
7171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
7172 * gnu/java/awt/peer/gtk/GdkFontPeer.java
7175 (getTextMetrics): New native methods.
7176 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
7177 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
7178 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
7179 * Makefile.in: Regenerate.
7181 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
7183 * javax/swing/SwingUtilities.java:
7184 (getAccessibleAt(java.awt.Component, java.awt.Point)):
7185 Implemented and documented.
7186 (getAccessibleChild(java.awt.Component, int)): Likewise.
7187 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
7188 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
7189 (getAccessibleStateSet(java.awt.Component)): Likewise.
7191 2005-02-15 Michael Koch <konqueror@gmx.de>
7193 * javax/swing/SwingUtilities.java
7194 (getFontMetrics): Removed.
7196 2005-02-15 Michael Koch <konqueror@gmx.de>
7198 * java/awt/Container.java
7199 (paramString): Implemented.
7200 * javax/swing/AbstractButton.java
7201 (paramString): Implemented.
7202 * javax/swing/JComponent.java
7203 (paramString): Implemented.
7204 * javax/swing/JMenu.java
7205 (paramString): Implemented.
7206 * javax/swing/JMenuBar.java
7207 (paramString): Implemented.
7208 * javax/swing/JMenuItem.java
7209 (paramString): Implemented.
7210 * javax/swing/JPopupMenu.java
7211 (paramString): Implemented.
7213 2005-02-15 Michael Koch <konqueror@gmx.de>
7215 * javax/swing/JMenu.java
7216 (uiClassID): Removed.
7217 (JMenu): Set invoker on popup menu.
7218 (getUIClassID): Return id directly.
7219 (getItemCount): Simply return getMenuComponentCount().
7221 (isTopLevelMenu): Simplified.
7222 * javax/swing/JMenuItem.java
7223 (uiClassID): Removed.
7224 (getUIClassID): Return id directly.
7225 * javax/swing/JPopupMenu.java
7226 (uiClassID): Removed.
7227 (JPopupMenu): Always initialize correctly.
7228 (getSubElements): Only return components implementing MenuElement
7230 (HeavyWeightPopup.hide): Removed.
7232 2005-02-15 Michael Koch <konqueror@gmx.de>
7234 * java/awt/image/ReplicateScaleFilter.java
7235 (replicatePixels): Made private.
7236 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
7237 (DefaultRGBChooserPanel): Made package private.
7238 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
7239 (RecentSwatchPanel): Likewise.
7240 * javax/swing/event/MouseInputAdapter.java: Reformatted.
7241 (MouseInputAdapter): Made abstract.
7242 * javax/swing/tree/DefaultMutableTreeNode.java
7244 (growTree): Likewise.
7246 2005-02-15 Michael Koch <konqueror@gmx.de>
7248 * java/awt/dnd/DropTarget.java (addDropTargetListener):
7251 2005-02-15 Michael Koch <konqueror@gmx.de>
7253 * javax/swing/JComponent.java (getComponentGraphics):
7254 Removed accidently commited code.
7256 2005-02-15 Graydon Hoare <graydon@redhat.com>
7258 * java/awt/dnd/DropTarget.java
7259 (addDropTargetListener): Despite documentation, do not throw.
7260 * javax/swing/JComponent.java: Set a default DropTarget.
7262 2005-02-15 Michael Koch <konqueror@gmx.de>
7264 * javax/swing/AbstractAction.java
7265 (ENABLED_PROPERTY): Removed.
7266 (setEnabled): Replaced constant with real string.
7267 * javax/swing/AbstractButton.java
7268 (createActionPropertyChangeListener.propertyChange): Likewise.
7269 * javax/swing/JComboBox.java
7270 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
7271 (EDITABLE_CHANGED_PROPERTY): Removed.
7272 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
7273 (ENABLED_CHANGED_PROPERTY):Likewise.
7274 (RENDERER_CHANGED_PROPERTY):Likewise.
7275 (EDITOR_CHANGED_PROPERTY):Likewise.
7276 (MODEL_CHANGED_PROPERTY):Likewise.
7277 (uiClassID):Likewise.
7278 (getUIClassID): Replaced constant with real string.
7279 (setModel):Likewise.
7280 (setEditable):Likewise.
7281 (setMaximumRowCount):Likewise.
7282 (setRenderer):Likewise.
7283 (setEditor):Likewise.
7284 (setEnabled):Likewise.
7285 * javax/swing/JLabel.java
7286 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
7287 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
7288 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
7289 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7290 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7291 (ICON_CHANGED_PROPERTY): Likewise.
7292 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
7293 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
7294 (TEXT_CHANGED_PROPERTY): Likewise.
7295 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7296 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7297 (setText): Replaced constant with real string.
7298 (setIcon): Likewise.
7299 (setDisabledIcon): Likewise.
7300 (setDisplayedMnemonic): Likewise.
7301 (setIconTextGap): Likewise.
7302 (setVerticalAlignment): Likewise.
7303 (setHorizontalAlignment): Likewise.
7304 (setVerticalTextPosition): Likewise.
7305 (setHorizontalTextPosition): Likewise.
7306 (setLabelFor): Replaced constant with real string.
7307 Fire property change event after property got changed.
7308 * javax/swing/JList.java
7309 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
7310 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
7311 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
7312 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
7313 (MODEL_PROPERTY_CHANGED): Likewise.
7314 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
7315 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
7316 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
7317 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
7318 (setFixedCellWidth): Reimplemented.
7319 (setFixedCellHeight): Exit if new value is identical.
7320 Replaced constant with real string.
7321 (setSelectionBackground): Likewise.
7322 (setSelectionForeground): Likewise.
7323 (setPrototypeCellValue): Likewise.
7324 (setCellRenderer): Replaced constant with real string.
7325 (setModel): Likewise.
7326 (setSelectionModel): Likewise.
7327 * javax/swing/JMenuBar.java
7328 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7329 (MODEL_CHANGED_PROPERTY): Likewise.
7330 (MARGIN_CHANGED_PROPERTY): Likewise.
7331 (setBorderPainted): Reimplemented.
7332 (setMargin): Likewise.
7333 (setSelectionModel): Replaced constant with real string.
7334 * javax/swing/JPopupMenu.java
7335 (LABEL_CHANGED_PROPERTY): Removed.
7336 (VISIBLE_CHANGED_PROPERTY): Likewise.
7337 (borderPainted): Likewise.
7338 (setLabel): Replaced constant with real string.
7339 (setVisible): Exit if new value is identical.
7340 Replaced constant with real string.
7341 * javax/swing/JProgressBar.java
7342 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7343 (ORIENTATION_CHANGED_PROPERTY): Likewise.
7344 (STRING_CHANGED_PROPERTY): Likewise.
7345 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
7346 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
7347 (setOrientation): Replaced constant with real string.
7348 (setStringPainted): Likewise.
7349 (setString): Likewise.
7350 (setBorderPainted): Likewise.
7351 (setIndeterminate): Likewise.
7352 * javax/swing/JScrollBar.java
7353 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
7354 (MODEL_CHANGED_PROPERTY): Likewise.
7355 (ORIENTATION_CHANGED_PROPERTY): Likewise.
7356 (setOrientation): Replaced constant with real string.
7357 (setModel): Likewise.
7358 (setUnitIncrement): Likewise.
7359 (setBlockIncrement): Likewise.
7360 * javax/swing/JScrollPane.java
7361 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
7362 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
7363 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7364 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7365 (LAYOUT_CHANGED_PROPERTY): Likewise.
7366 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
7367 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7368 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7369 (VIEWPORT_CHANGED_PROPERTY): Likewise.
7370 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
7371 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
7372 (setComponentOrientation): Replaced constant with real string.
7373 (setColumnHeader): Likewise.
7374 (setHorizontalScrollBar): Likewise.
7375 (setHorizontalScrollBarPolicy): Likewise.
7376 (setRowHeader): Likewise.
7377 (setVerticalScrollBar): Likewise.
7378 (setVerticalScrollBarPolicy): Likewise.
7379 (setWheelScrollingEnabled): Likewise.
7380 (setViewport): Likewise.
7381 (setViewportBorder): Likewise.
7382 * javax/swing/JSlider.java
7383 (INVERTED_CHANGED_PROPERTY): Removed.
7384 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
7385 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7386 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7387 (MODEL_CHANGED_PROPERTY): Likewise.
7388 (ORIENTATION_CHANGED_PROPERTY): Likewise.
7389 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
7390 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
7391 (setModel): Replaced constant with real string.
7392 (setOrientation): Likewise.
7393 (setLabelTable): Likewise.
7394 (setInverted): Likewise.
7395 (setMajorTickSpacing): Likewise.
7396 (setMinorTickSpacing): Likewise.
7397 (setPaintTicks): Likewise.
7398 (setPaintLabels): Likewise.
7399 * javax/swing/JTabbedPane.java
7400 (MODEL_CHANGED_PROPERTY): Removed.
7401 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
7402 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
7403 (setModel): Replaced constant with real string.
7404 (setTabPlacement): Likewise.
7405 (setTabLayoutPolicy): Likewise.
7406 * javax/swing/JToolBar.java
7407 (ORIENTATION_CHANGED_PROPERTY): Removed.
7408 (FLOATABLE_CHANGED_PROPERTY): Likewise.
7409 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
7410 (MARGIN_CHANGED_PROPERTY): Likewise.
7411 (ROLLOVER_CHANGED_PROPERTY): Likewise.
7412 (setRollover): Replaced constant with real string.
7413 (setMargin): Likewise.
7414 (setBorderPainted): Likewise.
7415 (setFloatable): Likewise.
7416 (setOrientation): Likewise.
7417 * javax/swing/plaf/basic/BasicComboBoxUI.java
7418 (PropertyChangeHandler.propertyChange): Likewise.
7419 * javax/swing/plaf/basic/BasicComboPopup.java
7420 (PropertyChangeHandler.propertyChange): Likewise.
7421 * javax/swing/plaf/basic/BasicMenuBarUI.java
7422 (PropertyChangeHandler.propertyChange): Likewise.
7423 * javax/swing/plaf/basic/BasicProgressBarUI.java
7424 (PropertyChangeHandler.propertyChange): Likewise.
7425 * javax/swing/plaf/basic/BasicScrollBarUI.java
7426 (PropertyChangeHandler.propertyChange): Likewise.
7427 * javax/swing/plaf/basic/BasicSliderUI.java
7428 (PropertyChangeHandler.propertyChange): Likewise.
7429 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7430 (PropertyChangeHandler.propertyChange): Likewise.
7431 * javax/swing/plaf/basic/BasicToolBarUI.java
7432 (PropertyChangeHandler.propertyChange): Likewise.
7434 2005-02-15 Michael Koch <konqueror@gmx.de>
7436 * javax/swing/DefaultButtonModel.java
7437 (changeState): Made private.
7438 * javax/swing/DefaultDesktopManager.java
7439 (setWasIcon): Fixed second argument to be java.lang.Boolean.
7440 * javax/swing/JLayeredPane.java
7441 (layerToRange): Made private.
7442 (incrLayer): Likewise.
7443 (decrLayer): Likewise.
7444 * javax/swing/JTable.java
7445 (dragEnabled): Likewise.
7446 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
7447 * javax/swing/KeyStroke.java
7448 (Keystroke): Made private.
7449 * javax/swing/TransferHandler.java
7450 (COMMAND_COPY): Likewise.
7451 (COMMAND_CUT): Likewise.
7452 (COMMAND_PASTE): Likewise.
7454 2005-02-15 Michael Koch <konqueror@gmx.de>
7456 * javax/swing/JTextField.java
7457 (postActionEvent): Use text in field when actionCommand is null.
7458 (getActionCommand): Removed.
7460 2005-02-15 Michael Koch <konqueror@gmx.de>
7462 * javax/swing/AbstractSet.java: Removed.
7463 * Makefile.am: Removed javax/swing/AbstractSet.java.
7464 * Makefile.in: Regenerated.
7466 2005-02-15 Michael Koch <konqueror@gmx.de>
7468 * java/awt/Window.java
7469 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
7470 * java/awt/dnd/DnDConstants.java
7471 (DnDConstants): New private constructor.
7473 2005-02-15 Michael Koch <konqueror@gmx.de>
7475 * javax/swing/DefaultCellRenderer.java: Removed.
7476 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
7477 * Makefile.in: Regenerated.
7479 2005-02-15 Michael Koch <konqueror@gmx.de>
7481 * javax/swing/AbstractButton.java
7482 (fireItemStateChanged): Made protected.
7483 (fireActionPerformed): Likewise.
7484 (fireStateChanged): Likewise.
7485 * javax/swing/DefaultButtonModel.java
7486 (fireItemStateChanged): Likewise.
7487 (fireActionPerformed): Likewise.
7488 (fireStateChanged): Likewise.
7489 * javax/swing/JApplet.java
7491 (frameInit): Likewise.
7492 (setRootPane): Made protected.
7493 (createRootPane): Likewise.
7494 * javax/swing/JComponent.java
7495 (getClientProperty): Likewise.
7496 (putClientProperty): Likewise.
7497 * javax/swing/JEditorPane.java
7498 (getContentType): Likewise.
7499 (setContentType): Likewise.
7500 * javax/swing/JFrame.java
7501 (setRootPane): Likewise.
7502 (createRootPane): Likewise.
7503 * javax/swing/JInternalFrame.java
7504 (getFocusCycleRootAncestor): Made final. Added @since tag.
7505 (isFocusCycleRoot): Likewise.
7506 (getWarningString): Made final.
7507 * javax/swing/JScrollBar.java
7508 (changeListener): Removed.
7509 (changeEvent): Likewise.
7510 (createChangeListener): Likewise.
7511 (fireStateChanged): Likewise.
7512 (addChangeListener): Likewise.
7513 (removeChangeListener): Likewise.
7514 (getChangeListeners): Likewise.
7515 * javax/swing/JScrollPane.java
7516 (createViewport): Made protected.
7517 * javax/swing/JViewport.java
7518 (addImpl): Likewise.
7519 (setBorder): New method.
7520 * javax/swing/JWindow.java
7521 (setRootPane): Made protected.
7522 (createRootPane): Likewise.
7523 * javax/swing/plaf/basic/BasicButtonUI.java
7524 (installListeners): Likewise.
7525 (uninstallListeners): Likewise.
7526 * javax/swing/plaf/basic/BasicProgressBarUI.java
7527 (incrementAnimationIndex): Likewise.
7528 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7529 (createLayoutManager): Likewise.
7530 * javax/swing/table/DefaultTableCellRenderer.java
7531 (firePropertyChange): Likewise.
7532 * javax/swing/table/JTableHeader.java
7533 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
7535 * javax/swing/text/PlainDocument.java
7536 (reindex): Made private.
7537 * javax/swing/text/PlainView.java
7538 (drawLine): Made protected.
7539 (getTabSize): Likewise.
7540 * javax/swing/text/View.java
7542 (preferenceChanged): New method.
7543 (getBreakWeight): Likewise.
7544 (breakView): Likewise.
7545 (getViewIndex): Likewise.
7547 2005-02-15 Michael Koch <konqueror@gmx.de>
7549 * javax/swing/JScrollPane.java
7550 (ScrollBar): Made class protected.
7551 * javax/swing/JSpinner.java
7552 (JSpinner): Added @since tag.
7553 (listenerList): Removed.
7554 * javax/swing/JTable.java
7555 (setValueAt): New method.
7556 (getColumn): Likewise.
7557 * javax/swing/JWindow.java
7558 (rootPaneCheckingEnabled): Renamed from checking.
7560 2005-02-15 Michael Koch <konqueror@gmx.de>
7562 * javax/swing/plaf/basic/BasicTextUI.java
7563 (RootView.modelToView): Made it public and return a java.awt.Shape.
7564 Handle null subview.
7565 (uninstall): Set textComponent to null when its not possible used
7567 * javax/swing/text/View.java
7568 (setParent): Use better argument name.
7569 (getContainer): Get parent via getParent().
7570 (getViewFactory): Likewise.
7571 (getAttributes): Get element via getElement().
7572 (getStartOffset): Likewise.
7573 (getEndOffset): Likewise.
7574 (getResizeWeight): New method.
7575 (getMaximumSpan): Likewise.
7576 (getMinimumSpan): Likewise.
7577 (setSize): Likewise.
7578 (getGraphics): Likewise.
7580 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
7582 * java/awt/Checkbox.java:
7583 (AccessibleAWTCheckbox()): Added public constructor
7585 * java/awt/Choice.java:
7586 (AccessibleAWTChoice): Added class documentation.
7587 (AccessibleAWTChoice()): Added public constructor
7589 (AccessibleAWTChoice.getAccessibleAction()): Documented.
7590 (AccessibleAWTChoice.getAccessibleRole()): Documented,
7591 and changed role to COMBO_BOX.
7592 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
7593 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
7594 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
7596 2005-02-15 Graydon Hoare <graydon@redhat.com>
7597 Michael Koch <konqueror@gmx.de>
7599 * javax/swing/LayoutFocusTraversalPolicy.java,
7600 javax/swing/SortingFocusTraversalPolicy.java:
7602 * Makefile.am: Added new classes.
7603 * Makefike.in: Regenerated.
7606 2005-02-15 Michael Koch <konqueror@gmx.de>
7608 * javax/swing/DebugGraphics.java: Mostly implemented.
7610 2005-02-15 Michael Koch <konqueror@gmx.de>
7612 * javax/swing/SwingUtilities.java
7613 (findFocusOwner): New method.
7615 2005-02-15 Michael Koch <konqueror@gmx.de>
7617 * javax/swing/text/DefaultEditorKit.java
7618 (read): Added '\n' after each line.
7619 * javax/swing/text/PlainView.java
7620 (modelToView): Update metrics.
7621 (drawLine): Use offsets from element.
7622 (paint): Update metrics. Draw all lines.
7624 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
7626 * java/awt/Checkbox.java:
7627 (AccessibleAWTCheckbox): Added class documentation
7628 * java/awt/Scrollbar.java:
7629 (AccessibleAWTScrollBar): typo corrected and docs added
7630 (AccessibleAWTScrollBar.getAccessibleRole()): documented
7631 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
7632 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
7633 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
7634 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
7635 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
7636 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
7637 (getAccessibleContext()): name of accessible class corrected
7639 2005-02-15 Mark Wielaard <mark@klomp.org>
7641 * java/awt/BasicStroke.java (hashCode): Implement.
7644 2005-02-15 Michael Koch <konqueror@gmx.de>
7646 * java/awt/print/PrinterJob.java
7647 (pageDialog): Throws java.awt.HeadlessException.
7648 (printDialog): Likewise.
7650 2005-02-15 Mark Wielaard <mark@klomp.org>
7652 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
7654 2005-02-15 Michael Koch <konqueror@gmx.de>
7656 * javax/swing/JTable.java
7657 (getValueAt): New method.
7658 * javax/swing/table/JTableHeader.java
7659 (columnAtPoint): New method.
7661 2005-02-15 Michael Koch <konqueror@gmx.de>
7663 * javax/swing/JTextField.java
7664 (actions): New field.
7665 (static): Initalize actions field.
7666 (getActions): New method.
7668 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
7670 * java/awt/Checkbox.java:
7671 (AccessibleAWTCheckbox): name capitalization corrected
7672 and serialization UID added.
7673 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
7675 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
7676 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
7677 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
7678 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
7679 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
7680 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
7681 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
7682 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
7683 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
7684 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
7685 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
7687 (getAccessibleContext()): name of accessible class corrected
7689 2005-02-15 Sven de Marothy <sven@physto.se>
7691 * java/awt/geom/doc-files/Area-1.png,
7692 java/awt/geom/doc-files/Ellipse-1.png,
7693 java/awt/geom/doc-files/GeneralPath-1.png:
7696 2005-02-15 Graydon Hoare <graydon@redhat.com>
7698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
7699 Use union to avoid type-punning warning.
7701 2005-02-15 Michael Koch <konqueror@gmx.de>
7703 * javax/swing/DefaultListSelectionModel.java
7704 (clone): New method.
7706 2005-02-15 Mark Wielaard <mark@klomp.org>
7708 Reported by Martin Platter <motse@complang.tuwien.ac.at>
7709 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7710 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
7711 Correct method signature of gtkSetFilename.
7713 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
7715 * javax/swing/text/StringContent.java: New file.
7717 2005-02-15 Michael Koch <konqueror@gmx.de>
7719 * Makefile.am: Added javax/swing/text/StringContent.java.
7720 * Makefile.in: Regenerated.
7722 2005-02-15 Michael Koch <konqueror@gmx.de>
7724 * gnu/java/awt/ClasspathToolkit.java:
7725 Import statements reworked.
7726 (imageCache): Made it of type java.util.HashMap.
7728 2005-02-15 Michael Koch <konqueror@gmx.de>
7730 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7731 Reworked import statements.
7733 2005-02-15 Graydon Hoare <graydon@redhat.com>
7735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
7736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
7738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
7740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
7742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
7743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7744 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
7748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
7749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7751 Rewrite uses of extern variable to be function calls.
7752 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
7753 function, from extern variable.
7754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7755 (gdk_env): Remove variable, add new function.
7756 (java_vm): Add new variable.
7757 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
7758 java_vm rather than old gdk_env variable.
7760 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7762 * javax/swing/DefaultListModel.java
7763 (add): fire correct event,
7764 (addElement): corrected interval indices in event,
7765 (clear): corrected upper bound for interval, only fire event if
7767 (setSize): fire appropriate event.
7769 2005-02-15 Graydon Hoare <graydon@redhat.com>
7771 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
7772 * gnu/awt/xlib/XToolkit.java: Likewise.
7773 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7774 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7775 * gnu/java/awt/ClasspathToolkit.java: Likewise.
7776 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
7777 * java/awt/EventQueue.java (getNextEvent):
7778 Adjust event loop to switch to native mode after 100ms.
7779 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
7780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7781 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
7782 Wake up event thread.
7783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7784 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
7785 Adjust event loop to switch to java mode after 100ms.
7787 2005-02-15 Graydon Hoare <graydon@redhat.com>
7789 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
7790 accidentally removed in last change.
7792 2005-02-15 Michael Koch <konqueror@gmx.de>
7794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7795 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
7797 2005-02-15 Graydon Hoare <graydon@redhat.com>
7799 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7800 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7801 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7802 * jni.cc: Reuse bottom frame between calls, avoid clearing
7803 frame when no local references are made.
7805 2005-02-15 Michael Koch <konqueror@gmx.de>
7807 * javax/swing/UIDefaults.java (UIDefaults):
7808 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
7809 Fixed HTML entity and removed a redundant comma.
7811 2005-02-15 Michael Koch <konqueror@gmx.de>
7813 * javax/swing/text/DefaultEditorKit.java
7814 (deinstall): Removed.
7815 (install): Likewise.
7817 2005-02-15 Michael Koch <konqueror@gmx.de>
7819 * javax/swing/UIDefaults.java (put): Handle value of null.
7821 2005-02-15 Michael Koch <konqueror@gmx.de>
7823 * java/awt/Robot.java,
7824 java/awt/Scrollbar.java,
7825 java/awt/print/PrinterJob.java,
7826 javax/swing/JTable.java,
7827 javax/swing/text/AbstractDocument.java:
7828 Reworked import statements.
7830 2005-02-15 Michael Koch <konqueror@gmx.de>
7832 * javax/swing/JEditorPane.java
7833 (read): Implemented.
7835 * javax/swing/text/DefaultEditorKit.java
7836 (page): Renamed from page_url. Made private.
7837 (editorKit): Renamed from kit. Made private.
7839 (JEditorPane): All constructors reimplemented.
7840 (getContentType): Use content type from editor kit.
7841 (getEditorKit): Return editorKit.
7842 (getEditorKitForContentType):Likewise.
7843 (getPage): Return page.
7844 (setContentType): Reimplemented.
7845 (setEditorKit): Likewise.
7846 (setEditorKitForContentType): Removed wrong implementation.
7847 (setPage): Implemented.
7849 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7852 (nativeSetIconImageFromData): Re-add native implementation.
7854 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7856 * javax/swing/table/DefaultTableModel.java
7857 (DefaultTableModel()): Added Javadocs.
7858 (DefaultTableModel(int, int)): Fixed implementation.
7859 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
7860 for negative rowCount.
7861 (DefaultTableModel(Object[], int)): Added Javadocs.
7862 (DefaultTableModel(Vector, Vector)): Likewise.
7863 (DefaultTableModel(Object[][], Object[])): Likewise.
7864 (getDataVector): Likewise.
7865 (setDataVector(Vector, Vector)): Likewise.
7866 (setDataVector(Object[][], Object[])): Likewise.
7867 (newDataAvailable): Likewise.
7868 (newRowsAdded): Likewise.
7869 (rowsRemoved): Likewise.
7870 (setColumnIdentifiers(Vector)): Allow for null argument.
7871 (setColumnIdentifiers(Object[])): Added Javadocs.
7872 (setNumRows): Likewise.
7873 (setRowCount): Adds new rows if necessary, and sends more specific
7875 (setColumnCount): Allow for null columnIdentifiers.
7876 (addColumn(Object)): Added Javadocs.
7877 (addColumn(Object, Vector)): Handle null columnData.
7878 (addColumn(Object, Object[])): Handle columnData with more or less
7879 entries than rows in the table.
7880 (addRow(Vector)): Fire appropriate event.
7881 (addRow(Object[])): Added Javadocs.
7882 (insertRow(int, Vector)): Fire appropriate event.
7883 (insertRow(int, Object[])): Added Javadocs.
7884 (moveRow): Reimplemented.
7885 (removeRow(int)): Fire appropriate event.
7886 (getColumnCount): Allow for null columnIdentifiers.
7887 (getColumnName): Now returns empty string when column index is too
7889 (isCellEditable): Added Javadocs.
7890 (getValueAt): Likewise.
7891 (setValueAt): Fire more specific event.
7892 (convertToVector): Added Javadocs.
7893 * javax/swing/table/TableModel.java
7896 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7898 * libgcj.spec.in (lib): Add -l-javax-imageio.
7900 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7902 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
7903 references to event queue q with method call q().
7904 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
7905 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
7906 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
7907 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
7908 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
7909 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
7912 2005-02-15 Graydon Hoare <graydon@redhat.com>
7914 * gnu/java/awt/ClasspathToolkit.java
7915 (registerImageIOSpis): New method.
7916 * gnu/java/awt/image/ImageDecoder.java
7917 (imageDecoder): New constructor using InputStream
7918 (startProduction): Handle existing InputStream.
7919 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7920 (findSimpleIntegerArray): Make public and static.
7921 (updateBufferedImage): Set each pixel, in a loop.
7922 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7923 Implement ImageIO SPI classes.
7924 (createBufferedImage): Rewrite in terms of SPI classes.
7925 * gnu/java/awt/peer/gtk/GtkToolkit.java
7926 (registerImageIOSpis): New method.
7927 * java/lang/reflect/natMethod.cc
7928 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
7929 which lets JNI call interface methods properly.
7930 * javax/imageio/ImageIO.java
7931 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7932 (WriterMIMETypeFilter.filter): Likewise.
7933 (ImageReaderIterator): Pass extension argument through to SPI.
7934 (getReadersByFilter): Likewise.
7935 (getWritersByFilter): Likewise.
7936 (getImageReadersByFormatName): Likewise.
7937 (getImageReadersByMIMEType): Likewise.
7938 (getImageReadersBySuffix): Likewise.
7939 (getImageWritersByFormatName): Likewise.
7940 (getImageWritersByMIMEType): Likewise.
7941 (getImageWritersBySuffix): Likewise.
7944 * javax/imageio/ImageReader.java
7945 (progressListeners): Initialize.
7946 (setInput): Implement.
7947 * javax/imageio/ImageWriter.java
7948 (progressListeners): Initialize.
7949 (warningListeners): Likewise.
7950 (warningLocales): Likewise.
7951 (setOutput): Test "isInstance" rather than class equality.
7952 * javax/imageio/spi/IIORegistry.java
7953 (static): Add reader and writer SPIs.
7954 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7956 (query_formats): New function.
7957 (save_to_stream): Likewise.
7958 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
7960 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
7964 (keyPress): Likewise.
7965 (keyRelease): Likewise.
7967 2005-02-15 Olga Rodimina <rodimina@redhat.com>
7969 * javax/swing/JTable.java
7970 (columnAtPoint): New Method. Implemented.
7971 (rowAtPoint): Likewise.
7972 (countSelections): Fixed few small count errors.
7973 (getSelections): Likewise.
7974 (setSelectionMode): Set selection mode for column
7975 selection model in addition to row selection model.
7976 * javax/swing/plaf/basic/BasicTableUI.java:
7977 (getRowForPoint): Removed. Replaced by
7978 JTable.rowAtPoint().
7979 (getColForPoint): Removed. Replaced by
7980 JTable.columnAtPoint().
7981 (updateSelection): Updated to call JTable.columnAtPoint
7982 and JTable.rowAtPoint.
7983 * javax/swing/table/DefaultTableColumnModel.java:
7984 (getSelectedColumns): Implemented.
7985 (getSelectedColumnCount): Implemented.
7987 2005-02-15 Graydon Hoare <graydon@redhat.com>
7990 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
7991 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
7992 * Makefile.in: Regenerate.
7993 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
7994 * gnu/awt/xlib/XFramePeer.java: Likewise.
7995 * gnu/awt/xlib/XToolkit.java: Likewise.
7996 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7997 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7998 * gnu/java/awt/ClasspathToolkit.java
8001 (iterateNativeQueue): New methods.
8002 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
8003 * gnu/java/awt/peer/gtk/GtkToolkit.java
8004 (gtkInit): Absorb from defunct GtkMainThread class.
8005 (static): Run gtkInit in static startup block.
8006 (GtkToolkit): Remove construction of GtkMainThread and queue.
8007 (getSystemEventQueueImpl): Construct queue when requested.
8010 (iterateNativeQueue): New methods.
8011 * java/awt/Component.java (removeNotify): Remove race.
8012 * java/awt/EventDispatchThread.java
8013 (EventDispatchThread): Don't start on construction.
8014 (run): Remove isInterrupted check.
8015 * java/awt/EventQueue.java (shutdown): New flag.
8016 (isShutdown): New method checking J2SE shutdown condition.
8017 (setShutdown): New method.
8018 (getNextEvent): Restructure to use ClasspathToolkit.
8019 (postEvent): Activate new thread on posting, wake thread on
8020 post of possible shutdown condition event.
8021 * java/awt/Frame.java
8022 (Frame): Call noteFrame in all constructors.
8023 (fireDummyEvent): New helper method.
8024 (addNotify): Fire a dummy event to wake up queue.
8025 (removeNotify): Fire a dummy event to wake up queue.
8026 (noteFrame): New method.
8027 (weakFrames): New static field.
8028 (getFrames): Implement.
8029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
8031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
8032 Move everything from GtkMainThread into this file
8033 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
8034 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
8035 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
8036 New functions to implement single-threaded queue semantics.
8038 2005-02-15 Michael Koch <konqueror@gmx.de>
8040 * javax/swing/plaf/metal/MetalLookAndFeel.java
8041 (getControlTextFont): New method.
8042 (getMenuTextFont): Likewise.
8043 (getSubTextFont): Likewise.
8044 (getSystemTextFont): Likewise.
8045 (getUserTextFont): Likewise.
8046 (getWindowTitleFont): Likewise.
8048 2005-02-15 Michael Koch <konqueror@gmx.de>
8050 * javax/swing/text/AbstractDocument.java
8051 (documentFilter): New field.
8052 (getDocumentFilter): New method.
8053 (setDocumentFilter): Likewise.
8056 2005-02-15 Michael Koch <konqueror@gmx.de>
8058 * javax/swing/JTree.java
8059 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
8061 2005-02-15 Michael Koch <konqueror@gmx.de>
8063 * javax/swing/text/AbstractDocument.java
8064 (AbstractElement.getLength): Fixed off-by-one error.
8065 (AbstractElement.children): Made abstract.
8066 (AbstractElement.getAllowsChildren): Likewise.
8067 (AbstractElement.getElement): Likewise.
8068 (AbstractElement.dumpElement): New private method.
8069 (AbstractElement.dump): New method.
8070 (BranchElememt.getName): Fixed implementation.
8071 (BranchElememt.toString): Likewise.
8072 (BranchElememt.getElement): Fixed arguments.
8073 (LeafElement.getName): Fixed implementation.
8074 (LeafElement.toString): Likewise.
8075 * javax/swing/text/GapContent.java
8076 (GapContent): Put default content into buffer.
8077 * javax/swing/text/PlainDocument.java
8078 (reindex): Use empty attribute sets instead of null.
8079 (createDefaultRoot): Reimplemented.
8080 (insertUpdate): Call super method.
8081 (removeUpdate): Likewise.
8082 (getParagraphElement): Implemented.
8084 2005-02-15 Michael Koch <konqueror@gmx.de>
8086 * gnu/java/awt/ClasspathToolkit.java
8087 (createRobot): Throws java.awt.AWTException.
8088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
8089 Added '__attribute__((unused))' to all unused method arguments.
8091 2005-02-15 Michael Koch <konqueror@gmx.de>
8093 * javax/swing/DefaultBoundedRangeModel.java
8094 (fireValueChanged): Fixed off-by-one error.
8096 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8098 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
8099 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
8101 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
8102 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
8103 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
8104 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
8105 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8106 (getDefaultScreenDevice): Implement.
8107 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
8108 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
8109 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
8110 * java/awt/Robot.java: Implement.
8111 * java/awt/peer/RobotPeer.java: Rename parameters.
8112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
8113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8114 (awt_keycode_to_keysym): Make non-static.
8115 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
8116 AWT_BUTTON3_MASK): Declare constants.
8117 (awt_keycode_to_keysym): Declare.
8119 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
8120 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
8121 and is non-empty pass its value to "make check".
8122 (test_mauve_sim): Likewise.
8124 2005-02-15 Michael Koch <konqueror@gmx.de>
8126 * javax/imageio/IIOParam.java
8127 (setSourceBands): New method.
8128 (setSourceSubsampling): Likewise.
8129 * javax/imageio/ImageReadParam.java
8130 (setDestination): Likewise.
8131 (setDestinationBands): Likewise.
8132 (setSourceProgressivePasses): Likewise.
8133 * javax/imageio/metadata/IIOInvalidTreeException.java
8134 (serialVersionUID): New static field.
8135 * javax/imageio/metadata/IIOMetadataNode.java
8136 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
8137 (parent): Dont initailize with default value explicitely.
8139 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
8140 (removeAttributeNode): Likewise.
8141 (removeAttributeNS): Likewise.
8142 (setAttribute): Likewise.
8143 (setAttributeNode): Likewise.
8144 (setAttributeNodeNS): Likewise.
8145 (setAttributeNS): Likewise.
8146 (appendChild): Likewise.
8147 (getNodeValue): Likewise.
8148 (insertBefore): Likewise.
8149 (removeChild): Likewise.
8150 (replaceChild): Likewise.
8151 (setPrefix): Likewise.
8153 2005-02-15 Michael Koch <konqueror@gmx.de>
8155 * javax/swing/LookAndFeel.java
8156 (getDesktopPropertyValue): New method.
8158 2005-02-15 Michael Koch <konqueror@gmx.de>
8160 * javax/swing/JTree.java
8161 (hasChildren): New instance field.
8163 2005-02-15 Michael Koch <konqueror@gmx.de>
8165 * javax/swing/JComponent.java
8166 (getToolTipText): New method.
8167 (getTitledBorderText): Likewise.
8168 (getAccessibleKeyBinding): Likewise.
8169 (getVerifyInputWhenFocusTarget): Likewise.
8170 (setVerifyInputWhenFocusTarget): Likewise.
8171 (verifyInputWhenFocusTarget): New instance field.
8173 2005-02-15 Michael Koch <konqueror@gmx.de>
8175 * javax/swing/DefaultListSelectionModel.java
8176 (fireValueChanged): New method.
8178 2005-02-15 Michael Koch <konqueror@gmx.de>
8180 * javax/swing/DefaultBoundedRangeModel.java:
8181 Fixed javadocs all over.
8182 (fireStateChanged): Simplified.
8183 * javax/swing/BoundedRangeModel.java:
8186 2005-02-15 Michael Koch <konqueror@gmx.de>
8188 * javax/swing/JRootPane.java
8189 (setMenuBar): Added @deprecated tag.
8190 (getMenuBar): Likewise.
8191 * javax/swing/JTable.java
8192 (sizeColumnsToFit): Likewise.
8194 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
8196 * javax/swing/ImageIcon.java (setImage): Implemented.
8198 2005-02-15 Michael Koch <konqueror@gmx.de>
8200 * javax/swing/JTable.java:
8201 Removed unused imports.
8203 2005-02-15 Olga Rodimina <rodimina@redhat.com>
8205 (prepareRenderer): Get column's index in dataModel instead
8206 of column's view index.
8207 (getColumnCount): return count of the columns in ColumnModel,
8209 (removeColumn): Implemented.
8210 (moveColumm): Likewise.
8211 (setRowHeight): throw IllegalArgumentException if height is
8213 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
8214 (DefaultTableColumnModel):Add call to createSelectionModel().
8215 (addColumn): Fire columnAdded event to registered listeners.
8216 (removeColumn): Fire columnRemoved event to registered listeners.
8217 (moveColumn): Fire columnMoved event to registered listeners.
8218 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
8219 (getColumnIndex): Changed parameter name.
8220 (setColumnSelectionAllowed): Likewise.
8221 (fireColumnAdded): Implemented.
8222 (fireColumnRemoved): Likewise.
8223 (fireColumnMoved): Likewise.
8224 (fireColumnMarginChanged): Likewise.
8225 (getListeners): Changed parameter name.
8226 (propertyChange): Implemented.
8227 (valueChanged): Changed parameter name.
8228 (createSelectionModel): Implemented.
8230 2005-02-15 Michael Koch <konqueror@gmx.de>
8232 * gnu/java/awt/peer/gtk/GtkToolkit.java:
8233 Explicitely import used classes.
8234 (getLocalGraphicsEnvironment): Simplify.
8235 * java/awt/Window.java (Window):
8236 Enable code to get the default GraphicsConfiguration.
8238 2005-02-15 Michael Koch <konqueror@gmx.de>
8240 * javax/swing/plaf/metal/DefaultMetalTheme.java
8241 (CONTROL_TEXT_FONT): New static field.
8242 (MENU_TEXT_FONT): Likewise.
8243 (SUB_TEXT_FONT): Likewise.
8244 (SYSTEM_TEXT_FONT): Likewise.
8245 (USER_TEXT_FONT): Likewise.
8246 (WINDOW_TITLE_FONT): Likewise.
8247 (getControlTextFont): New method.
8248 (getMenuTextFont): Likewise.
8249 (getSubTextFont): Likewise.
8250 (getSystemTextFont): Likewise.
8251 (getUserTextFont): Likewise.
8252 (getWindowTitleFont): Likewise.
8253 * javax/swing/plaf/metal/MetalTheme.java
8254 (BLACK): Initialize with Color.BLACK.
8255 (WHITE): Initialize with Color.WHITE.
8256 (getInactiveControlTextColor): Return getControlDisabled().
8257 (getMenuDisabledForeground): Return getSecondary3().
8258 (getControlTextFont): New abstract method.
8259 (getMenuTextFont): Likewise.
8260 (getSubTextFont): Likewise.
8261 (getSystemTextFont): Likewise.
8262 (getUserTextFont): Likewise.
8263 (getWindowTitleFont): Likewise.
8265 2005-02-15 Michael Koch <konqueror@gmx.de>
8267 * javax/swing/JFormattedTextField.java
8268 (getFocusLostBehavior): Fixed typo in method name.
8269 (setFocusLostBehavior): Likewise.
8271 2005-02-15 Michael Koch <konqueror@gmx.de>
8273 * javax/swing/TransferHandler.java:
8274 Reworked import statements.
8276 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8278 * java/awt/Button.java,
8279 java/awt/Canvas.java,
8280 java/awt/Checkbox.java,
8281 java/awt/CheckboxMenuItem.java,
8282 java/awt/Choice.java,
8283 java/awt/Dialog.java,
8284 java/awt/Frame.java,
8285 java/awt/Label.java,
8288 java/awt/MenuBar.java,
8289 java/awt/MenuItem.java,
8290 java/awt/PopupMenu.java,
8291 java/awt/ScrollPane.java,
8292 java/awt/Scrollbar.java,
8293 java/awt/TextArea.java,
8294 java/awt/Window.java (getAccessibleContext): Clean up comments.
8296 * java/awt/Button.java,
8297 java/awt/Checkbox.java,
8298 java/awt/Choice.java,
8300 java/awt/PopupMenu.java,
8301 java/awt/TextArea.java (getAccessibleContext): Only create new
8303 * java/awt/TextComponent.java (getAccessibleContext): Implement.
8305 2005-02-15 Michael Koch <konqueror@gmx.de>
8307 * java/awt/Button.java,
8308 javax/swing/JApplet.java,
8309 javax/swing/JFormattedTextField.java,
8310 javax/swing/JWindow.java,
8311 javax/swing/JTree.java,
8312 javax/swing/plaf/basic/BasicEditorPaneUI.java,
8313 javax/swing/plaf/basic/BasicTextPaneUI.java,
8314 javax/swing/plaf/basic/BasicTreeUI.java:
8315 Reworked import statements.
8317 2005-02-15 Michael Koch <konqueror@gmx.de>
8319 * Makefile.am: Put javax.imageio into its own library and link it
8320 against lib-org-w3c-dom.la to fix bootstrapping.
8321 * Makefile.in: Regenerated.
8323 2005-02-15 Michael Koch <konqueror@gmx.de>
8325 * javax/swing/text/TextAction.java
8326 (getTextComponent): Simplified. Added Javadoc.
8327 (augmentList): Implemented. Added Javadoc.
8328 (getFocusedComponent): Added javadoc.
8330 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8332 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
8333 getAccessibleContext): Implement.
8334 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
8335 getAccessibleContext): Implement.
8337 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8339 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
8341 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
8343 * java/awt/Window.java (getAccessibleContext): Fix comment.
8344 Remove extra import.
8346 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8348 * java/awt/Window.java (AccessibleAWTWindow): Implement.
8349 (isActive, isFocused, getAccessibleContext): Implement.
8351 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8353 * java/awt/MenuItem.java (getAccessibleContext): Implement.
8354 * java/awt/MenuComponent.java (accessibleContext): Make package
8356 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
8357 AccessibleAWTCheckboxMenuItem): Implement.
8359 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8361 * java/awt/List.java: Implement AccessibleAWTList,
8362 AccessibleAWTListChild.
8364 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8366 * java/awt/Choice.java: Add implements declaration for
8369 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8371 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
8374 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8376 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
8377 implemented interface list.
8379 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
8381 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
8382 * javax/imageio/metadata/IIOAttr.java: New class.
8383 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
8384 * javax/imageio/metadata/IIONodeList.java: New class.
8385 * Makefile.am: Added new files.
8386 * Makefile.in: Regenerated.
8388 2005-02-15 Michael Koch <konqueror@gmx.de>
8390 * javax/swing/AbstractAction.java,
8391 javax/swing/AbstractCellEditor.java,
8392 javax/swing/AbstractListModel.java,
8393 javax/swing/DefaultBoundedRangeModel.java,
8394 javax/swing/DefaultButtonModel.java,
8395 javax/swing/DefaultCellEditor.java,
8396 javax/swing/DefaultComboBoxModel.java,
8397 javax/swing/DefaultDesktopManager.java,
8398 javax/swing/JMenu.java,
8399 javax/swing/JSlider.java,
8400 javax/swing/KeyStroke.java,
8401 javax/swing/OverlayLayout.java,
8402 javax/swing/ScrollPaneLayout.java,
8403 javax/swing/SizeRequirements.java,
8404 javax/swing/ViewportLayout.java:
8405 Made serialVersionUID private.
8407 2005-02-15 Michael Koch <konqueror@gmx.de>
8409 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8412 2005-02-15 Michael Koch <konqueror@gmx.de>
8414 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
8416 2005-02-15 Michael Koch <konqueror@gmx.de>
8418 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
8420 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
8422 * java/awt/EventDispatchThread.java,
8423 java/awt/Toolkit.java:
8424 Don't catch java.lang.ThreadDeath.
8426 2005-02-15 Michael Koch <konqueror@gmx.de>
8428 * javax/swing/text/PasswordView.java
8429 (drawEchoCharacter): Added javadoc.
8430 (drawSelectedText): Likewise.
8431 (drawUnselectedText): Likewise.
8433 2005-02-15 Michael Koch <konqueror@gmx.de>
8435 * javax/swing/JRootPane.java
8436 (windowDecorationStyle): New field.
8437 (setMenuBar): New method.
8438 (getMenuBar): Likewise.
8439 (getWindowDecorationStyle): Likewise.
8440 (setWindowDecorationStyle): Likewise.
8442 2005-02-15 Michael Koch <konqueror@gmx.de>
8444 * javax/swing/DefaultListSelectionModel.java
8445 (leadAnchorNotificationEnabled): Made protected.
8447 2005-02-15 Michael Koch <konqueror@gmx.de>
8449 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
8450 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
8451 * Makefile.in: Regenerated.
8454 2005-02-15 Michael Koch <konqueror@gmx.de>
8456 * javax/swing/JFormattedTextField.java: Implemented.
8457 * javax/swing/JWindow.java
8458 (JWindow): New constructors.
8459 (initWindow): Renamed from initFrame.
8460 * javax/swing/UIDefaults.java
8461 (ActiveValue): Made interface static.
8462 (LazyValue): Likewise.
8463 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
8464 (TitlePaneLayout.TitlePaneLayout): New constructor.
8465 * javax/swing/plaf/basic/BasicSliderUI.java
8466 (ChangeHandler): Made public.
8467 (FocusHandler): Likewise.
8468 (PropertyChangeHandler): Likewise.
8469 (ScrollListener): Likewise.
8470 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8471 (FocusHandler): Likewise.
8472 (MouseHandler): Likewise.
8473 * javax/swing/plaf/basic/BasicTextPaneUI.java
8474 (BasicTextPaneUI): Extend BasicEditorPaneUI.
8475 * javax/swing/plaf/basic/BasicToolBarUI.java
8476 (BasicToolBarUI): Simplified. Reworked javadoc.
8477 (canDock): Simplified. Make public.
8478 (DockingListener): Made public.
8479 * javax/swing/text/JTextComponent.java
8480 (navigationFilter): New field.
8481 (getNavigationFilter): New method.
8482 (setNavigationFilter): Likewise.
8484 2005-02-15 Michael Koch <konqueror@gmx.de>
8486 * javax/swing/plaf/metal/MetalTheme.java
8487 (getControlTextColor): Return getControlInfo().
8488 (getHighlightedTextColor): Return getControlTextColor().
8490 2005-02-15 Michael Koch <konqueror@gmx.de>
8492 * javax/swing/plaf/basic/BasicButtonListener.java
8493 (BasicButtonListener): New constructor.
8494 * javax/swing/plaf/basic/BasicButtonUI.java
8495 (createButtonListener): Usw new BasicButtonListener constructor.
8497 2005-02-15 Michael Koch <konqueror@gmx.de>
8499 * javax/imageio/event/package.html,
8500 javax/imageio/metadata/package.html: New files.
8502 2005-02-15 Michael Koch <konqueror@gmx.de>
8504 * java/awt/image/MemoryImageSource.java: Reformatted.
8506 2005-02-15 Michael Koch <konqueror@gmx.de>
8508 * javax/swing/tree/TreeCellEditor.java: Refomatted.
8510 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
8512 * java/awt/color/ICC_Profile.java
8513 (finalize): Removed pointless field assignments.
8515 2005-02-15 Michael Koch <konqueror@gmx.de>
8517 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
8518 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
8519 * Makefile.in: Regenerated.
8521 2005-02-15 Michael Koch <konqueror@gmx.de>
8523 * javax/swing/text/DefaultStyledDocument.java: New file.
8524 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
8525 * Makefile.in: Regenerated.
8527 2005-02-15 Michael Koch <konqueror@gmx.de>
8529 * javax/swing/JFileChooser.java
8530 (showDialog): Return CANCEL_OPTION for now.
8531 (showOpenDialog): Likewise.
8532 (showSaveDialog): Likewise.
8534 2005-02-15 Michael Koch <konqueror@gmx.de>
8536 * javax/swing/JApplet.java
8537 (HIDE_ON_CLOSE): Removed.
8538 (EXIT_ON_CLOSE): Likewise.
8539 (DISPOSE_ON_CLOSE): Likewise.
8540 (DO_NOTHING_ON_CLOSE): Likewise.
8541 (close_action): Likewise.
8542 (getDefaultCloseOperation): Likewise.
8543 (setDefaultCloseOperation): Likewise.
8544 (processWindowEvent): Likewise.
8545 (getPreferredSize): Simplified.
8546 * javax/swing/JInternalFrame.java
8547 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
8549 * javax/swing/JWindow.java
8550 (HIDE_ON_CLOSE): Removed.
8551 (EXIT_ON_CLOSE): Likewise.
8552 (DISPOSE_ON_CLOSE): Likewise.
8553 (DO_NOTHING_ON_CLOSE): Likewise.
8554 (close_action): Likewise.
8555 (processKeyEvent): Likewise.
8556 (setDefaultCloseOperation): Likewise.
8557 (getPreferredSize): Simplified.
8559 2005-02-15 Michael Koch <konqueror@gmx.de>
8561 * javax/swing/JTextField.java
8562 (getPreferredSize): Re-implemented.
8564 2005-02-15 Michael Koch <konqueror@gmx.de>
8566 * javax/swing/JLabel.java
8567 (setDisplayedMnemonic): Use only upper case characters.
8568 (setDisplayedMnemonicIndex): Handle index == -1 and fire
8569 PropertyChangeEvent after property got set to the new index.
8571 2005-02-15 Robert Schuster <thebohemian@gmx.net>
8573 * javax/swing/JComboBox.java:
8574 (JComboBox): Removed selection of the
8575 first item in the model.
8577 2005-02-15 Robert Schuster <thebohemian@gmx.net>
8579 * javax/swing/JComboBox.java
8580 added support for no item being selected
8581 (JComboBox): select first or nothing depending on element count
8582 (setModel): cleaned up unneeded "this." usage, added more
8583 docs, made exception behavior match that of the JDK
8584 (setLighWeightPopupEnabled): removed unneeded "this." usage
8586 (setMaximumRowCount): dito
8588 (setPrototypeDisplayValue): dito
8589 (getSelectedItem): simplified, added more user doc
8590 (setSelectedIndex): corrected exception behavior, added more user doc
8591 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
8592 added performance warning to user doc
8593 (addItem): fixed exception behavior, added user doc
8594 (insertItemAt): dito
8596 (removeItemAt): dito
8597 (removeAll): fixed exception behavior, added user doc, added support
8598 for model not being instance of DefaultComboBoxModel
8599 (getSelectedItemObjects): simplified
8600 (getItemCount): fixed dependency on DefaultComboBoxModel
8601 (getItemAt): fixed dependency on MutableComboBoxModel
8602 * javax/swing/DefaultComboBoxModel.java:
8603 (setSelectedItem): updates selected item only if new
8604 value is null or known (match JDK behavior)
8605 * javax/swing/plaf/basic/BasicComboBoxUI.java:
8606 (paintCurrentValue): renders "" if no item is selected
8608 2005-02-15 Michael Koch <konqueror@gmx.de>
8610 * javax/swing/plaf/metal/MetalTheme.java,
8611 javax/swing/plaf/metal/DefaultMetalTheme.java:
8613 * javax/swing/plaf/metal/MetalLookAndFeel.java
8614 * Makefile.am: Added the new files.
8615 * Makefile.in: Regenerated.
8617 2005-02-15 Olga Rodimina <rodimina@redhat.com>
8619 * javax/swing/JTable.java
8620 (editorComp): New field.
8621 (JTable): Initialize local variables and call updateUI
8622 (selectionBackground): Make protected.
8623 (selectionForeground): Likewise.
8624 (initializeLocalVars): Create default editors and renderers,
8625 initialize editingColumn, editingRow variables.
8626 (createDefaultEditors): New Method.
8627 (createDefaultRenderers): Likewise.
8628 (createDefaultListSelectionModel): Removed
8629 (createDefaultSelectionModel): New Method.
8630 (createDefaultTableHeader): Likewise
8631 (removeColumn): Likewise.
8632 (getEditingColumn): Likewise.
8633 (setEditingColumn): Likewise.
8634 (getEditingRow): Likewise.
8635 (setEditingRow): Likewise.
8636 (getEditorComponent): Likewise.
8637 (isEditing): Likewise.
8638 (setDefaultEditor): Likewise.
8639 (addColumnSelectionInterval): Likewise.
8640 (addRowSelectionInterval): Likewise.
8641 (setColumnSelectionInterval): Likewise.
8642 (setRowSelectionInterval): Likewise.
8643 (removeColumnSelectionInterval): Likewise.
8644 (removeRowSelectionInterval): Likewise.
8645 (isColumnSelected): Likewise.
8646 (isRowSelected): Likewise.
8647 (isCellSelected): Likewise.
8648 (selectAll): Likewise.
8650 2005-02-15 Michael Koch <konqueror@gmx.de>
8652 * javax/swing/JTable.java
8653 (addColumn): New method.
8654 (getColumnClass): Likewise.
8655 (getColumnName): Likewise.
8657 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
8659 * javax/swing/TransferHandler.java
8660 (createTransferable): Made protected.
8662 2005-02-15 Michael Koch <konqueror@gmx.de>
8664 * javax/swing/JTable.java,
8665 javax/swing/plaf/basic/BasicTableHeaderUI.java,
8666 javax/swing/plaf/basic/BasicTableUI.java:
8667 Use fixed get/setIntercellSpacing() methods.
8669 2005-02-15 Michael Koch <konqueror@gmx.de>
8671 * javax/swing/JTable.java
8672 (getIntercellSpacing): Fixed typo in method name.
8673 (setIntercellSpacing): Likewise.
8675 2005-02-15 Michael Koch <konqueror@gmx.de>
8677 * javax/swing/text/JTextComponent.java
8678 (focusAccelerator): New variable.
8679 (getFocusAccelerator): New method.
8680 (setFocusAccelerator): Likewise.
8682 2005-02-15 Michael Koch <konqueror@gmx.de>
8684 * javax/swing/JComponent.java
8685 (setTransferHandler): Made public. Fire property change event.
8686 * javax/swing/TransferHandler.java: Implemented.
8687 * javax/swing/text/JTextComponent.java
8688 (DefaultTransferHandler): New inner class.
8689 (defaultTransferHandler): New variable.
8693 (doTransferAction): Likewise.
8695 2005-02-15 Michael Koch <konqueror@gmx.de>
8697 * javax/swing/JTree.java
8698 (collapsePath): New method.
8699 (collapseRow): Likewise.
8700 (expandPath): Likewise.
8701 (expandRow): Likewise.
8702 (checkExpandParents): Likewise.
8703 (doExpandParents): Likewise.
8704 (setExpandedState): Likewise.
8705 (makeVisible): Likewise.
8707 2005-02-15 Michael Koch <konqueror@gmx.de>
8709 * javax/swing/JPasswordField.java: Updated javadocs.
8711 2005-02-15 Michael Koch <konqueror@gmx.de>
8713 * javax/swing/JLayeredPane.java
8714 (getLayer): Fixed return type, made public.
8715 (getPosition): Use new getLayer().
8716 (SetPosition): Likewise.
8717 (getIndexOf): Likewise.
8719 * javax/swing/JInternalFrame.java
8720 (getLayer): Use new JLayeredPane.getLayer().
8723 2005-02-15 Michael Koch <konqueror@gmx.de>
8725 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
8726 (setHeaderValue): Simplified. Do nothing when old value == new value.
8728 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8730 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
8731 against null clip region.
8732 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
8733 gtkWindowSetResizable.
8734 (postConfigureEvent): Only revalidate if frame size has changed.
8735 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
8736 Only revalidate if frame size has changed.
8737 * java/awt/Component.java (reshape): Only repaint and post
8738 component events if component is showing.
8739 * java/awt/Container.java (addImpl): Only post container event if
8740 container is showing.
8742 * java/awt/Window.java (setLocationRelativeTo): Implement.
8743 (setBoundsCallback): Only post component events if component is
8745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
8746 Protect against null graphics structure. Flush gdk event queue.
8748 2005-02-15 Michael Koch <konqueror@gmx.de>
8750 * javax/imageio/ImageReader.java,
8751 javax/imageio/ImageTranscoder.java,
8752 javax/imageio/ImageWriter.java,
8753 javax/imageio/spi/ImageInputStreamSpi.java,
8754 javax/imageio/spi/ImageOutputStreamSpi.java,
8755 javax/imageio/spi/ServiceRegistry.java,
8756 javax/imageio/stream/ImageInputStream.java,
8757 javax/imageio/stream/ImageOutputStream.java: Updated.
8758 * javax/imageio/IIOException.java,
8759 javax/imageio/IIOImage.java,
8760 javax/imageio/IIOParam.java,
8761 javax/imageio/IIOParamController.java,
8762 javax/imageio/ImageIO.java,
8763 javax/imageio/ImageReadParam.java,
8764 javax/imageio/ImageTypeSpecifier.java,
8765 javax/imageio/ImageWriteParam.java,
8766 javax/imageio/spi/IIORegistry.java,
8767 javax/imageio/spi/ImageReaderSpi.java,
8768 javax/imageio/spi/ImageWriterSpi.java,
8769 javax/imageio/stream/FileCacheImageInputStream.java,
8770 javax/imageio/stream/FileCacheImageOutputStream.java,
8771 javax/imageio/stream/FileImageInputStream.java,
8772 javax/imageio/stream/FileImageOutputStream.java,
8773 javax/imageio/stream/ImageInputStreamImpl.java,
8774 javax/imageio/stream/ImageOutputStreamImpl.java,
8775 javax/imageio/stream/MemoryCacheImageInputStream.java,
8776 javax/imageio/stream/MemoryCacheImageOutputStream.java,
8777 javax/imageio/event/IIOReadProgressListener.java,
8778 javax/imageio/event/IIOReadUpdateListener.java,
8779 javax/imageio/event/IIOReadWarningListener.java,
8780 javax/imageio/event/IIOWriteProgressListener.java,
8781 javax/imageio/event/IIOWriteWarningListener.java,
8782 javax/imageio/metadata/IIOMetadata.java,
8783 javax/imageio/metadata/IIOMetadataController.java,
8784 javax/imageio/metadata/IIOMetadataFormat.java,
8785 javax/imageio/metadata/IIOInvalidTreeException.java,
8786 javax/imageio/metadata/IIOMetadataFormatImpl.java,
8787 javax/imageio/metadata/IIOMetadataNode.java: New files.
8788 * Makefile.am (javax_source_files): Added new files
8789 * Makefile.in: Regenerated.
8791 2005-02-15 Graydon Hoare <graydon@redhat.com>
8793 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8794 Rework painting into BufferedImages
8795 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8796 Construct BufferedImage with alpha only when alpha is
8797 present in colormodel.
8798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8799 Rework painting into client-side jint arrays.
8800 * jni/gtk-peer/gtkcairopeer.h:
8803 2005-02-15 Michael Koch <konqueror@gmx.de>
8805 * javax/swing/DefaultListCellRenderer.java
8806 (serialVersionUID): Made private.
8807 (getListCellRendererComponent): Set horizontal alignment.
8808 * javax/swing/JLabel.java
8809 (setVerticalAlignment): Re-implemented.
8810 (setHorizontalAlignment): Do nothing if old value = new value.
8811 * javax/swing/JList.java
8812 (setCellRenderer): Likewise.
8813 (setModel): Re-implemented.
8814 (setSelectionModel): Likewise.
8816 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
8818 * java/awt/Component.java,
8819 java/awt/geom/Rectangle2D.java:
8822 2005-02-15 Michael Koch <konqueror@gmx.de>
8824 * javax/swing/AbstractListModel.java
8825 (fireContentsChanged): Simplified.
8826 (fireIntervalAdded): Likewise.
8827 (fireIntervalRemoved): Likewise.
8828 * javax/swing/DefaultSingleSelectionModel.java:
8830 (fireStateChanged): Simplified.
8831 * javax/swing/JPopupMenu.java
8832 (setSelectionModel): Set property.
8834 2005-02-15 Michael Koch <konqueror@gmx.de>
8836 * java/awt/print/Book.java: Reformatted.
8838 2005-02-15 Michael Koch <konqueror@gmx.de>
8840 * java/awt/geom/Area.java
8841 (QuadSegment.curveArea): Remove unused variables.
8842 (CubicSegment.curveArea): Likewise.
8844 2005-02-15 Michael Koch <konqueror@gmx.de>
8846 * javax/swing/JTree.java
8847 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
8848 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
8849 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
8850 (EXPANDED): New constant.
8851 (COLLAPSED): Likewise.
8852 (nodeStates): New field.
8853 (cellEditor): New method.
8854 (cellRenderer): Likewise.
8855 (selectionModel): Likewise.
8856 (treeModel): Likewise.
8857 (scrollPathToVisible): Likewise.
8858 (scrollRowToVisible): Likewise.
8859 (isCollapsed): Likewise.
8860 (isExpanded): Likewise.
8861 (clearToggledPaths): Likewise.
8862 (getDescendantToggledPaths): Likewise.
8863 (hasBeenExpanded): Likewise.
8864 (isVisible): Likewise.
8865 (isPathEditable): Likewise.
8867 2005-02-15 Michael Koch <konqueror@gmx.de>
8869 * javax/swing/JLayeredPane.java: Reformatted.
8871 2005-02-15 Michael Koch <konqueror@gmx.de>
8873 * javax/swing/tree/DefaultMutableTreeNode.java:
8875 * javax/swing/tree/MutableTreeNode.java:
8878 2005-02-15 Michael Koch <konqueror@gmx.de>
8880 * javax/swing/JFormattedTextField.java
8881 (setDocument): Call setDocument of super class. Don't fire property
8884 2005-02-15 Sven de Marothy <sven@physto.se>
8886 * java/awt/image/IndexColorModel.java:
8887 Add FIXME with respect to alpha handling.
8888 (getAlpha): Default to returning opaque pixels.
8889 * java/awt/image/MultiPixelPackedSampleModel.java
8890 (MultiPixelPackedSampleModel): Corrected parameters, order of
8891 bit shifts and masks, stride length off by one.
8893 2005-02-15 Michael Koch <konqueror@gmx.de>
8895 * javax/swing/JList.java, javax/swing/JTree.java:
8896 Added much new methods and fixed much methods setting bound properties.
8898 2005-02-16 Mark Wielaard <mark@klomp.org>
8900 * Makefile.am (gnu_xml_source_files): Removed
8901 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
8902 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
8903 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
8904 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
8905 gnu/xml/dom/DomDocumentFragment.java,
8906 gnu/xml/dom/DomProcessingInstruction.java and
8907 gnu/xml/dom/ls/DomLSException.java.
8908 * Makefile.in: Regenerated.
8910 2005-02-16 Tom Tromey <tromey@redhat.com>
8912 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
8913 attribute index is out of bounds.
8915 2005-02-16 Chris Burdess <dog@gnu.org>
8917 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
8918 isDeclared methods. Improved performance of isSpecified methods.
8920 2005-02-16 Chris Burdess <dog@gnu.org>
8922 Fixes bug libgcj/19864
8923 * gnu/xml/dom/DomAttr.java,
8924 gnu/xml/dom/DomCDATA.java,
8925 gnu/xml/dom/DomCDATASection.java,
8926 gnu/xml/dom/DomCharacterData.java,
8927 gnu/xml/dom/DomDOMException.java,
8928 gnu/xml/dom/DomDoctype.java,
8929 gnu/xml/dom/DomDocument.java,
8930 gnu/xml/dom/DomDocumentConfiguration.java,
8931 gnu/xml/dom/DomDocumentFragment.java,
8932 gnu/xml/dom/DomElement.java,
8933 gnu/xml/dom/DomEx.java,
8934 gnu/xml/dom/DomFragment.java,
8935 gnu/xml/dom/DomImpl.java,
8936 gnu/xml/dom/DomIterator.java,
8937 gnu/xml/dom/DomNamedNodeMap.java,
8938 gnu/xml/dom/DomNode.java,
8939 gnu/xml/dom/DomNsNode.java,
8940 gnu/xml/dom/DomPI.java,
8941 gnu/xml/dom/DomProcessingInstruction.java,
8942 gnu/xml/dom/DomText.java,
8943 gnu/xml/dom/DomLSEx.java,
8944 gnu/xml/dom/DomLSException.java,
8945 gnu/xml/dom/DomLSParser.java,
8946 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
8947 implementation class names to conform to Classpath guidelines. Make
8948 DomLSException use JDK 1.4+ exception chaining.
8949 * gnu/xml/util/SAXNullTransformerFactory.java,
8950 gnu/xml/xpath/Predicate.java: Use constants relative to
8951 declaring class or interface.
8953 2005-02-16 Andrew Haley <aph@redhat.com>
8955 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
8956 null, create a new AccessControlContext.
8957 * java/security/SecureClassLoader.java (protectionDomainCache):
8959 (defineClass): Create a new protection domain and add it to our
8962 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
8963 addStub() to keep track of the stub we've exported.
8964 (unexportObject): Call deleteStub().
8965 * java/rmi/server/RemoteObject.java (stubs): New field.
8966 (addStub): New method.
8967 (deleteStub): New method.
8970 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
8971 true to findHelper (tryParents).
8972 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
8974 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
8975 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
8977 If tryParents is false, don't scan parent class loaders.
8979 * java/security/Permissions.java (PermissionsHash.implies):
8980 Iterate over the collection and invoke implies() on each
8983 2005-02-16 Andrew Haley <aph@redhat.com>
8985 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
8987 (PersistentByteMap): Set name
8988 Magic number changed to 0x67636a64 ("gcjd").
8989 (init): Force the map to be prime.
8990 (emptyPersistentByteMap): File name was a string, now a File.
8991 (addBytes): Share srings between entries.
8992 (stringTableSize): New method.
8993 (capacity): Scale by load factor.
8994 (force): New method.
8995 (getFile): New method.
8996 (close): New method.
8997 (putAll): New method.
8998 (ByteWrapper): New class.
8999 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
9000 (main): Guess the average string size as 32, not 64.
9001 Copy a database before modifying it, so that we can update a
9002 database in a running system.
9003 If a database isn't big enough, resize it.
9004 "-m": new option: merges databases.
9005 "-a": Create a new detabase if it doesn't exist.
9006 (usage): Correct, add new option.
9007 (addJar): Copy a database before modifying it.
9008 (resizeMap): New method.
9010 2005-02-15 David Daney <ddaney@avtrex.com>
9011 Bryce McKinlay <mckinlay@redhat.com>
9013 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
9014 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
9015 ensure that GC threads inherit the new signal mask.
9016 (block_sigchld): Call JvFail rather than throwing exception if
9017 pthread_sigmask() fails.
9019 2005-02-15 Mark Wielaard <mark@klomp.org>
9021 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
9022 file path elements are separated by spaces.
9024 2005-02-15 Mark Wielaard <mark@klomp.org>
9026 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
9027 to describe attributes without a constant field value in this class.
9029 2005-02-15 Michael Koch <konqueror@gmx.de>
9031 * java/util/jar/Attributes.java
9032 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
9034 2005-02-15 Mark Wielaard <mark@klomp.org>
9036 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
9037 space for parsing CLASS_PATH attribute.
9039 2005-02-15 Mark Wielaard <mark@klomp.org>
9041 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
9042 aside for "GCJLIBS" in directory where jarfiles are loaded.
9043 (JarURLLoader.getClass): Removed method.
9044 (JarURLLoader.toString): Removed method.
9045 (FileResource.toString): Removed method.
9047 2005-02-15 Mark Wielaard <mark@klomp.org>
9049 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
9050 and/or cause before throwing.
9052 2005-02-15 Richard Henderson <rth@redhat.com>
9054 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
9055 (libgcj0_convenience_la_SOURCES): ... here.
9056 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
9057 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
9058 * Makefile.in: Regenerate.
9060 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9063 * include/jawt.h: Likewise.
9064 * include/jawt_md.h: Likewise.
9065 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9067 * include/Makefile.in: Regenerate.
9068 * jni/classpath/classpath_jawt.h: Likewise.
9069 * jni/gtk-peer/gtk_jawt.c: Likewise.
9070 * Makefile.am: Build libjawt.so.
9071 * Makefile.in: Regenerate.
9073 2005-02-14 Tom Tromey <tromey@redhat.com>
9075 * testsuite/libjava.lang/PR19921.java: Use correct class name.
9077 2005-02-14 Tom Tromey <tromey@redhat.com>
9079 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
9080 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
9082 2005-02-14 Tom Tromey <tromey@redhat.com>
9085 * testsuite/libjava.lang/PR19929.out: New file.
9086 * testsuite/libjava.lang/PR19929.java: New file.
9088 2005-02-14 Anthony Green <green@redhat.com>
9091 * testsuite/libjava.jni/PR18116.c: New file.
9092 * testsuite/libjava.jni/PR18116.java: New file.
9093 * testsuite/libjava.jni/PR18116.out: New file.
9095 2005-02-13 Anthony Green <green@redhat.com>
9098 * jni.cc (nathash_add): Don't strdup the method signature.
9099 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
9103 2005-02-12 Mark Wielaard <mark@klomp.org>
9105 Fixes bug libgcj/8170
9106 * java/lang/ClassLoader.java (loadClass): Don't rewrap
9107 ClassNotFoundException.
9108 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
9109 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
9110 (remove_internal): New field superceding remove_interpreter.
9111 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
9112 Remove no-class methods starting with "_Jv_". And Replace null
9113 class or method names with the empty string. Stop at either the
9114 MainThread or a real Thread run() method.
9115 (newElement): Made static.
9116 * java/net/URLClassLoader.java (findClass): Throw
9117 ClassNotFoundExceptions including urls, plus parent using toString().
9118 (thisString): New field.
9119 (toString): New method.
9121 2005-02-10 Tom Tromey <tromey@redhat.com>
9123 * external/sax/Makefile.in: Rebuilt.
9124 * external/sax/Makefile.am (all-local): Removed.
9125 (BUILT_SOURCES): New variable.
9126 (mostlyclean-local): No error if no classes to delete.
9127 * external/w3c_dom/Makefile.in: Rebuilt.
9128 * external/w3c_dom/Makefile.am (all-local): Removed.
9129 (BUILT_SOURCES): New variable.
9130 (mostlyclean-local): No error if no classes to delete.
9132 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
9134 * testsuite/libjava.mauve/xfails: Updated to reflect current state
9135 of mauve and libjava.
9137 2005-02-09 Tom Tromey <tromey@redhat.com>
9139 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
9140 jar file with OPEN_DELETE.
9141 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
9142 OPEN_DELETE is used.
9144 2005-02-09 Tom Tromey <tromey@redhat.com>
9146 * java/util/zip/InflaterInputStream.java (markSupported):
9148 (mark, reset): Likewise.
9150 2005-02-08 Tom Tromey <tromey@redhat.com>
9152 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
9153 name or port is missing.
9154 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
9155 AUTHORITY_PORT_GROUP): Updated.
9157 2005-02-08 Tom Tromey <tromey@redhat.com>
9159 * configure: Rebuilt.
9160 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
9163 2005-02-07 Tom Tromey <tromey@redhat.com>
9165 * java/lang/natRuntime.cc (insertSystemProperties): Set
9166 sun.boot.class.path earlier.
9168 2005-02-07 Tom Tromey <tromey@redhat.com>
9170 * defineclass.cc (handleClassBegin): Use
9171 _Jv_RegisterInitiatingLoader.
9172 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
9173 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
9174 class. Use _Jv_UnregisterInitiatingLoader.
9175 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
9178 2005-02-07 Mark Wielaard <mark@klomp.org>
9180 Reported by Timo Lindfors <timo.lindfors@iki.fi>
9181 java/util/regex/Matcher.java (lookingAt): Set position when match
9183 (matches): Implemented through lookingAt().
9185 2005-02-07 Mark Wielaard <mark@klomp.org>
9187 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
9188 * java/util/regex/Pattern.java (split(CharSequence,int)):
9189 Fix while empties > 0 loops.
9191 2005-02-07 Robert Schuster <thebohemian@gmx.net>
9193 * gnu/java/nio/charset/ISO_8859_1.java,
9194 gnu/java/nio/charset/US_ASCII.java,
9195 gnu/java/nio/charset/UTF_16.java,
9196 gnu/java/nio/charset/UTF_16_LE.java,
9197 gnu/java/nio/charset/UTF_16_BE.java,
9198 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
9199 and aliases according to
9200 "http://www.iana.org/assignments/character-sets",
9201 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
9202 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
9203 * gnu/java/nio/charset/Provider.java: Made charset lookup
9204 case-insensitive which fixes bug #11740.
9206 2005-02-07 Tom Tromey <tromey@redhat.com>
9209 * Makefile.in: Rebuilt.
9210 * Makefile.am (src.zip): New target.
9211 (install-src.zip): Likewise.
9212 (sourcesdir): New variable.
9214 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
9216 * javax/imageio/metadata/IIOMetadataNode.java:
9218 * javax/imageio/metadata/IIOAttr.java,
9219 javax/imageio/metadata/IIONamedNodeMap.java,
9220 javax/imageio/metadata/IIONodeList.java:
9223 2005-02-06 Graydon Hoare <graydon@redhat.com>
9225 * gnu/java/awt/ClasspathToolkit.java
9226 (registerImageIOSpis): New method.
9227 * javax/imageio/ImageIO.java
9228 (WriterFormatFilter.filter): Fix copy-and-paste typos.
9229 (WriterMIMETypeFilter.filter): Likewise.
9230 (ImageReaderIterator): Pass extension argument through to SPI.
9231 (getReadersByFilter): Likewise.
9232 (getWritersByFilter): Likewise.
9233 (getImageReadersByFormatName): Likewise.
9234 (getImageReadersByMIMEType): Likewise.
9235 (getImageReadersBySuffix): Likewise.
9236 (getImageWritersByFormatName): Likewise.
9237 (getImageWritersByMIMEType): Likewise.
9238 (getImageWritersBySuffix): Likewise.
9241 * javax/imageio/ImageReader.java
9242 (progressListeners): Initialize.
9243 (setInput): Implement.
9244 * javax/imageio/ImageWriter.java
9245 (progressListeners): Initialize.
9246 (warningListeners): Likewise.
9247 (warningLocales): Likewise.
9248 (setOutput): Test "isInstance" rather than class equality.
9249 * javax/imageio/spi/IIORegistry.java
9250 (static): Add reader and writer SPIs.
9251 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
9253 2005-02-06 Michael Koch <konqueror@gmx.de>
9255 * javax/imageio/metadata/IIOInvalidTreeException.java
9256 (IIOInvalidTreeException): Reformatted.
9257 * javax/imageio/spi/IIORegistry.java
9258 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
9259 * javax/imageio/stream/MemoryCacheImageInputStream.java:
9260 Reworked import statements.
9262 2005-02-06 Michael Koch <konqueror@gmx.de>
9264 * javax/imageio/stream/FileImageOutputStream.java:
9267 2005-02-06 Michael Koch <konqueror@gmx.de>
9269 * javax/imageio/stream/FileCacheImageInputStream.java,
9270 javax/imageio/stream/FileCacheImageOutputStream.java,
9271 javax/imageio/stream/FileImageInputStream.java,
9272 javax/imageio/stream/ImageInputStreamImpl.java,
9273 javax/imageio/stream/ImageOutputStreamImpl.java,
9274 javax/imageio/stream/MemoryCacheImageInputStream.java,
9275 javax/imageio/stream/MemoryCacheImageOutputStream.java:
9276 Added all missing methods in javax.imageio.stream.
9278 2005-02-02 David Daney <ddaney@avtrex.com>
9280 * java/net/InetAddress.java (InetAddress): Make a private copy of
9282 * java/net/Inet4Address.java (getAddress): Return a copy of the
9284 * java/net/Inet6Address.java (Inet6Address): Use private copy of
9286 (getAddress): Return a copy of the address.
9289 2005-02-02 Tom Tromey <tromey@redhat.com>
9291 * Makefile.in: Rebuilt.
9292 * Makefile.am (classes.stamp): New target, broken out from
9294 ($(all_java_class_files)): Depend on it.
9295 (libgcj-@gcc_version@.jar): Likewise.
9296 (all-recursive): Likewise.
9297 (CLEANFILES): Include classes.stamp.
9299 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
9301 * link.cc: Include <stdio.h>
9303 2005-02-02 Tom Tromey <tromey@redhat.com>
9306 * Makefile.in: Rebuilt.
9307 * Makefile.am (ordinary_java_source_files): Added new class.
9308 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
9309 Use system_instance, not instance.
9310 * gnu/gcj/runtime/SystemClassLoader.java: New file.
9311 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
9313 (system_instance): New field.
9314 (initialize): Initialize the system loader as well.
9315 (VMClassLoader): Default to LIB_CACHE.
9317 2005-02-02 Tom Tromey <tromey@redhat.com>
9319 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
9320 * prims.cc: Fixed comment.
9322 2005-02-01 Tom Tromey <tromey@redhat.com>
9324 * Makefile.in: Rebuilt.
9325 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
9326 (.java.class): Use BOOTCLASSPATH.
9328 2005-02-01 Tom Tromey <tromey@redhat.com>
9330 * external/w3c_dom/Makefile.am: New file.
9331 * external/w3c_dom/Makefile.in: New file.
9332 * external/sax/Makefile.am: New file.
9333 * external/sax/Makefile.in: New file.
9334 * external/Makefile.in: New file.
9335 * external/Makefile.am: New file.
9336 * external/README: New file from Classpath.
9337 * configure, aclocal.m4, Makefile.in: Rebuilt.
9338 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
9339 * Makefile.am (SUBDIRS): Added external.
9340 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
9341 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
9342 (BOOTCLASSPATH): New variable.
9343 (AM_GCJFLAGS): Use it.
9344 (gnu_xml_source_files): New variable.
9345 (libgcj_la_SOURCES): Use it.
9346 (libgcj_la_LDADD): Include new convenience libraries.
9347 (lib_org_ietf_jgss_la_SOURCES): Removed.
9348 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
9349 (lib_org_ietf_jgss_la_LIBADD): Likewise.
9350 (lib_org_w3c_dom_la_SOURCES): Removed.
9351 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
9352 (lib_org_w3c_dom_la_LIBADD): Likewise.
9353 (lib_org_xml_sax_la_SOURCES): Removed.
9354 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
9355 (lib_org_xml_sax_la_LIBADD): Likewise.
9356 (all_java_source_files): Updated.
9357 (property_files): Likewise.
9358 (libgcj-@gcc_version@.jar): Include classes from external/.
9359 (javax_source_files): Updated.
9360 (ordinary_java_source_files): Updated.
9361 * javax/xml/XMLConstants.java,
9362 javax/xml/datatype/DatatypeConfigurationException.java,
9363 javax/xml/datatype/DatatypeConstants.java,
9364 javax/xml/datatype/DatatypeFactory.java,
9365 javax/xml/datatype/Duration.java,
9366 javax/xml/datatype/XMLGregorianCalendar.java,
9367 javax/xml/datatype/package.html,
9368 javax/xml/namespace/NamespaceContext.java,
9369 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
9370 javax/xml/parsers/DocumentBuilder.java,
9371 javax/xml/parsers/DocumentBuilderFactory.java,
9372 javax/xml/parsers/FactoryConfigurationError.java,
9373 javax/xml/parsers/ParserConfigurationException.java,
9374 javax/xml/parsers/SAXParser.java,
9375 javax/xml/parsers/SAXParserFactory.java,
9376 javax/xml/parsers/package.html,
9377 javax/xml/transform/ErrorListener.java,
9378 javax/xml/transform/OutputKeys.java,
9379 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
9380 javax/xml/transform/SourceLocator.java,
9381 javax/xml/transform/Templates.java,
9382 javax/xml/transform/Transformer.java,
9383 javax/xml/transform/TransformerConfigurationException.java,
9384 javax/xml/transform/TransformerException.java,
9385 javax/xml/transform/TransformerFactory.java,
9386 javax/xml/transform/TransformerFactoryConfigurationError.java,
9387 javax/xml/transform/URIResolver.java,
9388 javax/xml/transform/package.html,
9389 javax/xml/transform/dom/DOMLocator.java,
9390 javax/xml/transform/dom/DOMResult.java,
9391 javax/xml/transform/dom/DOMSource.java,
9392 javax/xml/transform/dom/package.html,
9393 javax/xml/transform/sax/SAXResult.java,
9394 javax/xml/transform/sax/SAXSource.java,
9395 javax/xml/transform/sax/SAXTransformerFactory.java,
9396 javax/xml/transform/sax/TemplatesHandler.java,
9397 javax/xml/transform/sax/TransformerHandler.java,
9398 javax/xml/transform/sax/package.html,
9399 javax/xml/transform/stream/StreamResult.java,
9400 javax/xml/transform/stream/StreamSource.java,
9401 javax/xml/transform/stream/package.html,
9402 javax/xml/validation/Schema.java,
9403 javax/xml/validation/SchemaFactory.java,
9404 javax/xml/validation/TypeInfoProvider.java,
9405 javax/xml/validation/Validator.java,
9406 javax/xml/validation/ValidatorHandler.java,
9407 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
9408 javax/xml/xpath/XPathConstants.java,
9409 javax/xml/xpath/XPathException.java,
9410 javax/xml/xpath/XPathExpression.java,
9411 javax/xml/xpath/XPathExpressionException.java,
9412 javax/xml/xpath/XPathFactory.java,
9413 javax/xml/xpath/XPathFactoryConfigurationException.java,
9414 javax/xml/xpath/XPathFunction.java,
9415 javax/xml/xpath/XPathFunctionException.java,
9416 javax/xml/xpath/XPathFunctionResolver.java,
9417 javax/xml/xpath/XPathVariableResolver.java,
9418 javax/xml/xpath/package.html: New files, from GNU JAXP.
9419 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
9420 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
9421 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
9422 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
9423 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
9424 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
9425 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
9426 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
9427 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
9428 org/w3c/dom/ranges/DocumentRange.java,
9429 org/w3c/dom/ranges/Range.java,
9430 org/w3c/dom/ranges/RangeException.java,
9431 org/w3c/dom/traversal/DocumentTraversal.java,
9432 org/w3c/dom/traversal/NodeFilter.java,
9433 org/w3c/dom/traversal/NodeIterator.java,
9434 org/w3c/dom/traversal/TreeWalker.java,
9435 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
9436 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
9437 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
9438 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
9439 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
9440 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
9441 org/xml/sax/SAXNotRecognizedException.java,
9442 org/xml/sax/SAXNotSupportedException.java,
9443 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
9444 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
9445 org/xml/sax/ext/DeclHandler.java,
9446 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
9447 org/xml/sax/helpers/AttributeListImpl.java,
9448 org/xml/sax/helpers/AttributesImpl.java,
9449 org/xml/sax/helpers/DefaultHandler.java,
9450 org/xml/sax/helpers/LocatorImpl.java,
9451 org/xml/sax/helpers/NamespaceSupport.java,
9452 org/xml/sax/helpers/NewInstance.java,
9453 org/xml/sax/helpers/ParserAdapter.java,
9454 org/xml/sax/helpers/ParserFactory.java,
9455 org/xml/sax/helpers/XMLFilterImpl.java,
9456 org/xml/sax/helpers/XMLReaderAdapter.java,
9457 org/xml/sax/helpers/XMLReaderFactory.java,
9458 org/xml/sax/helpers/package.html: Moved to external/.
9459 * external/sax/README,
9460 external/sax/org/xml/sax/AttributeList.java,
9461 external/sax/org/xml/sax/Attributes.java,
9462 external/sax/org/xml/sax/ContentHandler.java,
9463 external/sax/org/xml/sax/DTDHandler.java,
9464 external/sax/org/xml/sax/DocumentHandler.java,
9465 external/sax/org/xml/sax/EntityResolver.java,
9466 external/sax/org/xml/sax/ErrorHandler.java,
9467 external/sax/org/xml/sax/HandlerBase.java,
9468 external/sax/org/xml/sax/InputSource.java,
9469 external/sax/org/xml/sax/Locator.java,
9470 external/sax/org/xml/sax/Parser.java,
9471 external/sax/org/xml/sax/SAXException.java,
9472 external/sax/org/xml/sax/SAXNotRecognizedException.java,
9473 external/sax/org/xml/sax/SAXNotSupportedException.java,
9474 external/sax/org/xml/sax/SAXParseException.java,
9475 external/sax/org/xml/sax/XMLFilter.java,
9476 external/sax/org/xml/sax/XMLReader.java,
9477 external/sax/org/xml/sax/package.html,
9478 external/sax/org/xml/sax/ext/Attributes2.java,
9479 external/sax/org/xml/sax/ext/Attributes2Impl.java,
9480 external/sax/org/xml/sax/ext/DeclHandler.java,
9481 external/sax/org/xml/sax/ext/DefaultHandler2.java,
9482 external/sax/org/xml/sax/ext/EntityResolver2.java,
9483 external/sax/org/xml/sax/ext/LexicalHandler.java,
9484 external/sax/org/xml/sax/ext/Locator2.java,
9485 external/sax/org/xml/sax/ext/Locator2Impl.java,
9486 external/sax/org/xml/sax/ext/package.html,
9487 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
9488 external/sax/org/xml/sax/helpers/AttributesImpl.java,
9489 external/sax/org/xml/sax/helpers/DefaultHandler.java,
9490 external/sax/org/xml/sax/helpers/LocatorImpl.java,
9491 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
9492 external/sax/org/xml/sax/helpers/NewInstance.java,
9493 external/sax/org/xml/sax/helpers/ParserAdapter.java,
9494 external/sax/org/xml/sax/helpers/ParserFactory.java,
9495 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
9496 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
9497 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
9498 external/sax/org/xml/sax/helpers/package.html,
9499 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
9500 external/w3c_dom/org/w3c/dom/Attr.java,
9501 external/w3c_dom/org/w3c/dom/CDATASection.java,
9502 external/w3c_dom/org/w3c/dom/CharacterData.java,
9503 external/w3c_dom/org/w3c/dom/Comment.java,
9504 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
9505 external/w3c_dom/org/w3c/dom/DOMError.java,
9506 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
9507 external/w3c_dom/org/w3c/dom/DOMException.java,
9508 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
9509 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
9510 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
9511 external/w3c_dom/org/w3c/dom/DOMLocator.java,
9512 external/w3c_dom/org/w3c/dom/DOMStringList.java,
9513 external/w3c_dom/org/w3c/dom/Document.java,
9514 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
9515 external/w3c_dom/org/w3c/dom/DocumentType.java,
9516 external/w3c_dom/org/w3c/dom/Element.java,
9517 external/w3c_dom/org/w3c/dom/Entity.java,
9518 external/w3c_dom/org/w3c/dom/EntityReference.java,
9519 external/w3c_dom/org/w3c/dom/NameList.java,
9520 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
9521 external/w3c_dom/org/w3c/dom/Node.java,
9522 external/w3c_dom/org/w3c/dom/NodeList.java,
9523 external/w3c_dom/org/w3c/dom/Notation.java,
9524 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
9525 external/w3c_dom/org/w3c/dom/Text.java,
9526 external/w3c_dom/org/w3c/dom/TypeInfo.java,
9527 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
9528 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
9529 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
9530 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
9531 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
9532 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
9533 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
9534 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
9535 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
9536 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
9537 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
9538 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
9539 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
9540 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
9541 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
9542 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
9543 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
9544 external/w3c_dom/org/w3c/dom/css/Counter.java,
9545 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
9546 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
9547 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
9548 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
9549 external/w3c_dom/org/w3c/dom/css/Rect.java,
9550 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
9551 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
9552 external/w3c_dom/org/w3c/dom/events/Event.java,
9553 external/w3c_dom/org/w3c/dom/events/EventException.java,
9554 external/w3c_dom/org/w3c/dom/events/EventListener.java,
9555 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
9556 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
9557 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
9558 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
9559 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
9560 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
9561 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
9562 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
9563 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
9564 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
9565 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
9566 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
9567 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
9568 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
9569 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
9570 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
9571 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
9572 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
9573 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
9574 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
9575 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
9576 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
9577 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
9578 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
9579 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
9580 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
9581 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
9582 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
9583 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
9584 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
9585 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
9586 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
9587 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
9588 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
9589 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
9590 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
9591 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
9592 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
9593 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
9594 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
9595 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
9596 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
9597 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
9598 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
9599 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
9600 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
9601 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
9602 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
9603 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
9604 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
9605 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
9606 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
9607 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
9608 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
9609 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
9610 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
9611 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
9612 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
9613 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
9614 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
9615 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
9616 external/w3c_dom/org/w3c/dom/ls/LSException.java,
9617 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
9618 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
9619 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
9620 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
9621 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
9622 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
9623 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
9624 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
9625 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
9626 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
9627 external/w3c_dom/org/w3c/dom/ranges/Range.java,
9628 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
9629 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
9630 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
9631 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
9632 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
9633 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
9634 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
9635 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
9636 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
9637 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
9638 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
9639 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
9640 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
9641 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
9642 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
9643 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
9644 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
9645 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
9648 2005-01-31 Anthony Green <green@redhat.com>
9650 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
9651 Support IP_MULTICAST_LOOP.
9652 (setOption): Support IP_MULTICAST_LOOP.
9654 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
9655 SO_REUSEADDR support.
9656 (getOption): Support SO_REUSEADDR.
9658 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
9661 * java/util/Date.java
9662 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
9664 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
9666 (getTimezoneOffset): Inverted sign.
9668 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
9670 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
9671 remove other passing tests and add new XFAILs.
9673 2005-01-24 Tom Tromey <tromey@redhat.com>
9675 * java/lang/Class.h (next): Updated documentation. Renamed to
9677 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
9678 _Jv_CheckABIVersion.
9679 (_Jv_RegisterClasses_Counted): Likewise.
9680 (_Jv_RegisterClassHookDefault): Fix starting condition of
9681 duplicate-checking loop.
9682 * include/jvm.h (GCJ_VERSION): New define.
9683 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
9684 (_Jv_CheckABIVersion): New function.
9686 2005-01-24 Jakub Jelinek <jakub@redhat.com>
9688 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
9689 (libgij_la_LDFLAGS): Add.
9690 * Makefile.in: Rebuilt.
9692 2005-01-24 Roger Sayle <roger@eyesopen.com>
9695 * testsuite/libjava.compile/PR19295.java: New test case.
9697 2005-01-19 Tom Tromey <tromey@redhat.com>
9699 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
9700 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
9701 if 'handler' is valid.
9703 2005-01-17 Tom Tromey <tromey@redhat.com>
9705 * java/text/MessageFormat.java (scanString): Changed how quoting
9707 (scanFormatElement): Likewise.
9709 2004-12-07 Mark Wielaard <mark@klomp.org>
9711 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
9713 2005-01-15 Michael Koch <konqueror@gmx.de>
9717 (AUTHORITY_REGEXP): New regexp constant.
9718 (AUTHORITY_USERINFO_GROUP): New constant.
9719 (AUTHORITY_HOST_GROUP): Likewise.
9720 (AUTHORITY_PORT_GROUP): Likewise.
9721 (port): Changed default value to -1.
9722 (parseURI): Parse authority part and initialize host,
9725 2005-01-14 Robin Green <greenrd@greenrd.org>
9727 * java/io/File.java (toURI): Generate a URI which we understand.
9729 2005-01-13 Graydon Hoare <graydon@redhat.com>
9731 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9732 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9733 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9734 * jni.cc: Reuse bottom frame between calls, avoid clearing
9735 frame when no local references are made.
9737 2005-01-13 Michael Koch <konqueror@gmx.de>
9740 * java/lang/Thread.java
9741 (Thread): Call checkAccess().
9742 (stop): Fixed argument name to match javadoc.
9743 * java/lang/natThread.cc
9744 (interrupt): Call checkAccess().
9747 2005-01-11 Michael Koch <konqueror@gmx.de>
9750 * java/net/URL.java (URL): Handle specs like
9751 "/redir?http://domain2.com/index.html" which start with a slash.
9753 2005-01-11 Michael Koch <konqueror@gmx.de>
9755 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
9756 * gnu/java/net/BASE64.java,
9757 gnu/java/net/EmptyX509TrustManager.java,
9758 gnu/java/net/LineInputStream.java,
9759 gnu/java/net/protocol/http/Authenticator.java,
9760 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
9761 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
9762 gnu/java/net/protocol/http/ChunkedInputStream.java,
9763 gnu/java/net/protocol/http/Cookie.java,
9764 gnu/java/net/protocol/http/CookieManager.java,
9765 gnu/java/net/protocol/http/Credentials.java,
9766 gnu/java/net/protocol/http/HTTPConnection.java,
9767 gnu/java/net/protocol/http/HTTPDateFormat.java,
9768 gnu/java/net/protocol/http/HTTPURLConnection.java,
9769 gnu/java/net/protocol/http/Headers.java,
9770 gnu/java/net/protocol/http/Request.java,
9771 gnu/java/net/protocol/http/RequestBodyWriter.java,
9772 gnu/java/net/protocol/http/Response.java,
9773 gnu/java/net/protocol/http/ResponseBodyReader.java,
9774 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
9775 gnu/java/net/protocol/http/SimpleCookieManager.java,
9776 gnu/java/net/protocol/http/event/ConnectionEvent.java,
9777 gnu/java/net/protocol/http/event/ConnectionListener.java,
9778 gnu/java/net/protocol/http/event/RequestEvent.java,
9779 gnu/java/net/protocol/http/event/RequestListener.java: New files.
9780 * gnu/java/net/protocol/http/Connection.java: Removed.
9781 * gnu/java/net/protocol/http/Handler.java,
9782 javax/net/ssl/HttpsURLConnection.java: Updated.
9783 * Makefile.am: Added new files and remove old ones.
9784 * Makefile.in: Regenerated.
9786 2005-01-11 Tom Tromey <tromey@redhat.com>
9789 * java/io/BufferedInputStream.java (read): Repeatedly read to
9791 (refill): Change test to see if buffer must be grown.
9793 2005-01-10 Tom Tromey <tromey@redhat.com>
9795 * mauve-libgcj: Exclude some swing tests.
9797 2005-01-10 Tom Tromey <tromey@redhat.com>
9799 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
9800 * java/lang/Package.java (getPackages): Use VMClassLoader when
9802 (getPackage): Likewise.
9803 * prims.cc (_Jv_CreateJavaVM): Call
9804 _Jv_RegisterBootstrapPackages.
9805 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
9806 * java/lang/VMClassLoader.java (getPackage): Rewrote.
9807 (getPackages): Likewise.
9808 (definedPackages): New field.
9809 (definePackageForNative): New method.
9810 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
9811 * java/lang/natVMClassLoader.cc (loadClass): Updated.
9812 * defineclass.cc (handleClassBegin): Use
9813 ClassLoader.findLoadedClass.
9814 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
9816 (struct _Jv_LoaderInfo): Removed.
9817 (initiated_classes): Likewise.
9818 (_Jv_UnregisterClass): Don't use initiated_classes.
9819 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
9820 (_Jv_FindClass): Register classes found during boostrap.
9821 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
9822 (bootstrap_class_list): New global.
9823 (bootstrap_index): Likewise.
9824 (_Jv_RegisterBootstrapPackages): New function.
9825 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
9826 definePackageForNative.
9827 (findClass): Updated.
9828 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
9831 2005-01-10 Tom Tromey <tromey@redhat.com>
9834 * include/jvm.h (_Jv_Linker::find_field): Declare.
9835 (_Jv_Linker::find_field_helper): Likewise.
9836 * link.cc (find_field_helper): New method.
9837 (find_field): Likewise.
9838 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
9840 (link_symbol_table): Use find_field.
9842 2005-01-10 Michael Koch <konqueror@gmx.de>
9845 * java/util/Locale.java (Locale): Don't uppercase variant.
9846 (getISOCountries): Fixed typo in javadoc.
9848 2005-01-10 Michael Koch <konqueror@gmx.de>
9850 * java/util/SimpleTimeZone.java (checkRule):
9851 Throw IllegalArgumentException on invalid month values.
9852 * java/util/TimeZone.java (setID):
9853 Throw NullPointerException if needed.
9855 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
9857 * java/util/SimpleTimeZone.java (getOffset):
9858 offset end date with daylight savings
9860 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
9862 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
9863 * testsuite/libjava.compile/PR19277.xfail: Likewise.
9865 2005-01-09 Michael Koch <konqueror@gmx.de>
9868 * java/net/InetAddress.java (getLocalHost):
9869 Throw UnknownHostException if local hostname cannot be determined.
9871 2005-01-06 Tom Tromey <tromey@redhat.com>
9873 * java/lang/ClassLoader.java (findClass): Fixed documentation.
9875 2005-01-07 Michael Koch <konqueror@gmx.de>
9878 * java/nio/Buffer.java (address): New field.
9879 * java/nio/DirectByteBufferImpl.java (address): Removed.
9880 * java/nio/MappedByteBufferImpl.java (address): Likewise.
9881 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
9882 Explicitly initialize Buffer.address if needed.
9883 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
9884 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
9885 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
9886 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
9887 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
9888 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
9889 DirectByteBufferImpl object.
9890 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9891 * testsuite/libjava.jni/directbuffer.c,
9892 testsuite/libjava.jni/directbuffer.java,
9893 testsuite/libjava.jni/directbuffer.out,
9894 testsuite/libjava.jni/bytebuffer.c,
9895 testsuite/libjava.jni/bytebuffer.java,
9896 testsuite/libjava.jni/bytebuffer.out: New files.
9898 2005-01-05 Tom Tromey <tromey@redhat.com>
9900 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
9902 (compressedSize): Now 'long'. Default to -1.
9903 (getCompressedSize): Rewrote.
9904 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
9905 deflate at all if we need input.
9907 2005-01-05 Tom Tromey <tromey@redhat.com>
9910 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
9913 2005-01-05 Tom Tromey <tromey@redhat.com>
9915 * java/lang/natRuntime.cc (insertSystemProperties): Set
9916 java.ext.dirs earlier.
9918 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
9920 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
9921 sync_info element of the object if needed.
9923 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
9925 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
9926 a non-zero exit status from 'false'.
9928 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
9930 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.