1 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
3 * configure: Regenerate.
5 2006-11-27 Mike Stump <mrs@apple.com>
7 * sysdep/x86-64/locks.h: Enable use of either file on either
8 target to support multilibs from one to the other.
9 * sysdep/i386/locks.h: Likewise.
11 2006-11-21 Gary Benson <gbenson@redhat.com>
13 * java/security/Security.java: Merge with classpath.
14 * java/lang/Package.java: Likewise.
15 * java/lang/Class.java (getDeclaredAnnotations): New method.
17 2006-11-20 David Daney <ddaney@avtrex.com>
19 * include/mips-signal.h (sys/syscall.h): Do not include.
20 (sig_ucontext_t): Removed.
21 (MAKE_THROW_FRAME): Changed to be a nop.
22 (_INIT_SIG_HANDLER): New macro.
23 (INIT_SEGV): Rewrote to use _INIT_SIG_HANDLER.
26 2006-11-20 David Daney <ddaney@avtrex.com>
28 * testsuite/libjava.lang/Throw_3.java: New Test.
29 * testsuite/libjava.lang/Throw_3.out: Its expected output.
31 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
33 * configure: Regenerated.
35 2006-11-03 Gary Benson <gbenson@redhat.com>
37 * java/net/InetAddress.java: Removed.
38 * java/net/natInetAddressNoNet.cc: Likewise.
39 * java/net/natInetAddressPosix.cc: Likewise.
40 * java/net/natInetAddressWin32.cc: Likewise.
41 * java/net/VMInetAddress.java (getLocalHostname,
42 lookupInaddrAny, getHostByAddr, getHostByName,
43 aton): Replace glue methods with native ones.
44 * java/net/natVMInetAddressNoNet.cc: New file.
45 * java/net/natVMInetAddressPosix.cc: Likewise.
46 * java/net/natVMInetAddressWin32.cc: Likewise.
47 * Makefile.am, configure.ac: Reflect the above.
48 * sources.am, Makefile.in, configure: Rebuilt.
50 * java/net/natVMNetworkInterfaceWin32.cc
51 (winsock2GetRealNetworkInterfaces): Create InetAddress
52 objects using InetAddress.getByAddress.
53 * gnu/java/net/natPlainSocketImplWin32.cc
54 (accept, getOption): Likewise.
55 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
56 (peekData, receive, getOption): Likewise.
58 2006-11-02 Keith Seitz <keiths@redhat.com>
60 * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
62 2006-11-02 Keith Seitz <keiths@redhat.com>
64 * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function.
65 (_Jv_JVMTI_Interface): Define GetLineNumberTable.
67 2006-11-01 Keith Seitz <keiths@redhat.com>
69 * gnu/gcj/jvmti/Location.java: New file.
70 * gnu/gcj/jvmti/BreakpointManager.java: New file.
71 * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
72 (_Jv_JVMTI_ClearBreakpoint): New function.
73 (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
74 * sources.am: Regenerated.
75 * Makefile.in: Regenerated.
77 2006-10-28 Keith Seitz <keiths@redhat.com>
79 * Makefile.am (nat_source_files): Add natBreakpoint.cc.
80 * sources.am: Regenerated.
81 * Makefile.in: Regenerated.
82 * gnu/gcj/jvmti/Breakpoint.java: New file.
83 * gnu/gcj/jvmti/natBreakpoint.java: New file.
85 2006-10-27 Keith Seitz <keiths@redhat.com>
87 * include/java-stack.h (ncodeMap): Declare.
88 (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend.
89 * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare.
90 * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New
92 * stacktrace.cc (ncodeMap): Redefine from file global to global
93 for class _Jv_StackTrace.
94 (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too,
95 so that _Jv_GetMethodDeclaringClass can find them all.
96 (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes.
97 * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function.
98 (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function.
100 2006-10-25 Andreas Tobler <a.tobler@schweiz.org>
102 * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
103 formatting modifiers %p with %#llx and cast the arguments.
105 2006-10-20 Tom Tromey <tromey@redhat.com>
107 * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
108 Correctly pass jvalues.
110 2006-10-18 Tom Tromey <tromey@redhat.com>
111 Bryce McKinlay <mckinlay@redhat.com>
113 * testsuite/libjava.jni/register2.java: New file.
114 * testsuite/libjava.jni/register2.out: New file.
115 * testsuite/libjava.jni/register2.c: New file.
116 * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
117 * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
118 * jni.cc (struct NativeMethodCacheEntry): New struct.
119 (nathash): Changed type.
121 (nathash_find_slot): Likewise.
122 (nathash_find): Likewise.
123 (natrehash): Likewise.
124 (nathash_add): Likewise.
125 (_Jv_JNI_RegisterNatives): Likewise.
126 (_Jv_LookupJNIMethod): Likewise.
127 Idea from Juerg Lehni <juerg@scratchdisk.com>
129 2006-10-16 Geoffrey Keating <geoffk@apple.com>
131 * testsuite/libjava.jvmti/natevents.cc (env): Delete.
132 (ExceptionCB): Fix types for printf arguments.
133 (ExceptionCatchCB): Likewise.
134 (SingleStepCB): Likewise.
135 (BreakpointCB): Likewise.
136 (FieldAccessCB): Likewise.
137 (FieldModificationCB): Likewise.
138 (CompiledMethodLoadCB): Likewise.
140 2006-10-14 Keith Seitz <keiths@redhat.com>
142 * include/java-insns.h (enum java_code): Add op_breakpoint.
143 * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
144 [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
145 [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
146 (install_break): Declare.
147 * interpret.cc (breakpoint_insn): Define breakpoint insn.
148 (compile): Add op_breakpoint to "can't happen" cases.
149 [INTERPRETER] Initialize breakpoint insn if necessary.
150 (install_break): New method.
151 * interpret-run.cc: Add op_breakpoint to insn_targets.
152 Add insn_breakpoint label.
153 * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
154 opcodes section of switch statement.
155 (verify_instructions_0): Likewise.
157 2006-10-12 Keith Seitz <keiths@redhat.com>
159 * include/jvmti-int.h (JVMTI): Declare all members "extern".
160 * jvmti.cc (JVMTI): Define.
162 2006-10-11 Tom Tromey <tromey@redhat.com>
164 * Makefile.in: Rebuilt.
165 * Makefile.am (install-data-local): Use mkinstalldirs.
167 2006-10-10 Tom Tromey <tromey@redhat.com>
169 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
170 Removed obsolete comment.
172 2006-10-10 Keith Seitz <keiths@redhat.com>
174 * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
175 (_Jv_InterpMethod::set_insn): Declare.
176 * interpret.cc (_Jv_InterpMethod::get_insn): New method.
177 (_Jv_InterpMethod::get_insn): New method.
179 2006-10-10 Tom Tromey <tromey@redhat.com>
181 * prims.cc (_Jv_PrependVersionedLibdir): Use
182 _Jv_platform_path_separator.
184 2006-10-10 Tom Tromey <tromey@redhat.com>
187 * Makefile.in: Rebuilt.
188 * Makefile.am (install-data-local): Install the .pc file.
189 (pkgconfig_DATA): Removed.
191 2006-10-03 Gary Benson <gbenson@redhat.com>
193 * java/net/InetAddress.java
194 (<clinit>): Reorder the static initializers.
196 2006-10-02 Gary Benson <gbenson@redhat.com>
198 * java/net/InetAddress.java
199 (checkConnect): Reinstated.
200 (loopbackAddress): Ensure initialized from non-null object.
202 2006-09-30 Keith Seitz <keiths@redhat.com>
204 * include/java-interp.h (prepared): Change type to pc_t.
205 (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
206 * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
207 (insn_index): Implement for bytecode interpreter.
208 * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
209 qualifier to resolve_pool_entry.
210 [!DIRECT_THREADED] (AVAL2U): Likewise.
211 [!DIRECT_THREADED] bytecode() cannot be called without an object.
213 [!DIRECT_THREADED] Likewise for defining_class.
215 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
218 * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
219 if HAVE_GETIPINFO not defined.
220 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
221 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
222 * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
223 * aclocal.m4, configure, include/config.h.in, Makefile.in:
226 2006-09-27 Tom Tromey <tromey@redhat.com>
228 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
229 * java/util/Locale.java (hashcode): No longer transient.
230 (writeObject): Use ObjectOutputStream.PutField and
232 (readObject): Use defaultReadObject.
234 2006-09-25 Keith Seitz <keiths@redhat.com>
236 * gnu/classpath/jdwp/VMVirtualMachine.java
237 (_jdwp_suspend_counts): New private variable.
238 * gnu/classpath/jdwp/natVMVirtualMachine.cc
239 (initialize): Initialize _jdwp_suspend_counts.
240 (suspendThread): Implement.
241 (resumeThread): Implement.
242 (getSuspendCount): Implement.
244 2006-09-22 Marco Trudel <mtrudel@gmx.ch>
246 * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL.
248 2006-09-21 Keith Seitz <keiths@redhat.com>
250 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
252 (check_enabled_event): New function.
253 (check_enabled_events): New function.
254 (post_event): New function.
255 (_Jv_JVMTI_SetEventNotificationMode): New function.
256 (_Jv_JVMTI_SetEventCallbacks): New function.
257 (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
258 SetEventCallbacks members.
259 * include/jvmti-int.h: New file.
260 * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
261 (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
262 * testsuite/libjava.jvmti/events.java: New file.
263 * testsuite/libjava.jvmti/events.out: New file.
264 * testsuite/libjava.jvmti/natevents.cc: New file.
266 2006-09-21 Sandro Tolaini <tolaini@libero.it>
268 * configure.ac: Don't use darwin-signal.h as signal handler for
270 * configure.host: Enable Darwin/i386 as a supported host, with no
273 2006-09-20 Keith Seitz <keiths@redhat.com>
275 * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
276 and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
277 (_Jv_JVMTI_GetClassMethods): Likewise.
278 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
279 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
280 (_Jv_JVMTI_GetSystemProperty): Likewise.
282 2006-09-20 Keith Seitz <keiths@redhat.com>
284 * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
285 (_Jv_JVMTI_Interface): Define GetErrorName member.
286 * testsuite/libjava.jvmti/geterrorname.java: New file.
287 * testsuite/libjava.jvmti/geterrorname.out: New file.
288 * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
290 2006-09-20 Gary Benson <gbenson@redhat.com>
292 * java/net/InetAddress.java: Mostly merged with Classpath.
293 * java/net/VMInetAddress.java: New file.
294 * sources.am, Makefile.in: Rebuilt.
296 * java/net/natVMNetworkInterfacePosix.cc
297 (getInterfaces): Create InetAddress objects using
298 InetAddress.getByAddress.
299 * gnu/java/net/natPlainSocketImplPosix.cc
300 (accept, getOption): Likewise.
301 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
302 (peekData, receive, getLocalAddress): Likewise.
304 2006-09-19 Keith Seitz <keiths@redhat.com>
306 * testsuite/libjava.jvmti/jvmti.exp: New file.
308 2006-09-19 Keith Seitz <keiths@redhat.com>
310 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
311 (THREAD_CHECK_VALID): Likewise.
312 (THREAD_CHECK_ALIVE): Likewise.
313 (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
315 (_Jv_JVMTI_ResumeThread): Likewise.
316 (_Jv_JVMTI_InterruptThread): Likewise.
318 (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
321 2006-09-19 Mark Wielaard <mark@klomp.org>
324 * java/util/logging/LogManager.java (addLogger): Always check for
325 existing children of a new Logger.
327 2006-09-19 Tom Tromey <tromey@redhat.com>
329 * java/util/logging/LogManager.java: Re-merged with Classpath.
331 2006-09-18 Tom Tromey <tromey@redhat.com>
333 * configure: Rebuilt.
335 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
337 * configure.host: Handle kfreebsd.
339 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
341 * configure: Rebuilt.
342 * shlibpath.m4: Handle GNU/kFreeBSD.
344 2006-09-14 Tom Tromey <tromey@redhat.com>
347 * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
348 (_Jv_GCDetachThread): Likewise.
350 2006-09-14 Andreas Schwab <schwab@suse.de>
352 * posix-threads.cc: Include "posix.h".
354 2006-09-13 Geoffrey Keating <geoffk@apple.com>
356 * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
357 microseconds; use gettimeofday when available.
358 * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
360 * testsuite/libjava.lang/Thread_Sleep_2.java: New.
361 * testsuite/libjava.lang/Thread_Sleep_2.out: New.
362 * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
364 2006-09-12 Tom Tromey <tromey@redhat.com>
367 * testsuite/libjava.lang/PR29013.out: Likewise.
368 * testsuite/libjava.lang/PR29013.java: New file.
370 2006-09-12 Tom Tromey <tromey@redhat.com>
372 * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
374 2006-09-07 Matthias Klose <doko@debian.org>
376 * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
377 * Makefile.in: Regenerate.
379 2006-09-06 Keith Seitz <keiths@redhat.com>
381 * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
382 to _Jv_MethodBase instead of _Jv_InterpMethod.
383 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
384 Do not check access flags.
385 Fix some minor style anomalies.
387 2006-09-01 Geoffrey Keating <geoffk@apple.com>
389 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
390 Pass -lgcj to linker for C++ files on Darwin.
392 2006-09-01 Keith Seitz <keiths@redhat.com>
394 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
395 (THREAD_CHECK_VALID): Likewise.
396 (THREAD_CHECK_IS_ALIVE): Likewise.
397 (NULL_CHECK): Likewise.
398 (ILLEGAL_ARGUMENT): Likewise.
400 2006-09-01 Keith Seitz <keiths@redhat.com>
402 * include/jvm.h (_Jv_JVMTI_Init): Declare.
403 * jvmti.cc (_Jv_JVMTI_Init): New function.
404 * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
406 * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
407 (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
409 * jvmti.cc (_jvmtiEnvironments): New linked list of
411 (FOREACH_ENVIRONMENT): New macro.
412 (_envListLock): New object to act as synchronization lock
413 for _jvmtiEnvironments.
414 (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
415 Remove the environment from the list of known environments.
416 (_Jv_GetJVMTIEnv): Add the new environment to the list
417 of known environments.
419 2006-09-01 Gary Benson <gbenson@redhat.com>
421 * java/net/InetAddress.java (getLocalHost): Refactor to avoid
422 security check if getLocalHostname() fails and to provide more
423 meaningful exceptions it the security check fails.
425 2006-09-01 Gary Benson <gbenson@redhat.com>
427 * java/net/InetAddress.java (getByAddress): Create Inet4Address
428 objects when passed IPv4-mapped IPv6 addresses.
429 (getByName, getAllByName): Defer to the above to ensure that the
430 correct Inet*Address objects are returned.
432 2006-09-01 Gary Benson <gbenson@redhat.com>
434 * java/net/InetAddress.java (getByName, getAllByName):
435 Only perform security check when DNS lookups are required.
437 2006-08-31 Keith Seitz <keiths@redhat.com>
439 * include/jvmti_md.h: New file.
441 * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
442 Pass millis to _Jv_CondWait.
444 2006-08-31 Tom Tromey <tromey@redhat.com>
447 * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
450 2006-08-24 Keith Seitz <keiths@redhat.com>
452 * prims.cc (remoteDebug): New global.
453 (jdwpOptions): New global.
454 (parse_x_arg): Add processing for "X" options "debug" and
456 (_Jv_RunMain): If debugging, start up JDWP backend.
457 Send VM_INIT and VM_DEATH when appropriate.
459 2006-08-23 Keith Seitz <keiths@redhat.com>
461 * gnu/classpath/jdwp/VMVirtualMachine.java
462 (initialize): Declare.
463 * gnu/classpath/jdwp/natVMVirtualMachine.cc
464 (initialize): Get and save JVMTI environment.
466 2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
469 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
470 Set gnu.classpath.home.url to TOOLEXECLIBDIR.
471 * configure.ac: Do not add --with-native-libdir to
473 * java/security/libgcj.security: Remove file.
474 * java/util/logging/logging.properties: Likewise.
475 * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
476 * classpath/resource/Makefile.am (loggingdir): Define to
478 (securitydir): Likewise.
479 * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
480 Set default nativeexeclibdir using toolexeclibdir.
481 * HACKING: Fix classpath aclocal arguments.
482 * Makefile.am (secdir): Remove variable.
484 (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
486 (all_property_files): Remove variable.
487 (install-data-local): Do not install libgcj.security or
489 * configure, Makefile.in, classpath/configure,
490 classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
491 classpath/native/jni/midi-alsa/Makefile.in,
492 classpath/native/jni/classpath/Makefile.in,
493 classpath/native/jni/midi-dssi/Makefile.in,
494 classpath/native/jni/Makefile.in,
495 classpath/native/jni/java-nio/Makefile.in,
496 classpath/native/jni/java-net/Makefile.in,
497 classpath/native/jni/gconf-peer/Makefile.in,
498 classpath/native/jni/java-io/Makefile.in,
499 classpath/native/jni/xmlj/Makefile.in,
500 classpath/native/jni/java-util/Makefile.in,
501 classpath/native/jni/qt-peer/Makefile.in,
502 classpath/native/jni/gtk-peer/Makefile.in,
503 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
504 classpath/native/target/Linux/Makefile.in,
505 classpath/native/target/Makefile.in,
506 classpath/native/target/generic/Makefile.in,
507 classpath/native/fdlibm/Makefile.in,
508 classpath/native/plugin/Makefile.in,
509 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
510 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
511 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
512 classpath/external/Makefile.in,
513 classpath/external/sax/Makefile.in,
514 classpath/external/w3c_dom/Makefile.in,
515 classpath/external/relaxngDatatype/Makefile.in,
516 classpath/include/Makefile.in, classpath/aclocal.m4,
517 classpath/examples/Makefile.in, aclocal.m4: Regenerate.
519 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
521 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
523 (_Jv_DetachCurrentThread): Detach thread from GC.
524 * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
526 * boehm.cc (_Jv_GCAttachThread): New function.
527 (_Jv_GCDetachThread): Likewise.
529 2006-08-19 Ranjit Mathew <rmathew@gcc.gnu.org>
531 * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
532 as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
535 2006-08-17 H.J. Lu <hongjiu.lu@intel.com>
537 * Makefile.am (install-exec-hook): Support $(DESTDIR).
538 * Makefile.in: Regenerated.
540 2006-08-16 Tom Tromey <tromey@redhat.com>
542 * libtool-version: Updated.
544 2006-08-16 Jakub Jelinek <jakub@redhat.com>
545 Bryce McKinlay <bryce@mckinlay.net.nz>
547 * configure, Makefile.in: Rebuilt.
548 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
549 (libgcj_bc_la_SOURCES): New variable.
550 (libgcj_bc_la_LDFLAGS): Likewise.
551 (libgcj_bc_la_LIBADD): Likewise.
552 (libgcj_bc_la_DEPENDENCIES): Likewise.
553 (libgcj_bc_la_LINK): Likewise.
554 (libgcj_bc_dummy_LINK): Likewise.
555 (libgcj_bc.la): New target.
556 (install-exec-hook): Likewise.
557 * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
558 * libgcj_bc.c: New file.
559 * configure.ac (LIBGCJ_SPEC): New subst.
560 * configure.host (use_libgcj_bc): New variable.
562 2006-08-15 Kyle Galloway <kgallowa@redhat.com>
564 * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
565 * interpret.cc: Added placeholder for debug variable type info to STORE*
567 (_Jv_InterpMethod::run_debug): New method.
568 (_Jv_InterpMethod::run_sync_object_debug): New method.
569 (_Jv_InterpMethod::run_sync_class_debug): New method.
570 (_Jv_InterpMethod::run_normal_debug): New method.
571 (_Jv_InterpMethod::run_class_debug): New method.
572 (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
573 versions of these functions.
574 * interpret-run.cc: New file, holds contents of old
575 _Jv_InterpMethod::run method.
576 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
577 appropriate function for debug or normal mode.
579 2006-08-14 Mark Wielaard <mark@klomp.org>
581 Imported GNU Classpath 0.92
582 * HACKING: Add more importing hints. Update automake version
585 * configure.ac (gconf-peer): New enable AC argument.
586 Add --disable-gconf-peer and --enable-default-preferences-peer
587 to classpath configure when gconf is disabled.
588 * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
589 gnu/java/awt/dnd/peer/gtk to bc. Classify
590 gnu/java/security/Configuration.java as generated source file.
592 * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
593 gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
594 gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
595 gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
596 gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
597 gnu/java/lang/management/VMThreadMXBeanImpl.java,
598 gnu/java/lang/management/VMMemoryMXBeanImpl.java,
599 gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
601 * java/lang/management/VMManagementFactory.java: Likewise.
602 * java/net/VMURLConnection.java: Likewise.
603 * gnu/java/nio/VMChannel.java: Likewise.
605 * java/lang/Thread.java (getState): Add stub implementation.
606 * java/lang/Class.java (isEnum): Likewise.
607 * java/lang/Class.h (isEnum): Likewise.
609 * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
611 * javax/naming/spi/NamingManager.java: New override for StackWalker
614 * configure, sources.am, Makefile.in, gcj/Makefile.in,
615 include/Makefile.in, testsuite/Makefile.in: Regenerated.
617 2006-08-14 Gary Benson <gbenson@redhat.com>
619 * java/lang/Thread.java (accessControlState): New field.
620 * java/security/VMAccessControlState.java: New file.
621 * java/security/natVMAccessControlState.cc: Likewise.
622 * java/security/VMAccessController.java
623 (contexts, inGetContext): Removed.
624 (pushContext, popContext, getContext): Use VMAccessControlState.
625 * Makefile.am (nat_source_files): Updated.
626 * sources.am, Makefile.in: Rebuilt.
628 2006-08-10 Gary Benson <gbenson@redhat.com>
630 * include/java-stack.h (GetAccessControlStack): Change return
632 * stacktrace.cc (accesscontrol_trace_fn): Record the number of
633 Java frames encountered.
634 (GetAccessControlStack): Return a flag indicating whether a call to
635 doPrivileged was encountered rather than an array of method names.
636 * java/security/natVMAccessController.cc (getStack): Change return
638 * java/security/VMAccessController.java (getStack): Likewise.
639 (getContext): Change to reflect the above.
641 2006-08-09 Gary Benson <gbenson@redhat.com>
643 * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
645 2006-08-09 Gary Benson <gbenson@redhat.com>
647 * java/lang/System.java (setSecurityManager): Javadoc fix.
648 * java/security/VMAccessController.java (getContext): Comment fix.
650 2006-08-09 Gary Benson <gbenson@redhat.com>
652 * include/java-stack.h (accesscontrol_trace_fn): Declare.
653 (GetAccessControlStack): Likewise.
654 (GetClassMethodStack): Remove.
655 * stacktrace.cc (accesscontrol_trace_fn): New method.
656 (GetAccessControlStack): Likewise.
657 (GetClassMethodStack): Remove.
658 * java/security/natVMAccessController.cc (getStack): Use
659 GetAccessControlStack.
661 2006-08-07 Gary Benson <gbenson@redhat.com>
664 * java/lang/ClassLoader.java (clinit): Install a default
665 security manager if java.security.manager is defined.
666 (getParent, getSystemClassLoader): Use the correct stack
667 frame during security checks.
668 * java/net/URLClassLoader.java (findClass): Avoid calling
669 this.toString() during VM initialization.
670 (runtimeInitialized): New method.
671 * java/net/natURLClassLoader.cc: New file.
672 * Makefile.am (nat_source_files): Added the above.
673 * Makefile.in: Rebuilt.
675 2006-08-07 Gary Benson <gbenson@redhat.com>
676 Casey Marshall <csm@gnu.org>
678 * java/lang/SecurityManager.java (getSecurityContext,
679 checkPermission, checkAccess, checkRead, checkConnect,
680 checkPackageAccess, checkPackageDefinition, checkPackageList):
681 Merge with Classpath.
682 (SecurityContext): Remove.
684 2006-08-07 Gary Benson <gbenson@redhat.com>
686 * java/security/VMAccessController.java (pushContext, popContext,
687 getContext): Use Thread.currentThread() to determine when we're
689 (runtimeInitialized): Remove.
690 * java/security/natVMAccessController.cc (runtimeInitialized):
693 2006-08-06 Tom Tromey <tromey@redhat.com>
696 * configure, include/config.h.in: Rebuilt.
697 * configure.ac: Look for ifaddrs.h, getifaddrs.
698 * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
699 getifaddrs if available.
701 2006-08-06 Tom Tromey <tromey@redhat.com>
704 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
706 (disconnect): Likewise.
707 (send): Handle already-connected case.
709 2006-08-04 Mark Wielaard <mark@klomp.org>
711 * jvmti.cc: Include gcj/method.h.
713 2006-08-04 Tom Tromey <tromey@redhat.com>
715 * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
716 (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
717 result to _Jv_uintptr_t.
719 2006-08-01 Keith Seitz <keiths@redhat.com>
721 * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
722 * gnu/classpath/jdwp/VMIdManager.java: Likewise.
723 * gnu/classpath/jdwp/VMMethod.java: Likewise.
724 * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
725 * gnu/classpath/jdwp/natVMFrame.java: New file.
726 * gnu/classpath/jdwp/natVMMethod.java: New file.
727 * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
728 * Makefile.am (nat_source_files): Add new filles.
729 * Makefile.in: Regenerated.
731 2006-08-03 Tom Tromey <tromey@redhat.com>
733 * jvmti.cc (REQUIRE_PHASE): New macro.
734 (_Jv_JVMTI_InterruptThread): New function.
735 (_Jv_JVMTI_CreateRawMonitor): Likewise.
736 (_Jv_JVMTI_DestroyRawMonitor): Likewise.
737 (_Jv_JVMTI_RawMonitorEnter): Likewise.
738 (_Jv_JVMTI_RawMonitorExit): Likewise.
739 (_Jv_JVMTI_RawMonitorWait): Likewise.
740 (_Jv_JVMTI_RawMonitorNotify): Likewise.
741 (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
742 (_Jv_JVMTI_Allocate): Likewise.
743 (_Jv_JVMTI_Deallocate): Likewise.
744 (_Jv_JVMTI_GetClassModifiers): Likewise.
745 (_Jv_JVMTI_GetClassMethods): Likewise.
746 (_Jv_JVMTI_IsInterface): Likewise.
747 (_Jv_JVMTI_IsArrayClass): Likewise.
748 (_Jv_JVMTI_GetClassLoader): Likewise.
749 (_Jv_JVMTI_GetObjectHashCode): Likewise.
750 (_Jv_JVMTI_GetFieldModifiers): Likewise.
751 (_Jv_JVMTI_IsFieldSynthetic): Likewise.
752 (_Jv_JVMTI_GetMethodModifiers): Likewise.
753 (_Jv_JVMTI_IsMethodNative): Likewise.
754 (_Jv_JVMTI_IsMethodSynthetic): Likewise.
755 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
756 (_Jv_JVMTI_ForceGarbageCollection): Likewise.
757 (_Jv_JVMTI_GetSystemProperty): Likewise.
758 (_Jv_JVMTI_SetSystemProperty): Likewise.
759 (_Jv_JVMTI_GetTime): Likewise.
760 (_Jv_JVMTI_GetAvailableProcessors): Likewise.
761 (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
762 (_Jv_JVMTI_SetVerboseFlag): Likewise.
763 (_Jv_JVMTI_GetObjectSize): Likewise.
764 (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
765 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
766 (_Jv_JVMTI_Interface): Updated.
767 (NULL_CHECK): New macro.
769 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
772 * include/no-threads.h: Declare _Jv_Thread_t as empty class.
774 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>
776 * gnu/classpath/natSystemProperties.cc: Add additional check for
777 getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
778 (SystemProperties::insertSystemProperties): Likewise.
779 * java/io/natFilePosix.cc (File::performList): Add
780 additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
781 * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
782 additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
784 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
787 * classpath/native/jni/midi-alsa/Makefile.am
788 (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
789 * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
790 * classpath/native/jni/midi-dssi/Makefile.am
791 (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
792 * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
793 * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
795 (libqtpeer_la_LDFLAGS): Add -avoid-version.
796 * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
797 * classpath/native/jni/gtk-peer/Makefile.am
798 (libgtkpeer_la_LDFLAGS): Add -avoid-version.
799 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
800 * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
802 * classpath/native/jawt/Makefile.in: Regenerate.
803 * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
804 * Makefile.in: Regenerate.
806 2006-07-28 Andrew Haley <aph@redhat.com>
808 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
809 curLoader to VMClassLoader::bootLoader.
811 2006-07-28 Gary Benson <gbenson@redhat.com>
812 Casey Marshall <csm@gnu.org>
815 * include/java-stack.h (GetClassMethodStack): Declare.
816 * stacktrace.cc (GetClassMethodStack): New method.
817 * java/security/AccessController.java: Removed.
818 * java/security/VMAccessController.java: New file.
819 * java/security/natVMAccessController.cc: Likewise.
820 * Makefile.am (nat_source_files): Added the above.
821 * sources.am, Makefile.in: Rebuilt.
823 2006-07-28 Gary Benson <gbenson@redhat.com>
825 * java/lang/SecurityManager.java (currentClassLoader,
826 currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
827 checkWrite, checkTopLevelWindow, checkPrintJobAccess,
828 checkSystemClipboardAccess, checkAwtEventQueueAccess,
829 checkPackageList): Remerged javadoc.
831 2006-07-28 Gary Benson <gbenson@redhat.com>
833 * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
834 from the start to the end of the function. Remove references
835 to VMThrowable.trace_enabled.
836 * java/lang/natVMThrowable.cc (fillInStackTrace): Use
837 runtimeInitialized rather than trace_enabled to decide
838 whether to inhibit stack trace generation.
839 * java/lang/VMThrowable.java (trace_enabled): Removed.
841 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
843 * include/win32-threads.h (_Jv_Thread_t): Explicitly
846 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
848 * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
850 (_Jv_JVMTI_ResumeThread): Likewise.
851 (_Jv_JVMTI_DisposeEnvironment): Likewise.
853 2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
855 * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
856 SockAddr before using - needed for OS X/PPC.
858 2006-07-21 Keith Seitz <keiths@redhat.com>
860 * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
862 (_Jv_ResumeThread): Likewise.
863 * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
864 _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
866 * include/posix-threads.h: Likewise.
867 * win32-threads.cc: Likewise.
868 * include/win32-threads.h: Likewise.
869 * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
870 (_Jv_JVMTI_ResumeThread): New function.
871 (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
873 2006-07-21 David Daney <ddaney@avtrex.com>
876 * configure: Regenerated.
878 2006-07-21 Mark Wielaard <mark@klomp.org>
880 * java/io/OutputStreamWriter.java (flush): Create work if null.
882 2006-07-21 Keith Seitz <keiths@redhat.com>
884 * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
885 * Makefile.am (java/lang/Thread.h): Add friend function
887 * Makefile.in: Regenerate.
889 2006-07-20 Keith Seitz <keiths@redhat.com>
891 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
892 (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
894 2006-07-20 Keith Seitz <keiths@redhat.com>
896 * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
897 * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
898 * jvmti.cc: New file.
899 * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
900 * Makefile.in: Regenerate.
902 2006-07-20 David Daney <ddaney@avtrex.com>
904 * configure.host: Enable the interpreter for mipsel-* and mips-*.
906 2006-07-20 David Daney <ddaney@avtrex.com>
908 * include/mips-signal.h: Update copyright.
909 (struct kernel_sigaction): Removed.
910 (SIGNAL_HANDLER): Changed prototype.
911 (MAKE_THROW_FRAME): Added cast.
912 (INIT_SEGV): Use sigaction instead of syscall.
913 (INIT_FPE): Likewise.
915 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
917 * configure: Regenerate.
919 2006-07-18 Gary Benson <gbenson@redhat.com>
921 * java/io/File.java (deleteOnExit): Fix security check.
923 2006-07-14 Anthony Green <green@redhat.com>
925 * java/io/natFilePosix.cc (performSetLastModified): Return true on
926 success, false otherwise.
928 2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
930 * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
932 (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
934 (_Jv_StackTrace::GetClassContext): Unconditionally use
936 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
937 * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
938 (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
939 (_Unwind_GetRegionStart): Likewise.
940 (_Unwind_Backtrace): Likewise.
941 (fallback_backtrace): Accept additional unwind trace function
942 argument. Call it during unwinding. Stop when any of _Jv_RunMain(),
943 _Jv_ThreadStart() or main() is seen during unwinding.
944 * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
945 additional unwind trace function argument.
947 2006-07-14 Gary Benson <gbenson@redhat.com>
949 * java/io/File.java (internalExists): New method.
950 (exists): Use internalExists.
951 (internalIsDirectory): New method.
952 (isDirectory): Use internalIsDirectory.
953 (createTempFile): Use internalExists and internalIsDirectory.
955 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
957 * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
959 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
961 * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
962 (_Jv_InterpMethod::run): SAVE_PC before executing any instruction
963 using resolve_pool_entry, as it can throw. Likewise for div/rem ops
964 that can throw ArithmeticException.
966 2006-07-12 Gary Benson <gbenson@redhat.com>
968 * java/io/File.java (renameTo): Fix security checks.
970 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
973 * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
974 looking up line number for interpreted frame.
976 2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
977 Geoffrey Keating <geoffk@apple.com>
979 * testsuite/libjava.lang/StackTrace2.java: Renamed from
980 StackTrace.java. Changed class name.
981 * testsuite/libjava.lang/StackTrace2.out: Renamed from
982 StackTrace.out. Updated for new class name.
984 2006-07-07 Ranjit Mathew <rmathew@gcc.gnu.org>
986 * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
987 prologue to determine its beginning. Stop unwinding when we reach
990 2006-07-07 Gary Benson <gbenson@redhat.com>
992 * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
993 * Makefile.in: Regenerate.
995 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
997 * stacktrace.cc (ClassForFrame): Remove commented-out code.
998 (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
1000 (getLineNumberForFrame): Don't adjust IP here.
1001 * testsuite/libjava.lang/StackTrace.java: New test case.
1002 * testsuite/libjava.lang/StackTrace.out: Ditto.
1004 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1006 * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
1007 -fno-indirect-classes.
1008 * Makefile.in: Regenerate.
1009 * gcj/Makefile.in: Regenerate.
1010 * include/Makefile.in: Regenerate.
1011 * testsuite/Makefile.in: Regenerate.
1013 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
1015 * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
1017 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1019 * configure.ac (ac_configure_args): Add --with-native-libdir.
1020 * configure: Regenerate.
1021 * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
1023 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
1024 * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
1025 * classpath/native/jawt/Makefile.in: Regenerate.
1026 * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
1027 * classpath/native/plugin/Makefile.in: Regenerate.
1029 2006-07-05 Ranjit Mathew <rmathew@gcc.gnu.org>
1030 Danny Smith <dannysmith@users.sourceforge.net>
1032 * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
1034 * configure.ac: Allow targets to affect the spec for startfile
1035 by specifying a THREADSTARTFILESPEC variable. Define this for
1036 the win32 threads package to include crtmt.o.
1037 * configure: Regenerate.
1038 * win32.cc (_CRT_MT): Remove definition.
1039 (__mingwthr_key_dtor): Likewise.
1041 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
1043 * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
1047 * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
1048 * include/win32.h (_Jv_platform_dladdr): Likewise.
1049 * posix.cc (_Jv_platform_dladdr): Likewise.
1050 * win32.cc (_Jv_platform_dladdr): Likewise.
1052 * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
1053 instead of libgcj-*.jar.
1055 2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1058 * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
1060 * Makefile.in: Regenerate.
1062 2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1064 * classpath/tools/Makefile.am: Comment out tools wrapper creation.
1065 (TOOLS_ZIP): Rename tools.zip tools.jar.
1066 (noinst_DATA): Do not install tools.jar.
1067 * classpath/tools/Makefile.in: Regenerate.
1068 * classpath/Makefile.am (SUBDIRS): Add tools.
1069 (DIST_SUBDIRS): Likewise.
1070 * classpath/Makefile.in: Regenerate.
1071 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
1072 (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
1073 (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
1074 Add build logic for libgcj-tools.la,
1075 libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
1077 * Makefile.in: Regenerate.
1079 2006-06-29 Ranjit Mathew <rmathew@gcc.gnu.org>
1081 * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
1083 * include/java-stack.h: Include stdlib.h.
1084 (_Jv_AddrInfo): New structure to hold address information.
1085 * include/posix.h (_Jv_platform_dladdr): Declare.
1086 * include/win32.h (_Jv_platform_dladdr): Declare.
1087 (backtrace): Remove declaration.
1088 * posix.cc: Include dlfcn.h if available. Include java-stack.h.
1089 (_Jv_platform_dladdr): Define.
1090 * win32.cc: Include string.h. Include java-stack.h.
1091 (backtrace): Remove.
1092 (_Jv_platform_dladdr): Define.
1093 * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
1094 frame pointer value is 32-bit word-aligned. Use operand of the CALL
1095 instruction calling the current function to find its starting address.
1096 * stacktrace.cc: Do not include dlfcn.h. Include platform.h.
1097 (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
1098 instead of dladdr().
1099 (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
1100 (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
1101 targets with SJLJ exceptions instead of using _Unwind_Backtrace().
1102 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
1104 2006-06-27 Tom Tromey <tromey@redhat.com>
1106 * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
1107 Set 'out.count' earlier.
1108 (close): Call setFinished on converter.
1109 (flush): Always write work buffer.
1110 * java/io/PrintStream.java (writeChars): Do 'do' loop.
1111 (close): Call setFinished on converter. Write a 'flush' array.
1112 * java/lang/natString.cc (getBytes): Call setFinished on
1114 * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
1116 (write): Set hasBytes. Changed 'finished' logic.
1117 (havePendingBytes): Rewrote.
1118 (setFinished): New method.
1119 * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
1120 * testsuite/libjava.lang/RH194522.java: New file.
1121 * testsuite/libjava.lang/RH194522.out: New file.
1123 2006-06-27 Marco Trudel <mtrudel@gmx.ch>
1125 * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
1126 conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
1127 !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
1129 2006-06-27 Tom Tromey <tromey@redhat.com>
1132 * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
1133 (_Jv_JNI_DeleteGlobalRef): Likewise.
1134 * testsuite/libjava.jni/PR28178.java: New file.
1135 * testsuite/libjava.jni/PR28178.c: New file.
1136 * testsuite/libjava.jni/PR28178.out: New file.
1138 2006-06-26 Keith Seitz <keiths@redhat.com>
1140 * include/posix-threads.h: Fix coding style aberrations from
1141 2006-06-19 check-in.
1142 * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1143 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
1144 * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1146 2006-06-26 Keith Seitz <keiths@redhat.com>
1148 * include/no-gc.h (_Jv_SuspendThread): Declare.
1149 (_Jv_ResumeThread): Likewise.
1150 * include/boehm-gc.h (_Jv_SuspendThread): Declare.
1151 (_Jv_ResumeThread): Likewise.
1152 * nogc.cc (_Jv_SuspendThread): New function.
1153 (_Jv_ResumeThread): Likewise.
1154 * boehm.cc (_Jv_SuspendThread): New function.
1155 (_Jv_ResumeThread): Likewise.
1157 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1159 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1160 Link against -ljvm, not -lgcj.
1162 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1164 * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1166 * Makefile.in: Regenerate.
1168 2006-06-22 Tom Tromey <tromey@redhat.com>
1170 * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1171 field when it is accessible.
1173 2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
1175 * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
1176 (_Jv_GetPlatformThreadID): New function.
1177 * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1178 (_Jv_GetPlatformThreadID): New function.
1180 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>
1182 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1183 Bump "java.class.version" to 48.0.
1185 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
1187 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1190 * Makefile.in: Regenerate.
1191 * jni.cc (the_vm): Rename and export as ...
1192 (_Jv_the_vm): New exported symbol.
1193 (_Jv_JNI_AttachCurrentThread): Export.
1194 (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1196 (_Jv_GetJavaVM): Likewise.
1197 (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1198 JNI_GetCreatedJavaVMs): Move to ...
1199 * jni-libjvm.cc: New file.
1201 2006-06-19 Andrew Haley <aph@redhat.com>
1203 * testsuite/libjava.lang/PR27908.out: New.
1204 * testsuite/libjava.lang/PR27908.java: New.
1206 2006-06-19 Keith Seitz <keiths@redhat.com>
1208 * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1209 (_Jv_ThreadDebugResume): Declare.
1210 (_Jv_ThreadDebugSuspendCount): Declare.
1211 * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1212 (_Jv_ThreadDebugSuspendCount): New function.
1213 (_Jv_ThreadDebugResume): New function.
1215 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1216 (_Jv_ThreadDebugResume): Declare.
1217 (_Jv_ThreadDebugSuspendCount): Declare.
1218 * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1219 (_Jv_ThreadDebugSuspendCount): New function.
1220 (_Jv_ThreadDebugResume): New function.
1222 2006-06-16 Andrew Haley <aph@redhat.com>
1224 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1225 copy the whole Class instance from the initializer: instead, copy
1226 everything but the first word (the vtable pointer).
1227 Change prototype to (const char* class_initializer).
1228 (_Jv_RegisterNewClasses): Change prototype to (const char**).
1229 * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1232 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1234 * classpath/Makefile.am: Do not recurse into tools directory.
1235 * classpath/Makefile.in: Regenerate.
1237 2006-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1239 * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1240 -I$(top_srcdir)/include.
1241 (gjarsigner_CFLAGS): Likewise.
1242 (gkeytool_CFLAGS): Likewise.
1243 * classpath/tools/Makefile.in: Regenerate.
1245 2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1247 * configure: Regenerate.
1248 * Makefile.in: Regenerate.
1249 * configure.ac (--enable-plugin): New option.
1250 (ac_configure_args): Add --enable-tool-wrappers.
1251 (ac_configure_args): Add --disable-plugin unless --enable-plugin
1253 * gcj/Makefile.in: Regenerate.
1254 * sources.am (gnu_java_net_source_files): Add
1255 classpath/gnu/java/net/IndexListParser.java.
1256 (property_files): Remove
1257 classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1258 classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1260 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1261 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1262 classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1263 classpath/resource/gnu/classpath/tools/jar/messages.properties,
1264 classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1265 classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1266 classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1267 classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1268 * classpath/Makefile.in: Regenerate.
1269 * classpath/native/jni/gtk-peer/cairographics2d.h,
1270 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1271 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1272 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1273 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1274 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1275 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1276 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1277 Merge from GNU Classpath.
1278 * classpath/native/Makefile.in: Regenerate.
1279 * classpath/native/jawt/Makefile.in: Regenerate.
1280 * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1281 versioned library directory.
1282 * classpath/native/Makefile.am: Add plugin directory if
1283 --enable-plugin was specified.
1284 * classpath/native/plugin/Makefile.in: Regenerate. *
1285 classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1286 GCJ's versioned library directory.
1287 * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1289 * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1291 * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1293 * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1295 * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1297 * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1299 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1301 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1303 * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1305 * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1307 * classpath/gnu/java/net/IndexListParser.java:
1309 * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1310 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1311 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1312 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1313 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1314 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1315 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1316 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1317 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1318 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1319 classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1320 classpath/gnu/java/awt/java2d/PolyEdge.java,
1321 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1323 * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1324 libgcj-tools-4.2.0.jar.
1325 * classpath/tools/Makefile.in: Regenerate.
1326 * classpath/tools/Makefile.am: Rename tools.zip to
1327 libgcj-tools-4.2.0.jar. Install libgcj-tools-4.2.0.jar in
1329 * classpath/javax/swing/JTabbedPane.java,
1330 classpath/javax/swing/text/DefaultStyledDocument.java,
1331 classpath/javax/swing/text/html/HTMLDocument.java,
1332 classpath/javax/swing/text/GapContent.java,
1333 classpath/javax/swing/JComponent.java,
1334 classpath/javax/swing/RepaintManager.java,
1335 classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1336 classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1337 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1338 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1339 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1340 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1341 classpath/java/text/Bidi.java,
1342 classpath/java/awt/image/BufferedImage.java,
1343 classpath/java/awt/datatransfer/DataFlavor.java,
1344 classpath/java/awt/geom/AffineTransform.java,
1345 classpath/java/awt/dnd/DropTargetDropEvent.java,
1346 classpath/java/awt/dnd/DropTargetContext.java,
1347 classpath/java/awt/font/TextLayout.java,
1348 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1349 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1350 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1351 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1352 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1353 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1355 * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1356 classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1357 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1358 classpath/native/jni/gtk-peer/gtkcairopeer.h,
1359 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1361 * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1363 * include/Makefile.in: Regenerate.
1364 * testsuite/Makefile.in: Regenerate.
1366 2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1368 * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1371 2006-06-12 Andrew Haley <aph@redhat.com>
1373 * testsuite/libjava.lang/PR27908.out: Delete.
1374 * testsuite/libjava.lang/PR27908.java: Delete.
1376 2006-06-12 Andrew Haley <aph@redhat.com>
1378 * testsuite/libjava.lang/PR27908.out: New.
1379 * testsuite/libjava.lang/PR27908.java: New.
1381 2006-06-10 Thomas Fitzsimmons <fitzsim@redhat.com>
1383 * configure.ac (ac_configure_args): Add --disable-plugin.
1384 (--enable-gtk-cairo): Remove option.
1385 * configure: Regenerate.
1387 2006-06-09 Tom Tromey <tromey@redhat.com>
1390 * java/lang/Thread.java (threadId): New field.
1391 (nextThreadId): New static field.
1392 (Thread): Initialize new field.
1393 (getId): New method.
1395 2006-06-09 Tom Tromey <tromey@redhat.com>
1397 * java/lang/Class.java (getClassLoaderInternal): Now native.
1399 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1401 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1402 (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1403 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1405 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1408 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1410 * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1411 classpath/native/jni/qt-peer/eventmethods.h,
1412 classpath/native/jni/qt-peer/qtmenupeer.cpp,
1413 classpath/native/jni/qt-peer/.cvsignore,
1414 classpath/native/jni/gtk-peer/gdkdisplay.h,
1415 classpath/native/jni/gtk-peer/cairographics2d.h,
1416 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1417 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1418 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1419 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1420 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1421 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1422 classpath/native/jni/gtk-peer/.cvsignore,
1423 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1424 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1425 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1426 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1427 classpath/native/jni/gtk-peer/gtkpeer.h,
1428 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1429 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1430 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1431 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1432 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1433 classpath/native/jni/gtk-peer/Makefile.am,
1434 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1435 classpath/native/jawt/Makefile.am,
1436 classpath/native/jawt/.cvsignore,
1437 classpath/native/target/Linux/Makefile.in,
1438 classpath/native/plugin/gcjwebplugin.cc,
1439 classpath/native/plugin/Makefile.am,
1440 classpath/native/plugin/.cvsignore,
1441 classpath/resource/Makefile.in,
1442 classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1443 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1444 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1445 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1446 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1447 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1448 classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1449 classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1450 classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1451 classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1452 classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1453 classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1454 classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1455 classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1456 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1457 classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1458 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1459 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1460 classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1461 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1462 classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1463 classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1464 classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1465 classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1466 classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1467 classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1468 classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1469 classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1470 classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1471 classpath/gnu/java/awt/print/JavaPrinterJob.java,
1472 classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1473 classpath/gnu/java/awt/print/SpooledDocument.java,
1474 classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1475 classpath/gnu/java/awt/BitwiseXORComposite.java,
1476 classpath/gnu/java/awt/font/GNUGlyphVector.java,
1477 classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1478 classpath/gnu/java/awt/java2d/RasterGraphics.java,
1479 classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1480 classpath/gnu/java/awt/java2d/PolyEdge.java,
1481 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1482 classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1483 classpath/gnu/java/awt/java2d/ImagePaint.java,
1484 classpath/gnu/java/awt/Buffers.java,
1485 classpath/gnu/classpath/Configuration.java.in,
1486 classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1487 classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1488 classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1489 classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1490 classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1491 classpath/tools/toolwrapper.c,
1492 classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1493 classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1494 classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1495 classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1496 classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1497 classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1498 classpath/tools/gnu/classpath/tools/getopt/Option.java,
1499 classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1500 classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1501 classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1502 classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1503 classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1504 classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1505 classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1506 classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1507 classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1508 classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1509 classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1510 classpath/tools/gnu/classpath/tools/keytool/package.html,
1511 classpath/tools/gnu/classpath/tools/keytool/Command.java,
1512 classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1513 classpath/tools/gnu/classpath/tools/keytool/Main.java,
1514 classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1515 classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1516 classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1517 classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1518 classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1519 classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1520 classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1521 classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1522 classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1523 classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1524 classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1525 classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1526 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1527 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1528 classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1529 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1530 classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1531 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1532 classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1533 classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1534 classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1535 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1536 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1537 classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1538 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1539 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1540 classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1541 classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1542 classpath/tools/gnu/classpath/tools/jar/Creator.java,
1543 classpath/tools/gnu/classpath/tools/jar/Entry.java,
1544 classpath/tools/gnu/classpath/tools/jar/Lister.java,
1545 classpath/tools/gnu/classpath/tools/jar/Main.java,
1546 classpath/tools/gnu/classpath/tools/jar/Updater.java,
1547 classpath/tools/gnu/classpath/tools/jar/Messages.java,
1548 classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1549 classpath/tools/gnu/classpath/tools/jar/Action.java,
1550 classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1551 classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1552 classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1553 classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1554 classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1555 classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1556 classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1557 classpath/tools/.cvsignore, classpath/configure.ac,
1558 classpath/javax/swing/JTabbedPane.java,
1559 classpath/javax/swing/AbstractButton.java,
1560 classpath/javax/swing/JViewport.java,
1561 classpath/javax/swing/KeyboardManager.java,
1562 classpath/javax/swing/JMenuItem.java,
1563 classpath/javax/swing/JMenuBar.java,
1564 classpath/javax/swing/MenuSelectionManager.java,
1565 classpath/javax/swing/JOptionPane.java,
1566 classpath/javax/swing/JSpinner.java,
1567 classpath/javax/swing/JCheckBoxMenuItem.java,
1568 classpath/javax/swing/JEditorPane.java,
1569 classpath/javax/swing/JFormattedTextField.java,
1570 classpath/javax/swing/JTree.java,
1571 classpath/javax/swing/CellRendererPane.java,
1572 classpath/javax/swing/JScrollPane.java,
1573 classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1574 classpath/javax/swing/tree/TreeNode.java,
1575 classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1576 classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1577 classpath/javax/swing/tree/TreePath.java,
1578 classpath/javax/swing/tree/RowMapper.java,
1579 classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1580 classpath/javax/swing/tree/DefaultTreeModel.java,
1581 classpath/javax/swing/tree/AbstractLayoutCache.java,
1582 classpath/javax/swing/tree/TreeSelectionModel.java,
1583 classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1584 classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1585 classpath/javax/swing/tree/ExpandVetoException.java,
1586 classpath/javax/swing/JList.java,
1587 classpath/javax/swing/table/JTableHeader.java,
1588 classpath/javax/swing/table/AbstractTableModel.java,
1589 classpath/javax/swing/table/DefaultTableModel.java,
1590 classpath/javax/swing/table/TableCellEditor.java,
1591 classpath/javax/swing/table/TableCellRenderer.java,
1592 classpath/javax/swing/ProgressMonitor.java,
1593 classpath/javax/swing/JToolBar.java,
1594 classpath/javax/swing/TransferHandler.java,
1595 classpath/javax/swing/DefaultCellEditor.java,
1596 classpath/javax/swing/DefaultButtonModel.java,
1597 classpath/javax/swing/JLayeredPane.java,
1598 classpath/javax/swing/text/DefaultEditorKit.java,
1599 classpath/javax/swing/text/DefaultCaret.java,
1600 classpath/javax/swing/text/FieldView.java,
1601 classpath/javax/swing/text/JTextComponent.java,
1602 classpath/javax/swing/text/TextAction.java,
1603 classpath/javax/swing/text/StyleContext.java,
1604 classpath/javax/swing/text/html/HTMLDocument.java,
1605 classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1606 classpath/javax/swing/text/html/ImageView.java,
1607 classpath/javax/swing/text/html/HTMLEditorKit.java,
1608 classpath/javax/swing/text/AbstractWriter.java,
1609 classpath/javax/swing/text/GapContent.java,
1610 classpath/javax/swing/text/Utilities.java,
1611 classpath/javax/swing/text/PlainView.java,
1612 classpath/javax/swing/UIManager.java,
1613 classpath/javax/swing/JSplitPane.java,
1614 classpath/javax/swing/JComponent.java,
1615 classpath/javax/swing/SwingUtilities.java,
1616 classpath/javax/swing/border/AbstractBorder.java,
1617 classpath/javax/swing/border/CompoundBorder.java,
1618 classpath/javax/swing/border/TitledBorder.java,
1619 classpath/javax/swing/border/MatteBorder.java,
1620 classpath/javax/swing/border/BevelBorder.java,
1621 classpath/javax/swing/RepaintManager.java,
1622 classpath/javax/swing/JTable.java,
1623 classpath/javax/swing/UIDefaults.java,
1624 classpath/javax/swing/DefaultDesktopManager.java,
1625 classpath/javax/swing/JMenu.java,
1626 classpath/javax/swing/JLabel.java,
1627 classpath/javax/swing/JSlider.java,
1628 classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1629 classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1630 classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1631 classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1632 classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1633 classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1634 classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1635 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1636 classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1637 classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1638 classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1639 classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1640 classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1641 classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1642 classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1643 classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1644 classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1645 classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1646 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1647 classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1648 classpath/javax/swing/plaf/basic/BasicListUI.java,
1649 classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1650 classpath/javax/swing/plaf/basic/BasicTextUI.java,
1651 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1652 classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1653 classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1654 classpath/javax/swing/plaf/basic/BasicTableUI.java,
1655 classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1656 classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1657 classpath/javax/swing/plaf/multi/MultiListUI.java,
1658 classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1659 classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1660 classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1661 classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1662 classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1663 classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1664 classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1665 classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1666 classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1667 classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1668 classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1669 classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1670 classpath/javax/swing/plaf/metal/MetalBorders.java,
1671 classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1672 classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1673 classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1674 classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1675 classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1676 classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1677 classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1678 classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1679 classpath/javax/swing/plaf/metal/MetalUtils.java,
1680 classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1681 classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1682 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1683 classpath/javax/swing/JPopupMenu.java,
1684 classpath/javax/swing/JProgressBar.java,
1685 classpath/javax/swing/WindowConstants.java,
1686 classpath/javax/swing/JFrame.java,
1687 classpath/javax/swing/JFileChooser.java,
1688 classpath/javax/swing/JComboBox.java,
1689 classpath/javax/swing/event/EventListenerList.java,
1690 classpath/javax/swing/ListSelectionModel.java,
1691 classpath/javax/swing/JScrollBar.java,
1692 classpath/java/text/SimpleDateFormat.java,
1693 classpath/java/text/NumberFormat.java,
1694 classpath/java/text/class-dependencies.conf,
1695 classpath/java/awt/image/ColorModel.java,
1696 classpath/java/awt/image/BufferedImage.java,
1697 classpath/java/awt/Window.java,
1698 classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1699 classpath/java/awt/LightweightDispatcher.java,
1700 classpath/java/awt/EventDispatchThread.java,
1701 classpath/java/awt/BasicStroke.java,
1702 classpath/java/awt/ColorPaintContext.java,
1703 classpath/java/awt/Container.java,
1704 classpath/java/awt/TexturePaint.java,
1705 classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1706 classpath/java/awt/GraphicsConfiguration.java,
1707 classpath/java/awt/DefaultKeyboardFocusManager.java,
1708 classpath/java/awt/print/PrinterJob.java,
1709 classpath/java/awt/im/InputContext.java,
1710 classpath/java/awt/dnd/DragGestureRecognizer.java,
1711 classpath/java/awt/Toolkit.java,
1712 classpath/java/awt/font/GraphicAttribute.java,
1713 classpath/java/awt/font/ImageGraphicAttribute.java,
1714 classpath/java/awt/font/GlyphVector.java,
1715 classpath/java/awt/font/GlyphMetrics.java,
1716 classpath/java/awt/font/ShapeGraphicAttribute.java,
1717 classpath/java/awt/Graphics2D.java,
1718 classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1719 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1720 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1721 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1722 classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1723 classpath/include/config.h.in,
1724 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1725 classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1726 classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1727 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1728 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1729 classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1730 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1731 classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1732 Merge from GNU Classpath HEAD.
1734 2006-06-08 Tom Tromey <tromey@redhat.com>
1736 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1737 Set gnu.gcj.user.realname.
1739 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch>
1741 * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1743 2006-06-07 Andrew Haley <aph@redhat.com>
1745 * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1746 (_Jv_Linker::uaddr): New.
1747 * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1748 instead of an open-coded loop around search_method_in_class.
1749 (search_method_in_class): Add a new arg, check_perms.
1750 (search_method_in_superclasses): New.
1751 (link_symbol_table): Call maybe_adjust_signature() to extract the
1752 least significnt bit of the signature pointer. Do this three
1753 times, for instace method calls, static methods, and interfaces.
1754 Call search_method_in_superclasses() instead of
1755 _Jv_LookupDeclaredMethod.
1756 (typedef uaddr): Delete.
1758 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1760 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1761 gnu-java-awt-peer-qt.lo.
1762 * configure.ac (QT_AWT): Remove conditional.
1763 Do not add gnu/java/awt/peer/qt to standard.omit.
1764 * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1765 in GCJ's versioned library directory.
1766 * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1767 Load libqtpeer.so unconditionally.
1768 * gij.cc (main): Do not re-exec gij.
1769 * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1770 (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1773 2006-06-06 David Daney <ddaney@avtrex.com>
1775 * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1776 (showRaw): New method.
1777 * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1778 (getLineNumberForFrame): Show IP offset in trace if line number
1779 not available and show_raw true.
1781 2006-06-06 Gary Benson <gbenson@redhat.com>
1783 * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1784 * configure.ac: Remove realpath check and add checks for
1786 * configure: Rebuilt.
1787 * include/config.h.in: Likewise.
1788 * java/io/File.java: Javadoc fix.
1790 2006-06-05 Andreas Schwab <schwab@suse.de>
1793 * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1795 2006-06-05 Tom Tromey <tromey@redhat.com>
1798 * gij.cc (main): Use putenv.
1800 2006-06-03 Paolo Bonzini <bonzini@gnu.org>
1802 * scripts/jar.in: Ensure return with argument has non-empty argument.
1804 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1806 * configure.ac (ZIP, UNZIP): New programs.
1807 (JAR): Fall back to bash script. Generate it.
1808 (BASH_JAR): New conditional.
1809 * Makefile.am (bin_SCRIPTS): New.
1810 * scripts/jar.in: New file.
1812 2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
1814 * gnu/java/lang/MainThread (run): Revert exception chaining change.
1816 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
1818 * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1820 * gnu/java/lang/MainThread.java (run): Allow file separator char to
1821 be used in place of '.' as class-name separator. Don't chain
1822 ClassNotFoundException.
1824 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1826 * java/lang/VMClassLoader.java (initialize): Set default library
1827 control to LIB_NEVER.
1829 2006-05-31 Alan Modra <amodra@bigpond.net.au>
1831 * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1832 interpreted classes.
1834 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1836 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1837 gnu-java-awt-peer-gtk.lo.
1838 Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++
1839 ABI for gnu/java/awt/peer/gtk package.
1840 * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1842 (insertSystemProperties): Only set java.ext.dirs if it is not
1843 already defined. Prepend GCJ_VERSIONED_LIBDIR to module search
1844 path where necessary.
1845 * configure.ac (GTK_AWT): Remove automake conditional.
1846 Do not add gnu/java/awt/peer/gtk to standard.omit.
1847 * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1849 * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1851 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1852 PATH_SEPARATOR macros.
1853 Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1854 * prims.cc (_Jv_PrependVersionedLibdir): New function.
1856 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1858 * java/lang/natThread.cc (countStackFrames): Do not throw
1859 UnsupportedOperationException.
1862 (suspend): Likewise.
1864 2006-05-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1866 * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1867 * configure: Rebuilt.
1868 * include/config.h.in: Likewise.
1869 * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1872 2006-05-24 Tom Tromey <tromey@redhat.com>
1875 * sources.am, Makefile.in: Rebuilt.
1876 * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1877 * java/net/URLConnection.java: Removed.
1879 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
1881 * Makefile.am: Add install-html target. Add install-html to .PHONY
1882 * Makefile.in: Regenerate.
1883 * aclocal.m4: Regenerate.
1884 * gcj/Makefile.in: Regenerate.
1885 * include/Makefile.in: Regenerate.
1886 * testsuite/Makefile.in: Regenerate.
1888 2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
1890 * testsuite/libjava.lang/stacktrace.java: New file.
1891 * testsuite/libjava.lang/stacktrace.out: Likewise.
1893 2006-05-24 Tom Tromey <tromey@redhat.com>
1895 * sources.am, Makefile.in: Rebuilt.
1896 * scripts/makemake.tcl: Accept -verbose command-line option.
1897 (is_verbose): New global.
1899 (classify_source_file): Don't special case '.' for 'package'
1902 2006-05-24 Tom Tromey <tromey@redhat.com>
1905 * java/lang/reflect/natField.cc (getAddr): Added parens.
1906 * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1907 Renamed. Don't mask flags.
1908 * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1910 (getModifiersInternal): Renamed.
1911 (getModifiers): Rewrote.
1912 (isSynthetic, isVarArgs): New methods.
1913 (hashCode): Rewrote.
1914 (addTypeParameters, toGenericString): New methods.
1915 (getTypeParameters): Rewrote.
1916 (getSignature): New method.
1917 (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1918 * java/lang/reflect/natMethod.cc (getModifiersInternal):
1919 Renamed. Don't mask flags.
1920 * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1922 * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1923 ENUM): New constants.
1924 (INVISIBLE): Changed value.
1925 * java/lang/reflect/Method.java: Mostly merged with Classpath.
1926 (getModifiersInternal): Renamed.
1927 (getModifiers): Rewrote.
1928 (isBridge, isSynthetic, isVarArgs): New methods.
1929 (toGenericString): Likewise.
1930 (getTypeParameters): Likewise.
1931 (getSignature): Likewise.
1932 (getGenericExceptionTypes, getGenericParameterTypes,
1933 getGenericReturnType): Likewise.
1934 (METHOD_MODIFIERS): New constant.
1935 * java/lang/reflect/Field.java: Mostly merged with Classpath.
1936 Added javadoc everywhere.
1937 (getModifiersInternal): Renamed.
1938 (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1939 (toGenericString): New method.
1940 (getGenericType, getSignature): Likewise.
1941 (FIELD_MODIFIERS): New constant.
1943 2006-05-24 Tom Tromey <tromey@redhat.com>
1946 * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1948 * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1951 2006-05-22 Mark Wielaard <mark@klomp.org>
1953 * HACKING: Update GNU Classpath import instructions.
1955 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
1957 * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1958 signature as MAYBE_UNUSED for HAVE_TLS == 0.
1959 (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1962 2006-05-20 Andreas Tobler <a.tobler@schweiz.ch>
1963 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1965 * configure.ac: Add the POSIX thread libs to the HP-UX PA
1966 configuration. Add signal specification for HP-UX PA.
1967 * configure: Rebuilt.
1968 * configure.host: Add defaults for the HP-UX PA architecture.
1969 Add descriptor files for HP-UX PA 32-bit and 64-bit.
1970 * include/hppa-signal.h: New file.
1971 * include/posix.h: Add shared library suffix for HP-UX.
1972 * sysdep/pa/descriptor-pa32-hpux.h: New file.
1973 * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1975 2006-05-19 Ranjit Mathew <rmathew@gcc.gnu.org>
1977 * ChangeLog: Correct incorrect GNU Classpath version in the
1978 entry for the latest import.
1980 2006-05-18 Tom Tromey <tromey@redhat.com>
1982 * source.am, Makefile.in: Rebuilt.
1983 * Makefile.am (property_files): Removed.
1984 * scripts/makemake.tcl (properties_map): New global.
1985 (properties_files): Likewise.
1986 (emit_property_files): New proc.
1987 (scan_packages): Scan META-INF.
1988 Print property_files variable. Scan classpath/resource.
1990 2006-05-18 Tom Tromey <tromey@redhat.com>
1992 * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1994 (gcj_write_and_byte_compile): New proc.
1995 (gcj_special_lazy_illegal_access): Likewise.
1997 2006-05-18 Mark Wielaard <mark@klomp.org>
1999 Imported GNU Classpath 0.91
2000 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
2002 * sources.am: Regenerated.
2003 * gcj/javaprims.h: Regenerated.
2004 * Makefile.in: Regenerated.
2005 * gcj/Makefile.in: Regenerated.
2006 * include/Makefile.in: Regenerated.
2007 * testsuite/Makefile.in: Regenerated.
2009 * gnu/java/lang/VMInstrumentationImpl.java: New override.
2010 * gnu/java/net/local/LocalSocketImpl.java: Likewise.
2011 * gnu/classpath/jdwp/VMMethod.java: Likewise.
2012 * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
2014 * java/lang/Thread.java: Add UncaughtExceptionHandler.
2015 * java/lang/reflect/Method.java: Implements GenericDeclaration and
2017 * java/lang/reflect/Field.java: Likewise.
2018 * java/lang/reflect/Constructor.java
2019 * java/lang/Class.java: Implements Type, GenericDeclaration,
2020 getSimpleName() and getEnclosing*() methods.
2021 * java/lang/Class.h: Add new public methods.
2022 * java/lang/Math.java: Add signum(), ulp() and log10().
2023 * java/lang/natMath.cc (log10): New function.
2024 * java/security/VMSecureRandom.java: New override.
2025 * java/util/logging/Logger.java: Updated to latest classpath
2027 * java/util/logging/LogManager.java: New override.
2029 2006-05-15 Bryce McKinlay <mckinlay@redhat.com>
2032 * java/lang/Class.java (getClassLoaderInternal): New method.
2033 (forName (String, Class)): Use getClassLoaderInternal.
2034 (getPackage): Likewise.
2035 (getResource): Likewise.
2036 (getResourceAsStream): Likewise.
2037 (desiredAssertionStatus): Likewise.
2039 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch>
2041 * stacktrace.cc (StackTrace::FillInFrameInfo): Use
2042 UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
2043 klass->methods[j].ncode.
2045 2006-05-13 Tom Tromey <tromey@redhat.com>
2047 * sources.am, Makefile.in: Rebuilt.
2048 * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
2050 * java/nio/channels/natVMChannels.cc: Renamed from
2052 * java/nio/channels/Channels.java: Removed.
2053 * java/nio/channels/natChannels.cc: Removed.
2054 * java/nio/channels/VMChannels.java: New file.
2056 2006-05-13 Tom Tromey <tromey@redhat.com>
2058 * sources.am, Makefile.in: Rebuilt.
2059 * java/text/DateFormat.java: Removed.
2061 2006-05-13 Tom Tromey <tromey@redhat.com>
2063 * sources.am, Makefile.in: Rebuilt.
2064 * gnu/java/net/protocol/jar/Connection.java: Removed.
2065 * java/net/JarURLConnection.java: Removed.
2067 2006-05-13 Tom Tromey <tromey@redhat.com>
2069 * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
2072 2006-05-12 Tom Tromey <tromey@redhat.com>
2074 * sources.am, Makefile.in: Rebuilt.
2075 * java/util/logging/LogManager.java: Removed.
2076 * java/util/logging/Logger.java (resetLogger): New method, from
2078 * java/io/RandomAccessFile.java: Removed.
2079 * gnu/java/nio/channels/FileChannelImpl.java (create): New
2081 (FileChannelImpl): Now private.
2082 * java/io/FileInputStream.java: Removed.
2083 * java/io/FileOutputStream.java: Removed.
2084 * java/security/AccessControlContext.java: Removed.
2085 * java/lang/ThreadLocal.java: Removed.
2086 * java/lang/InheritableThreadLocal.java: Removed.
2087 * java/lang/Thread.java (locals): New field.
2088 (getThreadLocals): New method.
2089 * java/lang/natThread.cc (finish_): Clear 'locals'.
2091 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
2093 * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
2094 fails, don't try again.
2095 (use_addr2line): Field no longer final.
2097 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
2099 * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
2100 (lookup): If addr2line fails to find an address, flag the binary as
2101 having no debug info and avoid calling addr2line on it again.
2103 2006-05-11 David Daney <ddaney@avtrex.com>
2105 * testsuite/libjava.compile/PR20418.java: New.
2106 * testsuite/libjava.compile/PR20418.xfail: New.
2108 2006-05-11 Andrew Haley <aph@redhat.com>
2110 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
2113 2006-05-10 Andrew Haley <aph@redhat.com>
2115 * java/lang/natClassLoader.cc: Add comments.
2117 2006-05-09 Andrew Haley <aph@redhat.com>
2119 * prims.cc (_Jv_soleIndirectCompiledEngine): New.
2120 * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
2122 (_Jv_CompiledEngine::allocate_field_initializers): New.
2123 (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
2124 allocate_field_initializers.
2125 (class _Jv_IndirectCompiledClass): New.
2126 (struct _Jv_IndirectCompiledEngine): New.
2127 * java/lang/Class.h: (IndirectCompiledEngine): New.
2128 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
2129 engine to _Jv_soleIndirectCompiledEngine
2130 * link.cc (ensure_fields_laid_out): Call
2131 engine->allocate_field_initializers().
2133 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
2135 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
2136 HP-UX and add appropriate extension for shared libraries, sl.
2137 (gcj_jni_test_one): Likewise.
2139 * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
2142 2006-05-05 Tom Tromey <tromey@redhat.com>
2145 * java/lang/natVMClassLoader.cc (defineClass): Throw
2146 VirtualMachineError if no interpreter configured.
2148 2006-05-03 Andrew Haley <aph@redhat.com>
2151 * java/lang/Class.java (getClassLoader(Class)): New.
2152 forName(String, Class): New.
2153 * java/lang/natClass.cc (getClassLoader(Class)): New.
2155 2006-05-02 Andrew Haley <aph@redhat.com>
2157 * prims.cc (_Jv_NewMultiArray): Check for phantom class.
2159 2006-05-04 Tom Tromey <tromey@redhat.com>
2162 * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2163 <insn_putfield>: Likewise.
2164 (NULLCHECK): Define unconditionally.
2165 * link.cc (ensure_class_linked): Removed dead code.
2167 2006-05-04 Tom Tromey <tromey@redhat.com>
2169 * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2170 * Makefile.in: Rebuilt.
2171 * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2172 * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2173 * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2175 (loadedClasses): Removed.
2176 (findClass): Declare.
2177 (addClass): Add to nativeClasses, not loadedClasses.
2179 2006-05-04 Andrew Haley <aph@redhat.com>
2182 * testsuite/libjava.lang/PR26858.xfail: Delete.
2184 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
2186 * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2187 -findirect-dispatch compilation.
2189 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
2191 * configure.ac: Simplify the mmap check a bit more.
2192 * configure: Rebuilt.
2193 * include/config.h.in: Likewise.
2195 2006-05-01 Roger Sayle <roger@eyesopen.com>
2196 Andrew Haley <aph@redhat.com>
2198 * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2199 before calling GC_register_has_static_roots_callback.
2200 (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2201 HAVE_DLADDR before calling dladdr.
2203 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
2205 * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2207 * interpret.cc (insn_invokevirtual): Use method->index, not
2208 vtable_index. Check accflag FINAL to determine finals. Only do
2209 explicit null check if calling a final method. Use
2210 throw_null_pointer_exception.
2211 (invokevirtual_resolved): Likewise.
2212 (null_pointer_exc): Remove static field.
2213 (throw_null_pointer_exception): Always define. Throw a new
2214 NullPointerException every time.
2215 * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2217 * include/execution.h (resolve_method): Remove vtable_index argument.
2219 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
2221 * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2222 * configure: Rebuilt.
2224 2006-04-25 Tom Tromey <tromey@redhat.com>
2226 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2227 Include platform.h. Set GC_DEBUG before including gc.h, if
2230 2006-04-25 Andrew Haley <aph@redhat.com>
2232 * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2233 * boehm.cc: Don't include link.h.
2234 (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2236 2006-04-24 Tom Tromey <tromey@redhat.com>
2238 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2240 2006-04-21 Andrew Haley <aph@redhat.com>
2242 * include/execution.h (struct _Jv_CompiledEngine): Define for
2244 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2245 _Jv_RegisterLibForGc.
2246 (_Jv_RegisterClasses_Counted): Likewise.
2247 (_Jv_NewClassFromInitializer): New.
2248 (_Jv_RegisterNewClasses): New.
2249 * sources.am: Regenerate.
2250 * boehm.cc (_Jv_GC_has_static_roots): new.
2251 (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2252 (filename_node, find_file, _Jv_print_gc_store, new_node,
2253 _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2254 * scripts/makemake.tcl: Add -fno-indirect-classes.
2255 * Makefile.in: Regenerate.
2256 * link.cc (resolve_pool_entry): Allocate constant pool.
2259 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
2261 * configure.ac: Weaken the check for MMAP.
2262 * configure: Rebuilt.
2263 * include/config.h.in: Likewise.
2265 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
2268 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2269 dlopen(). From Anthony Green.
2271 2006-04-20 Tom Tromey <tromey@redhat.com>
2274 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2275 UnknownHostException if needed.
2276 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2277 UnknownHostException if needed.
2279 2006-04-19 Tom Tromey <tromey@redhat.com>
2281 * Makefile.in: Rebuilt.
2282 * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2283 all_java_deps_files.
2285 2006-04-19 Tom Tromey <tromey@redhat.com>
2287 * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2290 2006-04-17 Tom Tromey <tromey@redhat.com>
2293 * testsuite/libjava.lang/pr27171.java: New file.
2294 * testsuite/libjava.lang/pr27171.out: New file.
2295 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2296 true if we've seen a high surrogate.
2297 (write): Handle high surrogates at the end of the stream.
2298 Properly emit isolated low surrogates.
2300 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
2302 * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2305 2006-04-13 Tom Tromey <tromey@redhat.com>
2308 * Makefile.in: Rebuilt.
2309 * Makefile.am (libsubdir): New variable.
2311 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
2314 * configure.ac: Link against -lpthread rather than -lc_r on
2315 FreeBSD 5 and above.
2316 * configure: Regenerate.
2318 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
2320 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2321 of package-private field "loadedClasses" using reflection.
2322 * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2325 2006-04-10 Matthias Klose <doko@debian.org>
2327 * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2328 directory names containing underscores.
2330 2006-04-10 Andrew Haley <aph@redhat.com>
2332 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2333 (SIGNAL_HANDLER): Mark arg as unused.
2334 * configure.host (x86_64-* DIVIDESPEC): Use
2335 fno-use-divide-subroutine.
2337 2006-04-07 Andrew Haley <aph@redhat.com>
2339 * java/net/InetAddress.java: Throw an UnknownHostException if
2342 2006-04-05 Tom Tromey <tromey@redhat.com>
2345 * Makefile.in: Rebuilt.
2346 * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2347 classpath/lib/compile-classes.
2349 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
2351 * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2352 MinGW since EBP is used for backtracking through call frames on this
2355 2006-04-05 Archit Shah <ashah@redhat.com>
2358 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2359 Add classpath argument.
2360 * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2362 * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2363 * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2364 * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2365 * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2366 mkdirs for destination directory, correct handling of superclasses
2367 and interfaces of the remote class, correct handling of exceptions
2368 declared by remote methods.
2370 2006-04-04 Tom Tromey <tromey@redhat.com>
2373 * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2374 * gnu/java/lang/natMainThread.cc (call_main): Use
2375 exitNoChecksAccessor.
2376 * testsuite/libjava.lang/pr26990.out: New file.
2377 * testsuite/libjava.lang/pr26990.java: New file.
2378 * java/lang/Runtime.java (exitNoChecks): New method.
2379 (exitNoChecksAccessor): Likewise.
2380 (exit): Call exitNoChecks.
2382 2006-04-03 Tom Tromey <tromey@redhat.com>
2384 * Makefile.in: Rebuilt.
2385 * Makefile.am (ZIP): Removed.
2386 (libgcj-$(gcc_version).jar): Use $(JAR).
2387 (src.zip): Likewise.
2388 * configure: Rebuilt.
2389 * configure.ac: Check for jar. Removed code to set ZIP.
2391 2006-04-03 Andrew Haley <aph@redhat.com>
2393 * testsuite/libjava.lang/Float_2.java: New file.
2395 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
2397 * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2399 2006-03-30 Tom Tromey <tromey@redhat.com>
2402 * testsuite/libjava.compile/pr26042.java: New file.
2404 2006-03-29 Tom Tromey <tromey@redhat.com>
2406 * sources.am, Makefile.in: Rebuilt.
2407 * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2409 2006-03-29 Tom Tromey <tromey@redhat.com>
2412 * testsuite/libjava.lang/pr26390.out: New file.
2413 * testsuite/libjava.lang/pr26390.java: New file.
2414 * sources.am, Makefile.in: Rebuilt.
2415 * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2417 2006-03-29 Tom Tromey <tromey@redhat.com>
2419 * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2422 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
2424 * scripts/unicode-muncher.pl: Removed this file.
2425 * scripts/MakeCharTables.java: Likewise.
2426 * scripts/unicode-to-chartables.pl: New file.
2427 * java/lang/natCharacter.cc:
2428 (UNASSIGNED_TYPE): New field.
2429 (UNASSIGNED_DIGIT): Likewise.
2430 (UNASSIGNED_DIRECTION): Likewise.
2431 (UNASSIGNED_NUMERIC_VALUE): Likewise.
2432 (PRIVATE_TYPE): Likewise.
2433 (PRIVATE_DIRECTION): Likewise.
2434 (readCodePoint): New method.
2435 (getType(jint)): Likewise.
2436 (toLowerCase(jint)): Likewise.
2437 (toUpperCase(jint)): Likewise.
2438 (toTitleCase(jint)): Likewise.
2439 (digit(jint, jint)): Likewise.
2440 (getNumericValue(jint)): Likewise.
2441 (getDirectionality(jint)): Likewise.
2444 (toLowerCase(jchar)),
2445 (toUpperCase(jchar)),
2446 (toTitleCase(jchar)),
2447 (digit(jchar, jint)),
2448 (getNumericValue(jchar)),
2449 (getDirectionality(jchar)): Changed references from data to data[0],
2450 blocks to blocks[0], direction to direction[0], numValue to
2451 numValue[0], upper to upper[0], lower to lower[0], and shift to
2452 shift[0] to reflect the new structures in java-chartables.h.
2453 * java/lang/Character.java:
2454 (readCodePoint): Declared new native method.
2455 (getType(int)): Likewise.
2456 (toLowerCase(int)): Likewise.
2457 (toUpperCase(int)): Likewise.
2458 (toTitleCase(int)): Likewise.
2459 (digit(int, int)): Likewise.
2460 (getNumericValue(int)): Likewise.
2461 (getDirectionality(int)): Likewise.
2462 (isLowerCase(int)): New method.
2463 (isUpperCase(int)): Likewise.
2464 (itTitleCase(int)): Likewise.
2465 (isDigit(int)): Likewise.
2466 (isDefined(int)): Likewise.
2467 (isLetter(int)): Likewise.
2468 (isLetterOrDigit(int)): Likewise.
2469 (isJavaIdentifierStart(int)): Likewise.
2470 (isJavaIdentifierPart(int)): Likewise.
2471 (isUnicodeIdentifierStart(int)): Likewise.
2472 (isUnicodeIdentifierPart(int)): Likewise.
2473 (isIdentifierIgnorable(int)): Likewise.
2474 (isSpaceChar(int)): Likewise.
2475 (isWhitespace(int)): Likewise.
2476 (isISOControl(int)): Likewise.
2477 (isMirrored(int)): Likewise.
2478 * include/java-chartables.h: Generated from
2479 scripts/unicode-to-chartables.h.
2481 2006-03-24 David Daney <ddaney@avtrex.com)
2483 * testsuite/libjava.lang/PR26858.java: New test.
2484 * testsuite/libjava.lang/PR26858.out: Ditto.
2485 * testsuite/libjava.lang/PR26858.xfail: Ditto.
2487 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
2489 * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2492 2006-03-15 Tom Tromey <tromey@redhat.com>
2494 * testsuite/libjava.jacks/jacks.xfail: Removed
2495 13.1-runtime-method-5.
2497 2006-03-15 Tom Tromey <tromey@redhat.com>
2500 * link.cc (get_interfaces): Skip <clinit>.
2501 (append_partial_itable): Likewise.
2503 2006-03-10 Tom Tromey <tromey@redhat.com>
2506 * java/util/zip/Deflater.java (flush): New method.
2507 * sources.am, Makefile.in: Rebuilt.
2508 * java/util/zip/DeflaterOutputStream.java: Removed.
2509 * java/util/zip/InflaterInputStream.java: Likewise.
2510 * java/util/zip/GZIPInputStream.java: Likewise.
2511 * java/util/zip/GZIPOutputStream.java: Likewise.
2513 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
2515 * include/powerpc-signal.h: Fix typo in comment.
2517 2006-03-09 Mark Wielaard <mark@klomp.org>
2519 Imported GNU Classpath 0.90
2520 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2521 * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2522 * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2523 * java/lang/Math.java: New override file.
2524 * java/lang/Character.java: Merged from Classpath.
2525 (start, end): Now 'int's.
2526 (canonicalName): New field.
2527 (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2528 (UnicodeBlock): Added argument.
2530 (forName): New method.
2531 Updated unicode blocks.
2533 * sources.am: Regenerated.
2534 * Makefile.in: Likewise.
2536 2006-03-09 Tom Tromey <tromey@redhat.com>
2539 * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2540 (equals): Use memcmp.
2541 (contentEquals): Likewise.
2542 (getChars): Use memcpy.
2543 (toCharArray): Likewise.
2544 (regionMatches): Use memcmp.
2545 (regionMatches): Likewise.
2546 (startsWith): Likewise.
2547 (concat): Use memcpy.
2548 (valueOf): Likewise.
2550 2006-03-09 Tom Tromey <tromey@redhat.com>
2552 * configure: Rebuilt.
2553 * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2556 2006-03-09 Tom Tromey <tromey@redhat.com>
2559 * java/util/zip/InflaterInputStream.java (fill): Throw exception
2560 if stream is truncated.
2562 2006-03-09 Tom Tromey <tromey@redhat.com>
2564 * win32.cc (_Jv_platform_nanotime): New function.
2565 * include/win32.h (_Jv_platform_nanotime): Declare.
2566 * posix.cc (_Jv_platform_nanotime): New function.
2567 * include/posix.h (_Jv_platform_nanotime): Declare.
2568 * java/lang/natSystem.cc (nanoTime): New method.
2569 * java/lang/System.java (nanoTime): Declare.
2570 * include/config.h.in, configure: Rebuilt.
2571 * configure.ac: Check for clock_gettime.
2573 2006-03-08 David Daney <ddaney@avtrex.com>
2575 * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2576 (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2577 (LD_FINISH_STATIC_SPEC): Ditto
2578 * configure: Regenerated.
2579 * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2580 LD_FINISH_STATIC_SPEC.
2582 2006-03-07 Tom Tromey <tromey@redhat.com>
2585 * java/lang/ClassLoader.java (loadClass): Don't throw
2586 StringIndexOutOfBoundsException if name is empty.
2587 * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2590 2006-03-07 David Daney <ddaney@avtrex.com>
2592 * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2594 2006-03-07 David Daney <ddaney@avtrex.com>
2596 * link.cc: Include ffi.h if USE_LIBFFI defined.
2598 2006-03-03 Tom Tromey <tromey@redhat.com>
2600 * interpret.cc (do_allocate_static_fields): Added comment.
2602 2006-03-01 Tom Tromey <tromey@redhat.com>
2605 * testsuite/libjava.lang/pr24321.java: New file.
2606 * testsuite/libjava.lang/pr24321.out: New file.
2607 * java/lang/natClass.cc (isInstance): Don't initialize class.
2608 (isAssignableFrom): Likewise.
2610 2006-02-27 Jakub Jelinek <jakub@redhat.com>
2613 * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2615 * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2616 (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2618 * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2620 * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2623 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
2625 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2626 before returning, handle null clip.
2627 (getClipBounds): Handle null clip.
2628 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2629 * gnu/awt/xlib/XCanvasPeer.java ():
2630 (getLocationOnScreen): Implement.
2631 * classpath/gnu/java/awt/peer/GLightweightPeer.java
2632 (repaint): Merged with Classpath.
2633 * classpath/java/awt/Graphics.java (hitClip): Merged with
2636 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
2638 * link.cc: Added variant of create_error_method that
2639 will not complain about unused parameter if compiled with
2640 USE_LIBFFI not being defined.
2641 (_Jv_Linker::find_field_helper): Fixed indentation.
2642 (_Jv_Linker::create_error_method): Fixed indentation.
2643 (_Jv_Linker::link_symbol_table): Fixed indentation.
2645 2006-02-16 Andrew Haley <aph@redhat.com>
2647 * stacktrace.cc (GetStackTraceElements): Call
2648 gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2649 non-Java frames should be removed from a printed stack trace.
2650 Pass methodName to getLineNumberForFrame().
2651 (getLineNumberForFrame): Set method_name from info.dli_sname.
2652 * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2653 (remove_unknown): New variable.
2654 * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2657 2006-02-15 Matthias Klose <doko@debian.org>
2659 * gnu/java/nio/charset, gnu/java/net/protocol/file,
2660 gnu/regexp: Remove empty directories.
2662 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
2664 * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
2665 'itable' inline, instead of as a pointer.
2666 (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2667 * link.cc (null_idt): Update definition.
2668 (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2669 as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2670 (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2671 (_Jv_Linker::find_iindex): Likewise. Update comment.
2672 * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2673 _Jv_IDispatchTable change.
2674 (_Jv_IsAssignableFrom): Likewise.
2676 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2679 * gnu/gcj/io/natSimpleSHSStream.cc
2680 (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2681 * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2683 * boehm.cc: #undef some autoconf macros before including gc-config.h.
2684 (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2685 (_Jv_MarkArray): Likewise.
2686 * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2687 Simplify _Jv_GCRegisterDisappearingLink() call.
2688 * java/lang/Class.h (getComponentType): Use element_type.
2689 (element_type): New field declaration, as a union with "methods".
2690 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2691 * java/net/natVMNetworkInterfacePosix.cc
2692 (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2693 avoid sign comparison warning.
2694 * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2695 argument, not parent call frame.
2696 * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2698 (restore_rt): Declare with hidden visibility, not "static".
2699 * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2701 * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2704 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2707 * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2709 * verify.cc (verify_fail): Likewise.
2710 * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2711 * interpret.cc (throw_internal_error, throw_class_format_error):
2713 * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
2714 _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2715 * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2716 * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2717 * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2718 is_attribute_name): Likewise.
2719 * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2720 _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2722 2006-02-08 Tom Tromey <tromey@redhat.com>
2724 PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2725 * defineclass.cc (parse): Use _Jv_AllocRawObj.
2726 (read_constpool): Likewise.
2727 (read_one_code_attribute): Use internal function name.
2728 (handleConstantPool): Use _Jv_AllocRawObj.
2729 (handleInterfacesBegin): Likewise.
2730 (handleFieldsBegin): Likewise.
2731 (handleMethodsBegin): Likewise.
2732 (handleCodeAttribute): Likewise.
2733 (handleMethodsEnd): Likewise.
2734 * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2735 * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2736 Allocate reference fields separately.
2737 * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2738 (add_miranda_methods): Likewise.
2739 (generate_itable): Use _Jv_AllocBytes.
2740 (find_iindex): Likewise.
2741 (struct method_closure): New structure.
2742 (create_error_method): Use struct method_closure; allocate with
2744 (ensure_fields_laid_out): Separate reference fields from
2745 non-reference fields.
2746 * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
2748 (_Jv_MarkArray): Mark vtable.
2749 (_Jv_AllocRawObj): Don't allocate objects of size 0.
2750 * include/execution.h
2751 (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2753 (struct _Jv_CompiledEngine): Updated.
2754 (class _Jv_InterpreterEngine): Updated.
2756 2006-02-08 Tom Tromey <tromey@redhat.com>
2759 * gcj/javaprims.h: Updated.
2760 * sources.am, Makefile.in: Rebuilt.
2761 * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2762 (doubleToRawLongBits): Likewise.
2763 (longBitsToDouble): Likewise.
2764 (toString): Likewise.
2765 (parseDouble): Likewise.
2766 * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2767 (floatToRawIntBits): Likewise.
2768 (intBitsToFloat): Likewise.
2769 * java/lang/VMDouble.java: New file.
2770 * java/lang/VMFloat.java: New file.
2771 * java/lang/Float.java, java/lang/Double.java: Removed.
2773 2006-02-06 Tom Tromey <tromey@redhat.com>
2775 * gij.cc (version): Use 2006.
2776 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2777 * gnu/gcj/convert/Convert.java (version): Use 2006.
2778 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2780 2006-02-04 Tom Tromey <tromey@redhat.com>
2783 * testsuite/libjava.lang/pr25676.out: New file.
2784 * testsuite/libjava.lang/pr25676.java: New file.
2786 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2788 * Makefile.am (src.zip): Update src.zip file search to look in
2789 classpath directory.
2790 * Makefile.in: Regenerate.
2792 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2795 (_Jv_Linker::create_error_method): Added missing (void *) cast.
2797 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2800 (_Jv_Linker::create_error_method): New method declaration.
2802 (_Jv_Linker::create_error_method): New method.
2803 (_Jv_Linker::link_symbol_table): Use new method above.
2805 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
2808 (_Jv_Linker::find_field_helper): Added checks.
2809 (_Jv_Linker::find_field): Use exception swallowing class resolution
2810 and added early return.
2811 (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2812 (_Jv_Linker::link_symbol_table): Use exception swallowing class
2813 resolution, added ffi_closure installation routine, use
2814 _Jv_ThrowNoClassDefFoundError for missing static method.
2815 (_Jv_Linker::ensure_class_linked): Added string check which does
2816 not trigger class resolution.
2817 * java/lang/natClassLoader.cc:
2818 (_Jv_FindClassNoException): New method.
2819 * java/lang/Class.h:
2820 (_Jv_FindClassNoException): New method declaration.
2822 (_Jv_FindClassNoException): New method declaration.
2823 (_Jv_FindClassFromSignatureNoException): New method declaration.
2825 (_Jv_FindClassFromSignatureNoException): New method.
2827 (_Jv_equalsUtf8Classname): New method declaration.
2828 (_Jv_isPrimitiveOrDerived): Dito.
2830 (_Jv_equalsUtf8Classnames): New method.
2831 (_Jv_isPrimitiveOrDerived): New method.
2833 (ref_intersection::equals): Use new classname comparison method.
2834 (type::compatible): Use new classname comparison method. Added
2835 check whether LHS' type is java.lang.Object .
2836 (type::resolve): Added new optional debug message and simplified
2838 (type::to_array): Added codepath that generates an array type
2839 without resolving the element type.
2841 2006-01-31 Mark Wielaard <mark@klomp.org>
2843 * NEWS: Add 4.1 updates.
2845 2006-01-30 Keith Seitz <keiths@redhat.com>
2847 * include/java-interp.h (insn_index): New declaration.
2848 (num_insn_slots): New private variable.
2849 (get_line_table): New declaration.
2850 * interpret.cc (insn_index): New function.
2851 (get_line_table): New function.
2853 2006-01-24 Archit Shah <ashah@redhat.com>
2854 Tom Tromey <tromey@redhat.com>
2856 * prims.cc (next_property_value): Never return NULL.
2857 (process_gcj_properties): Copy 'props' before using it.
2859 2006-01-23 Keith Seitz <keiths@redhat.com>
2861 * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2862 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2864 2006-01-23 David Daney <ddaney@avtrex.com>
2866 * configure.host (disable_dladdr): Remove variable and its
2868 * configure.ac: Do not test for disable_dladdr.
2869 * configure: Regenerate.
2870 * include/config.h.in: Regenerate.
2872 2006-01-18 Tom Tromey <tromey@redhat.com>
2874 * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2877 2006-01-18 Keith Seitz <keiths@redhat.com>
2879 * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2880 (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2881 * interpret.cc (_Jv_CompileMethod): New function.
2882 (run): Massage code to allow for NULL args.
2883 Update comments to explain NULL args.
2884 Return if compiling the method and args is NULL.
2886 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
2889 * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2891 2006-01-17 Tom Tromey <tromey@redhat.com>
2894 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2895 (JarURLLoader): Likewise.
2896 (addURLImpl): Canonicalize file URLs.
2898 2006-01-16 Mark Wielaard <mark@klomp.org>
2900 Imported GNU Classpath 0.20
2901 * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2902 * java/nio/charset/spi/CharsetProvider.java: New override file.
2903 * java/security/Security.java: Likewise.
2904 * sources.am: Regenerated.
2905 * Makefile.in: Likewise.
2907 2006-01-17 Jakub Jelinek <jakub@redhat.com>
2909 * configure.ac (dbexecdir): New substituted var.
2910 * configure: Rebuilt.
2911 * Makefile.am (dbexecdir): Remove.
2912 * Makefile.in: Rebuilt.
2914 2006-01-13 Tom Tromey <tromey@redhat.com>
2916 * gnu/regexp/MessagesBundle_fr.properties: Removed.
2917 * gnu/regexp/MessagesBundle.properties: Removed.
2919 2006-01-13 Tom Tromey <tromey@redhat.com>
2921 * java/security/classpath.security: Removed.
2922 * Makefile.in: Rebuilt.
2923 * Makefile.am (install-data-local): Don't install
2926 2006-01-08 Chris Burdess <dog@gnu.org>
2928 * java/lang/Character.java (toChars,toCodePoint): Correct these
2929 methods to use algorithms from Unicode specification.
2931 2006-01-08 Tom Tromey <tromey@redhat.com>
2933 * java/lang/StringBuilder.java (appendCodePoint): New method.
2934 (insert): New overloads.
2935 * java/lang/StringBuffer.java (StringBuffer): New constructor.
2936 (charAt): Remerged javadoc.
2937 (codePointAt, codePointBefore): New methods.
2938 (appendCodePoint): New method.
2939 (append): New overloads.
2941 (trimToSize, codePointCount, offsetByCodePoints): New methods.
2942 * java/lang/Float.java (SIZE): New field.
2943 (valueOf): New method.
2944 * java/lang/natDouble.cc (initIDs): Removed.
2945 * java/lang/Double.java (static initializer): Removed.
2947 (valueOf): New method.
2950 2006-01-07 Jakub Jelinek <jakub@redhat.com>
2953 * shlibpath.m4: Replace $SED with sed.
2954 * configure: Rebuilt.
2956 2006-01-06 Tom Tromey <tromey@redhat.com>
2958 * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2959 MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2960 (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2961 MAX_LOW_SURROGATE): Javadoc fixes.
2962 (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2963 isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2964 methods from Classpath.
2965 * java/lang/String.java (codePointAt, codePointBefore,
2966 codePointCount, contains, replace): New methods from Classpath.
2967 (contentEquals): Declare.
2968 * java/lang/natString.cc (contentEquals): New method.
2970 2005-12-26 Anthony Green <green@redhat.com>
2972 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2973 of data to read (dst.remaining()).
2974 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2976 2005-11-11 Mark Wielaard <mark@klomp.org>
2978 Reported by john.zigman@anu.edu.au as bug #24608.
2979 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2980 destination ByteBuffer when it doesn't have an array instead of len
2983 2006-01-05 Tom Tromey <tromey@redhat.com>
2985 * java/lang/natThread.cc (finish_): Don't clear 'group'.
2986 * sources.am, Makefile.in: Rebuilt.
2987 * java/lang/Runtime.java (exit): Merged with Classpath.
2988 (runShutdownHooks): New method from Classpath.
2989 * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2991 * gnu/gcj/runtime/FileDeleter.java: Removed.
2992 * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2993 (exitInternal): Don't run finalizers or delete files.
2995 2006-01-05 Tom Tromey <tromey@redhat.com>
2997 * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2999 2006-01-04 Krister Walfridsson <cato@df.lth.se>
3001 * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
3003 2006-01-04 Tom Tromey <tromey@redhat.com>
3005 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
3006 * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
3007 Changed argument type. Use SystemClassLoader.addClass.
3008 * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
3010 2005-12-24 David Daney <ddaney@avtrex.com>
3011 Tom Tromey <tromey@redhat.com>
3013 PR libgcj/9715, PR libgcj/19132:
3014 * java/nio/charset/Charset.java (charsetForName): Try default
3016 (availableCharsets): Re-merged.
3017 (providers2): Likewise.
3018 (defaultCharset): Likewise.
3019 * sources.am, Makefile.in: Rebuilt.
3020 * gnu/java/nio/charset/Provider.java: Removed.
3021 * java/io/OutputStreamWriter.java
3022 (OutputStreamWriter(OutputStream,Charset)): New constructor.
3023 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3024 * java/io/InputStreamReader.java
3025 (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
3026 (InputStreamReader(InputStream,Charset)): Likewise.
3027 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
3028 BytesToCharsetAdaptor.
3029 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
3030 CharsetToBytesAdaptor.
3031 * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
3032 * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
3033 * mauve-libgcj: Remove getEncoding exclusion.
3035 2005-12-28 Anthony Green <green@redhat.com>
3037 * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
3038 as previous patch, but for win32.
3040 2005-12-28 Anthony Green <green@redhat.com>
3042 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
3043 address and port before attempting anything.
3045 2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3047 * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
3050 2005-12-22 Andrew Haley <aph@redhat.com>
3053 * testsuite/libjava.lang/PR25535.java: New test.
3055 2005-12-22 Tom Tromey <tromey@redhat.com>
3057 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
3058 reference NUM_OBJECT_METHODS.
3059 * include/jvm.h (NUM_OBJECT_METHODS): Removed.
3061 2005-12-18 Anthony Green <green@redhat.com>
3063 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
3064 New helper function.
3065 (setOption): Use getLocalAddress. Don't downcast value to
3067 (getOption): Use getLocalAddress.
3069 2005-12-16 Tom Tromey <tromey@redhat.com>
3071 * java/lang/Class.java (getPackage): Get package from
3072 VMClassLoader if needed.
3074 2005-12-16 Tom Tromey <tromey@redhat.com>
3076 * testsuite/libjava.jacks/jacks.xfail
3077 (8.5.2-accessible-static-member-usage-3): Removed.
3079 2005-12-15 Tom Tromey <tromey@redhat.com>
3081 * testsuite/libjava.compile/rh175833.java: New file.
3082 * testsuite/libjava.compile/pr25429.java: New file.
3084 2005-12-15 Alan Modra <amodra@bigpond.net.au>
3086 * testsuite/lib/libjava.exp: Revert 2005-12-01.
3087 * testsuite/libjava.lang/Array_3.xfail: Delete.
3089 2005-12-14 Andrew Haley <aph@redhat.com>
3091 * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
3092 handle stdout from the child process.
3094 2005-12-14 Tom Tromey <tromey@redhat.com>
3097 * java/io/File.java (File): Throw IllegalArgumentException if URI is
3100 2005-12-12 Andrew Haley <aph@redhat.com>
3102 * java/lang/VMCompiler.java: Directly generate a new instance of
3103 gnu.java.security.provider.MD5.
3105 2005-12-08 Andrew Haley <aph@redhat.com>
3108 * java/lang/Object.h (throwNoSuchMethodError): New method.
3109 * java/lang/Object.java (throwNoSuchMethodError): New method.
3110 * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
3111 * link.cc (_Jv_ThrowNoSuchFieldError): New.
3112 (link_symbol_table): Don't throw a NoSuchFieldError if a field is
3113 missing. Instead, set the otable entry to zero.
3114 (link_symbol_table): If we don't find a nonstatic method, insert
3115 the vtable offset of Object.throwNoSuchMethodError() into the
3118 2005-12-05 Tom Tromey <tromey@redhat.com>
3120 * testsuite/libjava.compile/rh174912.java: New file.
3122 2005-12-01 Geoffrey Keating <geoffk@apple.com>
3124 * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
3126 * testsuite/libjava.lang/Array_3.xfail: New file.
3128 2005-12-01 Alan Modra <amodra@bigpond.net.au>
3130 * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
3131 to compare _Jv_InterpMethod::run against current func.
3133 2005-11-30 Andrew Haley <aph@redhat.com>
3135 * classpath/lib/Makefile.am (resources): Use `cp -p'.
3136 Remove `@' from start of line.
3138 2005-11-28 Tom Tromey <tromey@redhat.com>
3141 * testsuite/libjava.jni/pr18278.out: New file.
3142 * testsuite/libjava.jni/pr18278.c: New file.
3143 * testsuite/libjava.jni/pr18278.java: New file.
3144 * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
3145 * jni.cc (_Jv_UnwrapJNIweakReference): New function.
3146 (call): Unwrap return value if needed.
3148 2005-11-25 Mark Wielaard <mark@klomp.org>
3150 * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
3152 * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
3153 gnu/javax/rmi to bc.
3154 * gnu/CORBA/ObjectCreator.java: New override file for missing
3155 VMStackWalker issue.
3156 * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
3157 * gnu/CORBA/DynAn/RecordAny.java: Likewise
3158 * sources.am: Regenerated.
3159 * Makefile.in: Regenerated
3161 2005-11-25 Andrew Haley <aph@redhat.com>
3164 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3165 struct timespec we pass to pthread_cond_timedwait.
3167 2005-11-25 Ranjit Mathew <rmathew@gcc.gnu.org>
3169 * testsuite/libjava.jacks/jacks.xfail: Remove
3170 non-jls-argument-expansion-13 and add
3171 non-jls-argument-expansion-error-1 in response to the @file support
3172 patch in the main GCC driver.
3174 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3176 * sysdep/ia64-frame.h: Removed.
3177 * sysdep/ia64.c: Removed.
3178 * sysdep/dwarf2-backtrace.cc: Removed.
3179 * configure.ac: Remove references to HAVE_BACKTRACE and
3181 * Makefile.am: Remove SUPPLY_BACKTRACE support.
3182 * configure: Rebuilt.
3183 * Makefile.in: Rebuilt.
3185 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3187 * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3189 2005-11-17 Mark Wielaard <mark@klomp.org>
3191 Imported GNU Classpath gcj-import-20051117.
3192 * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3193 * sources.am: Regenerated.
3194 * Makefile.in: Likewise.
3196 2005-11-17 Mark Wielaard <mark@klomp.org>
3198 * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3199 * java/net/ServerSocket.java: Likewise.
3200 * sources.am: Regenerated.
3201 * Makefile.in: Regenerated.
3203 2005-11-17 Mark Wielaard <mark@klomp.org>
3206 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3208 2005-11-17 Tom Tromey <tromey@redhat.com>
3210 * java/net/ServerSocket.java (accept): Use correct security manager
3213 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3215 * java/net/ServerSocket.java
3218 (bind): Cache local socket address.
3219 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3220 Use cached local socket address.
3221 (close): bound field was removed.
3223 2005-11-17 Tom Tromey <tromey@redhat.com>
3225 * java/net/URLConnection.java (setDoInput): Javadoc fix.
3226 (setDoOutput): Likewise.
3227 (setContentHandlerFactory): Likewise.
3228 (setFileNameMap): Likewise.
3230 2005-11-17 Mark Wielaard <mark@klomp.org>
3232 * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3234 2005-11-17 Mark Wielaard <mark@klomp.org>
3236 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3237 call urls.add() and addURLImpl() directly on each URL.
3239 2005-11-17 Tom Tromey <tromey@redhat.com>
3241 * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3243 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3245 * java/net/URLClassLoader.java
3246 (Resource.name): Removed field.
3247 (JarURLResource.name): Added field.
3248 (FileResource.getURL): Use File.toURL() instead of doing it in
3249 a way that breaks on Windows.
3251 2005-11-17 Roman Kennke <roman@kennke.org>
3253 Reported by: Ingo Proetel <proetel@aicas.com>
3254 * java/net/URLClassLoader.java
3255 (findClass): Added null check to avoid NullPointerException.
3257 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3259 * java/net/URLClassLoader.java: reordered some API doc comments to
3260 suppress Eclipse warnings, and fixed API doc link.
3262 2005-11-17 Tom Tromey <tromey@redhat.com>
3264 * java/net/URLClassLoader.java (URLClassLoader): Removed
3267 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3269 * java/net/URLClassLoader (findClass): Close InputStream after we're
3272 2005-11-17 Bryce McKinlay <mckinlay@redhat.com>
3275 * include/jvm.h (gcj::stack_size): Declare.
3276 (_Jv_StackSize): Declare.
3277 * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3278 (_Jv_ThreadStart): Set stack size if specified.
3279 * prims.cc (gcj::stack_size): Define.
3280 (parse_memory_size): Renamed from parse_heap_size.
3281 (_Jv_SetStackSize): Parse stack size argument and set
3284 2005-11-17 Mark Wielaard <mark@klomp.org>
3286 * java/text/SimpleDateFormat.java: Removed, fully merged now.
3287 * sources.am: Regenerated.
3288 * Makefile.in: Regenerated.
3290 2005-11-17 Sven de Marothy <sven@physto.se>
3292 * java/text/SimpleDateFormat.java
3293 (computeOffset): Allow timezone to be first in the parsed String.
3295 2005-11-17 Mark Wielaard <mark@klomp.org>
3297 * java/text/SimpleDateFormat.java (field, size): Make package private.
3299 2005-11-17 Tom Tromey <tromey@redhat.com>
3301 * java/text/SimpleDateFormat.java (compileFormat): Correctly
3302 handle quoted single quotes. PR classspath/23183.
3304 2005-11-17 Tom Tromey <tromey@redhat.com>
3306 * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3308 2005-11-17 Tom Tromey <tromey@redhat.com>
3310 * java/text/DateFormat.java (serialVersionUID): New field.
3312 2005-11-17 Mark Wielaard <mark@klomp.org>
3314 * java/text/DateFormat.java (equals): Reimplement.
3316 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3318 * java/text/Collator.java: API doc fixes,
3319 * java/text/DateFormat.java: likewise,
3320 * java/text/DecimalFormatSymbols.java: likewise,
3321 * java/text/DateFormatSymbols.java: likewise,
3322 * java/text/SimpleDateFormat.java: likewise.
3324 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3326 * java/text/Collator.java (getInstance(Locale)):
3327 Added default collation pattern to handle case when resource
3328 is missing and throw InternalError instead of returning null
3329 should parsing fail.
3331 2005-11-15 Mark Wielaard <mark@klomp.org>
3333 * java/util/zip/ZipEntry.java: Removed, fully merged now.
3334 * java/util/zip/ZipFile.java: Likewise.
3335 * sources.am: Regenerated.
3336 * Makefile.in: Regenerated.
3338 2005-11-15 Tom Tromey <tromey@redhat.com>
3341 * java/util/Calendar.java (equals): Include other calendar
3343 (hashCode): Updated.
3344 * java/util/GregorianCalendar.java (hashCode): New method.
3345 (equals): Use super.equals().
3347 2005-11-15 Sven de Marothy <sven@physto.se>
3349 * java/util/Calendar (setTimeInMillis): Recompute time fields.
3351 2005-11-15 Mark Wielaard <mark@klomp.org>
3353 * java/util/SimpleTimeZone.java: Removed, fully merged now.
3354 * java/util/Date.java: Likewise.
3355 * sources.am: Regenerated.
3356 * Makefile.in: Regenerated.
3358 2005-11-15 David Gilbert <david.gilbert@object-refinery.com>
3360 * java/util/Calendar.java: fixed minor problems in API docs,
3361 * java/util/Date.java: likewise,
3362 * java/util/ResourceBundle.java: likewise,
3363 * java/util/SimpleTimeZone.java: likewise,
3365 2005-11-15 Jeroen Frijters <jeroen@frijters.net>
3367 * java/io/ObjectInputStream.java
3368 (parseContent): Removed bogus println and fixed bug #24422.
3370 2005-11-15 Mark Wielaard <mark@klomp.org>
3372 * java/io/ObjectStreamClass.java: Removed, fully merged now.
3373 * sources.am: Regenerated.
3374 * Makefile.in: Regenerated.
3376 2005-11-15 Wolfgang Baer <WBaer@gmx.de>
3378 * java/io/ObjectInputStream.java
3379 (processResolution): Pass Error, RuntimeException and
3380 ObjectStreamException through to the caller.
3381 (readObject): Documentation update.
3383 2005-11-15 Mark Wielaard <mark@klomp.org>
3385 Imported GNU Classpath 0.19 + gcj-import-20051115.
3386 * sources.am: Regenerated.
3387 * Makefile.in: Likewise.
3388 * scripts/makemake.tcl: Use glob -nocomplain.
3390 2005-11-15 Scott Gilbertson <scottg@mantatest.com>
3392 * Makefile.in: Re-generated.
3393 * gnu/awt/xlib/XGraphicsDevice.java: New file.
3394 * gnu/awt/xlib/XToolkit.java
3395 (getLocalGraphicsEnvironment): Implemented.
3396 * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3397 * sources.am: Re-generated.
3399 2005-15-09 David Daney <ddaney@avtrex.com>
3402 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3405 (close): Call shutdown before closing.
3406 (read()): Call read_helper with proper parameters.
3407 (read(buffer, int, int)): Likewise.
3408 (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd
3409 and timeout parameters. Make prototype to match. Use
3410 pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3413 2005-11-15 Andrew Haley <aph@redhat.com>
3415 * Merge from Classpath head:
3417 2005-09-16 Andrew Haley <aph@redhat.com>
3419 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3420 protected readResolve(). Rewrite accessibility check.
3422 2005-07-07 Jeroen Frijters <jeroen@frijters.net>
3424 * java/io/ObjectStreamClass.java
3425 (findAccessibleMethod): Added code to make method accessible.
3427 2005-07-03 Daniel Bonniot <bonniot@users.sf.net>
3429 * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3430 (findAccessibleMethod): Likewise.
3431 (cacheMethods): Lookup readResolve and writeReplace using the new
3432 findAccessibleMethod().
3434 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3436 * java/net/natVMNetworkInterfaceWin32.cc: Include
3437 java/net/VMNetworkInterface.h.
3439 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3440 David Daney <ddaney@avtrex.com>
3442 * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3443 (read): Handle count == 0 case.
3445 2005-11-09 Tom Tromey <tromey@redhat.com>
3447 * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3450 2005-11-08 Tom Tromey <tromey@redhat.com>
3453 * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3455 2005-11-08 Tom Tromey <tromey@redhat.com>
3457 PR libgcj/23763. From aeby@graeff.com.
3458 * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3461 2005-11-08 Mark Wielaard <mark@klomp.org>
3463 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3465 2005-11-07 David Daney <ddaney@avtrex.com>
3467 * mauve-libgcj: Disable javax.rmi.* and
3468 java.io.InputStreamReader.getEncoding.
3470 2005-11-04 Tom Tromey <tromey@redhat.com>
3472 PR libgcj/14358, libgcj/24552:
3473 * gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add
3474 aliases for 'euc_jp' and 'eucjp'.
3475 * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include
3476 canonical names in output.
3477 (%map): Added UnicodeLittle and UnicodeBig.
3479 2005-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3481 * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3483 2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
3485 * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3488 2005-10-12 Andrew Haley <aph@redhat.com>
3491 * link.cc (ensure_method_table_complete): Install Miranda methods
3494 2005-10-10 Tom Tromey <tromey@redhat.com>
3496 * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3497 * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3500 2005-10-05 Richard Henderson <rth@redhat.com>
3503 * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3504 but not BACKTRACESPEC.
3505 (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
3507 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>
3509 * testsuite/lib/jni.exp (gcj_jni_test_one): For
3510 darwin, use -shared-libgcc not -lgcc_s, and explain why.
3511 (gcj_jni_invocation_test_one): Likewise.
3513 2005-09-30 Tom Tromey <tromey@redhat.com>
3516 * Makefile.in: Rebuilt.
3517 * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3519 (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3520 (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3521 (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3522 (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3523 (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3524 * configure: Rebuilt.
3525 * configure.ac: Pass --enable-qt-peers when qt is requested.
3527 2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
3529 * configure.ac: Fix typo.
3530 * configure: Regenerate.
3532 2005-09-28 Geoffrey Keating <geoffk@apple.com>
3534 * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3535 __LP64__ is defined rather than __powerpc64__.
3536 (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3537 (compare_and_swap_release): Likewise.
3539 2005-09-28 David Daney <ddaney@avtrex.com>
3541 * HACKING: Update instructions for classpath import.
3543 2005-09-27 Tom Tromey <tromey@redhat.com>
3546 * include/jvm.h (_Jv_FreeMethodCache): Declare.
3547 * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3548 (struct _Jv_mcache): Likewise.
3549 (method_cache): Likewise.
3550 (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3551 (_Jv_AddMethodToCache): Likewise.
3552 (_Jv_FreeMethodCache): New function.
3553 * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
3554 * aclocal.m4, configure, include/config.h.in: Rebuilt.
3555 * configure.ac: Invoke GCC_CHECK_TLS.
3557 2005-09-27 Tom Tromey <tromey@redhat.com>
3559 * configure, Makefile.in: Rebuilt.
3560 * sources.am: Rebuilt.
3561 * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
3562 * configure.ac (TOOLKIT): Handle Qt peers properly.
3564 2005-09-23 Tom Tromey <tromey@redhat.com>
3566 Imported Classpath 0.18.
3567 * sources.am, Makefile.in: Updated.
3568 * Makefile.am (nat_source_files): Removed natProxy.cc.
3569 * java/lang/reflect/natProxy.cc: Removed.
3570 * gnu/classpath/jdwp/VMFrame.java,
3571 gnu/classpath/jdwp/VMIdManager.java,
3572 gnu/classpath/jdwp/VMVirtualMachine.java,
3573 java/lang/reflect/VMProxy.java: New files.
3575 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3577 * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
3580 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3582 * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
3583 Remove ClasspathToolkit references.
3585 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3587 * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
3588 * gnu/awt/xlib/XFramePeer.java: Likewise.
3589 * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
3591 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3593 * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
3594 classpath/native/jawt/jawt.c.
3595 * Makefile.in: Regenerate.
3596 * jawt.c: Remove file.
3597 * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
3598 jawt_md.h. Add ../classpath/include/jawt.h and
3599 ../classpath/include/jawt_md.h.
3600 * include/Makefile.in: Regenerate.
3601 * include/jawt.h: Regenerate.
3602 * include/jawt_md.h: Regenerate.
3604 2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
3606 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
3607 `null' parent ClassLoader to parent constructor.
3608 * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
3611 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
3613 * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
3615 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
3617 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
3618 Use libjava_find_lib to find the proper libgcj.
3620 2005-09-16 Anthony Green <green@redhat.com>
3623 * java/net/URLClassLoader.java (FileURLLoader.getResource): File
3624 resources should all have canonicalized names.
3626 2005-09-15 Tom Tromey <tromey@redhat.com>
3629 * interpret.cc (AVAL1U): Resolve pool entry when not direct
3632 (compile): Handle 'ldc class' specially.
3633 (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
3634 * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
3635 * defineclass.cc (handleCodeAttribute): Set new field.
3636 (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
3637 MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
3638 (parse): Check version numbers.
3639 (_Jv_ClassReader::is_15): New field.
3640 (_Jv_ClassReader): Initialize it.
3641 * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
3643 2005-09-15 Tom Tromey <tromey@redhat.com>
3645 For PR libgcj/23288:
3646 * java/net/URLClassLoader.java (definePackage): Correctly order
3647 arguments to definePackage. Look up per-entry Attributes.
3648 (getAttributeValue): New method.
3650 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3653 * shlibpath.m4: New file.
3654 * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
3656 * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
3657 [USE_LTDL]: If it was not defined with -D set java.library.path to
3658 the value of LTDL_SHLIBPATH_VAR.
3660 2005-09-08 Andrew Haley <aph@redhat.com>
3662 * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
3664 (toString): Likewise.
3666 2005-09-08 Andrew Haley <aph@redhat.com>
3669 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
3670 R/M field in instruction is 100.
3672 2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3675 * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
3676 * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
3678 * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
3680 (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
3681 _Jv_Module_Load_Path.
3683 2005-09-06 Tom Tromey <tromey@redhat.com>
3686 * testsuite/libjava.jni/pr23739.c: New file.
3687 * testsuite/libjava.jni/pr23739.java: New file.
3688 * testsuite/libjava.jni/pr23739.out: New file.
3689 * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
3690 * java/lang/reflect/natMethod.cc (invoke): Updated.
3691 * java/lang/natClass.cc (isAssignableFrom): Updated.
3692 (isInstance): Likewise.
3693 (_Jv_IsAssignableFrom): Reversed arguments.
3694 (_Jv_IsInstanceOf): Updated.
3695 (_Jv_CheckCast): Likewise.
3696 (_Jv_CheckArrayStore): Likewise.
3697 (_Jv_IsAssignableFromSlow): Reversed arguments.
3698 (_Jv_InterfaceAssignableFrom): Likewise.
3699 * link.cc (verify_type_assertions): Updated.
3700 * prims.cc (_Jv_CheckAccess): Updated.
3702 2005-09-05 Ranjit Mathew <rmathew@hotmail.com>
3704 Testsuite changes for PR java/23431.
3705 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
3707 * testsuite/libjava.compile/PR23431_1.java: New testcase.
3708 * testsuite/libjava.compile/PR23431_2.java: Likewise.
3709 * testsuite/libjava.compile/PR23431_1.xfail: New file.
3710 * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
3712 2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3715 * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
3716 -disableassertions and -da.
3718 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu>
3720 * configure.ac: Replace "*-*-darwin[0-7].*" with
3721 "*-*-darwin[[0-7]].*"
3722 * configure: Regenerate.
3724 2005-08-24 Andreas Tobler <a.tobler@schweiz.ch>
3726 * configure.ac (extra_ldflags_libjava): Enable -single_module only for
3728 * configure: Regenerate.
3730 2005-08-23 Roman Kennke <roman@kennke.org>
3732 * java/lang/Character.java
3733 (toChars(int)): New JDK1.5 method.
3734 (toChars(int, char[], int)): New JDK1.5 method.
3735 (charCount): New JDK1.5 method.
3736 (isSupplementaryCodePoint): New JDK1.5 method.
3737 (isValidCodePoint): New JDK1.5 method.
3739 2005-08-23 Tom Tromey <tromey@redhat.com>
3741 * aclocal.m4, Makefile.in: Rebuilt.
3742 * Makefile.am (property_files): Added META-INF files.
3743 (propertyo_files): Changed definition.
3744 ($(propertyo_files)): Updated patterns.
3746 2005-08-22 Tom Tromey <tromey@redhat.com>
3749 * configure: Rebuilt.
3750 * configure.ac: Correctly create Configuration.java (for
3753 2005-08-22 Kelley Cook <kcook@gcc.gnu.org>
3755 * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
3756 * acinclude.m4: Delete. Extract CHECK_FOR_BROKEN_MINGW_LD to ...
3757 * mingwld.m4: ... this new file.
3758 * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
3759 * include/Makefile.in, testsuite/Makfile.in: Regenerate.
3761 2005-08-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3764 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
3765 assignment. Cast operands of compare to function pointer type.
3767 2005-08-21 Tom Tromey <tromey@redhat.com>
3769 * HACKING: Updated for hacking classpath in libgcj.
3771 2005-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3774 * sysdep/pa/descriptor.h: New file.
3775 * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
3777 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
3779 * Makefile.am (extra_ldflags_libjava): New variable to
3781 (LIBLINK): Add extra_ldflags_libjava to it.
3782 * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
3783 "-Wl,-single_module".
3784 * Makefile.in: Regenerate.
3785 * aclocal.m4: Regenerate.
3786 * configure: Regenerate.
3787 * gcj/Makefile.in: Regenerate.
3788 * include/Makefile.in: Regenerate.
3789 * testsuite/Makefile.in: Regenerate.
3791 2005-08-17 Tom Tromey <tromey@redhat.com>
3793 * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
3795 * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
3796 * testsuite/libjava.lang/bclink.java: New file.
3797 * testsuite/libjava.lang/bclink.out: New file.
3798 * link.cc (print_class_loaded): Changed ABI test to look at
3799 various _syms fields.
3801 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch>
3803 * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
3804 15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
3806 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
3808 More testsuite adjustments for PR java/19870.
3809 * testsuite/libjava.lang/PR19870_2.java: New testcase.
3810 * testsuite/libjava.lang/PR19870_2.out: Expected output for the
3812 * testsuite/libjava.jacks/jacks.xfail: Remove
3813 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
3815 2005-08-16 Tom Tromey <tromey@redhat.com>
3817 * gnu/xml/xpath/XPathParser.y: Removed.
3819 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
3822 * java/lang/natObject.cc (clone): Clear sync_info.
3824 2005-07-26 Tom Tromey <tromey@redhat.com>
3826 * gnu/java/net/protocol/ftp/package.html,
3827 gnu/javax/swing/text/html/package.html,
3828 gnu/javax/swing/text/html/parser/package.html,
3829 gnu/javax/swing/text/html/parser/models/package.html,
3830 gnu/javax/swing/text/html/parser/support/package.html,
3831 gnu/javax/swing/text/html/parser/support/low/package.html,
3832 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
3833 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
3834 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
3835 java/awt/geom/doc-files/CubicCurve2D-1.png,
3836 java/awt/geom/doc-files/CubicCurve2D-2.png,
3837 java/awt/geom/doc-files/CubicCurve2D-3.png,
3838 java/awt/geom/doc-files/CubicCurve2D-4.png,
3839 java/awt/geom/doc-files/CubicCurve2D-5.png,
3840 java/awt/geom/doc-files/Ellipse-1.png,
3841 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
3842 java/awt/geom/doc-files/GeneralPath-1.png,
3843 java/awt/geom/doc-files/QuadCurve2D-1.png,
3844 java/awt/geom/doc-files/QuadCurve2D-2.png,
3845 java/awt/geom/doc-files/QuadCurve2D-3.png,
3846 java/awt/geom/doc-files/QuadCurve2D-4.png,
3847 java/awt/geom/doc-files/QuadCurve2D-5.png,
3848 javax/imageio/package.html, javax/imageio/event/package.html,
3849 javax/imageio/metadata/package.html,
3850 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
3851 javax/swing/border/doc-files/BevelBorder-1.png,
3852 javax/swing/border/doc-files/BevelBorder-2.png,
3853 javax/swing/border/doc-files/BevelBorder-3.png,
3854 javax/swing/border/doc-files/EmptyBorder-1.png,
3855 javax/swing/border/doc-files/EtchedBorder-1.png,
3856 javax/swing/border/doc-files/EtchedBorder-2.png,
3857 javax/swing/border/doc-files/LineBorder-1.png,
3858 javax/swing/border/doc-files/MatteBorder-1.png,
3859 javax/swing/border/doc-files/MatteBorder-2.png,
3860 javax/swing/border/doc-files/MatteBorder-3.png,
3861 javax/swing/border/doc-files/MatteBorder-4.png,
3862 javax/swing/border/doc-files/MatteBorder-5.png,
3863 javax/swing/border/doc-files/MatteBorder-6.png,
3864 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3865 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3866 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3867 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3868 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3869 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3870 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3871 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3872 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3873 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3874 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3875 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3876 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3877 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
3878 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3879 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3880 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3881 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3882 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3883 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3884 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
3885 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3886 javax/swing/plaf/doc-files/ComponentUI-1.png,
3887 javax/swing/plaf/doc-files/TreeUI-1.png,
3888 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
3889 javax/xml/parsers/package.html, javax/xml/transform/package.html,
3890 javax/xml/transform/dom/package.html,
3891 javax/xml/transform/sax/package.html,
3892 javax/xml/transform/stream/package.html,
3893 javax/xml/validation/package.html, javax/xml/xpath/package.html:
3896 2005-07-22 Tom Tromey <tromey@redhat.com>
3898 * include/Makefile.in: Rebuilt.
3899 * include/Makefile.am (tool_include__HEADERS): Include
3902 2005-07-20 Tom Tromey <tromey@redhat.com>
3904 * sources.am, Makefile.in: Rebuilt.
3905 * Makefile.am (all_xlib_lo_files): Removed.
3906 (all_libgcj_lo_files): Likewise.
3907 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
3908 (xlib_java_source_files): Removed.
3909 (xlib_nat_headers): Updated.
3910 * configure: Rebuilt.
3911 * configure.ac: Create standard.omit.
3912 * standard.omit.in: New file.
3913 * standard.omit: Removed.
3914 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
3916 (emit_package_rule): Special case xlib peers.
3917 (emit_source_var): Likewise.
3918 Read standard.omit.in.
3919 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
3921 2005-07-18 Tom Tromey <tromey@redhat.com>
3925 2005-07-19 Matthias Klose <doko@debian.org>
3927 * classpath/java/awt/im/InputContext.java (clinit): Initialize
3930 2005-07-18 Tom Tromey <tromey@redhat.com>
3933 * sources.am, Makefile.in: Rebuilt.
3934 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
3936 (emit_source_var): Don't emit patsubst with './'.
3938 2005-07-18 Tom Tromey <tromey@redhat.com>
3940 * Makefile.in: Rebuilt.
3941 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
3943 2005-07-17 Andreas Jaeger <aj@suse.de>
3945 * defineclass.cc (handleClassBegin): Remove unused variable.
3947 2005-07-16 Andreas Schwab <schwab@suse.de>
3949 * scripts/makemake.tcl (emit_package_rule): Emit command to create
3951 * Makefile.am (%.lo): Don't create it here.
3952 * sources.am, Makefile.in: Regenerated.
3954 2005-07-15 Tom Tromey <tromey@redhat.com>
3956 Major merge with Classpath.
3957 Removed many duplicate files.
3958 * HACKING: Updated.x
3959 * classpath: Imported new directory.
3960 * standard.omit: New file.
3961 * Makefile.in, aclocal.m4, configure: Rebuilt.
3962 * sources.am: New file.
3963 * configure.ac: Run Classpath configure script. Moved code around
3964 to support. Disable xlib AWT peers (temporarily).
3965 * Makefile.am (SUBDIRS): Added 'classpath'
3967 (AM_CPPFLAGS): Added more -I options.
3968 (BOOTCLASSPATH): Simplified.
3969 Completely redid how sources are built.
3971 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
3972 * include/jni.h: Removed (in Classpath).
3973 * scripts/classes.pl: Updated to look at built classes.
3974 * scripts/makemake.tcl: New file.
3975 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
3977 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3979 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
3981 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
3982 (eventMask): New field.
3983 (XCanvasPeer(Component)): Use attributes field.
3984 (setBackground): Implemented.
3985 (setEventMask): Process mask only if changed.
3986 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
3987 (eventLoopThread): New field.
3988 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
3989 (interrupt): Removed.
3991 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
3992 and Component events.
3993 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
3995 (configureNotify): Set and clear processingConfigureNotify.
3996 (setBounds): Process only if processingConfigureNotify is false.
3997 (toBack): Implemented.
3998 (toFront): Implemented.
3999 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
4000 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
4002 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
4003 (wakeNativeQueue): Do nothing.
4004 (iterateNativeQueue): Do queue.wait if blocking.
4005 * gnu/gcj/xlib/Font.java (loadFont): New method.
4006 (loadFontImpl): Renamed native method, was loadFont.
4007 * gnu/gcj/xlib/Window.java (toFront): New method.
4008 (toBack): New method.
4009 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
4011 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
4012 (toFront): New method.
4013 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
4015 2005-07-14 Andrew Haley <aph@redhat.com>
4017 * gnu/java/net/protocol/file/Connection.java (unquote): New
4019 (connect): Unquote filename.
4020 gnu/java/net/protocol/jar/Connection.java (getInputStream):
4022 (getJarFile): Likewise.
4024 * java/net/URLConnection.java (getContentHandler): Guard cast with
4027 * java/net/URL.java (URL): If the file part of a spec is absolute,
4028 ignore the file part of its context.
4030 2005-07-14 Aaron Luchko <aluchko@redhat.com>
4032 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
4033 Implemented VirtualMachine Command Set.
4035 2005-07-14 Tom Tromey <tromey@redhat.com>
4037 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
4040 2005-07-12 Aaron Luchko <aluchko@redhat.com>
4042 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
4043 Implemented the Field CommandSet.
4044 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
4045 Implemented the InterfaceType CommandSet.
4047 2005-07-12 Aaron Luchko <aluchko@redhat.com>
4049 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
4050 shutdown to jdwp instead of connection.
4052 2005-07-12 Aaron Luchko <aluchko@redhat.com>
4054 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
4057 2005-07-08 Colin Walters <walters@verbum.org>
4059 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
4060 check for abstract classes or interfaces here; JVM spec
4061 says it should throw an exception, so we'll do so later.
4062 * interpret.cc (run): Throw an InstantiationException for
4063 abstract classes and interfaces.
4065 2005-07-08 Andrew Haley <aph@redhat.com>
4067 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
4068 (regular, non-realtime scheduling), not SCHED_RR (realtime,
4071 2005-07-07 Aaron Luchko <aluchko@redhat.com>
4073 * gnu/classpath/jdwp/util/Signature.java
4074 (computeFieldSignature): New Method.
4076 2005-07-07 Aaron Luchko <aluchko@redhat.com>
4078 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
4081 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
4083 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
4084 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
4086 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
4088 * testsuite/libjava.compile/PR21045.java: New test.
4089 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
4090 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
4092 2005-07-06 Tom Tromey <tromey@redhat.com>
4094 * java/io/InputStreamReader.java (refill): Handle no-progress
4096 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
4098 2005-07-06 Tom Tromey <tromey@redhat.com>
4100 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
4102 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
4104 * testsuite/libjava.compile/PR19674.java: New test.
4106 2005-07-05 Aaron Luchko <aluchko@redhat.com>
4108 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
4111 2005-07-04 Aaron Luchko <aluchko@redhat.com>
4113 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
4114 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
4115 CommandSets to handle JdwpCommandPackets.
4116 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
4119 2005-07-01 Tom Tromey <tromey@redhat.com>
4121 * libtool-version: Updated.
4123 2005-06-30 Aaron Luchko <aluchko@redhat.com>
4125 * gnu/classpath/jdwp/util/JdwpString.java: New file.
4127 2005-06-30 Keith Seitz <keiths@redhat.com>
4129 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
4130 (myWrite): New abstract method.
4132 (myToBytes): Remove.
4133 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
4135 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
4137 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
4138 JdwpPacket.write instead of JdwpPacket.toBytes.
4140 2005-06-30 Keith Seitz <keiths@redhat.com>
4142 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
4144 (_bytes): New member.
4145 (_doStream): New member.
4146 (JdwpConnection): Initialize new members.
4148 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
4150 * all files: Update for new FSF address.
4152 2005-06-29 Tom Tromey <tromey@redhat.com>
4155 * testsuite/libjava.lang/pr22211.java: New file.
4156 * java/lang/natThread.cc (finish_): Synchronize when updating
4158 (_Jv_AttachCurrentThread): Likewise.
4159 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
4160 * java/lang/Thread.java (isAlive): Now synchronized.
4162 2005-06-29 Tom Tromey <tromey@redhat.com>
4164 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
4167 2005-06-28 Robin Green <greenrd@greenrd.org>
4170 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
4173 2005-06-27 Tom Tromey <tromey@redhat.com>
4175 PR java/21540, PR java/13788:
4176 * testsuite/libjava.compile/pr21540.java: New file.
4177 * testsuite/libjava.compile/pr13788.java: New file.
4178 * testsuite/libjava.jacks/jacks.xfail: Updated.
4180 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4182 * testsuite/libjava.mauve/xfails: Updated to reflect current state
4183 of mauve and libjava.
4185 2005-06-24 Tom Tromey <tromey@redhat.com>
4187 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
4188 where class' name is NULL.
4189 (_Jv_FindClass): Don't wait for class state.
4190 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
4192 * include/java-interp.h (_Jv_DefineClass): Updated.
4193 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
4194 (struct _Jv_ClassReader): Likewise.
4195 (found_name): New field.
4196 (handleClassBegin): Set *found_name.
4197 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
4198 (handleClassBegin): Throw error if super class not set.
4199 (read_methods): Correctly call check_tag and prepare_pool_entry.
4201 2005-06-24 Tom Tromey <tromey@redhat.com>
4203 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
4205 2005-06-24 Tom Tromey <tromey@redhat.com>
4207 * verify.cc (verify_instructions_0): Correctly handle situation
4208 where PC falls off end.
4210 2005-06-24 Tom Tromey <tromey@redhat.com>
4212 * interpret.cc (compile): Handle case where table entry is
4213 outside of PC range.
4215 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
4217 * testsuite/libjava.compile/PR20697.java: New test-case.
4219 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
4221 * Makefile.am (SUBDIRS): Use append for conditional.
4222 (toolexeclib_LTLIBRARIES): Likewise.
4223 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
4224 a conditional append.
4225 * Makefile.in: Regenerate.
4227 2005-06-17 Keith Seitz <keiths@redhat.com>
4229 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
4230 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
4231 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
4233 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
4234 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
4236 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
4237 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
4238 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
4239 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
4241 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
4242 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
4244 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
4246 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
4247 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
4248 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
4249 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
4250 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
4251 * Makefile.in: Regenerate.
4253 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
4255 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
4256 (USING_POSIX_PLATFORM): ... here.
4257 * Makefile.am: Delete USING_ECOS_PLATFORM.
4258 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4259 external/Makefile.in, external/sax/Makefile.in,
4260 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
4262 2005-06-15 Tom Tromey <tromey@redhat.com>
4265 * testsuite/libjava.lang/pr17536.java: New file.
4266 * testsuite/libjava.lang/pr17536.out: New file.
4268 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
4271 * gnu/java/net/protocol/http/HTTPURLConnection.java
4272 (getHeaderFieldKey): Check index.
4274 2005-06-15 Tom Tromey <tromey@redhat.com>
4277 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
4279 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
4280 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
4282 (append_partial_itable): Use it.
4283 (set_vtable_entries): Likewise.
4285 2005-06-15 Tom Tromey <tromey@redhat.com>
4287 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
4288 last_was_sep in loop.
4290 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4292 * configure.host: Handle Solaris 10/x86.
4294 2005-06-14 Keith Seitz <keiths@redhat.com>
4296 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
4297 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
4299 2005-06-14 Keith Seitz <keiths@redhat.com>
4301 * gnu/classpath/jdwp/id/ArrayId.java: New file.
4302 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
4303 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
4304 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
4305 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
4306 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
4307 * gnu/classpath/jdwp/id/JdwpId.java: New file.
4308 * gnu/classpath/jdwp/id/ObjectId.java: New file.
4309 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
4310 * gnu/classpath/jdwp/id/StringId.java: New file.
4311 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
4312 * gnu/classpath/jdwp/id/ThreadId.java: New file.
4314 2005-06-14 Tom Tromey <tromey@redhat.com>
4317 * configure, aclocal.m4, Makefile.in: Rebuilt.
4319 2005-06-14 Tom Tromey <tromey@redhat.com>
4321 * java/lang/Class.java (getClasses): New method.
4322 (internalGetClasses): Likewise.
4323 (getClassLoader): Updated documentation.
4324 (getDeclaredClasses): New overload; old overload no longer
4326 (_getConstructors): Removed.
4327 (resourcePath): Updated.
4328 * java/lang/natClass.cc (getClasses): Removed.
4329 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
4331 (_getConstructors): Removed.
4333 2005-06-13 Jim Huang <jserv@kaffe.org>
4336 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
4337 (_Jv_JNI_NewObject): Likewise.
4339 2005-06-13 Tom Tromey <tromey@redhat.com>
4342 * testsuite/libjava.lang/pr21844.java: New file.
4343 * testsuite/libjava.lang/pr21844.out: New file.
4345 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
4348 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
4351 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
4353 * java/text/MessageFormat.java (parse): When parsing strings, check
4354 for an empty pattern trailer.
4356 2005-06-06 Keith Seitz <keiths@redhat.com>
4358 * gnu/classpath/jdwp/util/Signature.java: New file.
4359 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
4361 2005-06-05 Anthony Green <green@redhat.com>
4363 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
4366 2005-06-04 Anthony Green <green@redhat.com>
4368 * java/net/URLClassLoader.java: import gnu.gcj.Core,
4369 and gnu.java.net.protocol.core.CoreInputStream.
4370 (CureURLLoader): New class.
4371 (CoreResource): New class.
4372 (addURLImpl): Add special treatment for the "core" protocol.
4373 * gnu/gcj/natCore.cc (find): New method.
4374 * gnu/gcj/Core.java (find): New method.
4376 2005-06-03 Keith Seitz <keiths@redhat.com>
4378 * gnu/classpath/jdwp/transport/ITransport.java: New file.
4379 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
4380 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
4382 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
4384 * jawt.c: Remove malloc.h, covered by stdlib.h.
4386 * testsuite/libjava.jni/jni.exp
4387 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
4390 2005-06-02 Keith Seitz <keiths@redhat.com>
4392 * gnu/classpath/jdwp/transport/TransportException.java: New file.
4394 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
4396 * mauve-libgcj: Remove implemented classes from the fail section.
4397 Add two new not implemented to it.
4399 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
4401 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
4402 AC_SUBST definition from configure.host.
4403 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
4404 to -fomit-frame-pointer on 32-bit x86 targets.
4406 2005-06-01 Tom Tromey <tromey@redhat.com>
4408 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
4410 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
4413 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
4414 (static): Add possessive matching to JAVA_1_4 syntax.
4415 * gnu/regexp/RETokenRepeated.java (possessive): New field.
4416 (makePossessive, isPossessive): New methods.
4417 (match): Don't back off during possessive matching.
4418 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
4419 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
4422 2005-06-01 Keith Seitz <keiths@redhat.com>
4424 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
4425 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
4426 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
4428 2005-06-01 Tom Tromey <tromey@redhat.com>
4431 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
4432 (currentLoader): New method.
4433 * java/io/ObjectInputStream.java (resolveProxyClass): Use
4435 (currentLoader): Now native.
4436 (currentClassLoader): Removed.
4437 * testsuite/libjava.lang/pr21785.java: New file.
4438 * testsuite/libjava.lang/pr21785.out: New file.
4440 2005-06-01 Tom Tromey <tromey@redhat.com>
4443 * java/lang/natString.cc (substring): Changed sharing heuristic.
4445 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
4448 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
4449 MAXPATHLEN. Format exception message using a StringBuffer instead.
4451 2005-05-29 Michael Koch <konqueror@gmx.de>
4454 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
4456 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
4458 * ChangeLog: Fix typo.
4460 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
4462 Testsuite adjustments for PR java/19870.
4463 * testsuite/libjava.lang/PR19870.java: New testcase.
4464 * testsuite/libjava.lang/PR19870.out: Expected output for the
4466 * testsuite/libjava.jacks/jacks.xfail: Add
4467 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
4470 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
4472 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
4473 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
4474 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
4476 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
4477 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
4478 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
4479 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
4481 2005-05-25 Richard Henderson <rth@redhat.com>
4484 * sysdep/descriptor-n.h: New file.
4485 * sysdep/descriptor-y.h: New file.
4486 * sysdep/powerpc/descriptor.h: New file.
4487 * configure.host: Set $descriptor_h appropriate for the host.
4488 * configure.ac: Link it.
4489 * configure: Regenerate.
4490 * stacktrace.cc: Include sysdep/descriptor.h.
4491 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
4493 2005-05-25 Chris Burdess <dog@gnu.org>
4495 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
4496 end entity callbacks.
4498 2005-05-24 Gary Benson <gbenson@redhat.com>
4501 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
4502 Handle DateFormat.DEFAULT case correctly.
4504 2005-05-21 Tom Tromey <tromey@redhat.com>
4507 * java/lang/ref/natReference.cc (find_slot): Handle case where
4508 table has no NULL entries.
4509 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
4510 table has no NULL entries.
4512 2005-05-22 Andreas Jaeger <aj@suse.de>
4514 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
4517 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
4519 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
4521 2005-05-19 Richard Henderson <rth@redhat.com>
4523 * exception.cc: Revert 05-17 gcc_unreachable change.
4525 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
4527 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
4528 _Jv_RegisterInitiatingLoader to register array classes, not
4530 (_Jv_RegisterInitiatingLoader): Give up if called very early during
4531 bootstrapping. Add a FIXME to handle this case better.
4533 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
4535 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
4536 convenience library.
4537 (libgcj_la_SOURCES): New. Move sources here.
4538 (libgcj.la): Remove rule.
4540 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4543 * gnu/java/security/provider/DSASignature.java: Import updates
4546 2005-05-18 Anthony Green <green@redhat.com>
4548 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
4549 classpath_jawt_object_unlock, classpath_jawt_create_lock,
4550 classpath_jawt_destroy_lock): New functions.
4551 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
4552 classpath_jawt_object_unlock, classpath_jawt_create_lock,
4553 classpath_jawt_destroy_lock): New functions.
4554 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
4556 * jawt.c: #include malloc.h.
4557 (_Jv_Lock): Use lock.
4558 (_Jv_Unlock): Ditto.
4559 (_Jv_GetDrawingSurface): Initialize lock.
4560 (_Jv_FreeDrawingSurface): Destroy lock.
4561 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
4563 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
4565 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
4566 * Makefile.in: Regenerate.
4568 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
4570 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
4571 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
4572 * aclocal.m4, configure, config.h.in, include/config.h.in,
4573 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4574 external/Makefile.in, external/sax/Makefile.in,
4575 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
4577 2005-05-17 David Daney <ddaney@avtrex.com>
4580 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
4582 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
4584 * exception.cc (abort): Remove std::abort hack.
4585 (gcc_unreacheable): Define.
4587 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
4589 * Makefile.am (Makefile.deps): Do not create native.list and
4591 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
4592 * Makefile.in: Regenerate.
4594 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
4596 * configure.ac (--enable-libgcj-multifile): Remove.
4598 * Makefile.am (all_native_compiled_source_files,
4599 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
4600 all_libgcj_lo_files, all_xlib_lo_files,
4601 all_java_deps_files, all_java_stamp_files,
4602 all_java_filelist_files): New variables.
4603 (EXTRA_DIST): New Automake variable.
4604 (CLEANFILES): Add .stamp, .list and .lo files.
4605 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
4606 (classes.stamp): Depend on $(all_java_stamp_files).
4607 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
4608 going through write_entries_to_file.
4610 (all_java_source_files, all_property_files): Move earlier.
4611 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
4612 all_java_class_files): Remove.
4613 (gtk_awt_peer_sources): Rename to...
4614 (gtk_awt_peer_source_files): ... this. Adjust throughout.
4617 (libgcj0_convenience_la_SOURCES): Remove Java source files.
4618 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
4619 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
4620 (libgcj_la_SOURCES): Remove.
4621 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
4622 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
4623 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4625 * configure: Regenerate.
4626 * Makefile.in: Regenerate.
4627 * external/Makefile.in: Regenerate.
4628 * external/sax/Makefile.in: Regenerate.
4629 * external/w3c_dom/Makefile.in: Regenerate.
4630 * gcj/Makefile.in: Regenerate.
4631 * include/Makefile.in: Regenerate.
4632 * libltdl/Makefile.in: Regenerate.
4633 * testsuite/Makefile.in: Regenerate.
4635 2005-05-16 Tom Tromey <tromey@redhat.com>
4637 * java/nio/charset/Charset.java (encode, decode): Synchronize on
4638 'this', not the class.
4640 2005-05-16 Tom Tromey <tromey@redhat.com>
4642 * gnu/java/net/protocol/http/Headers.java (parse): Include final
4645 2005-05-16 Tom Tromey <tromey@redhat.com>
4648 * java/net/URI.java (unquote): Handle lower-case letters as well.
4650 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
4653 * gnu/regexp/RE.java: Add support for quoting constructs.
4655 2005-05-15 Tom Tromey <tromey@redhat.com>
4657 * java/lang/String.java (startsWith): Fixed javadoc.
4659 2005-05-15 Tom Tromey <tromey@redhat.com>
4662 * testsuite/libjava.compile/pr21519.java: New file.
4663 * testsuite/libjava.compile/pr21519.no-link: New file.
4665 2005-05-15 Tom Tromey <tromey@redhat.com>
4667 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
4669 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
4672 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
4673 interrupt status flag if _Jv_CondWait is interrupted.
4675 2005-05-13 Tom Tromey <tromey@redhat.com>
4677 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
4680 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
4682 * include/jvm.h (gcj::verifyClasses): Declare.
4683 * link.cc (gcj::verbose_class_flag): Moved.
4684 * prims.cc (gcj::verifyClasses): Define here.
4685 (gcj::verbose_class_flag): Move definition here.
4686 (_Jv_Linker::wait_for_state): Don't call verify_class
4687 if gcj::verifyClasses is not set.
4688 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
4690 2005-05-12 Aaron Luchko <aluchko@redhat.com>
4692 * gij.cc (main): Recognize '-verify', '-noverify', and
4695 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
4697 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
4699 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4701 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
4704 2005-05-11 Tom Tromey <tromey@redhat.com>
4706 * external/w3c_dom/Makefile.in: Rebuilt.
4707 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
4708 -fbootstrap-classes.
4709 * external/sax/Makefile.in: Rebuilt.
4710 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
4711 -fbootstrap-classes.
4712 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
4714 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4715 Call _Jv_CopyClassesToSystemLoader.
4716 * java/lang/natClassLoader.cc (system_class_list): New global.
4717 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
4718 classes differently.
4719 (_Jv_CopyClassesToSystemLoader): New function.
4720 (SYSTEM_LOADER_INITIALIZED): New define.
4721 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
4722 (_Jv_CheckABIVersion): Use it.
4723 (_Jv_ClassForBootstrapLoader): New function.
4724 * Makefile.in: Rebuilt.
4725 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
4727 2005-05-10 Tom Tromey <tromey@redhat.com>
4729 * gcj/javaprims.h: Updated.
4730 * java/lang/String.java (String(StringBuilder)): New constructor.
4731 * java/lang/natStringBuilder.cc: New file.
4732 * java/lang/StringBuilder.java: New file.
4733 * Makefile.in: Rebuilt.
4734 * Makefile.am (core_java_source_files): Added StringBuilder.java.
4735 (nat_source_files): Added natStringBuilder.cc.
4737 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
4740 * testsuite/libjava.jacks/jacks.xfail: Adjust.
4742 2005-05-09 Mike Stump <mrs@apple.com>
4744 * configure: Regenerate.
4746 2005-05-09 David Daney <ddaney@avtrex.com>
4748 * java/util/BitSet.java (get(int, int)): Fix breakage when
4749 requested set doesn't start on a multiple of 64.
4751 2005-05-07 Matthias Klose <doko@debian.org>
4753 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
4755 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4757 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
4758 * Makefile.in: Regenerate.
4759 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
4760 (createCompatibleVolatileImage(int,int)): Implement.
4761 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
4763 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
4765 (createVolatileImage): Implement.
4766 (createBuffers): Likewise.
4767 (getBackBuffer): Likewise.
4769 (destroyBuffers): Likewise.
4770 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
4771 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
4772 (CanvasFlipBufferStrategy): Likewise.
4773 (createBufferStrategy(int)): New method.
4774 (createBufferStrategy(int,BufferCapabilities)): Likewise.
4775 * java/awt/Component.java (BltBufferStrategy): Implement and
4777 (FlipBufferStrategy): Likewise.
4778 * java/awt/Window.java (WindowBltBufferStrategy): New class.
4779 (WindowFlipBufferStrategy): Likewise.
4780 (createBufferStrategy(int)): New method.
4781 (createBufferStrategy(int,BufferCapabilities)): Likewise.
4782 (getBufferStrategy): Likewise.
4783 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
4784 front to frontCaps and back to backCaps.
4786 2005-05-06 Michael Koch <konqueror@gmx.de>
4788 * java/awt/BufferCapabilities.java
4789 (BufferCapabilities): Merged javadoc.
4791 2005-05-06 Michael Koch <konqueror@gmx.de>
4793 * java/util/Locale.java
4794 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
4795 (getLocale): New methods. Use it everywhere where instances of Locales
4797 (getDisplayLanguage): Merged javadoc.
4798 (getDisplayCountry): Likewise.
4799 (getDisplayVariant): Likewise.
4801 2005-05-06 Archie Cobbs <archie@dellroad.org>
4803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4804 use DeleteLocalRef() to avoid exhausting local native references.
4806 2005-05-06 Mark Wielaard <mark@klomp.org>
4808 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4809 (window_delete_cb): Don't use C++ style comments.
4811 2005-05-06 Robert Schuster <thebohemian@gmx.net>
4813 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
4816 2005-05-06 Robert Schuster <thebohemian@gmx.net>
4818 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4819 (window_delete_cb): Made the function return TRUE.
4821 2005-05-06 Roman Kennke <roman@kennke.org>
4823 * javax/swing/text/PlainView.java
4824 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
4826 * javax/swing/text/Utilities.java
4827 (drawTabbedText): Initilialize local variable pos correctly.
4829 2005-05-06 Roman Kennke <roman@kennke.org>
4831 * javax/swing/text/AbstractDocument.java
4832 (LeafElement): Made start and end package private fields for
4833 effective reindexing.
4834 * javax/swing/text/PlainDocument.java
4835 (constructor): The field rootElement is always BranchElement,
4836 so we handle it as such.
4837 (removeUpdate): Rewritten reindexing for removeUpdate so that
4838 the actual removal is taken into account.
4840 2005-05-06 Roman Kennke <roman@kennke.org>
4842 * javax/swing/text/GapContent.java:
4843 Removed debugging output stuff, which I accidentally left in.
4845 2005-05-06 Roman Kennke <roman@kennke.org>
4847 * javax/swing/text/GapContent.java:
4848 Implemented a real GapContent. Only the public methods have
4849 been implemented so far and still no UndoableEdit support.
4851 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
4853 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
4856 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4858 * java/awt/image/BufferStrategy.java: Document.
4860 * java/awt/BufferCapabilities.java: Document.
4862 2005-05-04 Tom Tromey <tromey@redhat.com>
4864 * java/nio/channels/FileLock.java (toString): Entirely avoid
4867 2005-05-04 Andrew Overholt <overholt@redhat.com>
4869 * java/nio/channels/FileLock.java (toString): Re-implement using
4872 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4874 * java/awt/ImageCapabilities.java: Document.
4876 * java/awt/image/VolatileImage.java: Unindent copyright header.
4878 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4880 * java/awt/image/VolatileImage.java: Document.
4882 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
4885 (init_glib_threads): Check if threading system is already
4888 2005-05-03 Andrew Overholt <overholt@redhat.com>
4891 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
4892 could not be acquired.
4893 * java/nio/channels/FileLock.java (toString): Re-implement to be
4894 in line with other implementations.
4896 2005-05-03 Tom Tromey <tromey@redhat.com>
4898 * java/lang/VMSecurityManager.java (currentClassLoader): Use
4899 'systemClasssLoader' directly.
4901 2005-05-03 Tom Tromey <tromey@redhat.com>
4903 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
4904 call VMClassLoader.getSystemClassLoader.
4906 2005-04-29 Michael Koch <konqueror@gmx.de>
4908 * java/net/NetworkInterface.java
4910 (NetworkInterface(String,InetAddress)): Made package-private.
4911 (NetworkInterface(String,InetAddress[])): New constructor.
4912 (getRealNetworkInterfaces): Removed.
4913 (getByName): Use VMNetworkInterface.getInterfaces().
4914 (getByInetAddress): Likewise.
4915 (getNetworkInterfaces): Likewise.
4916 * java/net/VMNetworkInterface.java,
4917 java/net/natVMNetworkInterfaceNoNet.cc,
4918 java/net/natVMNetworkInterfacePosix.c,c
4919 java/net/natVMNetworkInterfaceWin32.cc: New files.
4920 * java/net/natNetworkInterfaceNoNet.cc,
4921 java/net/natNetworkInterfacePosix.cc,
4922 java/net/natNetworkInterfaceWin32.cc: Removed.
4925 * configure, Makefile.in: Regenerated.
4927 2005-04-29 Andrew Haley <aph@redhat.com>
4929 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
4931 2005-04-29 Dalibor Topic <robilad@kaffe.org>
4933 * java/nio/channels/FileChannelImpl.java
4934 (FileChannelImpl(String, int)): Removed.
4935 (FileChannelImpl(File, int)): Added. Check if opened file is a
4937 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
4938 Call FileChannelImpl(File, int).
4939 * java/io/FileOutputStream.java (FileInputStream): Call
4940 FileChannelImpl(File, int).
4941 * java/io/RandomAccessFile.java (RandomAccessFile):
4942 Call FileChannelImpl(File, int). Switched constructors around.
4944 2005-04-27 Andrew Haley <aph@redhat.com>
4947 * prims.cc (_Jv_ResolvePoolEntry): New function.
4948 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
4949 * link.cc (_Jv_Linker::find_field): New arg: found_class.
4950 (resolve_pool_entry): Initialize the class in which a field is
4952 (link_symbol_table): Pass new arg to found_class.
4954 2005-04-29 Michael Koch <konqueror@gmx.de>
4956 * java/nio/charset/Charset.java
4957 (provider): Reformatted.
4959 2005-04-29 Michael Koch <konqueror@gmx.de>
4961 * gnu/java/net/protocol/http/HTTPConnection.java:
4962 (userAgent): Initialize from system properties.
4963 (initUserAgent): Removed.
4965 2005-04-29 Mark Wielaard <mark@klomp.org>
4967 * java/util/ResourceBundle.java (getObject): Clarify
4968 MissingResourceException detailed message.
4969 (tryBundle(String,ClassLoader)): Likewise.
4971 2005-04-29 Robert Schuster <thebohemian@gmx.net>
4973 * java/beans/FeatureDescriptor.java:
4974 (getShortDescription): Implemented fallback mechanism and fixed
4975 documentation (fixes bug #12637).
4976 (getDisplayName): Dito.
4978 2005-04-29 Robert Schuster <thebohemian@gmx.net>
4980 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
4981 will now be set correctly.
4982 (flushCaches): Now flushes all cached intermediate data.
4984 2005-04-28 Michael Koch <konqueror@gmx.de>
4986 * java/net/InetAddress.java
4987 (aton): Fixed javadoc.
4990 2005-04-28 Tom Tromey <tromey@redhat.com>
4992 * javax/swing/Timer.java
4993 (drainEvents, queueEvent): Now package-private.
4995 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
4997 * javax/swing/Timer.java
4998 (constructor): Assigning initialDelay.
5000 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
5002 * javax/swing/Timer.java
5003 (Waker.run): firing the first action event.
5005 2005-04-28 Michael Koch <konqueror@gmx.de>
5007 * javax/swing/Timer.java: Reordered all fields and methods,
5008 Added more javadocs.
5010 2005-04-28 Michael Koch <konqueror@gmx.de>
5012 * javax/swing/Timer.java: Javadocs merged
5015 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
5017 * gnu/java/net/protocol/file/Connection.java
5018 (StaticData): New inner class to contain statics.
5019 (connect, getHeaderField): Modified to use StaticData.
5021 2005-04-28 Michael Koch <konqueror@gmx.de>
5023 * gnu/java/net/protocol/file/Connection.java
5024 (lineSeparator): Initialize with SystemProperties.getProperty().
5026 2005-04-27 Chris Burdess <dog@gnu.org>
5028 * gnu/java/net/protocol/file/Connection.java: Return correct content
5029 length for directory listing.
5030 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
5031 #11285: return valid URLs for directories.i
5033 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5035 * Makefile.am (ordinary_java_source_files): Add
5036 gnu/java/net/protocol/https/Handler.java.
5037 * Makefile.in: Regenerate.
5038 * java/net/URL.java: Remove org.metastatic.jessie from default
5039 protocol search path.
5041 2005-04-27 Chris Burdess <dog@gnu.org>
5043 * gnu/java/net/protocol/https/Handler.java: New file.
5045 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
5047 * javax/imageio/spi/IIORegistry.java (IIORegistry):
5048 Don't assume that awt Toolkit is always ClasspathToolkit.
5050 2005-04-27 Chris Burdess <dog@gnu.org>
5052 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
5053 absolute and relative paths in Location header.
5055 2005-04-27 Chris Burdess <dog@gnu.org>
5057 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
5058 FileNotFoundException and implement getErrorStream on 404.
5060 2005-04-27 Sven de Marothy <sven@physto.se>
5062 * java/util/TimeZone.java,
5063 (getDefaultDisplayName): Fix previous fix.
5065 2005-04-27 Sven de Marothy <sven@physto.se>
5067 * java/util/TimeZone.java,
5068 (getDefaultDisplayName): Don't print zero offsets.
5070 2005-04-27 Roman Kennke <roman@kennke.org>
5072 * javax/swing/plaf/basic/BasicScrollBarUI
5073 (getThumbBounds): Do not make thumb smaller than
5075 * javax/swing/plaf/metal/MetalLookAndFeel
5076 (initComponentDefaults): Added color defaults for ScrollBar.
5077 * javax/swing/plaf/metal/MetalScrollBarUI
5078 (paintThumb): Added.
5079 (getMinimumThumbSize): Added.
5081 2005-04-27 Roman Kennke <roman@kennke.org>
5083 * javax/swing/plaf/metal/MetalLookAndFeel
5084 (initComponentDefaults): Added some default colors.
5086 2005-04-27 Roman Kennke <roman@kennke.org>
5088 * javax/swing/plaf/basic/BasicScrollBarUI.java
5089 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
5090 to 'ScrollBar.thumbShadow'. The formes does not exist.
5091 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
5093 2005-04-27 Roman Kennke <roman@kennke.org>
5095 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
5096 * javax/swing/BoxLayout.java: Likewise.
5097 * javax/swing/UIManager.java: Likewise.
5098 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
5099 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
5100 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5101 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5102 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
5103 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
5104 * javax/swing/text/Document.java: Likewise.
5105 * javax/swing/text/GapContent.java: Likewise.
5106 * javax/swing/text/SimpleAttributeSet.java: Likewise.
5107 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
5109 2005-04-27 Roman Kennke <roman@kennke.org>
5111 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
5112 (getPropertyPrefix): Added.
5114 2005-04-27 Roman Kennke <roman@kennke.org>
5116 * javax/swing/plaf/basic/BasicButtonUI.java
5117 (getPropertyPrefix): Added.
5118 (installDefaults): Use getPropertyPrefix instead of hard-coded
5121 2005-04-27 Roman Kennke <roman@kennke.org>
5123 * javax/swing/JToggleButton.java
5124 (JToggleButton): Removed horizontalAlignment setting, this
5125 was wrong. Added setting of an actionCommand, ToggleButtons
5126 have "" as default actionCommand.
5128 2005-04-27 Michael Koch <konqueror@gmx.de>
5130 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
5131 to work around CNI limitation.
5133 2005-04-27 Sven de Marothy <sven@physto.se>
5135 * java/nio/charset/Charset.java:
5136 (defaultCharset()): New method.
5137 Status updated to 1.5
5139 2005-04-27 Sven de Marothy <sven@physto.se>
5141 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
5143 2005-04-27 Sven de Marothy <sven@physto.se>
5145 * java/nio/charset/Charset.java: Reset cached de/encoders.
5147 2005-04-27 Robert Schuster <thebohemian@gmx.net>
5149 * java/nio/charset/Charset.java (forName): Throws
5150 IllegalArgumentException when argument is null
5151 and added documentation.
5153 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
5155 * java/nio/charset/Charset.java (providers):
5156 New method to make an array of CharsetProviders defined in
5157 META-INF/services/java.nio.charset.spi.CharsetProvider.
5158 (charsetForName, availableCharsets): Use the
5159 new method providers().
5161 2005-04-26 Michael Koch <konqueror@gmx.de>
5163 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
5164 Fixed typos in javadocs.
5165 (isSiteLocalAddress): Fixed handling of byte values.
5166 (isMCLinkLocal): Likewise.
5167 * java/net/Inet4Address.java
5168 (isMulticastAddress): Call super method.
5169 (isLoopbackAddress): Likewise.
5170 (isAnyLocalAddress): Likewise.
5171 (isLinkLocalAddress): Likewise.
5172 (isSiteLocalAddress): Likewise.
5173 (isMCGlobal): Likewise.
5174 (isMCNodeLocal): Likewise.
5175 (isMCLinkLocal): Likewise.
5176 (isMCSiteLocal): Likewise.
5177 (isMCOrgLocal): Likewise.
5178 (getHostAddress): Likewise.
5180 2005-04-26 Sven de Marothy <sven@physto.se>
5182 * java/net/InetAddress.java
5183 (toString): Don't print empty hostnames.
5185 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
5188 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
5189 'false' to native lock().
5190 (lock): Pass 'true' to native lock().
5192 2005-04-26 Michael Koch <konqueror@gmx.de>
5194 * java/net/InetAddress.java:
5195 Fixed typos in javadocs.
5197 2005-04-26 Andrew Haley <aph@redhat.com>
5200 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
5203 2005-04-26 Tom Tromey <tromey@redhat.com>
5205 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
5206 gnu): Now package-private.
5207 * javax/swing/text/html/parser/DocumentParser.java (parser,
5208 callBack, gnu): Now package-private.
5209 * javax/swing/text/StringContent.java (content, setOffset,
5210 checkLocation): Now package-private.
5211 * javax/swing/text/JTextComponent.java (doc): Now
5213 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
5214 lastGoodOrientation, origParent, borders, cachedBounds,
5215 cachedOrientation, DragWindow): Now package-private.
5216 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
5217 decrButton, viewport, panel, currentScrollLocation, layoutManager,
5218 tabAreaRect, contentRect, createIncreaseButton,
5219 createDecreaseButton, findPointForIndex): Now package-private.
5220 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5221 (currentDividerLocation, moveDividerTo): Now package-private.
5222 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
5224 * javax/swing/plaf/basic/BasicScrollBarUI.java
5225 (calculatePreferredSize, valueForYPosition, valueForXPosition):
5226 Now package-private.
5227 * javax/swing/plaf/basic/BasicPopupMenuUI.java
5228 (topWindowListener): Now package-private.
5229 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
5230 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
5231 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
5233 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
5235 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
5236 Now package-private.
5237 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
5239 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
5240 borderInsets): Now package-private.
5241 (arrowButtonWidth): Likewise. Now a constant.
5242 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
5243 makeTabs, updatePreviewPanel): Now package-private.
5244 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
5245 darkShadow, highlight): Now package-private.
5246 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5247 (addColorToQueue): Now package-private.
5248 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5249 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
5250 GSpinner, BSpinner): Now package-private.
5251 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
5252 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
5253 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
5254 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
5255 updateTrack): Now package-private.
5256 * javax/swing/TransferHandler.java (clipboard): Now
5258 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
5260 * javax/swing/Timer.java (drainEvents, queueEvent): Now
5262 * javax/swing/RepaintManager.java (globalManager): Now
5264 * javax/swing/JFormattedTextField.java (editValid): Now
5266 * javax/swing/JColorChooser.java (makeModal): Now
5268 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
5269 index, path): Now package-private.
5270 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
5271 lineQuadIntersect, lineCubicIntersect, linesIntersect,
5272 pointEquals): Now package-private.
5273 * java/awt/geom/Arc2D.java (type): Now package-private.
5274 * java/awt/Window.java (windowFocusOwner): Now package-private.
5275 * java/awt/TextComponent.java (editable, selectionStart,
5276 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
5278 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
5280 * java/awt/MenuComponent.java (focusListener): Now
5282 * java/awt/Frame.java (state): Now package-private.
5283 * java/awt/Choice.java (pItems): Now package-private.
5284 * java/awt/Checkbox.java (state): Now package-private.
5285 * java/awt/Button.java (actionCommand, label): Now
5287 * gnu/javax/swing/text/html/parser/support/Parser.java
5288 (attributes, _handleEndTag_remaining, _handleStartTag): Now
5290 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
5292 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
5293 clip, transform, font, comp): Now package-private.
5295 2005-04-26 Tom Tromey <tromey@redhat.com>
5297 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
5300 2005-04-26 Mark Wielaard <mark@klomp.org>
5302 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
5303 to MalformedURLException.
5305 2005-04-26 Michael Koch <konqueror@gmx.de>
5307 * java/security/AccessControlContext.java:
5309 (protectedDomains): Renamed from 'protectionDomain'.
5310 * java/security/AccessController.java:
5313 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
5315 * gnu/java/security/action/GetSecurityPropertyAction.java
5316 (GetSecurityPropertyAction): Implement PrivilegedAction instead
5317 of extending GetPropertyAction.
5320 (setParamters): New methods.
5321 (GetSecurityPropertyAction): Use new setParameters methods.
5323 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
5325 * java/security/Security.java,
5326 java/security/cert/X509CRLSelector.java,
5327 java/security/cert/X509CertSelector.java:
5328 Modified to use SystemProperties.
5330 2005-04-26 Michael Koch <konqueror@gmx.de>
5332 * java/lang/System.java
5333 (setSecurityManager): Fixed comment.
5334 (getSecurityManager): Removed obsolete comment.
5336 2005-04-25 Tom Tromey <tromey@redhat.com>
5338 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
5340 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5343 (connectSignals): Realize the window widget after connecting
5346 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
5348 * java/awt/GraphicsEnvironment.java
5349 (localGraphicsEnvironment): New field.
5350 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
5352 (isHeadless): Added support for java.awt.headless property.
5353 (isHeadlessInstance): Call headless().
5355 2005-04-25 Roman Kennke <roman@kennke.org>
5357 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
5358 (getDisplayMode): Added. Returns the current display mode.
5359 (isFullScreenSupported): Added.
5360 * java/awt/GraphicsDevice.java
5361 (setFullScreenWindow): Implemented a primitive fullscreen mode.
5362 This resizes and relocates the fullscreen window so that it uses
5363 the whole screen. This is not a fully accelerated fullscreen
5366 2005-04-25 Michael Koch <konqueror@gmx.de>
5368 * java/lang/Runtime.java,
5369 java/lang/SecurityManager.java,
5370 java/lang/System.java,
5371 java/lang/ThreadGroup.java:
5372 Replaced java.lang.Runtime.securityManager by
5373 java.lang.SecurityManager.current (as used in GNU classpath).
5375 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
5377 * java/awt/Transparency.java
5378 (getTransparency): fixed API docs.
5380 2005-04-25 Archie Cobbs <archie@dellroad.org>
5382 * java/lang/Throwable.java: simplify initializing cause in constructor
5384 2005-04-25 Michael Koch <konqueror@gmx.de>
5386 * gnu/classpath/SystemProperties.java: New file.
5387 * gnu/classpath/natSystemProperties.cc: New file.
5388 * java/lang/Runtime.java
5389 (defaultProperties): Removed.
5391 (): Made thrown exceptions more verbose.
5392 (insertSystemProperties): Removed.
5393 * java/lang/System.java
5395 (properties): Likewise.
5396 (setSecurityManager): Reordered modifiers.
5397 (getenv): Improved javadoc.
5399 (isWordsBigEndian): Removed.
5400 * java/lang/natRuntime.cc
5401 (_Jv_SetDLLSearchPath): Likewise.
5402 (file_encoding): Likewise.
5403 (default_file_encoding): Likewise.
5404 (getpwuid_adaptor): Likewise.
5405 (insertSystemProperties): Likewise.
5406 * java/lang/natSystem.cc
5407 (isWordsBigEndian): Likewise.
5409 (ordinary_java_source_files):
5410 Added gnu/classpath/SystemProperties.java.
5411 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
5412 * Makefile.in: Regenerated.
5414 2005-04-25 Roman Kennke <roman@kennke.org>
5416 * javax/swing/plaf/basic/BasicScrollBarUI.java
5417 (initDefaults): Initialize thumb*Color fields correctly.
5419 2005-04-25 Roman Kennke <roman@kennke.org>
5421 * javax/swing/text/GapContent.java:
5424 2005-04-25 Roman Kennke <roman@kennke.org>
5426 * javax/swing/plaf/metal/MetalBorders.java:
5427 Added inner class ScrollPaneBorder.
5428 * javax/swing/plaf/metal/MetalLookAndFeel.java
5429 (initComponentDefaults): Added default for "ScrollPane.border"
5430 to use the new ScrollPaneBorder.
5432 2005-04-25 Roman Kennke <roman@kennke.org>
5434 * javax/swing/text/AbstractDocument.java:
5435 Added FIXME comments. This class still has to be
5436 implemented thread-safe.
5438 2005-04-25 Roman Kennke <roman@kennke.org>
5440 * javax/swing/tree/DefaultTreeSelectionModel.java
5441 (DefaultTreeSelectionModel): Initialize listenerList here.
5443 2005-04-25 Roman Kennke <roman@kennke.org>
5445 * javax/swing/plaf/metal/MetalTextFieldUI.java
5446 (createUI): Return one instance per Component instead of a
5449 2005-04-25 Roman Kennke <roman@kennke.org>
5451 * javax/swing/text/Document.java:
5452 Added API documentation comments.
5454 2005-04-25 Roman Kennke <roman@kennke.org>
5456 * javax/swing/text/AbstractDocument.java
5457 (getDocumentProperties): Implemented.
5458 (setDocumentProperties): Implemented.
5459 (getProperty): Implemented.
5460 (putProperty): Implemented.
5462 2005-04-25 Roman Kennke <roman@kennke.org>
5464 * javax/swing/BoxLayout
5465 (preferredLayoutSize): Fixed computation so that it correctly
5466 adds the top and bottom insets of the container.
5468 2005-04-25 Roman Kennke <roman@kennke.org>
5470 * javax/swing/plaf/basic/BasicMenuItemUI.java
5471 (paintText): Make use of the 'selectionForeground' UI default
5474 2005-04-25 Roman Kennke <roman@kennke.org>
5476 * javax/swing/plaf/basic/BasicLookAndFeel.java
5477 (initSystemColorDefaults): Modified colors to match the
5478 BasicLookAndFeel in the reference implementation.
5479 (initComponentDefaults): Likewise.
5481 2005-04-25 Tom Tromey <tromey@redhat.com>
5483 * include/jni.h (_Jv_va_list): Removed.
5484 Moved configuration code...
5485 * include/jni_md.h: ... here. New file.
5486 * include/Makefile.in: Rebuilt.
5487 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
5489 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
5491 * java/io/FileInputStream.java (FileInputStream(File)),
5492 java/io/FileOutputStream.java (FileOutputStream(File)):
5493 Removed unnecessary File.isDirectory() check.
5495 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
5497 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
5498 gij if get_multilibs fails.
5500 2005-04-22 Anthony Green <green@redhat.com>
5502 * jni.cc (natrehash): Don't bother clearing memory again.
5503 * interpret.cc (do_allocate_static_fields): Ditto.
5504 * java/lang/natString.cc (rehash): Ditto.
5506 2005-04-22 Roman Kennke <roman@kennke.org>
5508 * javax/swing/plaf/basic/BasicLookAndFeel.java
5509 (initComponentDefaults): Changed Button.border to be
5510 BasicBorders.getButtonBorder as it should be.
5512 2005-04-22 Roman Kennke <roman@kennke.org>
5514 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5515 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
5516 should according to a mauve testcase, instead of the preferred
5519 2005-04-22 Roman Kennke <roman@kennke.org>
5521 * javax/swing/JMenu.java
5522 (add): add(Component) now calls PopupMenu.insert(..) instead of
5523 PopupMenu.add(..). add(..) is not implemented for Component,
5524 so JComponent.add(..) is called instead, adding the component
5527 2005-04-22 Roman Kennke <roman@kennke.org>
5529 * javax/swing/plaf/basic/BasicButtonListener.java
5530 (mousePressed): replaced query to getModifiersEx with getModifiers.
5531 This method relied on faulty behaviour in getModifierEx.
5532 (mouseReleased): replaced query to getModifiersEx with getModifiers.
5533 This method relied on faulty behaviour in getModifierEx.
5535 2005-04-22 Roman Kennke <roman@kennke.org>
5537 * javax/swing/plaf/metal/MetalLookAndFeel.java
5538 (getDefaults): Call addCustomEntriesToTable on the theme.
5540 2005-04-22 Roman Kennke <roman@kennke.org>
5542 * javax/swing/tree/DefaultTreeSelectionModel.java
5543 (constructor): Added implementation.
5544 (getRowMapper): Added implementation.
5545 (setSelectionMode): Added implementation.
5546 (getSelectionMode): Added implementation.
5547 (getSelectionPath): Added implementation.
5548 (getSelectionPaths): Added implementation.
5549 (getSelectionCount): Added implementation.
5550 (isSelectionEmpty): Added implementation.
5551 (getSelectionRows): Added implementation.
5552 (getMinSelectionRow): Added implementation.
5553 (getMaxSelectionRow): Added implementation.
5554 (getLeadSelectionRow): Added implementation.
5555 (getLeadSelectionPath): Added implementation.
5557 2005-04-22 Casey Marshall <csm@gnu.org>
5559 * gnu/java/security/der/DERValue.java
5560 (getValueAs): new method.
5561 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
5562 (<init>): read both dates with 'DERValue.getValueAs', with
5563 'GENERALIZED_TIME' as the argument.
5565 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
5567 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
5568 be null, check for that case and don't deference it.
5570 2005-04-22 Sven de Marothy <sven@physto.se>
5572 * java/util/logging/LogManager.java: Reformatted.
5573 (readConfiguration): If a logger for a key is not found, create one.
5575 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
5577 * java/rmi/Naming.java:
5578 Added class documentation.
5579 (lookup(String)): Call parseURL and getName.
5580 (bind(String,java.rmi.Remote)): Likewise.
5581 (unbind(String)): Likewise.
5582 (rebind(String, java.rmi.Remote)): Likewise.
5583 (list(String)): Call parseURL.
5584 (parseURL(String)): New method to handle parsing and defaults.
5585 (getName(java.net.URL)): New method to handle finding the service name.
5587 2005-04-21 Tom Tromey <tromey@redhat.com>
5589 * java/lang/natClass.cc (initializeClass): Link class.
5591 2005-04-21 Tom Tromey <tromey@redhat.com>
5593 * java/lang/AssertionError.java: Typo fix.
5595 2005-04-21 Tom Tromey <tromey@redhat.com>
5597 * java/lang/VMClassLoader.java (transformException): Removed.
5598 (resolveClass): No longer native. Now does nothing.
5599 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
5601 2005-04-21 Anthony Green <green@redhat.com>
5604 * testsuite/libjava.special/special.exp,
5605 testsuite/libjava.special/pr21115I.java,
5606 testsuite/libjava.special/pr21115.java,
5607 testsuite/libjava.special/pr21115.out: New files.
5609 2005-04-21 Chris Burdess <dog@gnu.org>
5611 * gnu/java/net/CRLFInputStream.java: Rewrite to return
5612 CRLF-delimited chunks.
5614 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5616 * java/net/URI.java:
5617 Added class documentation.
5618 (parseURI(String)): Only handle scheme-specific parts
5619 if URI is not opaque. Allow for parts that can't be null.
5620 (toString()): Output the scheme-specific part whole, rather
5621 than as its possibly non-existent components.
5623 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5625 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
5626 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
5627 Adjusted to match new regexp.
5629 2005-04-20 Michael Koch <konqueror@gmx.de>
5631 * gnu/java/net/protocol/file/Connection.java,
5632 gnu/java/net/protocol/jar/Connection.java:
5633 Reorganized import statements. Fixed @author tags.
5635 2005-04-20 Chris Burdess <dog@gnu.org>
5637 * java/io/DataOutputStream.java (writeUTF): Use block write for
5640 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5642 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
5643 (readLine): Changed newline handling.
5645 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5647 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
5648 ColorModel,byte[],int,int): Fixed byte to int conversion.
5650 2005-04-20 Michael Koch <konqueror@gmx.de>
5652 * java/io/FilePermission.java
5653 (serialVersionUID): Made private.
5654 (ALL_FILES): New constant.
5655 (implies): Handle '<<ALL FILES>>' case.
5657 2005-04-20 Sven de Marothy <sven@physto.se>
5659 * gnu/java/awt/peer/gtk/GdkGraphics.java:
5660 (drawImage): Don't notify the image observer for offscreen images.
5661 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
5662 (setPixels): Don't notify the image observer.
5664 2005-04-20 Sven de Marothy <sven@physto.se>
5666 * java/nio/ByteBufferImpl.java:
5667 (putChar): Inlined for speed.
5668 (put, get): Bulk methods can use arraycopy.
5669 * java/nio/CharBufferImpl.java:
5670 (put, get): Bulk methods can use arraycopy.
5672 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5674 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
5676 * java/nio/CharBufferImpl.java
5677 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
5678 (get(), put(char)): Inlined checks and field updates. Fixed to
5679 take array_offset into account.
5680 (get(int), put(int, char)): Fixed to take array_offset into account.
5682 2005-04-20 Sven de Marothy <sven@physto.se>
5684 * java/text/SimpleDateFormat.java:
5685 (formatWithAttribute): Pad year before truncating digits.
5687 2005-04-20 Michael Koch <konqueror@gmx.de>
5689 * gnu/java/net/PlainDatagramSocketImpl.java:
5690 Merged copyright header.
5691 * gnu/java/net/PlainSocketImpl.java:
5692 Reorganized import statements. Fixed @author tags.
5694 2005-04-20 Michael Koch <konqueror@gmx.de>
5696 * gnu/java/lang/ClassHelper.java,
5697 gnu/java/lang/reflect/TypeSignature.java:
5700 2005-04-20 Michael Koch <konqueror@gmx.de>
5702 * gnu/java/beans/IntrospectionIncubator.java:
5703 Fixed HTML tags in javadocs.
5705 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5707 * gnu/java/beans/IntrospectionIncubator.java
5708 (addToPropertyHash, addToListenerHash): Don't confuse get(),
5709 set(), is(), add() and remove() with properties or events.
5711 2005-04-20 Michael Koch <konqueror@gmx.de>
5713 * gnu/java/awt/image/XBMDecoder.java:
5714 Fixed modifier order.
5716 2005-04-20 Roman Kennke <roman@kennke.org>
5718 * javax/swing/plaf/basic/BasicButtonUI.java
5719 (paint): This should not care about margin and insets
5720 at the same time, as insets already include the margin
5722 * javax/swing/plaf/basic/BasicGraphicsUtils.java
5723 (getPreferredButtonSize): Likewise.
5724 * javax/swing/plaf/metal/MetalBorders.java
5725 (getBorderInsets): Likewise.
5727 2005-04-20 Roman Kennke <roman@kennke.org>
5729 * javax/swing/plaf/basic/BasicOptionPaneUI.java
5730 (createMessageArea): The JPanel that holds the message area
5731 doesn't need to override getPreferredSize. This prevents some
5732 message components from rendering nicely.
5734 2005-04-20 Roman Kennke <roman@kennke.org>
5736 * javax/swing/plaf/metal/MetalInternalFrameUI.java
5737 (createUI): Do not share instances between components.
5738 * javax/swing/plaf/metal/MetalSliderUI.java
5739 (createUI): Do not share instances between components.
5741 2005-04-20 Roman Kennke <roman@kennke.org>
5743 * javax/swing/plaf/metal/MetalBorders:
5744 (PopupMenuBorder): Added.
5745 * javax/swing/plaf/metal/MetalLookAndFeel
5746 (initComponentDefaults): Added PopupMenuBorder.
5748 2005-04-20 Roman Kennke <roman@kennke.org>
5750 * javax/swing/tree/DefaultTreeSelectionModel.java:
5751 Added API documentation all over the class.
5753 2005-04-20 Roman Kennke <roman@kennke.org>
5755 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5756 (installDefaults): Link managed JScrollPane in instance field.
5757 (uninstallDefaults): Unlink managed JScrollPane in instance field.
5759 2005-04-20 Roman Kennke <roman@kennke.org>
5761 * javax/swing/plaf/basic/BasicScrollBarUI.java
5762 (PropertyChangeHandler.propertyChange): Add default
5763 to switch statement to avoid errors with unusual values
5765 (installComponents): Likewise.
5767 2005-04-20 Roman Kennke <roman@kennke.org>
5769 * javax/swing/plaf/metal/MetalScrollBarUI.java:
5770 (createUI): Instances cannot be shared among JScrollPanes.
5772 2005-04-20 Roman Kennke <roman@kennke.org>
5774 * javax/swing/plaf/metal/MetalLookAndFeel.java
5775 (initComponentDefaults): Added defaults for Menu, MenuBar
5778 2005-04-20 Roman Kennke <roman@kennke.org>
5780 * javax/swing/plaf/basic/BasicScrollBarUI.java
5781 (installUI): Install listeners after everything all, otherwise
5782 we get strange NPEs in some situations, especially with
5784 (createIncreaseButton): Orientation is expected to be
5785 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5786 HORIZONTAL or VERTICAL.
5787 (createDecreaseButton): Orientation is expected to be
5788 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5789 HORIZONTAL or VERTICAL.
5790 (installComponents): Orientation for buttons is expected to be
5791 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5792 HORIZONTAL or VERTICAL.
5794 2005-04-20 Roman Kennke <roman@kennke.org>
5796 * javax/swing/JToolBar.java
5797 (addImpl): Adjust added AbstractButtons to look and feel like
5799 * javax/swing/plaf/metal/MetalBorders.java:
5800 Adjusted insets of ButtonBorder.
5801 (RolloverMarginBorder): Added class for toolbar buttons.
5802 (getButtonBorder): Adjusted factory method to return a shared
5803 instance of button border.
5804 (getToolbarButtonBorder): Added factory method to return a shared
5805 instance of toolbar button border.
5806 (getMarginBorder): Added factory method to return a shared
5807 instance of margin border.
5808 * javax/swing/plaf/metal/MetalButtonUI.java
5809 (installDefauls): If button is child of a JToolBar then set
5810 special border on this button.
5812 2005-04-20 Michael Koch <konqueror@gmx.de>
5814 * java/net/URLConnection.java
5815 (getContent): Fixed javadoc comment.
5817 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5819 * java/net/URL.java:
5820 (toURI()): Implemented.
5822 2005-04-19 Michael Koch <konqueror@gmx.de>
5824 * java/net/InetAddress.java
5825 (InetAddress): Fixed javadoc comment.
5827 (lookup): Added javadoc.
5828 (getFamily): Likewise.
5829 * java/net/ServerSocket.java
5830 (getChannel): Improved javadoc comment.
5832 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5834 * gnu/xml/dom/html2/DomHTMLParser.java:
5835 Changed 'enum' references to become 'enumeration'.
5837 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5839 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
5841 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5843 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
5844 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
5845 * gnu/javax/swing/text/html/parser/htmlValidator.java:
5846 (validateParameters(TagElement,htmlAttributeSet)):
5847 Replaced 'enum' with 'enumeration'.
5848 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
5851 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5853 * javax/swing/text/html/parser/Entity.java (getType): New method.
5854 * javax/swing/text/html/parser/DocumentParser.java:
5855 Inherit from javax.swing.text.html.parser.Parser.
5857 2005-04-19 Chris Burdess <dog@gnu.org>
5859 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
5860 check for HTML/XHTML namespace.
5862 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5864 * javax/swing/text/html/parser/Parser.java,
5865 javax/swing/text/html/parser/Entity.java:
5866 Inheriting from DTDConstants.
5867 * javax/swing/text/html/parser/AttributeList.java
5868 (getValues): Changed return type.
5869 * javax/swing/text/html/parser/DocumentParser
5870 (parse): Adding the callback parameter that receives
5873 2005-04-19 Chris Burdess <dog@gnu.org>
5875 * gnu/xml/dom/DomImpl.java,
5876 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
5877 gnu/xml/dom/html2/DomHTMLDocument.java,
5878 gnu/xml/dom/html2/DomHTMLElement.java,
5879 gnu/xml/dom/html2/DomHTMLFormElement.java,
5880 gnu/xml/dom/html2/DomHTMLFrameElement.java,
5881 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5882 gnu/xml/dom/html2/DomHTMLImpl.java,
5883 gnu/xml/dom/html2/DomHTMLInputElement.java,
5884 gnu/xml/dom/html2/DomHTMLObjectElement.java,
5885 gnu/xml/dom/html2/DomHTMLOptionElement.java,
5886 gnu/xml/dom/html2/DomHTMLSelectElement.java,
5887 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5888 gnu/xml/dom/html2/DomHTMLTableElement.java,
5889 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5890 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5891 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
5892 UI events, and tree utility functions.
5894 2005-04-19 Michael Koch <konqueror@gmx.de>
5896 * gnu/javax/swing/text/html/parser/HTML_401F.java,
5897 gnu/javax/swing/text/html/parser/gnuDTD.java,
5898 gnu/javax/swing/text/html/parser/models/node.java:
5899 Reworked import statements.
5901 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
5903 * javax/swing/text/html/HTMLDocument.java: New file.
5905 2005-04-19 Michael Koch <konqueror@gmx.de>
5907 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
5909 * javax/swing/text/html/parser/AttributeList.java:
5910 Fixed order of modifiers.
5911 (AttributeList): Made final.
5912 * javax/swing/text/html/parser/ContentModel.java:
5913 Fixed html characters in javadocs.
5914 * javax/swing/text/html/parser/DTD.java
5915 (DTD): Don't implement java.io.Serializable directly.
5916 (getElement): Simplified.
5917 * javax/swing/text/html/parser/DTDConstants.java:
5919 * javax/swing/text/html/parser/Element.java:
5920 Fixed order of modifiers.
5921 * javax/swing/text/html/parser/Parser.java:
5922 Reformatted. Don't use fully-qualified class names.
5923 * javax/swing/text/html/parser/ParserDelegator.java:
5924 Fixed order of modifiers.
5925 * javax/swing/text/rtf/RTFParser.java:
5926 Re-ordered import statements.
5927 * javax/swing/text/rtf/RTFScanner.java:
5928 Removed unused import statement.
5930 2005-04-19 Chris Burdess <dog@gnu.org>
5932 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
5933 gnu/xml/dom/html2/DomHTMLCollection.java,
5934 gnu/xml/dom/html2/DomHTMLDocument.java,
5935 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
5937 * gnu/xml/dom/html2/DomHTMLDListElement.java,
5938 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
5939 gnu/xml/dom/html2/DomHTMLDivElement.java,
5940 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
5941 gnu/xml/dom/html2/DomHTMLFontElement.java,
5942 gnu/xml/dom/html2/DomHTMLFormElement.java,
5943 gnu/xml/dom/html2/DomHTMLFrameElement.java,
5944 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
5945 gnu/xml/dom/html2/DomHTMLHRElement.java,
5946 gnu/xml/dom/html2/DomHTMLHeadElement.java,
5947 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
5948 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
5949 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5950 gnu/xml/dom/html2/DomHTMLImageElement.java,
5951 gnu/xml/dom/html2/DomHTMLInputElement.java,
5952 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
5953 gnu/xml/dom/html2/DomHTMLLIElement.java,
5954 gnu/xml/dom/html2/DomHTMLLabelElement.java,
5955 gnu/xml/dom/html2/DomHTMLLegendElement.java,
5956 gnu/xml/dom/html2/DomHTMLLinkElement.java,
5957 gnu/xml/dom/html2/DomHTMLMapElement.java,
5958 gnu/xml/dom/html2/DomHTMLMenuElement.java,
5959 gnu/xml/dom/html2/DomHTMLMetaElement.java,
5960 gnu/xml/dom/html2/DomHTMLModElement.java,
5961 gnu/xml/dom/html2/DomHTMLOListElement.java,
5962 gnu/xml/dom/html2/DomHTMLObjectElement.java,
5963 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
5964 gnu/xml/dom/html2/DomHTMLOptionElement.java,
5965 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
5966 gnu/xml/dom/html2/DomHTMLParamElement.java,
5967 gnu/xml/dom/html2/DomHTMLPreElement.java,
5968 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
5969 gnu/xml/dom/html2/DomHTMLScriptElement.java,
5970 gnu/xml/dom/html2/DomHTMLSelectElement.java,
5971 gnu/xml/dom/html2/DomHTMLStyleElement.java,
5972 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
5973 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5974 gnu/xml/dom/html2/DomHTMLTableColElement.java,
5975 gnu/xml/dom/html2/DomHTMLTableElement.java,
5976 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5977 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5978 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
5979 gnu/xml/dom/html2/DomHTMLTitleElement.java,
5980 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
5982 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5984 * javax/swing/text/ChangedCharSetException.java,
5985 javax/swing/text/html/HTMLEditorKit.java,
5986 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
5987 javax/swing/text/html/parser/AttributeList.java,
5988 javax/swing/text/html/parser/ContentModel.java,
5989 javax/swing/text/html/parser/DocumentParser.java,
5990 javax/swing/text/html/parser/DTD.java,
5991 javax/swing/text/html/parser/DTDConstants.java,
5992 javax/swing/text/html/parser/Element.java,
5993 javax/swing/text/html/parser/Entity.java,
5994 javax/swing/text/html/parser/Parser.java,
5995 javax/swing/text/html/parser/TagElement.java,
5996 gnu/javax/swing/text/html/package.html,
5997 gnu/javax/swing/text/html/parser/gnuDTD.java,
5998 gnu/javax/swing/text/html/parser/HTML_401F.java,
5999 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
6000 gnu/javax/swing/text/html/parser/htmlValidator.java,
6001 gnu/javax/swing/text/html/parser/package.html,
6002 gnu/javax/swing/text/html/parser/models/list.java,
6003 gnu/javax/swing/text/html/parser/models/node.java,
6004 gnu/javax/swing/text/html/parser/models/noTagModel.java,
6005 gnu/javax/swing/text/html/parser/models/package.html,
6006 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
6007 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
6008 gnu/javax/swing/text/html/parser/models/transformer.java,
6009 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
6010 gnu/javax/swing/text/html/parser/support/package.html,
6011 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
6012 gnu/javax/swing/text/html/parser/support/Parser.java,
6013 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
6014 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
6015 gnu/javax/swing/text/html/parser/support/low/Constants.java,
6016 gnu/javax/swing/text/html/parser/support/low/Location.java,
6017 gnu/javax/swing/text/html/parser/support/low/node.java,
6018 gnu/javax/swing/text/html/parser/support/low/package.html,
6019 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
6020 gnu/javax/swing/text/html/parser/support/low/pattern.java,
6021 gnu/javax/swing/text/html/parser/support/low/Queue.java,
6022 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
6024 * javax/swing/text/html/HTML.java,
6025 javax/swing/text/html/parser/ParserDelegator.java:
6026 New files (replacing).
6027 * javax/swing/text/html/package.html,
6028 javax/swing/text/html/parser/package.html: Documenting the
6031 2005-04-19 Chris Burdess <dog@gnu.org>
6033 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
6034 gnu/xml/dom/html2/DomHTMLAppletElement.java,
6035 gnu/xml/dom/html2/DomHTMLAreaElement.java,
6036 gnu/xml/dom/html2/DomHTMLBaseElement.java,
6037 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
6038 gnu/xml/dom/html2/DomHTMLBodyElement.java,
6039 gnu/xml/dom/html2/DomHTMLBRElement.java,
6040 gnu/xml/dom/html2/DomHTMLButtonElement.java,
6041 gnu/xml/dom/html2/DomHTMLCollection.java,
6042 gnu/xml/dom/html2/DomHTMLDocument.java,
6043 gnu/xml/dom/html2/DomHTMLElement.java: New files.
6045 2005-04-19 Michael Koch <konqueror@gmx.de>
6047 * Makefile.am: Added new files.
6048 * Makefile.in: Regenerated.
6050 2005-04-19 Roman Kennke <roman@kennke.org>
6052 * javax/swing/text/JTextComponent.java
6053 (JTextComponent): Added repaintListener which issues repaint
6054 requests when the underlying document changes.
6055 (setDocument): Adds repaintListener to document when the
6056 document is changed.
6057 * javax/swing/text/DefaultEditorKit.java:
6058 Removed repaint calls on JTextComponent. This is now handled
6059 through a DocumentListener in JTextComponent that repaints
6060 the component when needed.
6062 2005-04-19 Roman Kennke <roman@kennke.org>
6065 * javax/swing/text/StyleContext.java
6066 (NamedStyle.setResolveParent): Added null
6069 2005-04-19 Michael Koch <konqueror@gmx.de>
6071 * java/rmi/server/RemoteObject.java:
6072 Removed unused import statement.
6074 2005-04-19 Michael Koch <konqueror@gmx.de>
6076 * java/net/URL.java: Formatting cleanups.
6078 2005-04-19 Michael Koch <konqueror@gmx.de>
6080 * java/awt/FontMetrics.java: Reformatted.
6081 (getFontRenderContext): Handle case when java.awt.Graphics context is
6084 2005-04-19 Michael Koch <konqueror@gmx.de>
6086 * java/awt/FontMetrics.java
6087 (getStringBounds): New methods.
6090 2005-04-19 Michael Koch <konqueror@gmx.de>
6092 * gnu/java/security/x509/X509Certificate.java
6093 (parse): Handle val == null case.
6095 2005-04-19 Roman Kennke <roman@kennke.org>
6097 * javax/swing/plaf/metal/MetalLookAndFeel.java
6098 (initComponentDefaults): Added defaults for Menu, MenuBar
6101 2005-04-19 Roman Kennke <roman@kennke.org>
6103 * javax/swing/plaf/metal/MetalLookAndFeel.java
6104 (initComponentDefaults): Added Label.font.
6105 (initSystemColorDefaults): Added this method and adjusted the
6106 general control color.
6108 2005-04-19 Roman Kennke <roman@kennke.org>
6110 * javax/swing/plaf/metal/MetalBorders.java:
6112 * javax/swing/plaf/metal/MetalButtonUI.java:
6113 (installDefaults): Install button font.
6114 * javax/swing/plaf/metal/MetalLookAndFeel.java:
6115 (initComponentDefaults): Added button border, font and margin.
6116 Changed components background color to the Metal current themes
6119 2005-04-19 Roman Kennke <roman@kennke.org>
6121 * javax/swing/plaf/metal/MetalLookAndFeel.java
6122 (initComponentDefaults): Added to set Metal specific component
6125 2005-04-19 Mark Wielaard <mark@klomp.org>
6127 * javax/swing/plaf/metal/MetalLookAndFeel.java
6128 (initClassDefaults): Call super.initClassDefaults().
6130 2005-04-19 Roman Kennke <roman@kennke.org>
6132 * javax/swing/plaf/metal/MetalLookAndFeel.java
6133 (initClassDefaults): Added to include the *UI classes.
6135 2005-04-19 Roman Kennke <roman@kennke.org>
6137 * javax/swing/plaf/metal/MetalComboBoxUI.java:
6139 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
6141 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
6143 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
6145 * javax/swing/plaf/metal/MetalProgressBarUI.java:
6147 * javax/swing/plaf/metal/MetalRootPaneUI.java:
6149 * javax/swing/plaf/metal/MetalScrollBarUI.java:
6151 * javax/swing/plaf/metal/MetalSeparatorUI.java:
6153 * javax/swing/plaf/metal/MetalSliderUI.java:
6155 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
6157 * javax/swing/plaf/metal/MetalTextFieldUI.java:
6159 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
6161 2005-04-19 Roman Kennke <roman@kennke.org>
6163 * javax/swing/plaf/metal/MetalButtonUI.java:
6164 Added skeleton class.
6165 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
6166 Added skeleton class.
6167 * javax/swing/plaf/metal/MetalLabelUI.java:
6168 Added skeleton class.
6169 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
6170 Added skeleton class.
6171 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
6172 Added skeleton class.
6173 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
6174 Added skeleton class.
6176 2005-04-19 Roman Kennke <roman@kennke.org>
6178 * javax/swing/UIDefaults.java:
6179 Added API documentation for all methods.
6181 2005-04-19 Roman Kennke <roman@kennke.org>
6183 * javax/swing/UIDefaults.java
6184 (put): Now uses new checkAndPut method instead of checking
6186 (putDefaults): Fixed so that it accepts null-values and
6187 treats them like remove(key).
6188 (checkAndPut): Added. This checks for null-values and calls
6191 2005-04-19 Michael Koch <konqueror@gmx.de>
6193 * Makefile.am: Added new files.
6194 * Makefile.in: Regenerated.
6196 2005-04-19 Mark Wielaard <mark@klomp.org>
6198 * java/lang/natRuntime.cc (insertSystemProperties): Set
6199 java.class.path to CLASSPATH only when not empty. Fall back to
6200 default path "." when java.class.path is empty.
6202 2005-04-19 Michael Koch <konqueror@gmx.de>
6204 * javax/swing/text/rtf/ControlWordToken.java,
6205 javax/swing/text/rtf/RTFEditorKit.java,
6206 javax/swing/text/rtf/RTFParseException.java,
6207 javax/swing/text/rtf/RTFParser.java,
6208 javax/swing/text/rtf/RTFScanner.java,
6209 javax/swing/text/rtf/TextToken.java,
6210 javax/swing/text/rtf/Token.java: New files.
6211 * Makefile.am: Added new files.
6212 * Makefile.in: Regenerated.
6214 2005-04-19 Michael Koch <konqueror@gmx.de>
6216 * java/awt/geom/QuadCurve2D.java:
6217 Fixed Brian Gough's name for real.
6219 2005-04-19 Roman Kennke <roman@kennke.org>
6221 * javax/swing/UIManager.java:
6222 Make the UIManager respect the swing.defaultlaf system
6225 2005-04-19 Tom Tromey <tromey@redhat.com>
6227 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
6230 2005-04-19 Roman Kennke <roman@kennke.org>
6232 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6233 Fixed tabs to spaces.
6235 2005-04-19 Roman Kennke <roman@kennke.org>
6237 * javax/swing/plaf/basic/BasicMenuUI.java
6238 (getMaximumSize): Now returns preferredSize because JMenu should
6239 never be bigger than that.
6240 * javax/swing/JRootPane
6241 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
6243 2005-04-19 Roman Kennke <roman@kennke.org>
6245 * javax/swing/JRootPane.java:
6246 Fixed various tabs to be spaces.
6247 (RootLayout.layoutContainer): Made menubar left aligned.
6249 2005-04-19 Roman Kennke <roman@ontographics.com>
6251 * javax/swing/JList.java
6252 (getPreferredScrollableViewportSize):
6253 The previous implementation was merely guessing the size,
6254 now it respects layoutOrientation, visibleRowCount
6256 (getScrollableTracksViewportHeight):
6257 Reimplemented so that layoutOrientation, visibleRowCount
6258 and preferred size are respected.
6259 (getScrollableTracksViewportWidth):
6260 Reimplemented so that layoutOrientation, visibleRowCount
6261 and preferred size are respected.
6262 * javax/swing/plaf/basic/BasicListUI.java
6264 Improved calculation of preferredSize when JList is
6265 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
6267 The previous implementation assumed a layoutOrientation of
6268 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
6269 JList.VERTICAL_WRAP.
6271 2005-04-19 Roman Kennke <roman@ontographics.com>
6273 * javax/swing/plaf/basic/BasicListUI.java
6274 (paintCell): use CellRendererPane for painting the cells.
6276 2005-04-19 Roman Kennke <roman@ontographics.com>
6278 * javax/swing/plaf/basic/BasicListUI:
6279 fixed modifiers of several fields, methods and inner
6280 classes to match the 'spec'.
6281 (getMaximumSize): removed. It's not in the spec and the
6282 implementations was superfluous.
6284 2005-04-19 Roman Kennke <roman@ontographics.com>
6286 * javax/swing/plaf/basic/BasicListUI:
6287 make BasicListUI capable of wrapping lists
6288 (layoutOrientation property of javax.swing.JList)
6290 2005-04-19 Roman Kennke <roman@ontographics.com>
6292 * javax/swing/plaf/basic/BasicListUI
6293 (updateLayoutState,paint): make BasicListUI aware of the
6294 width of the rendered JList.
6296 2005-04-19 Roman Kennke <roman@kennke.org>
6298 * javax/swing/ImageIcon.java
6299 Added API documentation.
6301 2005-04-19 Roman Kennke <roman@kennke.org>
6303 * javax/swing/text/ImageIcon.java
6304 (ImageIcon): Use setImage instead of direct assignment.
6305 (setImage): Call loadImage to make sure that the image is loaded.
6306 (loadImage): Waits for the image to complete loading.
6307 (getImageLoadStatus): Added. Returns the load status of the
6310 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
6312 * javax/swing/JTextArea.java (replaceRange):
6313 Fixing doc.remove(start, length) misinterpretation.
6315 2005-04-19 Roman Kennke <roman@ontographics.com>
6317 * javax/swing/CellRendererPane.java:
6318 implemented all methods of this class.
6319 reformatted all wrong formatted code.
6321 2005-04-19 Roman Kennke <roman@kennke.org>
6323 * javax/swing/BoxLayout.java:
6324 (layoutContainer): Made this layout manager respect the
6325 minimum, maximum and preferred size more correctly.
6327 2005-04-19 Roman Kennke <roman@ontographics.com>
6329 * javax/swing/BoxLayout.java:
6330 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
6331 layoutContainer): Make these methods and thereby the
6332 BoxLayout respect the insets (like borders) of the
6333 component that is laid out.
6335 2005-04-19 Roman Kennke <roman@kennke.org>
6337 * javax/swing/JComponent.java:
6338 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
6339 Untabified the file.
6341 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
6343 * javax/swing/JComboBox.java (constructors): selecting the
6344 first item if the box was constructed from the provided
6345 non - empty array or vector.
6347 2005-04-19 Michael Koch <konqueror@gmx.de>
6349 * gnu/java/awt/peer/gtk/GdkGraphics.java
6350 (getClipBounds): Handle clip being null.
6351 (setClip): Likewise.
6352 * java/beans/beancontext/BeanContextSupport.java
6356 (removeAll): Likewise.
6357 (retainAll): Likewise.
6359 2005-04-19 Michael Koch <konqueror@gmx.de>
6361 * java/beans/beancontext/BeanContextServicesSupport.java
6362 (BeanContextServicesSupport): Reimplemented.
6363 (addBeanContextServicesListener): Implemented.
6364 (initialize): Likewise.
6365 (removeBeanContextServicesListener): Likewise.
6366 * java/beans/beancontext/BeanContextSupport.java
6368 (addBeanContextMembershipListener): Likewise.
6369 (getLocale): Likewise.
6370 (initialize): Likewise.
6371 (iterator): Likewise.
6373 (toArray): Likewise.
6375 2005-04-19 Roman Kennke <roman@kennke.org>
6377 * java/awt/MediaTracker.java:
6378 Reindented tabs to spaces.
6380 2005-04-19 Roman Kennke <roman@kennke.org>
6382 * java/awt/MediaTracker.java
6383 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
6384 confused the media tracker and lead to lockups. The LOADING
6385 bit is handled on other places.
6386 (addImage): Removed the 'start image tracking' stuff. This
6387 is not necessary and could confuse the media tracker.
6388 (checkAll): Improved the check for image status so that
6389 images that already complete images are detected. Also now
6390 are really all images checked and if necessary loaded. Before
6391 the method bailed out after the first incomplete image.
6392 (statusAll): Detect images that are complete after the
6393 call to Component.prepareImage(..).
6394 (checkID): The same as in checkAll.
6395 (statusID): The same as in statusAll.
6397 2005-04-19 Roman Kennke <roman@kennke.org>
6399 * java/awt/MediaTracker.java
6400 (addImage): Synchronized list access.
6401 (waitForAll): Fixed comparison of time (changed < to >).
6402 (waitForID): Fixed comparison of time (changed < to >).
6403 (removeImage): Synchronized list access.
6405 2005-04-19 Roman Kennke <roman@kennke.org>
6407 * java/awt/MediaTracker.java
6408 Added API documentation.
6410 2005-04-19 Roman Kennke <roman@kennke.org>
6412 * java/awt/MediaTracker.java
6413 (MediaEntry.imageUpdate): Fixed flags. The different flags
6414 must not be ORed together.
6415 (checkAll): Modified to handle different meaning of the flags.
6416 (waitForAll): Fixed so that it waits maximum the
6417 specified amount of milliseconds.
6418 (statusAll): Modified to handle different meaning of the flags.
6419 (waitForID): Fixed so that it waits maximum the
6420 specified amount of milliseconds.
6422 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
6424 * java/awt/Font.java (decode): Handle null argument and allow
6427 2005-04-19 Robert Schuster <thebohemian@gmx.net>
6429 * java/beans/EventHandler.java: Reworked documentation.
6430 (invoke): Fixed behavior to match spec.
6432 2005-04-19 Michael Koch <konqueror@gmx.de>
6434 * java/awt/print/PrinterJob.java
6435 (pageDialog): New method.
6436 (printDialog): Implemented.
6438 2005-04-19 Michael Koch <konqueror@gmx.de>
6440 * java/awt/image/ConvolveOp.java:
6441 Removed comment added by eclipse.
6443 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
6445 * java/awt/image/IndexColorModel.java
6446 (getRGB): Check if pixel is negative.
6448 2005-04-19 Michael Koch <konqueror@gmx.de>
6450 * java/awt/image/RasterOp.java:
6451 Fixed wrong formatting.
6453 2005-04-18 Roman Kennke <roman@kennke.org>
6455 * java/awt/Compmonent.java
6456 (setComponentOrientation): Made this property firing a
6457 PropertyChangeEvent.
6459 2005-04-18 Roman Kennke <roman@kennke.org>
6461 * java/awt/BorderLayout.java
6462 (calcSize): Check for overflow when component sizes are added.
6464 2005-04-18 Robert Schuster <thebohemian@gmx.net>
6466 * java/awt/AWTEvent.java (toString): Added case
6467 for source not being an AWT component.
6469 2005-04-18 Chris Burdess <dog@gnu.org>
6471 * gnu/java/net/BASE64.java: Truncate encoded byte array.
6473 2005-04-18 Michael Koch <konqueror@gmx.de>
6475 gnu/java/awt/EmbeddedWindowSupport.java,
6476 gnu/java/net/HeaderFieldHelper.java,
6477 gnu/java/net/URLParseError.java,
6478 gnu/java/net/protocol/file/Handler.java,
6479 gnu/java/net/protocol/jar/Handler.java:
6480 Fixed usage of @author tag.
6482 2005-04-18 Michael Koch <konqueror@gmx.de>
6484 * gnu/xml/aelfred2/XmlParser.java:
6485 Reverted my typo fix.
6487 2005-04-18 Michael Koch <konqueror@gmx.de>
6489 * java/awt/geom/CubicCurve2D.java,
6490 java/awt/geom/QuadCurve2D.java:
6491 Fixed mentioning of Brian Gouph.
6493 2005-04-18 Michael Koch <konqueror@gmx.de>
6495 * gnu/java/awt/Buffers.java,
6496 gnu/java/awt/image/ImageDecoder.java,
6497 gnu/java/awt/image/XBMDecoder.java,
6498 gnu/java/awt/peer/ClasspathFontPeer.java,
6499 gnu/java/net/CRLFInputStream.java,
6500 gnu/java/net/EmptyX509TrustManager.java,
6501 gnu/java/net/LineInputStream.java,
6502 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
6503 gnu/java/net/protocol/ftp/BlockInputStream.java,
6504 gnu/java/net/protocol/ftp/CompressedInputStream.java,
6505 gnu/java/net/protocol/ftp/DTP.java,
6506 gnu/java/net/protocol/ftp/DTPInputStream.java,
6507 gnu/java/net/protocol/ftp/FTPConnection.java,
6508 gnu/java/net/protocol/ftp/FTPURLConnection.java,
6509 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
6510 gnu/java/net/protocol/ftp/StreamInputStream.java,
6511 gnu/java/net/protocol/http/ChunkedInputStream.java,
6512 gnu/java/net/protocol/http/HTTPConnection.java,
6513 gnu/java/net/protocol/http/HTTPURLConnection.java,
6514 gnu/java/net/protocol/http/Headers.java,
6515 gnu/java/net/protocol/http/Request.java,
6516 gnu/java/nio/ChannelInputStream.java,
6517 gnu/java/nio/ChannelOutputStream.java,
6518 gnu/java/nio/InputStreamChannel.java,
6519 gnu/java/nio/OutputStreamChannel.java,
6520 gnu/java/nio/SelectorProviderImpl.java,
6521 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
6522 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
6523 gnu/java/rmi/dgc/DGCImpl.java,
6524 gnu/java/rmi/registry/RegistryImpl.java,
6525 gnu/java/rmi/server/ProtocolConstants.java,
6526 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
6527 gnu/java/rmi/server/RMIIncomingThread.java,
6528 gnu/java/rmi/server/RMIObjectInputStream.java,
6529 gnu/java/rmi/server/RMIObjectOutputStream.java,
6530 gnu/java/rmi/server/RMIVoidValue.java,
6531 gnu/java/rmi/server/UnicastConnectionManager.java,
6532 gnu/java/rmi/server/UnicastRef.java,
6533 gnu/java/rmi/server/UnicastRemoteCall.java,
6534 gnu/java/rmi/server/UnicastRemoteStub.java,
6535 gnu/java/rmi/server/UnicastServerRef.java,
6536 gnu/java/security/OID.java,
6537 gnu/java/security/der/DERReader.java,
6538 gnu/java/security/provider/CollectionCertStoreImpl.java,
6539 gnu/java/security/provider/DSAParameterGenerator.java,
6540 gnu/java/security/provider/DefaultPolicy.java,
6541 gnu/java/security/provider/EncodedKeyFactory.java,
6542 gnu/java/security/provider/GnuDHPublicKey.java,
6543 gnu/java/security/provider/GnuDSAPrivateKey.java,
6544 gnu/java/security/provider/GnuDSAPublicKey.java,
6545 gnu/java/security/provider/GnuRSAPrivateKey.java,
6546 gnu/java/security/provider/GnuRSAPublicKey.java,
6547 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6548 gnu/java/security/provider/RSA.java,
6549 gnu/java/security/provider/SHA1PRNG.java,
6550 gnu/java/security/provider/SHA1withRSA.java,
6551 gnu/java/security/provider/X509CertificateFactory.java,
6552 gnu/java/security/x509/GnuPKIExtension.java,
6553 gnu/java/security/x509/X500DistinguishedName.java,
6554 gnu/java/security/x509/X509CRL.java,
6555 gnu/java/security/x509/X509CRLEntry.java,
6556 gnu/java/security/x509/X509CertPath.java,
6557 gnu/java/security/x509/X509CertSelectorImpl.java,
6558 gnu/java/security/x509/X509Certificate.java,
6559 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6560 gnu/java/security/x509/ext/BasicConstraints.java,
6561 gnu/java/security/x509/ext/CRLNumber.java,
6562 gnu/java/security/x509/ext/CertificatePolicies.java,
6563 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
6564 gnu/java/security/x509/ext/Extension.java,
6565 gnu/java/security/x509/ext/GeneralNames.java,
6566 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
6567 gnu/java/security/x509/ext/KeyUsage.java,
6568 gnu/java/security/x509/ext/PolicyConstraint.java,
6569 gnu/java/security/x509/ext/PolicyMappings.java,
6570 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
6571 gnu/java/security/x509/ext/ReasonCode.java,
6572 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
6573 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
6574 Reorganized import statements.
6576 2005-04-18 Michael Koch <konqueror@gmx.de>
6578 * gnu/java/awt/color/CieXyzConverter.java,
6579 gnu/java/awt/color/ClutProfileConverter.java,
6580 gnu/java/awt/color/ColorLookUpTable.java,
6581 gnu/java/awt/color/ColorSpaceConverter.java,
6582 gnu/java/awt/color/GrayProfileConverter.java,
6583 gnu/java/awt/color/GrayScaleConverter.java,
6584 gnu/java/awt/color/LinearRGBConverter.java,
6585 gnu/java/awt/color/ProfileHeader.java,
6586 gnu/java/awt/color/PyccConverter.java,
6587 gnu/java/awt/color/RgbProfileConverter.java,
6588 gnu/java/awt/color/SrgbConverter.java,
6589 gnu/java/awt/color/TagEntry.java,
6590 gnu/java/awt/color/ToneReproductionCurve.java:
6591 Standardized file headers.
6593 2005-04-16 Tom Tromey <tromey@redhat.com>
6595 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
6596 'ANY' package-private.
6598 2005-04-15 Tom Tromey <tromey@redhat.com>
6600 * Makefile.in: Rebuilt.
6601 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
6602 (libgcj0_convenience_la_LIBADD): ... here.
6604 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6606 * gij.cc (version): Properly quote java version.
6607 (main): Fix typo in comment.
6609 2005-04-13 Mark Wielaard <mark@klomp.org>
6611 * java/lang/natRuntime.cc (insertSystemProperties): Set
6612 java.class.path to CLASSPATH if not already set.
6614 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6616 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
6618 2005-04-12 Mike Stump <mrs@apple.com>
6620 * configure: Regenerate.
6622 2005-04-12 Aaron Luchko <aluchko@redhat.com>
6625 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
6626 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
6628 2005-04-12 Aaron Luchko <aluchko@redhat.com>
6631 * scripts/TexinfoDoclet.java: Removed.
6632 * Makefile.am (texinfo): Removed.
6633 * Makefile.in: Regenerated.
6635 2005-04-11 Michael Koch <konqueror@gmx.de>
6637 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
6638 Fixed wrong casting.
6640 2005-04-06 Andrew Haley <aph@redhat.com>
6642 * testsuite/libjava.lang/bytearray.java: New file.
6643 * testsuite/libjava.lang/bytearray.out: New file.
6644 * java/lang/ClassLoader.java (loadClassFromSig): Declare
6645 (loadClass): Use it.
6646 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
6648 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
6650 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
6651 gcj-dbtool dependency
6652 * Makefile.in: Regenerated
6654 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
6656 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
6657 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
6659 2005-04-05 Andrew Haley <aph@redhat.com>
6661 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
6662 (Tokenizer): New class.
6663 (getFiles): New method.
6664 (main): Add "-" argument.
6666 Read list of files from stdin when merging map databases.
6667 (usage): Add "-" argument.
6671 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
6674 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
6675 * Makefile.in: Regenerate.
6676 * configure.ac: Add --with-java-home option.
6677 * configure: Regenerate.
6678 * external/Makefile.in: Regenerate.
6679 * external/sax/Makefile.in: Regenerate.
6680 * external/w3c_dom/Makefile.in: Regenerate.
6681 * gcj/Makefile.in: Regenerate.
6682 * include/Makefile.in: Regenerate.
6683 * testsuite/Makefile.in: Regenerate.
6684 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
6687 2005-04-05 Tom Tromey <tromey@redhat.com>
6689 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
6690 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
6691 Rewrote to use _Jv_FindClassFromSignature.
6692 * verify.cc (resolve): throw NoClassDefFoundError.
6693 * link.cc (resolve_field): Throw NoClassDefFoundError.
6694 (find_field): Likewise.
6695 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
6696 Handle error cases. Added 'endp' argument.
6697 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
6699 2005-04-05 Tom Tromey <tromey@redhat.com>
6701 * Makefile.in: Rebuilt.
6702 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
6703 gtk_awt_peer_sources.
6704 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
6705 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
6706 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
6707 (gtk-awt-peer.lo): New target.
6709 2005-04-04 Steve Pribyl <steve@netfuel.com>
6712 * configure.ac: Fix fastjar definition for cross builds.
6713 * configure: Rebuilt.
6715 2005-04-04 Tom Tromey <tromey@redhat.com>
6717 * java/lang/ClassLoader.java (loadClass): Resolve class even if
6718 it was already found.
6720 2005-04-04 Tom Tromey <tromey@redhat.com>
6722 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
6723 org.metastatic.jessie.
6725 2005-04-02 Anthony Green <green@redhat.com>
6728 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
6730 2005-04-02 Mark Wielaard <mark@klomp.org>
6732 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
6733 Attributes and attribute order doesn't matter.
6734 (BasicAttributesEnumeration.where): Initialize to zero.
6735 (BasicAttributesEnumeration.nextElement): Update and compare where
6736 appropriately (zero based).
6738 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6740 PR libgcj/20090, PR libgcj/20526
6741 * gij.cc (nonstandard_opts_help): New function.
6742 (add_option): New function.
6743 (main): Support java options. Set java.class.path. Don't set
6745 * prims.cc (parse_x_arg): New function.
6746 (parse_init_args): Call parse_x_arg for -X and _ options, when
6747 ignoreUnrecognized is true.
6748 (new _Jv_RunMain): New vm_args variant.
6749 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
6750 (_Jv_Jar_Class_Path): Remove variable.
6751 * include/java-props.h: Likewise.
6752 * include/cni.h (JvRealloc): New function.
6753 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
6754 * java/lang/natRuntime.cc (insertSystemProperties): Remove
6755 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
6757 * configure.ac (JV_VERSION): Define.
6758 (JV_API_VERSION): Likewise.
6759 * configure: Regenerate.
6760 * include/config.h.in: Regenerate.
6762 2005-04-01 Mark Anderson <mark@panonet.net>
6764 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
6765 -Infinity as parameters.
6767 2005-04-01 Michael Koch <konqueror@gmx.de>
6769 * java/io/PipedInputStream.java
6770 (read): Make sure a positive byte value is returned. Revised javadoc.
6771 Thanks to Olafur Bragason for reporting these bugs.
6773 2005-04-01 Tom Tromey <tromey@redhat.com>
6775 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6776 Updated for name change.
6777 (nativeFindClass): New method.
6778 (loadClass): Use nativeFindClass.
6779 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
6781 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
6782 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
6784 (initialize): New method.
6785 (nativeFindClass): Declare.
6786 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
6787 * gnu/gcj/runtime/VMClassLoader.java: Removed.
6788 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
6790 (definePackageForNative): Removed.
6791 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
6792 Moved to VMClassLoader.java.
6793 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
6794 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
6795 (ordinary_java_source_files): Added ExtensionClassLoader.java,
6796 removed VMClassLoader.java.
6797 (nat_source_files): Removed natVMClassLoader.cc.
6799 2005-04-01 Tom Tromey <tromey@redhat.com>
6801 * Makefile.in: Rebuilt.
6802 * Makefile.am (db_pathtail): Use $(gcc_version), not
6805 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
6807 * java/util/Timer.java
6808 (run): Stop the queue if a task throws an exception.
6810 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6812 * javax/swing/text/JTextComponent.java (viewToModel): New method.
6814 2005-03-29 Ian Lance Taylor <ian@airs.com>
6816 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
6817 * external/sax/Makefile.in: Rebuild.
6818 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
6820 * external/w3c_dom/Makefile.in: Rebuild.
6822 2005-03-29 Tom Tromey <tromey@redhat.com>
6824 * java/lang/natRuntime.cc (insertSystemProperties): Set
6825 gnu.gcj.runtime.endorsed.dirs.
6826 * Makefile.in: Rebuilt.
6827 * Makefile.am (ordinary_java_source_files): Added
6828 HelperClassLoader.java.
6829 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
6830 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
6832 (init): Use addDirectoriesFromProperty.
6833 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
6834 HelperClassLoader. Use addDirectoriesFromProperty. Handle
6835 gnu.gcj.runtime.endorsed.dirs.
6836 * gnu/gcj/runtime/HelperClassLoader.java: New file.
6838 2005-03-26 Chris Burdess <dog@gnu.org>
6840 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
6843 2005-03-13 Michael Koch <konqueror@gmx.de>
6845 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
6847 2005-03-11 Chris Burdess <dog@gnu.org>
6849 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6852 2005-02-27 Chris Burdess <dog@gnu.org>
6854 * gnu/xml/aelfred2/JAXPFactory.java,
6855 gnu/xml/aelfred2/SAXDriver.java,
6856 gnu/xml/aelfred2/XmlParser.java,
6857 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
6858 formatting conventions. Replaced arrays of Object with struct-like
6859 classes for easier maintainability. Made SAXDriver.stringInterning
6860 package private to allow access from XmlParser inside the loop without
6861 a method call overhead.
6863 2005-03-11 Chris Burdess <dog@gnu.org>
6865 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6868 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
6870 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
6871 settings to sub Makefiles.
6872 (GCJH, ZIP): Prefix with top_builddir.
6873 * configure: Rebuild.
6874 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
6875 * external/w3c_dom/Makefile.in: Rebuild.
6876 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
6877 * external/sax/Makefile.in: Rebuild.
6879 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
6881 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
6882 libsocket to the libraries to link for Solaris.
6884 2005-03-28 Per Bothner <per@bothner.com>
6886 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
6887 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
6889 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
6891 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
6892 to fix a ONESTEP fallout.
6893 * Makefile.in: Regenerate.
6895 2005-03-25 Mike Stump <mrs@apple.com>
6897 * configure.ac: Fix ZIP and GCJH at configure time to absolute
6898 paths like we do for the compiler, as we use it in external/sax
6899 and it doesn't get MULTIBUILDTOP right when multilibing.
6901 2005-03-24 Anthony Green <green@redhat.com>
6903 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
6905 (usage): Add [LIBDIR] to help output.
6906 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
6907 * Makefile.am (AM_CXXFLAGS): Define
6908 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
6909 (db_pathtail): New macro.
6911 2005-03-24 Tom Tromey <tromey@redhat.com>
6913 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
6914 add sax and w3c libraries.
6915 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
6917 * external/w3c_dom/Makefile.in: Rebuilt.
6918 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
6920 (libw3c_gcj_la_LDFLAGS): New variable.
6921 (noinst_LTLIBRARIES): Renamed.
6922 * external/sax/Makefile.in: Rebuilt.
6923 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
6925 (libsax_gcj_la_LDFLAGS): New variable.
6926 (noinst_LTLIBRARIES): Renamed.
6928 2005-03-23 Tom Tromey <tromey@redhat.com>
6930 * Makefile.in: Rebuilt.
6931 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
6932 (libgcj0_convenience_la_SOURCES): Don't include
6933 gnu_xml_source_files.
6934 (libgcj0_convenience_la_LIBADD): New variable.
6935 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
6936 (all_java_source_files): javax_imageio_source_files,
6937 javax_xml_source_files, and gnu_java_beans_source_files.
6938 ($(gnu_xml_source_files:.java=.lo)): Removed target.
6939 (gnu-xml.lo): New target.
6940 (javax-imageio.lo): Likewise.
6941 (javax-xml.lo): Likewise.
6942 (gnu-java-beans.lo): Likewise.
6943 (gnu_java_beans_source_files): New variable.
6944 (javax_imageio_source_files): Likewise.
6945 (javax_xml_source_files): Likewise.
6946 (javax_source_files): Moved files to other variable.
6947 (awt_java_source_files): Likewise.
6948 (ordinary_java_source_files): Added BootClassLoader.java.
6949 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
6950 not system class loader.
6951 (initBootLoader): New method.
6952 (loadClass): Search bootLoader.
6953 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
6954 boot loader, not system class loader.
6955 (_Jv_UnregisterInitiatingLoader): Likewise.
6956 (_Jv_FindClass): Likewise. Ensure entries in
6957 bootstrap_class_list are unique.
6958 * java/lang/natClass.cc (getClassLoader): Don't special case
6959 system class loader.
6960 * java/lang/VMClassLoader.java (bootLoader): New field.
6961 (getResource): Use bootLoader.
6962 (getResources): Likewise.
6963 (initBootLoader): Declare.
6964 * gnu/gcj/runtime/BootClassLoader.java: New file.
6965 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
6966 (EMPTY_ENUMERATION): Now package-private.
6967 * external/w3c_com/Makefile.in: Rebuilt.
6968 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
6969 (w3c.jar): New target.
6970 (classes.stamp): Updated.
6971 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6972 Changed name of library.
6973 (libw3c_gcj_la_SOURCES): New variable.
6974 (libw3c_gcj_la_GCJFLAGS): Likewise.
6975 (source_files): Renamed from lib3c_convenience_la_SOURCES.
6976 * external/sax/Makefile.in: Rebuilt.
6977 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
6978 (sax.jar): New target.
6979 (classes.stamp): Updated.
6980 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6981 Changed name of library.
6982 (libsax_gcj_la_SOURCES): New variable.
6983 (libsax_gcj_la_GCJFLAGS): Likewise.
6984 (source_files): Renamed from libsax_convenience_la_SOURCES.
6985 * stacktrace.cc (non_system_trace_fn): Don't look at system class
6987 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
6989 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
6991 2005-03-23 Sven de Marothy <sven@physto.se>
6993 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
6995 * java/util/Calendar.java
6996 (set): Use starting day of week when one is needed if none is given.
6997 * java/text/SimpleDateFormat.java
6998 (parse): Handle 1-12 and 1-24 timestamps correctly.
6999 * java/util/GregorianCalendar.java
7000 (computeTime, computeFields): HOUR should be in 0-11 format.
7001 (nonLeniencyCheck): Adjust leniency checking to that fact.
7002 (getLinearDay): Should be private.
7004 2005-03-23 Tom Tromey <tromey@redhat.com>
7006 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
7007 (_Jv_CheckABIVersion): Use it.
7009 2005-03-22 Mike Stump <mrs@apple.com>
7011 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
7013 * include/posix.h: .dylib is used on all Apple MACH platforms.
7014 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
7016 2005-03-22 Tom Tromey <tromey@redhat.com>
7018 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
7020 2005-03-21 Tom Tromey <tromey@redhat.com>
7022 * java/lang/VMCompiler.java (static block): Also catch
7023 BufferUnderflowException.
7025 2005-03-21 Zack Weinberg <zack@codesourcery.com>
7027 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
7028 set tool_include_dir. In all substitutions, leave $(gcc_version)
7029 to be expanded by the Makefile.
7030 * aclocal.m4, configure: Regenerate.
7031 * Makefile.am: Set gcc_version. Replace all uses of
7032 @gcc_version@ with $(gcc_version).
7033 * external/Makefile.am, external/sax/Makefile.am
7034 * external/w3c_dom/Makefile.am, gcj/Makefile.am
7035 * testsuite/Makefile.am: Set gcc_version.
7036 * include/Makefile.am: Set gcc_version and tool_include_dir.
7037 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
7038 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
7039 * testsuite/Makefile.in: Regenerate.
7041 2005-03-17 Andrew Haley <aph@redhat.com>
7043 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
7045 Pass klass to _Jv_StackTrace::GetClassContext().
7046 * java/lang/ClassLoader.java (getParent): Pass class to
7047 VMSecurityManager.getClassContext()
7048 (getSystemClassLoader): Likewise.
7049 * java/lang/Package.java (getPackage): Likewise.
7050 (getPackages): Likewise.
7051 * java/lang/SecurityManager.java (getClassContext): Likewise.
7052 (currentClassLoader): Likewise.
7053 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
7054 (currentClassLoader) Add new arg: caller.
7055 Pass caller to VMSecurityManager.getClassContext.
7057 * stacktrace.cc (GetClassContext): Correct calculation of
7060 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
7061 im->source_file_name.
7063 2005-03-16 Andrew Haley <aph@redhat.com>
7065 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
7067 2005-03-16 Tom Tromey <tromey@redhat.com>
7069 * link.cc (ensure_class_linked): Removed #ifdef.
7070 (print_class_loaded): Likewise.
7071 (wait_for_state): Likewise.
7072 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
7073 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
7074 * include/java-interp.h: ... here.
7076 2005-03-16 Tom Tromey <tromey@redhat.com>
7078 * gnu/java/lang/MainThread.java (run): Load main class using
7079 system class loader.
7081 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
7083 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
7084 lgcc_s to the libraries to link for Darwin.
7086 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
7088 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
7089 interpreter-specific code with #ifdef INTERPRETER.
7090 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
7091 (_Jv_StackTrace::FillInFrameInfo): Likewise.
7092 (_Jv_StackTrace::non_system_trace_fn): Likewise.
7093 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
7094 #ifdef INTERPRETER. Also protect declarations that use it.
7095 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
7096 #ifdef INTERPRETER block.
7098 2005-03-15 Jakub Jelinek <jakub@redhat.com>
7101 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
7102 * Makefile.in: Rebuilt.
7104 2005-03-15 David Daney <ddaney@avtrex.com>
7106 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
7109 2005-03-15 David Daney <ddaney@avtrex.com>
7111 * java/io/BufferedInputStream.java (available): Use 'in' instead
7112 of 'super' for underlying stream access.
7114 (read(byte[], int, int)): Ditto.
7116 (skip): Call skip on underlying stream when possible.
7118 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
7120 * stacktrace.cc (GetCallerInfo): Return nothing in case of
7121 SJLJ_EXCEPTIONS is defined.
7123 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
7125 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
7128 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
7130 * testsuite/lib/libjava.exp (libjava_init): Use the same target
7132 (libjava_arguments): Likewise.
7134 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
7135 (gcj_jni_test_one): Likewise.
7136 (gcj_jni_invocation_compile_c_to_binary): Likewise.
7137 Add flags to keep the Darwin linker quiet.
7138 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
7139 Add -liconv for Darwin.
7141 2005-03-11 Tom Tromey <tromey@redhat.com>
7143 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
7144 (_Jv_CheckABIVersion): Use it.
7146 2005-03-11 Tom Tromey <tromey@redhat.com>
7148 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
7149 (usage): Document '-p'.
7150 * Makefile.in: Rebuilt.
7151 * Makefile.am (dbexecdir): New variable.
7152 (db_name): Likewise.
7153 (dbexec_DATA): Likewise.
7154 ($(db_name)): New target.
7155 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
7156 * java/lang/natRuntime.cc (insertSystemProperties): Set default
7159 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
7161 * exception.cc: Remove stray MethodRef.h include.
7162 * java/lang/natClass.cc: Likewise.
7163 * gnu/gcj/runtime/MethodRef.java: Removed.
7164 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
7165 gnu/gcj/runtime/natStackTrace.cc: Really removed.
7166 * java/lang/natRuntime.cc (_load): Remove unsed variable.
7167 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
7168 * Makefile.in: Rebuilt.
7170 2005-03-10 Tom Tromey <tromey@redhat.com>
7172 * Makefile.in: Rebuilt.
7173 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
7175 2005-03-10 Chris Burdess <dog@bluezoo.org>
7177 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
7178 not currently parsing the DTD.
7180 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
7182 New Stack Trace infrastructure.
7183 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
7184 (gnu/gcj/runtime/StackTrace.java): Removed.
7185 (ordinary_java_source_files): Remove obsolete files.
7186 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
7187 * configure.host (fallback_backtrace_h): Set backtrace header
7188 for mingw and cygwin targets.
7189 * configure.ac: Make symlink for fallback backtrace headers.
7190 * Makefile.in, configure: Rebuilt.
7191 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
7192 Read 'LineNumberTable' attribute.
7193 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
7195 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
7197 * exception.cc: Remove unused include.
7198 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
7199 (SAVE_PC): New macro. Save current PC in the interpreter frame.
7200 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
7201 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
7202 table to direct threaded instruction values.
7203 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
7204 (_Jv_InterpMethod::run): No longer member function. All
7205 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
7206 is made or where an instruction could throw.
7207 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
7209 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
7210 (catch_fpe): Likewise.
7211 * stacktrace.cc: New file. Stack trace code now here.
7212 * gnu/gcj/runtime/MethodRef.java:
7213 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
7214 calls addr2line to look up PC addresses in a given binary or shared
7216 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
7217 gnu/gcj/runtime/natStackTrace.cc: Removed.
7218 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
7219 this function name is specially recognised by the stack trace code
7220 and shouldn't be changed.
7221 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
7222 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
7223 (_Jv_InterpMethod::run): Update declaration.
7224 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
7226 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
7227 * include/java-stack.h: New file. Declarations for stack tracing.
7228 * include/jvm.h (_Jv_Frame_info): Removed.
7229 * java/lang/Class.h: Update friend declarations.
7230 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
7232 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
7233 (getStackTrace): Now native.
7234 (data): New RawDataManaged field.
7235 * java/lang/natClass.cc: Update includes.
7236 (forName): Use _Jv_StackTrace::GetCallingClass for
7237 calling-classloader check.
7238 (getClassLoader): Likewise.
7239 * java/lang/natRuntime.cc: Update includes.
7240 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
7241 * java/lang/natVMSecurityManager.cc: Update includes.
7242 (getClassContext): Use _Jv_StackTrace::GetClassContext.
7243 * java/lang/natVMThrowable.cc: New file. Native methods for
7245 * java/lang/reflect/natArray.cc: Update includes.
7246 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
7247 accessibility check.
7248 * java/lang/reflect/natConstructor.cc: Update includes.
7249 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
7250 accessibility check.
7251 * java/lang/reflect/natField.cc: Update includes.
7252 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
7253 accessibility check.
7254 * java/lang/reflect/natMethod.cc: Update includes.
7255 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
7256 accessibility check.
7257 * java/util/natResourceBundle.cc: Update includes.
7258 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
7259 * java/util/logging/natLogger.cc: Update includes. Use
7260 _Jv_StackTrace::GetCallerInfo to get call-site info.
7261 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
7263 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
7266 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
7268 * testsuite/libjava.compile/PR20312.java: New file.
7269 * testsuite/libjava.compile/PR20312.xfail: Likewise.
7270 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
7272 2005-03-09 Andrew Haley <aph@redhat.com>
7274 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
7276 (smallTransferTo): New.
7277 (transferFrom): Loop around smallTransferFrom, copying pageSize
7279 (transferTo): Likewise.
7281 2005-03-09 David Daney <ddaney@avtrex.com>
7284 Merge BufferedInputStream from GNU Classpath.
7285 * java/io/BufferedInputStream.java (marktarget): Field removed.
7286 (CHUNKSIZE): Field removed.
7287 (bufferSize): New field.
7288 (BufferedInputStream): Initialize fields.
7289 (close): Invalidate mark and buffer indexes.
7291 (read()): Move mark handling code to refill.
7292 (read(byte[], int, int)): Ditto.
7293 (skip): Ditto and simplify EOF testing.
7294 (refill): Rewritten.
7295 * java/io/InputStreamReader.java (refill): Removed mark and reset
7296 of internal BufferedInputStream.
7298 2005-03-09 Tom Tromey <tromey@redhat.com>
7300 * java/lang/natVMClassLoader.cc (defineClass): Reference
7301 'systemClassLoader' field directly.
7302 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
7304 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7305 Reference 'systemClassLoader' field directly.
7306 (_Jv_UnregisterInitiatingLoader): Likewise.
7307 (_Jv_FindClass): Likewise.
7309 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
7311 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
7313 * java/lang/mprec.h: Remove commented headers. Fix comment to match
7314 the file in GNU Classpath style.
7316 2005-03-09 Tom Tromey <tromey@redhat.com>
7318 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
7319 (toString): Synchronize.
7321 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
7323 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
7324 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
7326 2005-03-07 Tom Tromey <tromey@redhat.com>
7328 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
7329 (usage): Document '-f'.
7331 2005-03-07 Tom Tromey <tromey@redhat.com>
7333 * java/lang/VMCompiler.java (md5Digest): New field.
7334 (compileClass): Clone md5Digest instead of looking up a new one.
7336 2005-03-07 Tom Tromey <tromey@redhat.com>
7339 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
7340 * link.cc (find_field_helper): Added 'type' argument.
7341 (find_field): Updated.
7343 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
7344 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
7345 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
7346 throw UnsupportedOperationException, fixed comments.
7347 (setFont, setForeground): Fixed comments.
7348 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
7349 return type to boolean.
7350 (getNextEvent): Fixed javadocs.
7351 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
7352 (nativeQueueEmpty): Removed unused code.
7353 (iterateNativeQueue): Removed outer loop.
7355 2005-03-06 Roger Sayle <roger@eyesopen.com>
7358 * Makefile.am (libgcj0_convenience.la): Revert last change.
7359 * Makefile.in: Regenerate.
7361 2005-03-05 Anthony Green <green@redhat.com>
7363 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
7364 classpath_jawt_lock, classpath_jawt_unlock): New functions.
7365 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
7366 (_Jv_GetDrawingSurface): Set visualID.
7367 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
7368 (JAWT_GetAWT): Set Lock and Unlock.
7369 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
7371 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
7372 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
7373 JAWT_LOCK_SURFACE_CHANGED): New macros.
7374 (struct _JAWT): Add Lock and Unlock.
7376 2005-03-05 Roger Sayle <roger@eyesopen.com>
7377 Alexandre Oliva <aoliva@redhat.com>
7378 Kelley Cook <kcook@gcc.gnu.org>
7381 * Makefile.am (libgcj0_convenience.la): New rule to create a file
7382 of the object files to link to avoid exceeding the command line
7383 length limits on some platforms.
7384 (clean-local): Clean up objectlist files.
7385 * Makefile.in: Regenerate.
7387 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
7389 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
7390 spec_case. Initialize pointer mlo.
7392 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
7395 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
7397 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
7400 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
7401 uninitialized variable z.
7403 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
7404 possible unused variables.
7406 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
7408 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
7410 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7413 * testsuite/libjava.jni/jni.exp
7414 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
7416 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
7418 2005-02-23 David Daney <ddaney@avtrex.com>
7420 * configure.host: Don't use -mxgot for MIPS builds.
7422 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
7425 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
7426 (COMPPATH): Removed.
7427 (ZIP, GCJH): Replace it with ../$(host_subdir).
7428 (built_gcc_dir): Add $(host_subdir).
7429 * configure: Regenerate.
7430 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
7431 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
7432 external/w3c_dom/Makefile.in: Regenerate.
7434 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
7436 * java/awt/font/TextAttribute.java: changed names to lower case;
7437 (readResolve): implemented.
7438 Added doc comments all over.
7440 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7443 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
7444 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
7445 value. Move argument parsing code to prims.cc.
7446 * prims.cc (no_properties): Remove.
7447 (_Jv_Compiler_Properties): Initialize to NULL.
7448 (_Jv_Properties_Count): Initialize to 0.
7449 (parse_verbose_args): New function.
7450 (parse_init_args): New function.
7451 (_Jv_CreateJavaVM): Call parse_init_args.
7452 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
7453 * gcj/cni.h (JvVMOption): New struct.
7454 (JvVMInitArgs): Likewise.
7455 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
7457 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
7458 (_Jv_VMInitArgs): Likewise.
7459 * include/java-props.h (_Jv_Properties_Count): Declare.
7460 * java/lang/natRuntime.cc (insertSystemProperties): Use
7461 _Jv_Properties_Count in for loop exit condition.
7462 * testsuite/libjava.jni/jni.exp
7463 (gcj_invocation_compile_c_to_binary): New procedure.
7464 (gcj_invocation_test_one): Likewise.
7465 (gcj_jni_run): Run JNI invocation API tests.
7466 * testsuite/libjava.jni/invocation/PR16923.c,
7467 testsuite/libjava.jni/invocation/PR16923.java,
7468 testsuite/libjava.jni/invocation/PR16923.out: New test.
7470 2005-02-23 Michael Koch <konqueror@gmx.de>
7472 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
7473 * Makefile.in: Regenerated.
7475 2005-02-23 Robert Schuster <thebohemian@gmx.net>
7477 * gnu/java/nio/ChannelReader: Fixed comments.
7479 2005-02-23 Robert Schuster <thebohemian@gmx.net>
7481 * java/nio/channels/Channels: Added FIXMEs about
7482 stub method implementation.
7483 (newReader): Implemented.
7484 * gnu/java/nio/ChannelReader: New class.
7486 2005-02-23 Michael Koch <konqueror@gmx.de>
7488 * java/text/SimpleDateFormat.java:
7489 Removed unused import.
7491 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7494 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
7495 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
7496 * Makefile.in: Regenerate.
7497 * configure.ac: Check for libXtst.
7498 * configure: Regenerate.
7500 2005-02-22 Mark Wielaard <address@bogus.example.com>
7502 * java/security/AlgorithmParameterGenerator.java (getInstance):
7503 Mention provider when throwing NoSuchProviderException.
7504 * java/security/AlgorithmParameters.java (getInstance): Likewise.
7505 * java/security/KeyFactory.java (getInstance): Likewise.
7506 * java/security/KeyStore.java (getInstance): Likewise.
7507 * java/security/SecureRandom.java (getInstance): Likewise.
7508 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
7510 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
7512 * java/lang/reflect/Proxy.java,
7514 java/security/SecureRandom.java,
7515 java/util/Timer.java,
7516 java/util/prefs/AbstractPreferences.java:
7517 Don't catch java.lang.ThreadDeath.
7519 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
7521 * java/awt/font/TransformAttribute.java,
7522 (TransformAttribute(AffineTransform)): throw
7523 IllegalArgumentException for null transform.
7524 (getTransform): return a copy of transform.
7525 Added doc comments to all.
7527 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
7529 * java/io/Externalizable.java,
7530 java/io/Serializable.java
7531 (serialVersionUID): Removed.
7532 * java/rmi/server/RemoteObject.java,
7533 java/rmi/server/UID.java
7534 (serialVersionUID): Made private.
7535 * java/rmi/server/RemoteRef.java,
7536 java/rmi/server/ServerRef.java
7537 (serialVersionUID): Set proper value.
7538 * java/security/interfaces/DSAPrivateKey.java,
7539 java/security/interfaces/DSAPublicKey.java,
7540 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7541 java/security/interfaces/RSAPrivateCrtKey.java,
7542 java/security/interfaces/RSAPrivateKey.java,
7543 java/security/interfaces/RSAPublicKey.java,
7544 javax/crypto/SecretKey.java
7545 (serialVersionUID): Added.
7547 2005-02-22 Tom Tromey <tromey@redhat.com>
7549 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
7551 2005-02-22 Tom Tromey <tromey@redhat.com>
7554 * verify.cc (type::EITHER): New constant.
7555 (check_field_constant): Use it.
7556 (type::compatible): Handle it.
7558 2005-02-22 Michael Koch <konqueror@gmx.de>
7560 * gnu/java/security/PolicyFile.java,
7561 gnu/java/security/pkcs/PKCS7SignedData.java,
7562 gnu/java/security/pkcs/SignerInfo.java:
7563 Fixed copyright header.
7565 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
7567 * java/beans/PropertyDescriptor.java
7568 (PropertyDescriptor,setReadMethod): Set propertyType.
7570 2005-02-22 Michael Koch <konqueror@gmx.de>
7572 * java/nio/DirectByteBufferImpl.java
7573 (owner): Fixed formatting of javadoc.
7574 * java/text/DateFormat.java
7575 (getAvailableLocales): Fixed formatting.
7576 * java/text/SimpleDateFormat.java:
7577 Fixed formatting and import statement order.
7578 * java/util/Calendar.java
7579 (Calendar): Fixed javadoc to be HTML compliant.
7580 * java/util/SimpleTimeZone.java:
7583 2005-02-22 Roman Kennke <roman@ontographics.com>
7585 * javax/swing/plaf/basic/BasicLookAndFeel.java
7586 (initComponentDefaults): Fixed Button left and right margin.
7588 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7590 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
7594 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7595 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7596 (getWidth): New method.
7597 (getHeight): Likewise.
7598 (create): Remove width, height and insets parameters. Move size
7600 (realize_cb): ... here. New function.
7601 (connectSignals): Connect realize_cb.
7602 (request_frame_extents): Remove FIXME. Move
7603 postInsetsChangedEvent lookup ...
7604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
7605 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
7606 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
7608 (windowGetWidthID): Likewise.
7609 (windowGetHeightID): Likewise.
7611 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7615 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
7617 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
7619 Merge serialization from GNU Classpath.
7620 * gcj/method.h: Add missing #includes.
7621 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
7622 primitive class IDs on the stream here...
7623 (resolveClass): ...not here.
7624 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
7626 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
7627 setLongNative, setIntNative, setShortNative, setCharNative,
7628 setByteNative, setBooleanNative, setObjectNative): New native methods.
7629 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
7630 setLongNative, setIntNative, setShortNative, setCharNative,
7631 setByteNative, setBooleanNative, setObjectNative): Implement them.
7632 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
7633 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
7634 the constructor here.
7635 (callConstructor): Removed.
7636 (getCallersClassLoader): Removed.
7637 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
7638 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
7639 to control whether setting final field values is permitted. Call
7640 getAddr() with checkFinal parameter instead of setAddr().
7641 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
7642 only if not done already.
7643 (getAddr): Add checkFinal parameter. Do the final field check only if
7647 2005-02-21 Mark Wielaard <mark@klomp.org>
7650 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
7653 2005-02-21 Mark Wielaard <mark@klomp.org>
7656 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
7657 without a super class and us ObjectStreamClass.lookupForClassObject().
7658 (resolveClass): Check for primitive types.
7659 (lookupClass): Return null when argument is null.
7661 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7663 * java/io/ObjectInputStream.java
7664 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
7666 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7668 * java/io/ObjectOutputStream.java
7669 (writeObject, callWriteMethod): Replaced reflection with accessing
7670 cached info in ObjectStreamClass.
7671 (getMethod): Removed.
7672 * java/io/ObjectStreamClass.java
7673 (findMethod): Added check to make sure the method found has the
7675 (cacheMethods): Added writeReplace and writeObject methods.
7676 (setFlags): Look at new writeObjectMethod field instead of doing
7678 (writeReplaceMethod): New field.
7679 (writeObjectMethod): New field.
7681 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
7682 Jeroen Frijters <jeroen@frijters.net>
7684 * java/io/ObjectInputStream.java
7685 (newObject): Changed prototype. Get a constructor reflect object
7687 (callConstructor): Removed.
7688 (allocateObject): Changed prototype.
7689 (readClassDescriptor): Build the constructor reflection directly.
7690 (readObject): Invoke newObject using the new prototype.
7692 * java/io/ObjectStreamClass.java
7693 (firstNonSerializableParent): Removed.
7694 (firstNonSerializableParentConstructor): Added.
7696 2005-02-21 Mark Wielaard <mark@klomp.org>
7698 * gnu/java/locale/LocaleInformation_en.java: Extend
7699 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
7701 2005-02-21 Mark Wielaard <mark@klomp.org>
7703 * java/text/SimpleDateFormat.java
7704 (SimpleDateFormat(String, DateFormatSymbols)): Throw
7705 NullPointerException when formatData is null.
7707 2005-02-21 Mark Wielaard <mark@klomp.org>
7709 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
7710 taking dstSavings into account.
7712 2005-02-21 Sven de Marothy <sven@physto.se>
7714 * java/text/SimpleDateFormat.java,
7715 (parse): Set correct DST_OFFSET to the correct value.
7717 2005-02-21 Mark Wielaard <mark@klomp.org>
7719 * java/util/SimpleTimeZone.java (checkRule): Throw
7720 IllegalArgumentException when month out of range.
7722 2005-02-21 Sven de Marothy <sven@physto.se>
7724 * java/util/GregorianCalendar.java,
7725 (add): Don't set fields directly anymore. Use set()
7727 2005-02-21 Mark Wielaard <mark@klomp.org>
7729 * java/text/SimpleDateFormat.java (CompiledField.toString):
7730 Use StringBuffer, not StringBuilder.
7731 (toString): Likewise.
7733 2005-02-21 Sven de Marothy <sven@physto.se>
7735 * java/util/Calendar.java
7736 (clear): Dates should clear to local time.
7737 * java/util/GregorianCalendar.java
7738 (computeTime): Fix priority problem with DAY_OF_WEEK,
7739 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
7741 2005-02-21 Sven de Marothy <sven@physto.se>
7743 * java/util/Calendar.java
7744 (Calendar): Constructor should clear fields.
7746 2005-02-21 Sven de Marothy <sven@physto.se>
7748 * java/text/SimpleDateFormat.java
7749 (parse): Tweak handling of 2-year dates
7750 * java/util/Calendar.java
7751 (clear): Clear fields to correct value.
7752 * java/util/GregorianCalendar.java
7753 (computeTime): Correct handling of time zones.
7754 Correct field minimum values.
7756 2005-02-21 Sven de Marothy <sven@physto.se>
7758 * java/util/Calendar.java
7759 (set) Invalidate all fields on first call to set().
7761 2005-02-21 Sven de Marothy <sven@physto.se>
7763 * java/util/GregorianCalendar.java
7764 (computeTime): Fixed handling of time zones.
7766 2005-02-21 Sven de Marothy <sven@physto.se>
7768 * java/util/Calendar.java
7769 (clear): Set values to Epoch instead of zero.
7770 (set): Set isSet to the relevant field pattern instead of just
7772 * java/util/GregorianCalendar.java
7773 (getBundle): Removed.
7774 (getDayOfYear): Removed.
7775 (getFirstDayOfMonth): New private method.
7776 (nonLeniencyCheck): New private method.
7777 (computeTime): Correct handling of insufficient data.
7779 2005-02-21 Sven de Marothy <sven@physto.se>
7781 * java/util/Calendar.java: Invalidate ERA field on setting
7783 * java/util/SimpleTimeZone.java:
7784 (getDaysInMonth): Reimplemented.
7785 * java/util/GregorianCalendar.java:
7786 (getLinearTime): Removed.
7787 (isLeapYear(int,boolean)): Removed.
7788 (before(), after()): Removed.
7789 (computeTime): Reimplemented.
7791 2005-02-21 Sven de Marothy <sven@physto.se>
7793 * java/util/Calendar.java: Reformatted.
7794 * java/util/GregorianCalendar.java: Reformatted.
7795 * java/util/SimpleTimeZone.java: Reformatted.
7797 2005-02-21 Sven de Marothy <sven@physto.se>
7799 * java/util/GregorianCalendar.java
7800 (GregorianCalendar): Update fields in the constructor
7802 2005-02-21 Noa Resare <noa@resare.com>
7804 * java/util/Calendar.java (explicitDSTOffset): New instance field.
7805 (set(int,int)): Set and use new field.
7806 (set(int,int,int)): Check new field.
7808 2005-02-21 Noa Resare <address@hidden>
7810 * java/util/Calendar.java(set):
7811 Fix for DST related regression.
7813 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7815 * java/util/Calendar.java
7816 (setTimeInMillis): Added call to clear, removed computeFields call.
7817 * java/util/Date.java
7818 (Date(int,int,int,int,int,int)): Removed workaround for
7819 GregorianCalendar bug.
7820 * java/util/GregorianCalendar.java
7821 (GregorianCalendar): Chained all constructors to a (new)
7823 (computeTime): Fixed support for lenient month treatment.
7824 (getLinearDay): Return long instead of int.
7825 (calculateDay): Added fields argument and changed day argument
7828 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7830 * java/text/SimpleDateFormat.java
7831 Lots of documentation updates.
7832 (readObject(java.io.ObjectInputStream)): Wraps
7833 IllegalArgumentException as specified.
7834 (compileFormat(String)): Uses standardChars
7835 rather than the local pattern characters.
7836 Throws IllegalArgumentException rather than
7838 (toString()): Extended to include all variables
7840 (translateLocalizedPattern(String, String, String)):
7841 Renamed to better define the use of this method.
7843 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7845 * java/text/DateFormat.java:
7846 Documented pattern character offset constants and
7848 (Field): Added new static fields for new pattern chars.
7849 * java/text/SimpleDateFormat.java:
7850 (CompiledField): Changed name of FieldSizePair class
7851 to CompiledField after adding the character as an
7852 attribute. Changed fields to private and added
7853 accessors to give encapsulation.
7854 (CompiledField.CompiledField(int,int,char)): Extended
7855 with character field.
7856 (CompiledField.getField()): New accessor method.
7857 (CompiledField.getSize()): New acceessor method.
7858 (CompiledField.getCharacter()): New accessor method.
7859 (CompiledField.toString()): Added primarily for debugging.
7860 (standardChars): Now uses extended 24 character sequence.
7861 (compileFormat(String)): Changed to use CompiledField.
7862 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
7863 java.text.FieldPosition)): Changed to use CompiledField.
7864 New handler for RFC 822 timezones added.
7866 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7868 * java/text/SimpleDateFormat.java:
7869 (parse(String, java.text.ParsePosition)):
7870 Changed 'E' and 'M' cases to use both
7871 short and long names. Extended 'z'
7872 case to also handle 'Z', and deal
7873 with simple GMT offsets such as +0100.
7874 (computeOffset(String)): New private method,
7875 which converts a GMT offset specification,
7876 such as GMT-0500 to a numeric offset in
7878 * java/util/TimeZone.java:
7879 (timezones()): Added "CEST", the daylight
7880 savings time version of "CET", or Central
7883 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7885 * java/text/SimpleDateFormat.java:
7886 (parse): Set the DST offset to 0 when parsing
7887 GMT offset timezones.
7889 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7891 * java/text/SimpleDateFormat.java:
7892 (parse): Use offset to set ZONE_OFFSET
7893 rather than the DST_OFFSET, so that
7894 GMT offset timezones change the right
7897 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7899 * java/text/SimpleDateFormat.java:
7900 (getDateFormatSymbols()): return a copy
7901 (setDateFormatSymbols(java.text.DateFormatSymbols)):
7902 throw exception on null input
7903 (clone()): implemented to clone
7906 2005-02-21 Sven de Marothy <sven@physto.se>
7908 * java/text/SimpleDateFormat.java
7909 (parse): comparison should be case-insensitive, ignore null
7912 2005-02-21 Robert Schuster <theBohemian@gmx.net>
7914 * gnu/java/beans/IntrospectionIncubator.java
7915 (addMethod) Reverts the patch that ntroduced a regression (see bug
7916 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
7918 2005-02-21 Michael Koch <konqueror@gmx.de>
7920 * java/awt/Checkbox.java
7921 (next_checkbox_number): New static variable.
7922 (generateName): New method.
7923 (getUniqueLong): Likewise.
7924 * java/awt/Window.java
7925 (next_window_number): New static variable.
7926 (generateName): New method.
7927 (getUniqueLong): Likewise.
7929 2005-02-21 Mark Wielaard <mark@klomp.org>
7931 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
7934 2005-02-21 Andrew Haley <aph@redhat.com>
7936 * Makefile.in: Rebuilt.
7937 * Makefile.am (nat_source_files): Added natLogger.cc.
7938 * java/util/logging/natLogger.cc: New file.
7939 * java/util/logging/Logger.java (getCallerStackFrame): Now
7942 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
7944 * Makefile.am (all_property_files): Remove left over.
7945 (classes.stamp): Add stamp for the ONESTEP build, also known as
7946 --enable-libgcj-multifile.
7947 * Makefile.in: Regenerated.
7949 2005-02-21 Michael Koch <konqueror@gmx.de>
7951 * java/awt/Button.java,
7952 java/awt/Container.java,
7954 java/awt/Frame.java,
7955 java/text/CollationElementIterator.java,
7956 java/text/RuleBasedCollator.java,
7957 java/util/PropertyPermission.java:
7958 Fixed formatting issues all over.
7960 2005-02-21 Mark Wielaard <mark@klomp.org>
7962 * java/io/FileDescriptor.java (sync): Add real exception to
7963 SyncFailedException.
7965 2005-02-21 Michael Koch <konqueror@gmx.de>
7967 * java/io/InputStreamReader.java:
7970 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
7973 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
7975 2005-02-20 Dalibor Topic <robilad@kaffe.org>
7977 * libraries/javalib/gnu/regexp/RE.java,
7978 libraries/javalib/java/io/ObjectInputStream.java,
7979 libraries/javalib/java/security/AllPermission.java,
7980 libraries/javalib/java/security/BasicPermission.java,
7981 libraries/javalib/java/security/Permissions.java,
7982 libraries/javalib/java/text/MessageFormat.java:
7983 Made 'inner' classes real public static inner classes,
7984 and made them final where possible, or removed them
7987 2005-02-20 Michael Koch <konqueror@gmx.de>
7989 * gnu/java/text/FormatCharacterIterator.java:
7990 Removed redundant modifiers.
7992 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7994 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
7997 2005-02-19 Michael Koch <konqueror@gmx.de>
7999 * Makefile.am: Added new files in gnu/java/beans and
8000 java/beans/XMLDecoder.java.
8001 * Makefile.in: Regenerated.
8003 2005-02-19 Robert Schuster <thebohemian@gmx.net>
8005 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
8006 assignment behavior by using java.lang.reflect.Array.set()
8009 2005-02-19 Dalibor Topic <robilad@kaffe.org>
8011 * gnu/java/beans/EmptyBeanInfo.java,
8012 gnu/java/beans/info/ComponentBeanInfo.java:
8013 Removed unused files.
8015 2005-02-19 Robert Schuster <thebohemian@gmx.net>
8017 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
8018 of AppletStub for java.beans.Beans.instantiate.
8019 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
8021 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
8022 to be conformant with Javadoc guidelines.
8023 (instantiate): Added two more overloaded variants, reworked user
8024 documentation, fixed exception behavior, fixed behavior when
8027 2005-02-19 Mark Wielaard <mark@klomp.org>
8029 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
8031 * gnu/java/beans/decoder/DummyContext.java: Likewise.
8033 2005-02-19 Robert Schuster <theBohemian@gmx.net>
8035 * gnu/java/beans/decoder/AbstractContext.java,
8036 gnu/java/beans/decoder/AbstractCreatableContext.java,
8037 gnu/java/beans/decoder/AbstractElementHandler.java,
8038 gnu/java/beans/decoder/AbstractObjectContext.java,
8039 gnu/java/beans/decoder/ArrayContext.java,
8040 gnu/java/beans/decoder/ArrayHandler.java,
8041 gnu/java/beans/decoder/AssemblyException.java,
8042 gnu/java/beans/decoder/BooleanHandler.java,
8043 gnu/java/beans/decoder/ByteHandler.java,
8044 gnu/java/beans/decoder/CharHandler.java,
8045 gnu/java/beans/decoder/ClassHandler.java,
8046 gnu/java/beans/decoder/ConstructorContext.java,
8047 gnu/java/beans/decoder/Context.java,
8048 gnu/java/beans/decoder/DecoderContext.java,
8049 gnu/java/beans/decoder/DefaultExceptionListener.java,
8050 gnu/java/beans/decoder/DoubleHandler.java,
8051 gnu/java/beans/decoder/DummyContext.java,
8052 gnu/java/beans/decoder/DummyHandler.java,
8053 gnu/java/beans/decoder/ElementHandler.java,
8054 gnu/java/beans/decoder/FloatHandler.java,
8055 gnu/java/beans/decoder/GrowableArrayContext.java,
8056 gnu/java/beans/decoder/IndexContext.java,
8057 gnu/java/beans/decoder/IntHandler.java,
8058 gnu/java/beans/decoder/JavaHandler.java,
8059 gnu/java/beans/decoder/LongHandler.java,
8060 gnu/java/beans/decoder/MethodContext.java,
8061 gnu/java/beans/decoder/MethodFinder.java,
8062 gnu/java/beans/decoder/NullHandler.java,
8063 gnu/java/beans/decoder/ObjectContext.java,
8064 gnu/java/beans/decoder/ObjectHandler.java,
8065 gnu/java/beans/decoder/PersistenceParser.java,
8066 gnu/java/beans/decoder/PropertyContext.java,
8067 gnu/java/beans/decoder/ShortHandler.java,
8068 gnu/java/beans/decoder/SimpleHandler.java,
8069 gnu/java/beans/decoder/StaticMethodContext.java,
8070 gnu/java/beans/decoder/StringHandler.java,
8071 gnu/java/beans/decoder/VoidHandler.java: New class
8072 implementing java.beans.XMLDecoder decoding functionality.
8073 * java/beans/XMLDecoder.java: New class.
8075 2005-02-19 Michael Koch <konqueror@gmx.de>
8077 * javax/swing/JTextField.java
8078 (notfiyAction): Added javadoc.
8080 2005-02-19 Sven de Marothy <sven@physto.se>
8082 * javax/swing/SpinnerDateModel.java: Implemented.
8084 2005-02-19 Michael Koch <konqueror@gmx.de>
8086 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
8087 * Makefile.in: Regenerated.
8089 2005-02-19 Michael Koch <konqueror@gmx.de>
8091 * gnu/java/nio/SelectorImpl.java:
8092 Reworked import statements.
8093 (register): Removed unused code.
8094 * java/nio/channels/Channels.java: Reformatted.
8095 * java/nio/charset/Charset.java: Likewise.
8096 * java/rmi/server/RemoteObject.java
8097 (serialVersionUID): Made private.
8098 * java/rmi/server/UID.java
8099 (serialVersionUID): Likewise.
8101 2005-02-19 Michael Koch <konqueror@gmx.de>
8103 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
8104 gnu/java/net/protocol/ftp/BlockInputStream.java,
8105 gnu/java/net/protocol/ftp/BlockOutputStream.java,
8106 gnu/java/net/protocol/ftp/CompressedInputStream.java,
8107 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
8108 gnu/java/net/protocol/ftp/DTPInputStream.java,
8109 gnu/java/net/protocol/ftp/DTP.java,
8110 gnu/java/net/protocol/ftp/DTPOutputStream.java,
8111 gnu/java/net/protocol/ftp/FTPConnection.java,
8112 gnu/java/net/protocol/ftp/FTPException.java,
8113 gnu/java/net/protocol/ftp/FTPResponse.java,
8114 gnu/java/net/protocol/ftp/FTPURLConnection.java,
8115 gnu/java/net/protocol/ftp/Handler.java,
8116 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
8117 gnu/java/net/protocol/ftp/StreamInputStream.java,
8118 gnu/java/net/protocol/ftp/StreamOutputStream.java,
8119 gnu/java/net/CRLFInputStream.java,
8120 gnu/java/net/CRLFOutputStream.java,
8121 gnu/java/net/GetLocalHostAction.java,
8122 gnu/java/net/protocol/ftp/package.html: New files.
8123 * Makefile.am: Added new files.
8124 * Makefile.in: Regenerated.
8126 2005-02-18 Tom Tromey <tromey@redhat.com>
8128 * link.cc (make_vtable): Remove abstract method check.
8129 (append_partial_itable): Likewise.
8132 * verify.cc (type::equals): Fixed test.
8133 * testsuite/libjava.lang/PR20056.out: New file.
8134 * testsuite/libjava.lang/PR20056.java: New file.
8136 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
8138 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
8139 not the HashEntry. Reported by Jean-Marie White.
8141 2005-02-18 Tom Tromey <tromey@redhat.com>
8144 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
8145 * link.cc (has_field_p): New function.
8146 * verify.cc (check_field_constant): Added 'putfield' argument.
8147 (verify_instructions_0): Updated.
8148 (type::equals): New method.
8150 2005-02-18 Anthony Green <green@redhat.com>
8152 * NEWS: Draft of libgcj NEWS for 4.0.
8154 2005-02-18 Anthony Green <green@redhat.com>
8156 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
8157 architecture names to "i386" for compatibility reasons. Win32
8160 2005-02-18 Anthony Green <green@redhat.com>
8162 * gij.cc (version): Change year for '--version' to 2005.
8163 * gnu/gcj/convert/Convert.java: Ditto.
8164 * gnu/java/rmi/rmic/RMIC.java: Ditto.
8165 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
8167 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
8168 recent copyright year in `--version' output.
8170 2005-02-18 Robert Schuster <thebohemian@gmx.net>
8172 * java/nio/charset/Charset.java (forName): Throws
8173 IllegalArgumentException when argument is null
8174 and added documentation.
8176 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
8178 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
8179 Move the position of the source buffer forward.
8181 2005-02-17 Tom Tromey <tromey@redhat.com>
8183 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
8184 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
8185 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
8186 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
8187 Changed type of second argument. Rewrote.
8188 (make_vtable): Use it.
8189 (append_partial_itable): Updated.
8190 (layout_vtable_methods): Updated.
8192 2005-02-17 Michael Koch <konqueror@gmx.de>
8194 * gnu/java/net/PlainSocketImpl.java
8195 (shutdownInput): Added javadoc.
8196 (shutdownOutput): Likewise.
8198 2005-02-17 Michael Koch <konqueror@gmx.de>
8200 * javax/print/attribute/standard/Chromaticity.java,
8201 javax/print/attribute/standard/Destination.java,
8202 javax/print/attribute/standard/MediaPrintableArea.java,
8203 javax/print/attribute/standard/MediaSize.java: New files.
8204 * Makefile.am: Added new files.
8205 * Makefile.in: Regenerated.
8207 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
8208 Michael Koch <konqueror@gmx.de>
8210 * gnu/java/net/protocol/http/Cookie.java,
8211 gnu/java/net/protocol/http/HTTPConnection.java,
8212 gnu/java/net/protocol/http/HTTPDateFormat.java,
8213 gnu/java/net/protocol/http/Request.java,
8214 gnu/java/nio/PipeImpl.java,
8215 gnu/java/rmi/dgc/DGCImpl.java,
8216 gnu/java/rmi/server/ConnectionRunnerPool.java,
8217 gnu/java/rmi/server/UnicastConnectionManager.java,
8218 gnu/java/security/der/DERWriter.java,
8219 gnu/java/security/pkcs/SignerInfo.java,
8220 gnu/java/security/provider/EncodedKeyFactory.java,
8221 gnu/java/security/provider/GnuDHPublicKey.java,
8222 gnu/java/security/provider/GnuDSAPrivateKey.java,
8223 gnu/java/security/provider/GnuDSAPublicKey.java,
8224 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
8225 gnu/java/security/x509/X500DistinguishedName.java,
8226 gnu/java/security/x509/X509CRL.java,
8227 gnu/java/security/x509/X509CRLEntry.java,
8228 gnu/java/security/x509/X509Certificate.java,
8229 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
8230 gnu/java/security/x509/ext/CertificatePolicies.java,
8231 gnu/java/security/x509/ext/PolicyConstraint.java,
8232 gnu/xml/dom/Consumer.java,
8233 gnu/xml/dom/DomCharacterData.java,
8234 gnu/xml/dom/DomDocument.java,
8235 gnu/xml/dom/DomDocumentBuilder.java,
8236 gnu/xml/dom/DomIterator.java,
8237 gnu/xml/dom/DomNode.java,
8238 gnu/xml/dom/DomXPathExpression.java,
8239 gnu/xml/dom/DomXPathResult.java,
8240 gnu/xml/dom/JAXPFactory.java,
8241 gnu/xml/pipeline/CallFilter.java,
8242 gnu/xml/pipeline/DomConsumer.java,
8243 gnu/xml/pipeline/LinkFilter.java,
8244 gnu/xml/pipeline/NSFilter.java,
8245 gnu/xml/pipeline/TeeConsumer.java,
8246 gnu/xml/pipeline/ValidationConsumer.java,
8247 gnu/xml/pipeline/WellFormednessFilter.java,
8248 gnu/xml/pipeline/XIncludeFilter.java,
8249 gnu/xml/pipeline/XsltFilter.java,
8250 gnu/xml/transform/ApplyImportsNode.java,
8251 gnu/xml/transform/Bindings.java,
8252 gnu/xml/transform/DocumentFunction.java,
8253 gnu/xml/transform/FormatNumberFunction.java,
8254 gnu/xml/transform/NodeNumberNode.java,
8255 gnu/xml/transform/NumberNode.java,
8256 gnu/xml/transform/Stylesheet.java,
8257 gnu/xml/transform/SystemPropertyFunction.java,
8258 gnu/xml/transform/Template.java,
8259 gnu/xml/transform/TemplatesImpl.java,
8260 gnu/xml/transform/TransformerImpl.java,
8261 gnu/xml/transform/ValueOfNode.java,
8262 gnu/xml/transform/XSLURIResolver.java,
8263 gnu/xml/util/DoParse.java,
8264 gnu/xml/util/Resolver.java,
8265 gnu/xml/xpath/Expr.java,
8266 gnu/xml/xpath/FunctionCall.java,
8267 gnu/xml/xpath/RelationalExpr.java,
8268 gnu/xml/xpath/Selector.java,
8269 gnu/xml/xpath/XPathParser.java:
8270 Reworked import statements, fixed modifier order and some little
8273 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
8275 * java/nio/ByteBufferImpl.java (compact):
8276 Set position and limit even if no bytes were moved.
8278 2005-02-17 Michael Koch <konqueror@gmx.de>
8280 * java/nio/CharViewBufferImpl.java (compact): Likewise.
8281 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
8282 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
8283 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
8284 * java/nio/IntViewBufferImpl.java (compact): Likewise.
8285 * java/nio/LongViewBufferImpl.java (compact): Likewise.
8286 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
8287 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
8288 * java/nio/FloatBufferImpl.java (compact): Set position.
8289 * java/nio/CharBufferImpl.java (compact): Likewise.
8290 * java/nio/DoubleBufferImpl.java (compact): Likewise.
8291 * java/nio/IntBufferImpl.java (compact): Likewise.
8292 * java/nio/LongBufferImpl.java (compact): Likewise.
8293 * java/nio/ShortBufferImpl.java (compact): Likewise.
8295 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
8297 * java/nio/ByteBufferImpl.java,
8298 java/nio/CharBufferImpl.java,
8299 java/nio/DirectByteBufferImpl.java,
8300 java/nio/DoubleBufferImpl.java,
8301 java/nio/FloatBufferImpl.java,
8302 java/nio/IntBufferImpl.java,
8303 java/nio/LongBufferImpl.java,
8304 java/nio/MappedByteBufferImpl.java,
8305 java/nio/ShortBufferImpl.java
8306 (compact): Added explicit read-only check and invalidate mark.
8308 2005-02-17 Michael Koch <konqueror@gmx.de>
8310 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
8311 gnu/java/awt/peer/gtk/GdkFontPeer.java,
8312 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
8313 gnu/java/awt/peer/gtk/GdkGraphics.java,
8314 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8315 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
8316 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
8317 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
8318 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
8319 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
8320 gnu/java/awt/peer/gtk/GdkTextLayout.java,
8321 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8322 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8323 gnu/java/awt/peer/gtk/GtkClipboard.java,
8324 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8325 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8326 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8327 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8328 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8329 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8330 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8331 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8332 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8333 gnu/java/awt/peer/gtk/GtkToolkit.java,
8334 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8335 java/applet/Applet.java,
8336 java/awt/AWTError.java,
8337 java/awt/AWTEvent.java,
8338 java/awt/AWTEventMulticaster.java,
8339 java/awt/AWTException.java,
8340 java/awt/AWTKeyStroke.java,
8341 java/awt/AWTPermission.java,
8342 java/awt/ActiveEvent.java,
8343 java/awt/Adjustable.java,
8344 java/awt/AlphaComposite.java,
8345 java/awt/AttributeValue.java,
8346 java/awt/BorderLayout.java,
8347 java/awt/BufferCapabilities.java,
8348 java/awt/Button.java,
8349 java/awt/Canvas.java,
8350 java/awt/CheckboxGroup.java,
8351 java/awt/CheckboxMenuItem.java,
8352 java/awt/Color.java,
8353 java/awt/ColorPaintContext.java,
8354 java/awt/Component.java,
8355 java/awt/ComponentOrientation.java,
8356 java/awt/Composite.java,
8357 java/awt/CompositeContext.java,
8358 java/awt/Container.java,
8359 java/awt/ContainerOrderFocusTraversalPolicy.java,
8360 java/awt/DefaultFocusTraversalPolicy.java,
8361 java/awt/Dialog.java,
8362 java/awt/Dimension.java,
8363 java/awt/DisplayMode.java,
8364 java/awt/EventQueue.java,
8365 java/awt/FileDialog.java,
8366 java/awt/FontFormatException.java,
8367 java/awt/Graphics.java,
8368 java/awt/Graphics2D.java,
8369 java/awt/GraphicsConfigTemplate.java,
8370 java/awt/GraphicsConfiguration.java,
8371 java/awt/GraphicsDevice.java,
8372 java/awt/GridBagLayout.java,
8373 java/awt/GridBagLayoutInfo.java,
8374 java/awt/GridLayout.java,
8375 java/awt/HeadlessException.java,
8376 java/awt/IllegalComponentStateException.java,
8377 java/awt/Image.java,
8378 java/awt/Insets.java,
8379 java/awt/ItemSelectable.java,
8380 java/awt/JobAttributes.java,
8381 java/awt/KeyEventDispatcher.java,
8382 java/awt/KeyEventPostProcessor.java,
8383 java/awt/KeyboardFocusManager.java,
8384 java/awt/Label.java,
8385 java/awt/LayoutManager.java,
8386 java/awt/MenuBar.java,
8387 java/awt/MenuComponent.java,
8388 java/awt/MenuContainer.java,
8389 java/awt/PageAttributes.java,
8390 java/awt/Paint.java,
8391 java/awt/PaintContext.java,
8392 java/awt/Panel.java,
8393 java/awt/Point.java,
8394 java/awt/Polygon.java,
8395 java/awt/PrintGraphics.java,
8396 java/awt/PrintJob.java,
8397 java/awt/Rectangle.java,
8398 java/awt/RenderingHints.java,
8399 java/awt/Shape.java,
8400 java/awt/Stroke.java,
8401 java/awt/SystemColor.java,
8402 java/awt/Toolkit.java,
8403 java/awt/Transparency.java,
8404 java/awt/Window.java,
8405 java/awt/color/CMMException.java,
8406 java/awt/color/ColorSpace.java,
8407 java/awt/color/ICC_ColorSpace.java,
8408 java/awt/color/ICC_Profile.java,
8409 java/awt/color/ProfileDataException.java,
8410 java/awt/datatransfer/FlavorTable.java,
8411 java/awt/datatransfer/MimeTypeParseException.java,
8412 java/awt/datatransfer/Transferable.java,
8413 java/awt/datatransfer/UnsupportedFlavorException.java,
8414 java/awt/dnd/Autoscroll.java,
8415 java/awt/dnd/DnDConstants.java,
8416 java/awt/dnd/DragGestureListener.java,
8417 java/awt/dnd/DragSourceAdapter.java,
8418 java/awt/dnd/DragSourceDropEvent.java,
8419 java/awt/dnd/DragSourceListener.java,
8420 java/awt/dnd/DragSourceMotionListener.java,
8421 java/awt/dnd/DropTargetAdapter.java,
8422 java/awt/dnd/DropTargetContext.java,
8423 java/awt/dnd/DropTargetListener.java,
8424 java/awt/dnd/InvalidDnDOperationException.java,
8425 java/awt/dnd/MouseDragGestureRecognizer.java,
8426 java/awt/dnd/peer/DropTargetContextPeer.java,
8427 java/awt/event/AWTEventListener.java,
8428 java/awt/event/AWTEventListenerProxy.java,
8429 java/awt/event/ActionEvent.java,
8430 java/awt/event/AdjustmentEvent.java,
8431 java/awt/event/AdjustmentListener.java,
8432 java/awt/event/ComponentAdapter.java,
8433 java/awt/event/ComponentEvent.java,
8434 java/awt/event/ComponentListener.java,
8435 java/awt/event/ContainerAdapter.java,
8436 java/awt/event/ContainerEvent.java,
8437 java/awt/event/ContainerListener.java,
8438 java/awt/event/FocusAdapter.java,
8439 java/awt/event/FocusEvent.java,
8440 java/awt/event/FocusListener.java,
8441 java/awt/event/InputEvent.java,
8442 java/awt/event/InputMethodEvent.java,
8443 java/awt/event/InputMethodListener.java,
8444 java/awt/event/InvocationEvent.java,
8445 java/awt/event/ItemEvent.java,
8446 java/awt/event/ItemListener.java,
8447 java/awt/event/KeyAdapter.java,
8448 java/awt/event/KeyEvent.java,
8449 java/awt/event/KeyListener.java,
8450 java/awt/event/MouseAdapter.java,
8451 java/awt/event/MouseEvent.java,
8452 java/awt/event/MouseListener.java,
8453 java/awt/event/MouseMotionAdapter.java,
8454 java/awt/event/MouseMotionListener.java,
8455 java/awt/event/MouseWheelEvent.java,
8456 java/awt/event/MouseWheelListener.java,
8457 java/awt/event/PaintEvent.java,
8458 java/awt/event/TextEvent.java,
8459 java/awt/event/TextListener.java,
8460 java/awt/event/WindowAdapter.java,
8461 java/awt/event/WindowEvent.java,
8462 java/awt/event/WindowFocusListener.java,
8463 java/awt/event/WindowListener.java,
8464 java/awt/event/WindowStateListener.java,
8465 java/awt/font/TextHitInfo.java,
8466 java/awt/geom/CubicCurve2D.java,
8467 java/awt/geom/Dimension2D.java,
8468 java/awt/geom/Ellipse2D.java,
8469 java/awt/geom/IllegalPathStateException.java,
8470 java/awt/geom/Line2D.java,
8471 java/awt/geom/NoninvertibleTransformException.java,
8472 java/awt/geom/PathIterator.java,
8473 java/awt/geom/Point2D.java,
8474 java/awt/geom/QuadCurve2D.java,
8475 java/awt/geom/RectangularShape.java,
8476 java/awt/geom/RoundRectangle2D.java,
8477 java/awt/im/InputContext.java,
8478 java/awt/im/InputMethodHighlight.java,
8479 java/awt/im/InputMethodRequests.java,
8480 java/awt/im/InputSubset.java,
8481 java/awt/im/spi/InputMethod.java,
8482 java/awt/im/spi/InputMethodDescriptor.java,
8483 java/awt/image/BandCombineOp.java,
8484 java/awt/image/BandedSampleModel.java,
8485 java/awt/image/ByteLookupTable.java,
8486 java/awt/image/ComponentSampleModel.java,
8487 java/awt/image/DataBuffer.java,
8488 java/awt/image/DataBufferByte.java,
8489 java/awt/image/DataBufferDouble.java,
8490 java/awt/image/DataBufferFloat.java,
8491 java/awt/image/DataBufferInt.java,
8492 java/awt/image/DataBufferShort.java,
8493 java/awt/image/DataBufferUShort.java,
8494 java/awt/image/ImagingOpException.java,
8495 java/awt/image/Kernel.java,
8496 java/awt/image/LookupTable.java,
8497 java/awt/image/MultiPixelPackedSampleModel.java,
8498 java/awt/image/PackedColorModel.java,
8499 java/awt/image/PixelInterleavedSampleModel.java,
8500 java/awt/image/RGBImageFilter.java,
8501 java/awt/image/Raster.java,
8502 java/awt/image/RasterFormatException.java,
8503 java/awt/image/SampleModel.java,
8504 java/awt/image/ShortLookupTable.java,
8505 java/awt/image/SinglePixelPackedSampleModel.java,
8506 java/awt/image/WritableRaster.java,
8507 java/awt/print/PrinterAbortException.java,
8508 java/awt/print/PrinterException.java,
8509 java/awt/print/PrinterIOException.java,
8510 java/beans/AppletInitializer.java,
8511 java/beans/ExceptionListener.java,
8512 java/beans/PropertyChangeEvent.java,
8513 java/beans/PropertyChangeListenerProxy.java,
8514 java/beans/PropertyChangeSupport.java,
8515 java/beans/PropertyDescriptor.java,
8516 java/beans/VetoableChangeListenerProxy.java,
8517 java/beans/VetoableChangeSupport.java,
8518 java/io/BufferedReader.java,
8519 java/io/ByteArrayInputStream.java,
8520 java/io/ByteArrayOutputStream.java,
8521 java/io/CharArrayReader.java,
8522 java/io/CharArrayWriter.java,
8523 java/io/CharConversionException.java,
8524 java/io/DataInput.java,
8525 java/io/DataInputStream.java,
8526 java/io/DataOutput.java,
8527 java/io/DataOutputStream.java,
8528 java/io/EOFException.java,
8529 java/io/FileInputStream.java,
8530 java/io/FileNotFoundException.java,
8531 java/io/FileOutputStream.java,
8532 java/io/FilenameFilter.java,
8533 java/io/FilterInputStream.java,
8534 java/io/FilterOutputStream.java,
8535 java/io/FilterReader.java,
8536 java/io/FilterWriter.java,
8537 java/io/IOException.java,
8538 java/io/InputStream.java,
8539 java/io/InterruptedIOException.java,
8540 java/io/LineNumberInputStream.java,
8541 java/io/LineNumberReader.java,
8542 java/io/ObjectInputStream.java,
8543 java/io/ObjectStreamException.java,
8544 java/io/OptionalDataException.java,
8545 java/io/OutputStream.java,
8546 java/io/OutputStreamWriter.java,
8547 java/io/PrintStream.java,
8548 java/io/PrintWriter.java,
8549 java/io/PushbackInputStream.java,
8550 java/io/PushbackReader.java,
8551 java/io/RandomAccessFile.java,
8552 java/io/Reader.java,
8553 java/io/SequenceInputStream.java,
8554 java/io/Serializable.java,
8555 java/io/StreamCorruptedException.java,
8556 java/io/StreamTokenizer.java,
8557 java/io/StringBufferInputStream.java,
8558 java/io/StringWriter.java,
8559 java/io/SyncFailedException.java,
8560 java/io/UTFDataFormatException.java,
8561 java/io/UnsupportedEncodingException.java,
8562 java/io/WriteAbortedException.java,
8563 java/io/Writer.java,
8564 java/lang/AbstractMethodError.java,
8565 java/lang/ArithmeticException.java,
8566 java/lang/ArrayIndexOutOfBoundsException.java,
8567 java/lang/ArrayStoreException.java,
8568 java/lang/AssertionError.java,
8569 java/lang/Boolean.java,
8570 java/lang/Byte.java,
8571 java/lang/Class.java,
8572 java/lang/ClassCastException.java,
8573 java/lang/ClassCircularityError.java,
8574 java/lang/ClassLoader.java,
8575 java/lang/ClassNotFoundException.java,
8576 java/lang/CloneNotSupportedException.java,
8577 java/lang/Cloneable.java,
8578 java/lang/Comparable.java,
8579 java/lang/Compiler.java,
8580 java/lang/Double.java,
8581 java/lang/Error.java,
8582 java/lang/Exception.java,
8583 java/lang/ExceptionInInitializerError.java,
8584 java/lang/Float.java,
8585 java/lang/IllegalAccessError.java,
8586 java/lang/IllegalAccessException.java,
8587 java/lang/IllegalArgumentException.java,
8588 java/lang/IllegalMonitorStateException.java,
8589 java/lang/IllegalStateException.java,
8590 java/lang/IllegalThreadStateException.java,
8591 java/lang/IncompatibleClassChangeError.java,
8592 java/lang/IndexOutOfBoundsException.java,
8593 java/lang/InheritableThreadLocal.java,
8594 java/lang/InstantiationError.java,
8595 java/lang/InstantiationException.java,
8596 java/lang/Integer.java,
8597 java/lang/InternalError.java,
8598 java/lang/InterruptedException.java,
8599 java/lang/LinkageError.java,
8600 java/lang/Long.java,
8601 java/lang/NegativeArraySizeException.java,
8602 java/lang/NoClassDefFoundError.java,
8603 java/lang/NoSuchFieldError.java,
8604 java/lang/NoSuchFieldException.java,
8605 java/lang/NoSuchMethodError.java,
8606 java/lang/NoSuchMethodException.java,
8607 java/lang/NullPointerException.java,
8608 java/lang/Number.java,
8609 java/lang/NumberFormatException.java,
8610 java/lang/OutOfMemoryError.java,
8611 java/lang/Process.java,
8612 java/lang/Runnable.java,
8613 java/lang/Runtime.java,
8614 java/lang/RuntimeException.java,
8615 java/lang/RuntimePermission.java,
8616 java/lang/SecurityException.java,
8617 java/lang/SecurityManager.java,
8618 java/lang/Short.java,
8619 java/lang/StackOverflowError.java,
8620 java/lang/StackTraceElement.java,
8621 java/lang/StringBuffer.java,
8622 java/lang/StringIndexOutOfBoundsException.java,
8623 java/lang/ThreadDeath.java,
8624 java/lang/ThreadGroup.java,
8625 java/lang/Throwable.java,
8626 java/lang/UnsatisfiedLinkError.java,
8627 java/lang/UnsupportedOperationException.java,
8628 java/lang/VerifyError.java,
8629 java/lang/VirtualMachineError.java,
8630 java/lang/reflect/AccessibleObject.java,
8631 java/lang/reflect/Array.java,
8632 java/lang/reflect/InvocationTargetException.java,
8633 java/lang/reflect/Member.java,
8634 java/lang/reflect/Modifier.java,
8635 java/lang/reflect/Proxy.java,
8636 java/lang/reflect/ReflectPermission.java,
8637 java/lang/reflect/UndeclaredThrowableException.java,
8638 java/math/BigInteger.java,
8639 java/net/NetworkInterface.java,
8640 java/nio/ByteBufferHelper.java,
8641 java/nio/ByteBufferImpl.java,
8642 java/nio/DirectByteBufferImpl.java,
8643 java/nio/DoubleBufferImpl.java,
8644 java/nio/FloatBufferImpl.java,
8645 java/nio/IntBufferImpl.java,
8646 java/nio/LongBufferImpl.java,
8647 java/nio/ShortBufferImpl.java,
8648 java/nio/channels/Channel.java,
8649 java/nio/channels/IllegalBlockingModeException.java,
8650 java/nio/charset/spi/CharsetProvider.java,
8651 java/security/AccessControlException.java,
8652 java/security/BasicPermission.java,
8653 java/security/DigestException.java,
8654 java/security/DigestInputStream.java,
8655 java/security/DigestOutputStream.java,
8656 java/security/GeneralSecurityException.java,
8657 java/security/Guard.java,
8658 java/security/GuardedObject.java,
8659 java/security/InvalidAlgorithmParameterException.java,
8660 java/security/InvalidKeyException.java,
8661 java/security/InvalidParameterException.java,
8662 java/security/Key.java,
8663 java/security/KeyException.java,
8664 java/security/KeyManagementException.java,
8665 java/security/KeyStoreException.java,
8666 java/security/MessageDigestSpi.java,
8667 java/security/NoSuchAlgorithmException.java,
8668 java/security/NoSuchProviderException.java,
8669 java/security/Permission.java,
8670 java/security/PermissionCollection.java,
8671 java/security/Permissions.java,
8672 java/security/Principal.java,
8673 java/security/PrivateKey.java,
8674 java/security/PrivilegedActionException.java,
8675 java/security/ProviderException.java,
8676 java/security/PublicKey.java,
8677 java/security/SecureRandom.java,
8678 java/security/SecureRandomSpi.java,
8679 java/security/SignatureException.java,
8680 java/security/SignatureSpi.java,
8681 java/security/SignedObject.java,
8682 java/security/Signer.java,
8683 java/security/UnrecoverableKeyException.java,
8684 java/security/UnresolvedPermission.java,
8685 java/security/acl/AclNotFoundException.java,
8686 java/security/acl/LastOwnerException.java,
8687 java/security/acl/NotOwnerException.java,
8688 java/security/cert/CertPath.java,
8689 java/security/cert/CertPathBuilderException.java,
8690 java/security/cert/CertPathValidatorException.java,
8691 java/security/cert/CertStoreException.java,
8692 java/text/BreakIterator.java,
8693 java/text/ChoiceFormat.java,
8694 java/text/CollationElementIterator.java,
8695 java/text/CollationKey.java,
8696 java/text/Collator.java,
8697 java/text/DateFormat.java,
8698 java/text/DateFormatSymbols.java,
8699 java/text/DecimalFormat.java,
8700 java/text/DecimalFormatSymbols.java,
8701 java/text/FieldPosition.java,
8702 java/text/Format.java,
8703 java/text/NumberFormat.java,
8704 java/text/ParseException.java,
8705 java/text/ParsePosition.java,
8706 java/text/StringCharacterIterator.java,
8707 java/util/AbstractCollection.java,
8708 java/util/AbstractList.java,
8709 java/util/AbstractMap.java,
8710 java/util/AbstractSequentialList.java,
8711 java/util/AbstractSet.java,
8712 java/util/ArrayList.java,
8713 java/util/Arrays.java,
8714 java/util/BitSet.java,
8715 java/util/Collection.java,
8716 java/util/Collections.java,
8717 java/util/Comparator.java,
8718 java/util/ConcurrentModificationException.java,
8719 java/util/Currency.java,
8720 java/util/Date.java,
8721 java/util/EmptyStackException.java,
8722 java/util/Enumeration.java,
8723 java/util/EventListener.java,
8724 java/util/EventListenerProxy.java,
8725 java/util/EventObject.java,
8726 java/util/HashMap.java,
8727 java/util/HashSet.java,
8728 java/util/Hashtable.java,
8729 java/util/IdentityHashMap.java,
8730 java/util/Iterator.java,
8731 java/util/LinkedHashSet.java,
8732 java/util/LinkedList.java,
8733 java/util/List.java,
8734 java/util/ListIterator.java,
8735 java/util/ListResourceBundle.java,
8737 java/util/MissingResourceException.java,
8738 java/util/NoSuchElementException.java,
8739 java/util/Observable.java,
8740 java/util/Observer.java,
8741 java/util/Properties.java,
8742 java/util/PropertyPermissionCollection.java,
8743 java/util/RandomAccess.java,
8745 java/util/SortedMap.java,
8746 java/util/SortedSet.java,
8747 java/util/Stack.java,
8748 java/util/StringTokenizer.java,
8749 java/util/TooManyListenersException.java,
8750 java/util/TreeMap.java,
8751 java/util/TreeSet.java,
8752 java/util/Vector.java,
8753 java/util/logging/FileHandler.java,
8754 java/util/logging/Level.java,
8755 java/util/prefs/BackingStoreException.java,
8756 java/util/prefs/InvalidPreferencesFormatException.java,
8757 java/util/prefs/Preferences.java,
8758 javax/accessibility/Accessible.java,
8759 javax/accessibility/AccessibleAction.java,
8760 javax/accessibility/AccessibleBundle.java,
8761 javax/accessibility/AccessibleComponent.java,
8762 javax/accessibility/AccessibleContext.java,
8763 javax/accessibility/AccessibleEditableText.java,
8764 javax/accessibility/AccessibleExtendedComponent.java,
8765 javax/accessibility/AccessibleExtendedTable.java,
8766 javax/accessibility/AccessibleHyperlink.java,
8767 javax/accessibility/AccessibleHypertext.java,
8768 javax/accessibility/AccessibleIcon.java,
8769 javax/accessibility/AccessibleKeyBinding.java,
8770 javax/accessibility/AccessibleRelation.java,
8771 javax/accessibility/AccessibleRelationSet.java,
8772 javax/accessibility/AccessibleResourceBundle.java,
8773 javax/accessibility/AccessibleRole.java,
8774 javax/accessibility/AccessibleSelection.java,
8775 javax/accessibility/AccessibleState.java,
8776 javax/accessibility/AccessibleStateSet.java,
8777 javax/accessibility/AccessibleTable.java,
8778 javax/accessibility/AccessibleTableModelChange.java,
8779 javax/accessibility/AccessibleText.java,
8780 javax/accessibility/AccessibleValue.java,
8781 javax/imageio/IIOException.java,
8782 javax/imageio/ImageIO.java,
8783 javax/imageio/spi/IIOServiceProvider.java,
8784 javax/imageio/spi/ImageInputStreamSpi.java,
8785 javax/imageio/spi/ImageOutputStreamSpi.java,
8786 javax/imageio/spi/ImageReaderWriterSpi.java,
8787 javax/imageio/spi/ImageTranscoderSpi.java,
8788 javax/imageio/spi/RegisterableService.java,
8789 javax/imageio/spi/ServiceRegistry.java,
8790 javax/imageio/stream/IIOByteBuffer.java,
8791 javax/imageio/stream/ImageInputStream.java,
8792 javax/imageio/stream/ImageOutputStream.java,
8793 javax/naming/Binding.java,
8794 javax/naming/CannotProceedException.java,
8795 javax/naming/CompositeName.java,
8796 javax/naming/CompoundName.java,
8797 javax/naming/LinkException.java,
8798 javax/naming/LinkRef.java,
8799 javax/naming/NameClassPair.java,
8800 javax/naming/Reference.java,
8801 javax/naming/ReferralException.java,
8802 javax/naming/directory/Attribute.java,
8803 javax/naming/directory/AttributeModificationException.java,
8804 javax/naming/directory/Attributes.java,
8805 javax/naming/directory/DirContext.java,
8806 javax/naming/directory/ModificationItem.java,
8807 javax/naming/directory/SearchControls.java,
8808 javax/naming/directory/SearchResult.java,
8809 javax/naming/event/EventContext.java,
8810 javax/naming/event/EventDirContext.java,
8811 javax/naming/event/NamespaceChangeListener.java,
8812 javax/naming/event/NamingExceptionEvent.java,
8813 javax/naming/event/NamingListener.java,
8814 javax/naming/event/ObjectChangeListener.java,
8815 javax/naming/ldap/Control.java,
8816 javax/naming/ldap/ExtendedResponse.java,
8817 javax/naming/ldap/HasControls.java,
8818 javax/naming/ldap/LdapContext.java,
8819 javax/naming/ldap/UnsolicitedNotification.java,
8820 javax/naming/ldap/UnsolicitedNotificationEvent.java,
8821 javax/naming/ldap/UnsolicitedNotificationListener.java,
8822 javax/naming/spi/DirectoryManager.java,
8823 javax/naming/spi/ResolveResult.java,
8824 javax/naming/spi/Resolver.java,
8825 javax/security/auth/callback/Callback.java,
8826 javax/security/auth/callback/CallbackHandler.java,
8827 javax/security/auth/callback/ChoiceCallback.java,
8828 javax/security/auth/callback/ConfirmationCallback.java,
8829 javax/security/auth/callback/LanguageCallback.java,
8830 javax/security/auth/callback/NameCallback.java,
8831 javax/security/auth/callback/PasswordCallback.java,
8832 javax/security/auth/callback/TextInputCallback.java,
8833 javax/security/auth/callback/TextOutputCallback.java,
8834 javax/security/auth/callback/UnsupportedCallbackException.java,
8835 javax/security/sasl/Sasl.java,
8836 javax/security/sasl/SaslServerFactory.java,
8837 javax/swing/DefaultBoundedRangeModel.java,
8838 javax/swing/JComponent.java,
8839 javax/swing/JList.java,
8840 javax/swing/JProgressBar.java,
8841 javax/swing/JRadioButton.java,
8842 javax/swing/JTextArea.java,
8843 javax/swing/JTextField.java,
8844 javax/swing/JToggleButton.java,
8845 javax/swing/JTree.java,
8846 javax/swing/SpinnerListModel.java,
8847 javax/swing/event/EventListenerList.java,
8848 javax/swing/text/JTextComponent.java,
8849 javax/swing/text/StringContent.java,
8850 javax/swing/text/Utilities.java,
8851 javax/swing/undo/UndoManager.java,
8852 javax/swing/undo/UndoableEditSupport.java,
8853 javax/transaction/HeuristicCommitException.java,
8854 javax/transaction/HeuristicMixedException.java,
8855 javax/transaction/HeuristicRollbackException.java,
8856 javax/transaction/InvalidTransactionException.java,
8857 javax/transaction/NotSupportedException.java,
8858 javax/transaction/RollbackException.java,
8859 javax/transaction/Status.java,
8860 javax/transaction/Synchronization.java,
8861 javax/transaction/SystemException.java,
8862 javax/transaction/Transaction.java,
8863 javax/transaction/TransactionManager.java,
8864 javax/transaction/TransactionRequiredException.java,
8865 javax/transaction/TransactionRolledbackException.java,
8866 javax/transaction/UserTransaction.java,
8867 javax/transaction/xa/XAException.java,
8868 javax/transaction/xa/XAResource.java,
8869 javax/transaction/xa/Xid.java,
8870 javax/xml/XMLConstants.java,
8871 javax/xml/datatype/DatatypeConfigurationException.java,
8872 javax/xml/datatype/DatatypeConstants.java,
8873 javax/xml/datatype/DatatypeFactory.java,
8874 javax/xml/datatype/Duration.java,
8875 javax/xml/datatype/XMLGregorianCalendar.java,
8876 javax/xml/namespace/NamespaceContext.java,
8877 javax/xml/namespace/QName.java,
8878 javax/xml/parsers/DocumentBuilder.java,
8879 javax/xml/parsers/DocumentBuilderFactory.java,
8880 javax/xml/parsers/FactoryConfigurationError.java,
8881 javax/xml/parsers/ParserConfigurationException.java,
8882 javax/xml/parsers/SAXParser.java,
8883 javax/xml/parsers/SAXParserFactory.java,
8884 javax/xml/transform/ErrorListener.java,
8885 javax/xml/transform/OutputKeys.java,
8886 javax/xml/transform/Result.java,
8887 javax/xml/transform/Source.java,
8888 javax/xml/transform/SourceLocator.java,
8889 javax/xml/transform/Templates.java,
8890 javax/xml/transform/Transformer.java,
8891 javax/xml/transform/TransformerConfigurationException.java,
8892 javax/xml/transform/TransformerException.java,
8893 javax/xml/transform/TransformerFactory.java,
8894 javax/xml/transform/TransformerFactoryConfigurationError.java,
8895 javax/xml/transform/URIResolver.java,
8896 javax/xml/transform/dom/DOMLocator.java,
8897 javax/xml/transform/dom/DOMResult.java,
8898 javax/xml/transform/dom/DOMSource.java,
8899 javax/xml/transform/sax/SAXResult.java,
8900 javax/xml/transform/sax/SAXSource.java,
8901 javax/xml/transform/sax/SAXTransformerFactory.java,
8902 javax/xml/transform/sax/TemplatesHandler.java,
8903 javax/xml/transform/sax/TransformerHandler.java,
8904 javax/xml/transform/stream/StreamResult.java,
8905 javax/xml/transform/stream/StreamSource.java,
8906 javax/xml/validation/Schema.java,
8907 javax/xml/validation/SchemaFactory.java,
8908 javax/xml/validation/TypeInfoProvider.java,
8909 javax/xml/validation/Validator.java,
8910 javax/xml/validation/ValidatorHandler.java,
8911 javax/xml/xpath/XPathConstants.java,
8912 javax/xml/xpath/XPathException.java,
8913 javax/xml/xpath/XPathExpression.java,
8914 javax/xml/xpath/XPathExpressionException.java,
8915 javax/xml/xpath/XPathFactory.java,
8916 javax/xml/xpath/XPathFactoryConfigurationException.java,
8917 javax/xml/xpath/XPathFunction.java,
8918 javax/xml/xpath/XPathFunctionException.java,
8919 javax/xml/xpath/XPathFunctionResolver.java:
8920 Fixed usage of @author tag, reworked import statements,
8921 removed CVS tags, changed the modifier order and fixed
8922 HTML usage in javadocs.
8924 2005-02-16 Julian Scheid <julian@sektor37.de>
8926 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
8928 (encodeLoop): Likewise.
8930 2005-02-16 Mark Wielaard <mark@klomp.org>
8932 * Makefile.am (ordinary_java_source_files): Add new files
8933 gnu/java/security/ber/BER.java,
8934 gnu/java/security/ber/BEREncodingException.java,
8935 gnu/java/security/ber/BERReader.java,
8936 gnu/java/security/ber/BERValue.java,
8937 gnu/java/security/pkcs/PKCS7SignedData.java and
8938 gnu/java/security/pkcs/SignerInfo.java.
8939 * Makefile.in: Regenerated.
8941 2005-02-16 Casey Marshall <csm@gnu.org>
8943 * gnu/java/security/provider/GnuDSAPrivateKey.java
8944 (encodedKey): new field.
8945 (getFormat): return "PKCS#8".
8946 (getEncoded): implemented.
8947 (toString): check for 'null' values.
8948 * gnu/java/security/provider/GnuDSAPublicKey.java
8949 (encodedKey): new field.
8950 (getFormat): return "X.509".
8951 (getEncoded): implemented.
8952 (toString): check for 'null' values.
8954 2005-02-16 Michael Koch <konqueror@gmx.de>
8956 * java/util/jar/JarFile.java: Imports reworked.
8958 2005-02-16 Mark Wielaard <mark@klomp.org>
8960 * java/util/jar/JarFile.java (verify): Make package private.
8961 (signaturesRead): Likewise.
8962 (verified): Likewise.
8963 (entryCerts): Likewise.
8966 (entries): Construct new JarEnumeration with reference to this.
8967 (JarEnumeration): Make static.
8968 (JarEnumeration.jarfile): New field.
8969 (JarEnumeration.nextElement): Use and synchronize on jarfile.
8970 Compare verified value to Boolean.TRUE or Boolean.False only
8971 when verify is true.
8972 (getEntry): Make synchronized. Compare value of verified to
8974 (getInputStream): Construct EntryInputStream with reference to this.
8975 (getManifest): Make synchronized.
8976 (EntryInputStream): Make static.
8977 (EntryInputStream.jarfile): New field.
8978 (EntryInputStream.EntryInputStream): Check if manifest exists,
8979 before getting attributes.
8980 (eof): Synchronize on jarfile.
8982 2005-02-16 Casey Marshall <csm@gnu.org>
8984 * java/util/jar/JarFile.java (verify): return if the jar is signed
8985 with an unsupported algorithm.
8987 2005-02-16 Mark Wielaard <mark@klomp.org>
8989 * java/util/jar/JarFile.java (EntryInputStream): Add actual
8990 InputStream as argument.
8991 (getInputStream): Construct a new EntryInputStream with the result of
8992 super.getInputStream(entry).
8994 2005-02-16 Casey Marshall <csm@gnu.org>
8996 Signed JAR file support.
8997 * java/net/URLClassLoader.java
8998 (JarURLResource.getCertificates): re-read jar entry to ensure
8999 certificates are picked up.
9000 (findClass): fill in class `signers' field, too.
9001 * java/util/jar/JarFile.java (META_INF): new constant.
9002 (PKCS7_DSA_SUFFIX): new constant.
9003 (PKCS7_RSA_SUFFIX): new constant.
9004 (DIGEST_KEY_SUFFIX): new constant.
9005 (SF_SUFFIX): new constant.
9006 (MD2_OID): new constant.
9007 (MD4_OID): new constant.
9008 (MD5_OID): new constant.
9009 (SHA1_OID): new constant.
9010 (DSA_ENCRYPTION_OID): new constant.
9011 (RSA_ENCRYPTION_OID): new constant.
9012 (signaturesRead): new field.
9013 (verified): new field.
9014 (entryCerts): new field.
9015 (DEBUG): new constant.
9016 (debug): new method.
9017 (JarEnumeration.nextElement): fill in entry certificates, read
9018 signatures if they haven't been read.
9019 (getEntry): likewise.
9020 (getInputStream): verify stream if it hasn't been verified yet.
9021 (readSignatures): new method.
9022 (verify): new method.
9023 (verifyHashes): new method.
9024 (readManifestEntry): new method.
9025 (EntryInputStream): new class.
9026 * gnu/java/io/Base64InputStream.java (decode): new class
9028 * gnu/java/security/der/DERReader.java don't make class
9030 (in): made protected.
9032 (readLength): likewise.
9033 * gnu/java/security/ber/BER.java,
9034 * gnu/java/security/ber/BEREncodingException.java,
9035 * gnu/java/security/ber/BERReader.java,
9036 * gnu/java/security/ber/BERValue.java,
9037 * gnu/java/security/pkcs/PKCS7SignedData.java,
9038 * gnu/java/security/pkcs/SignerInfo.java:
9041 2005-02-16 Tom Tromey <tromey@redhat.com>
9043 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
9044 copied file on exit.
9046 2005-02-15 Mark Wielaard <mark@klomp.org>
9048 * java/awt/BasicStroke.java (hashCode): Check for null dash.
9050 2005-02-15 Michael Koch <konqueror@gmx.de>
9052 * gnu/java/awt/peer/gtk/GtkArg.java,
9053 gnu/java/awt/peer/gtk/GtkArgList.java:
9056 2005-02-15 Craig Black <craig.black@aonix.com>
9058 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
9059 (postMenuActionEvent): Implement to notify ItemListeners.
9060 * java/awt/CheckboxMenuItem.java
9061 (dispatchEventImpl): Update state on ItemEvent.
9062 * java/awt/MenuItem.java
9063 (processActionEvent): Retarget event source.
9065 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9067 * gnu/java/awt/color/ClutProfileConverter.java,
9068 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9069 gnu/java/awt/peer/gtk/GdkFontPeer.java,
9070 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
9071 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
9072 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
9073 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
9074 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
9075 gnu/java/awt/peer/gtk/GdkTextLayout.java,
9076 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9077 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9078 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9079 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9080 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9081 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9082 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9083 gnu/java/awt/peer/gtk/GtkFontPeer.java,
9084 gnu/java/awt/peer/gtk/GtkFramePeer.java,
9085 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9086 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9087 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9088 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9089 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9090 gnu/java/awt/peer/gtk/GtkToolkit.java,
9091 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9092 javax/swing/JPopupMenu.java,
9093 javax/swing/JSpinner.java,
9094 javax/swing/SortingFocusTraversalPolicy.java,
9095 javax/swing/SwingUtilities.java,
9096 javax/swing/plaf/basic/BasicComboBoxEditor.java,
9097 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
9098 javax/swing/tree/DefaultMutableTreeNode.java:
9099 Removed unused imports and expanded starred
9102 2005-02-15 Mark Wielaard <mark@klomp.org>
9104 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
9105 IllegalArgumentException when the given String is null.
9107 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
9108 when given keystoke sequence cannot be parsed.
9110 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
9111 if one is installed. Only install the given menubar is not null.
9113 * javax/swing/JViewport.java (getViewSize): Return an empty
9114 Dimension when the view isn't set or preferred component size when
9117 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
9118 empty Dimension when there is no view set.
9119 (minimumLayoutSize): Likewise.
9120 (layoutContainer): Don't try to layout when there is no view.
9122 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9125 * include/jawt.h: Likewise.
9126 * include/jawt_md.h: Likewise.
9127 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9129 * jni/classpath/classpath_jawt.h: Likewise.
9130 * jni/gtk-peer/gtk_jawt.c: Likewise.
9131 * Makefile.am: Build libjawt.so.
9133 2005-02-15 Michael Koch <konqueror@gmx.de>
9135 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9136 Merged file header with classpath CVS head.
9137 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9138 Merged code formatting with classpath CVS head.
9139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
9141 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
9142 Handle special JNI strings with 2 '\0' at the end.
9143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9144 Merged file header with classpath CVS head.
9145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9146 Merged code formatting with classpath CVS head.
9148 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
9151 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
9152 (handle_response): Use GTK_RESPONSE_ACCEPT.
9154 2005-02-15 Graydon Hoare <graydon@redhat.com>
9156 * Makefile.am: Fix library build breakage.
9157 * Makefile.in: Regenerate.
9159 2005-02-15 Michael Koch <konqueror@gmx.de>
9161 * javax/swing/JTabbedPane.java
9162 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
9164 2005-02-15 Michael Koch <konqueror@gmx.de>
9166 * javax/swing/tree/DefaultMutableTreeNode.java:
9167 Reworked Javadocs all over.
9168 (getPathToRoot): Fixed direction of result array initialization.
9170 2005-02-15 Michael Koch <konqueror@gmx.de>
9172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9173 Fix includes for cairo 0.3.0 snappshot.
9174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9175 Merged file header from classpath CVS HEAD.
9177 2005-02-15 Craig Black <craig.black@aonix.com>
9179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9180 (copyState): Pass a JNI global reference to signal handler.
9181 (realize_cb): Use and free JNI global reference.
9182 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9183 (create): Pass a JNI global reference to signal handler.
9184 (selection_changed): Match declaration.
9185 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9186 (dispose): Do not remove entries from state tables until after widget is
9189 2005-02-15 Michael Koch <konqueror@gmx.de>
9191 * java/awt/Container.javai (paramString):
9192 If layoutMgr is null just return result of super.paramString().
9193 * java/awt/Scrollbar.java: Reformatted.
9194 * java/awt/im/InputContext.java (static):
9195 Removed redundant initializations.
9197 2005-02-15 Michael Koch <konqueror@gmx.de>
9199 * javax/swing/ImageIcon.java,
9200 javax/swing/UIManager.java,
9201 javax/swing/text/EditorKit.java,
9202 javax/swing/text/Segment.java:
9203 More whitespace cleanups.
9205 2005-02-15 Michael Koch <konqueror@gmx.de>
9207 * gnu/java/awt/EmbeddedWindow.java,
9208 gnu/java/awt/image/ImageDecoder.java,
9209 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9210 java/awt/DefaultKeyboardFocusManager.java,
9211 java/awt/Frame.java,
9212 java/awt/image/RGBImageFilter.java,
9213 javax/swing/AbstractButton.java,
9214 javax/swing/ActionMap.java,
9215 javax/swing/ComponentInputMap.java,
9216 javax/swing/DefaultDesktopManager.java,
9217 javax/swing/ImageIcon.java,
9218 javax/swing/InputMap.java,
9219 javax/swing/JButton.java,
9220 javax/swing/JCheckBox.java,
9221 javax/swing/JCheckBoxMenuItem.java,
9222 javax/swing/JEditorPane.java,
9223 javax/swing/JMenu.java,
9224 javax/swing/JMenuItem.java,
9225 javax/swing/JOptionPane.java,
9226 javax/swing/JRootPane.java,
9227 javax/swing/JTable.java,
9228 javax/swing/MenuSelectionManager.java,
9229 javax/swing/RepaintManager.java,
9230 javax/swing/ScrollPaneLayout.java,
9231 javax/swing/SortingFocusTraversalPolicy.java,
9232 javax/swing/UIManager.java,
9233 javax/swing/ViewportLayout.java,
9234 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
9235 javax/swing/plaf/basic/BasicInternalFrameUI.java,
9236 javax/swing/plaf/basic/BasicLabelUI.java,
9237 javax/swing/plaf/basic/BasicListUI.java,
9238 javax/swing/plaf/basic/BasicMenuItemUI.java,
9239 javax/swing/plaf/basic/BasicMenuUI.java,
9240 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9241 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
9242 javax/swing/plaf/basic/BasicRootPaneUI.java,
9243 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9244 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
9245 javax/swing/plaf/basic/BasicTextUI.java,
9246 javax/swing/table/TableColumnModel.java,
9247 javax/swing/text/AbstractDocument.java,
9248 javax/swing/text/EditorKit.java,
9249 javax/swing/text/Position.java,
9250 javax/swing/text/Segment.java,
9251 javax/swing/text/StyledEditorKit.java,
9252 javax/swing/text/ViewFactory.java:
9253 Cleanup whitespace differences to classpath CVS HEAD.
9255 2005-02-15 Graydon Hoare <graydon@redhat.com>
9257 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9258 (finalize): Call finish from here.
9259 (produce): Not from here.
9260 * Makefile.am (gtk_c_source_files):
9261 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
9262 * Makefile.in: Regenerate.
9263 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9265 (cairoDrawGdkTextLayout):
9267 (getPeerTextMetrics):
9268 (getPeerFontMetrics): Remove.
9269 (setFont): Don't call cairoSetFont.
9270 (cairoDrawGlyphVector): Accept font peer argument.
9271 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
9272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9273 (ensure_metrics_cairo):
9274 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
9275 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
9276 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
9277 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
9279 (metrics_surface): Remove.
9280 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
9281 Pass and install font peer.
9283 2005-02-15 Graydon Hoare <graydon@redhat.com>
9285 * Makefile.am: Create "split library" structure.
9286 * Makefile.in: Regenerate.
9288 2005-02-15 Graydon Hoare <graydon@redhat.com>
9290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
9294 Release GDK lock during upcalls.
9296 2005-02-15 Graydon Hoare <graydon@redhat.com>
9298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
9299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
9300 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
9301 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
9302 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
9303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
9304 * gnu/java/awt/peer/gtk/GdkFontPeer.java
9307 (getTextMetrics): New native methods.
9308 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
9309 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
9310 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
9311 * Makefile.in: Regenerate.
9313 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9315 * javax/swing/SwingUtilities.java:
9316 (getAccessibleAt(java.awt.Component, java.awt.Point)):
9317 Implemented and documented.
9318 (getAccessibleChild(java.awt.Component, int)): Likewise.
9319 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
9320 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
9321 (getAccessibleStateSet(java.awt.Component)): Likewise.
9323 2005-02-15 Michael Koch <konqueror@gmx.de>
9325 * javax/swing/SwingUtilities.java
9326 (getFontMetrics): Removed.
9328 2005-02-15 Michael Koch <konqueror@gmx.de>
9330 * java/awt/Container.java
9331 (paramString): Implemented.
9332 * javax/swing/AbstractButton.java
9333 (paramString): Implemented.
9334 * javax/swing/JComponent.java
9335 (paramString): Implemented.
9336 * javax/swing/JMenu.java
9337 (paramString): Implemented.
9338 * javax/swing/JMenuBar.java
9339 (paramString): Implemented.
9340 * javax/swing/JMenuItem.java
9341 (paramString): Implemented.
9342 * javax/swing/JPopupMenu.java
9343 (paramString): Implemented.
9345 2005-02-15 Michael Koch <konqueror@gmx.de>
9347 * javax/swing/JMenu.java
9348 (uiClassID): Removed.
9349 (JMenu): Set invoker on popup menu.
9350 (getUIClassID): Return id directly.
9351 (getItemCount): Simply return getMenuComponentCount().
9353 (isTopLevelMenu): Simplified.
9354 * javax/swing/JMenuItem.java
9355 (uiClassID): Removed.
9356 (getUIClassID): Return id directly.
9357 * javax/swing/JPopupMenu.java
9358 (uiClassID): Removed.
9359 (JPopupMenu): Always initialize correctly.
9360 (getSubElements): Only return components implementing MenuElement
9362 (HeavyWeightPopup.hide): Removed.
9364 2005-02-15 Michael Koch <konqueror@gmx.de>
9366 * java/awt/image/ReplicateScaleFilter.java
9367 (replicatePixels): Made private.
9368 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
9369 (DefaultRGBChooserPanel): Made package private.
9370 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
9371 (RecentSwatchPanel): Likewise.
9372 * javax/swing/event/MouseInputAdapter.java: Reformatted.
9373 (MouseInputAdapter): Made abstract.
9374 * javax/swing/tree/DefaultMutableTreeNode.java
9376 (growTree): Likewise.
9378 2005-02-15 Michael Koch <konqueror@gmx.de>
9380 * java/awt/dnd/DropTarget.java (addDropTargetListener):
9383 2005-02-15 Michael Koch <konqueror@gmx.de>
9385 * javax/swing/JComponent.java (getComponentGraphics):
9386 Removed accidently commited code.
9388 2005-02-15 Graydon Hoare <graydon@redhat.com>
9390 * java/awt/dnd/DropTarget.java
9391 (addDropTargetListener): Despite documentation, do not throw.
9392 * javax/swing/JComponent.java: Set a default DropTarget.
9394 2005-02-15 Michael Koch <konqueror@gmx.de>
9396 * javax/swing/AbstractAction.java
9397 (ENABLED_PROPERTY): Removed.
9398 (setEnabled): Replaced constant with real string.
9399 * javax/swing/AbstractButton.java
9400 (createActionPropertyChangeListener.propertyChange): Likewise.
9401 * javax/swing/JComboBox.java
9402 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
9403 (EDITABLE_CHANGED_PROPERTY): Removed.
9404 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
9405 (ENABLED_CHANGED_PROPERTY):Likewise.
9406 (RENDERER_CHANGED_PROPERTY):Likewise.
9407 (EDITOR_CHANGED_PROPERTY):Likewise.
9408 (MODEL_CHANGED_PROPERTY):Likewise.
9409 (uiClassID):Likewise.
9410 (getUIClassID): Replaced constant with real string.
9411 (setModel):Likewise.
9412 (setEditable):Likewise.
9413 (setMaximumRowCount):Likewise.
9414 (setRenderer):Likewise.
9415 (setEditor):Likewise.
9416 (setEnabled):Likewise.
9417 * javax/swing/JLabel.java
9418 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
9419 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
9420 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
9421 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
9422 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
9423 (ICON_CHANGED_PROPERTY): Likewise.
9424 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
9425 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
9426 (TEXT_CHANGED_PROPERTY): Likewise.
9427 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
9428 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
9429 (setText): Replaced constant with real string.
9430 (setIcon): Likewise.
9431 (setDisabledIcon): Likewise.
9432 (setDisplayedMnemonic): Likewise.
9433 (setIconTextGap): Likewise.
9434 (setVerticalAlignment): Likewise.
9435 (setHorizontalAlignment): Likewise.
9436 (setVerticalTextPosition): Likewise.
9437 (setHorizontalTextPosition): Likewise.
9438 (setLabelFor): Replaced constant with real string.
9439 Fire property change event after property got changed.
9440 * javax/swing/JList.java
9441 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
9442 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
9443 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
9444 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
9445 (MODEL_PROPERTY_CHANGED): Likewise.
9446 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
9447 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
9448 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
9449 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
9450 (setFixedCellWidth): Reimplemented.
9451 (setFixedCellHeight): Exit if new value is identical.
9452 Replaced constant with real string.
9453 (setSelectionBackground): Likewise.
9454 (setSelectionForeground): Likewise.
9455 (setPrototypeCellValue): Likewise.
9456 (setCellRenderer): Replaced constant with real string.
9457 (setModel): Likewise.
9458 (setSelectionModel): Likewise.
9459 * javax/swing/JMenuBar.java
9460 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
9461 (MODEL_CHANGED_PROPERTY): Likewise.
9462 (MARGIN_CHANGED_PROPERTY): Likewise.
9463 (setBorderPainted): Reimplemented.
9464 (setMargin): Likewise.
9465 (setSelectionModel): Replaced constant with real string.
9466 * javax/swing/JPopupMenu.java
9467 (LABEL_CHANGED_PROPERTY): Removed.
9468 (VISIBLE_CHANGED_PROPERTY): Likewise.
9469 (borderPainted): Likewise.
9470 (setLabel): Replaced constant with real string.
9471 (setVisible): Exit if new value is identical.
9472 Replaced constant with real string.
9473 * javax/swing/JProgressBar.java
9474 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
9475 (ORIENTATION_CHANGED_PROPERTY): Likewise.
9476 (STRING_CHANGED_PROPERTY): Likewise.
9477 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
9478 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
9479 (setOrientation): Replaced constant with real string.
9480 (setStringPainted): Likewise.
9481 (setString): Likewise.
9482 (setBorderPainted): Likewise.
9483 (setIndeterminate): Likewise.
9484 * javax/swing/JScrollBar.java
9485 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
9486 (MODEL_CHANGED_PROPERTY): Likewise.
9487 (ORIENTATION_CHANGED_PROPERTY): Likewise.
9488 (setOrientation): Replaced constant with real string.
9489 (setModel): Likewise.
9490 (setUnitIncrement): Likewise.
9491 (setBlockIncrement): Likewise.
9492 * javax/swing/JScrollPane.java
9493 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
9494 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
9495 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
9496 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
9497 (LAYOUT_CHANGED_PROPERTY): Likewise.
9498 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
9499 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
9500 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
9501 (VIEWPORT_CHANGED_PROPERTY): Likewise.
9502 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
9503 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
9504 (setComponentOrientation): Replaced constant with real string.
9505 (setColumnHeader): Likewise.
9506 (setHorizontalScrollBar): Likewise.
9507 (setHorizontalScrollBarPolicy): Likewise.
9508 (setRowHeader): Likewise.
9509 (setVerticalScrollBar): Likewise.
9510 (setVerticalScrollBarPolicy): Likewise.
9511 (setWheelScrollingEnabled): Likewise.
9512 (setViewport): Likewise.
9513 (setViewportBorder): Likewise.
9514 * javax/swing/JSlider.java
9515 (INVERTED_CHANGED_PROPERTY): Removed.
9516 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
9517 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
9518 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
9519 (MODEL_CHANGED_PROPERTY): Likewise.
9520 (ORIENTATION_CHANGED_PROPERTY): Likewise.
9521 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
9522 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
9523 (setModel): Replaced constant with real string.
9524 (setOrientation): Likewise.
9525 (setLabelTable): Likewise.
9526 (setInverted): Likewise.
9527 (setMajorTickSpacing): Likewise.
9528 (setMinorTickSpacing): Likewise.
9529 (setPaintTicks): Likewise.
9530 (setPaintLabels): Likewise.
9531 * javax/swing/JTabbedPane.java
9532 (MODEL_CHANGED_PROPERTY): Removed.
9533 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
9534 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
9535 (setModel): Replaced constant with real string.
9536 (setTabPlacement): Likewise.
9537 (setTabLayoutPolicy): Likewise.
9538 * javax/swing/JToolBar.java
9539 (ORIENTATION_CHANGED_PROPERTY): Removed.
9540 (FLOATABLE_CHANGED_PROPERTY): Likewise.
9541 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
9542 (MARGIN_CHANGED_PROPERTY): Likewise.
9543 (ROLLOVER_CHANGED_PROPERTY): Likewise.
9544 (setRollover): Replaced constant with real string.
9545 (setMargin): Likewise.
9546 (setBorderPainted): Likewise.
9547 (setFloatable): Likewise.
9548 (setOrientation): Likewise.
9549 * javax/swing/plaf/basic/BasicComboBoxUI.java
9550 (PropertyChangeHandler.propertyChange): Likewise.
9551 * javax/swing/plaf/basic/BasicComboPopup.java
9552 (PropertyChangeHandler.propertyChange): Likewise.
9553 * javax/swing/plaf/basic/BasicMenuBarUI.java
9554 (PropertyChangeHandler.propertyChange): Likewise.
9555 * javax/swing/plaf/basic/BasicProgressBarUI.java
9556 (PropertyChangeHandler.propertyChange): Likewise.
9557 * javax/swing/plaf/basic/BasicScrollBarUI.java
9558 (PropertyChangeHandler.propertyChange): Likewise.
9559 * javax/swing/plaf/basic/BasicSliderUI.java
9560 (PropertyChangeHandler.propertyChange): Likewise.
9561 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9562 (PropertyChangeHandler.propertyChange): Likewise.
9563 * javax/swing/plaf/basic/BasicToolBarUI.java
9564 (PropertyChangeHandler.propertyChange): Likewise.
9566 2005-02-15 Michael Koch <konqueror@gmx.de>
9568 * javax/swing/DefaultButtonModel.java
9569 (changeState): Made private.
9570 * javax/swing/DefaultDesktopManager.java
9571 (setWasIcon): Fixed second argument to be java.lang.Boolean.
9572 * javax/swing/JLayeredPane.java
9573 (layerToRange): Made private.
9574 (incrLayer): Likewise.
9575 (decrLayer): Likewise.
9576 * javax/swing/JTable.java
9577 (dragEnabled): Likewise.
9578 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
9579 * javax/swing/KeyStroke.java
9580 (Keystroke): Made private.
9581 * javax/swing/TransferHandler.java
9582 (COMMAND_COPY): Likewise.
9583 (COMMAND_CUT): Likewise.
9584 (COMMAND_PASTE): Likewise.
9586 2005-02-15 Michael Koch <konqueror@gmx.de>
9588 * javax/swing/JTextField.java
9589 (postActionEvent): Use text in field when actionCommand is null.
9590 (getActionCommand): Removed.
9592 2005-02-15 Michael Koch <konqueror@gmx.de>
9594 * javax/swing/AbstractSet.java: Removed.
9595 * Makefile.am: Removed javax/swing/AbstractSet.java.
9596 * Makefile.in: Regenerated.
9598 2005-02-15 Michael Koch <konqueror@gmx.de>
9600 * java/awt/Window.java
9601 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
9602 * java/awt/dnd/DnDConstants.java
9603 (DnDConstants): New private constructor.
9605 2005-02-15 Michael Koch <konqueror@gmx.de>
9607 * javax/swing/DefaultCellRenderer.java: Removed.
9608 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
9609 * Makefile.in: Regenerated.
9611 2005-02-15 Michael Koch <konqueror@gmx.de>
9613 * javax/swing/AbstractButton.java
9614 (fireItemStateChanged): Made protected.
9615 (fireActionPerformed): Likewise.
9616 (fireStateChanged): Likewise.
9617 * javax/swing/DefaultButtonModel.java
9618 (fireItemStateChanged): Likewise.
9619 (fireActionPerformed): Likewise.
9620 (fireStateChanged): Likewise.
9621 * javax/swing/JApplet.java
9623 (frameInit): Likewise.
9624 (setRootPane): Made protected.
9625 (createRootPane): Likewise.
9626 * javax/swing/JComponent.java
9627 (getClientProperty): Likewise.
9628 (putClientProperty): Likewise.
9629 * javax/swing/JEditorPane.java
9630 (getContentType): Likewise.
9631 (setContentType): Likewise.
9632 * javax/swing/JFrame.java
9633 (setRootPane): Likewise.
9634 (createRootPane): Likewise.
9635 * javax/swing/JInternalFrame.java
9636 (getFocusCycleRootAncestor): Made final. Added @since tag.
9637 (isFocusCycleRoot): Likewise.
9638 (getWarningString): Made final.
9639 * javax/swing/JScrollBar.java
9640 (changeListener): Removed.
9641 (changeEvent): Likewise.
9642 (createChangeListener): Likewise.
9643 (fireStateChanged): Likewise.
9644 (addChangeListener): Likewise.
9645 (removeChangeListener): Likewise.
9646 (getChangeListeners): Likewise.
9647 * javax/swing/JScrollPane.java
9648 (createViewport): Made protected.
9649 * javax/swing/JViewport.java
9650 (addImpl): Likewise.
9651 (setBorder): New method.
9652 * javax/swing/JWindow.java
9653 (setRootPane): Made protected.
9654 (createRootPane): Likewise.
9655 * javax/swing/plaf/basic/BasicButtonUI.java
9656 (installListeners): Likewise.
9657 (uninstallListeners): Likewise.
9658 * javax/swing/plaf/basic/BasicProgressBarUI.java
9659 (incrementAnimationIndex): Likewise.
9660 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9661 (createLayoutManager): Likewise.
9662 * javax/swing/table/DefaultTableCellRenderer.java
9663 (firePropertyChange): Likewise.
9664 * javax/swing/table/JTableHeader.java
9665 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
9667 * javax/swing/text/PlainDocument.java
9668 (reindex): Made private.
9669 * javax/swing/text/PlainView.java
9670 (drawLine): Made protected.
9671 (getTabSize): Likewise.
9672 * javax/swing/text/View.java
9674 (preferenceChanged): New method.
9675 (getBreakWeight): Likewise.
9676 (breakView): Likewise.
9677 (getViewIndex): Likewise.
9679 2005-02-15 Michael Koch <konqueror@gmx.de>
9681 * javax/swing/JScrollPane.java
9682 (ScrollBar): Made class protected.
9683 * javax/swing/JSpinner.java
9684 (JSpinner): Added @since tag.
9685 (listenerList): Removed.
9686 * javax/swing/JTable.java
9687 (setValueAt): New method.
9688 (getColumn): Likewise.
9689 * javax/swing/JWindow.java
9690 (rootPaneCheckingEnabled): Renamed from checking.
9692 2005-02-15 Michael Koch <konqueror@gmx.de>
9694 * javax/swing/plaf/basic/BasicTextUI.java
9695 (RootView.modelToView): Made it public and return a java.awt.Shape.
9696 Handle null subview.
9697 (uninstall): Set textComponent to null when its not possible used
9699 * javax/swing/text/View.java
9700 (setParent): Use better argument name.
9701 (getContainer): Get parent via getParent().
9702 (getViewFactory): Likewise.
9703 (getAttributes): Get element via getElement().
9704 (getStartOffset): Likewise.
9705 (getEndOffset): Likewise.
9706 (getResizeWeight): New method.
9707 (getMaximumSpan): Likewise.
9708 (getMinimumSpan): Likewise.
9709 (setSize): Likewise.
9710 (getGraphics): Likewise.
9712 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9714 * java/awt/Checkbox.java:
9715 (AccessibleAWTCheckbox()): Added public constructor
9717 * java/awt/Choice.java:
9718 (AccessibleAWTChoice): Added class documentation.
9719 (AccessibleAWTChoice()): Added public constructor
9721 (AccessibleAWTChoice.getAccessibleAction()): Documented.
9722 (AccessibleAWTChoice.getAccessibleRole()): Documented,
9723 and changed role to COMBO_BOX.
9724 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
9725 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
9726 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
9728 2005-02-15 Graydon Hoare <graydon@redhat.com>
9729 Michael Koch <konqueror@gmx.de>
9731 * javax/swing/LayoutFocusTraversalPolicy.java,
9732 javax/swing/SortingFocusTraversalPolicy.java:
9734 * Makefile.am: Added new classes.
9735 * Makefike.in: Regenerated.
9738 2005-02-15 Michael Koch <konqueror@gmx.de>
9740 * javax/swing/DebugGraphics.java: Mostly implemented.
9742 2005-02-15 Michael Koch <konqueror@gmx.de>
9744 * javax/swing/SwingUtilities.java
9745 (findFocusOwner): New method.
9747 2005-02-15 Michael Koch <konqueror@gmx.de>
9749 * javax/swing/text/DefaultEditorKit.java
9750 (read): Added '\n' after each line.
9751 * javax/swing/text/PlainView.java
9752 (modelToView): Update metrics.
9753 (drawLine): Use offsets from element.
9754 (paint): Update metrics. Draw all lines.
9756 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9758 * java/awt/Checkbox.java:
9759 (AccessibleAWTCheckbox): Added class documentation
9760 * java/awt/Scrollbar.java:
9761 (AccessibleAWTScrollBar): typo corrected and docs added
9762 (AccessibleAWTScrollBar.getAccessibleRole()): documented
9763 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
9764 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
9765 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
9766 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
9767 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
9768 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
9769 (getAccessibleContext()): name of accessible class corrected
9771 2005-02-15 Mark Wielaard <mark@klomp.org>
9773 * java/awt/BasicStroke.java (hashCode): Implement.
9776 2005-02-15 Michael Koch <konqueror@gmx.de>
9778 * java/awt/print/PrinterJob.java
9779 (pageDialog): Throws java.awt.HeadlessException.
9780 (printDialog): Likewise.
9782 2005-02-15 Mark Wielaard <mark@klomp.org>
9784 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
9786 2005-02-15 Michael Koch <konqueror@gmx.de>
9788 * javax/swing/JTable.java
9789 (getValueAt): New method.
9790 * javax/swing/table/JTableHeader.java
9791 (columnAtPoint): New method.
9793 2005-02-15 Michael Koch <konqueror@gmx.de>
9795 * javax/swing/JTextField.java
9796 (actions): New field.
9797 (static): Initalize actions field.
9798 (getActions): New method.
9800 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9802 * java/awt/Checkbox.java:
9803 (AccessibleAWTCheckbox): name capitalization corrected
9804 and serialization UID added.
9805 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
9807 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
9808 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
9809 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
9810 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
9811 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
9812 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
9813 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
9814 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
9815 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
9816 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
9817 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
9819 (getAccessibleContext()): name of accessible class corrected
9821 2005-02-15 Sven de Marothy <sven@physto.se>
9823 * java/awt/geom/doc-files/Area-1.png,
9824 java/awt/geom/doc-files/Ellipse-1.png,
9825 java/awt/geom/doc-files/GeneralPath-1.png:
9828 2005-02-15 Graydon Hoare <graydon@redhat.com>
9830 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
9831 Use union to avoid type-punning warning.
9833 2005-02-15 Michael Koch <konqueror@gmx.de>
9835 * javax/swing/DefaultListSelectionModel.java
9836 (clone): New method.
9838 2005-02-15 Mark Wielaard <mark@klomp.org>
9840 Reported by Martin Platter <motse@complang.tuwien.ac.at>
9841 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9842 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
9843 Correct method signature of gtkSetFilename.
9845 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
9847 * javax/swing/text/StringContent.java: New file.
9849 2005-02-15 Michael Koch <konqueror@gmx.de>
9851 * Makefile.am: Added javax/swing/text/StringContent.java.
9852 * Makefile.in: Regenerated.
9854 2005-02-15 Michael Koch <konqueror@gmx.de>
9856 * gnu/java/awt/ClasspathToolkit.java:
9857 Import statements reworked.
9858 (imageCache): Made it of type java.util.HashMap.
9860 2005-02-15 Michael Koch <konqueror@gmx.de>
9862 * javax/imageio/stream/MemoryCacheImageInputStream.java:
9863 Reworked import statements.
9865 2005-02-15 Graydon Hoare <graydon@redhat.com>
9867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
9868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
9870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9871 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
9872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
9874 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
9875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9876 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
9880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
9881 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
9883 Rewrite uses of extern variable to be function calls.
9884 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
9885 function, from extern variable.
9886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9887 (gdk_env): Remove variable, add new function.
9888 (java_vm): Add new variable.
9889 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
9890 java_vm rather than old gdk_env variable.
9892 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
9894 * javax/swing/DefaultListModel.java
9895 (add): fire correct event,
9896 (addElement): corrected interval indices in event,
9897 (clear): corrected upper bound for interval, only fire event if
9899 (setSize): fire appropriate event.
9901 2005-02-15 Graydon Hoare <graydon@redhat.com>
9903 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
9904 * gnu/awt/xlib/XToolkit.java: Likewise.
9905 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
9906 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
9907 * gnu/java/awt/ClasspathToolkit.java: Likewise.
9908 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
9909 * java/awt/EventQueue.java (getNextEvent):
9910 Adjust event loop to switch to native mode after 100ms.
9911 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
9912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9913 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
9914 Wake up event thread.
9915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9916 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
9917 Adjust event loop to switch to java mode after 100ms.
9919 2005-02-15 Graydon Hoare <graydon@redhat.com>
9921 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
9922 accidentally removed in last change.
9924 2005-02-15 Michael Koch <konqueror@gmx.de>
9926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9927 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
9929 2005-02-15 Graydon Hoare <graydon@redhat.com>
9931 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9932 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9933 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9934 * jni.cc: Reuse bottom frame between calls, avoid clearing
9935 frame when no local references are made.
9937 2005-02-15 Michael Koch <konqueror@gmx.de>
9939 * javax/swing/UIDefaults.java (UIDefaults):
9940 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
9941 Fixed HTML entity and removed a redundant comma.
9943 2005-02-15 Michael Koch <konqueror@gmx.de>
9945 * javax/swing/text/DefaultEditorKit.java
9946 (deinstall): Removed.
9947 (install): Likewise.
9949 2005-02-15 Michael Koch <konqueror@gmx.de>
9951 * javax/swing/UIDefaults.java (put): Handle value of null.
9953 2005-02-15 Michael Koch <konqueror@gmx.de>
9955 * java/awt/Robot.java,
9956 java/awt/Scrollbar.java,
9957 java/awt/print/PrinterJob.java,
9958 javax/swing/JTable.java,
9959 javax/swing/text/AbstractDocument.java:
9960 Reworked import statements.
9962 2005-02-15 Michael Koch <konqueror@gmx.de>
9964 * javax/swing/JEditorPane.java
9965 (read): Implemented.
9967 * javax/swing/text/DefaultEditorKit.java
9968 (page): Renamed from page_url. Made private.
9969 (editorKit): Renamed from kit. Made private.
9971 (JEditorPane): All constructors reimplemented.
9972 (getContentType): Use content type from editor kit.
9973 (getEditorKit): Return editorKit.
9974 (getEditorKitForContentType):Likewise.
9975 (getPage): Return page.
9976 (setContentType): Reimplemented.
9977 (setEditorKit): Likewise.
9978 (setEditorKitForContentType): Removed wrong implementation.
9979 (setPage): Implemented.
9981 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
9984 (nativeSetIconImageFromData): Re-add native implementation.
9986 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
9988 * javax/swing/table/DefaultTableModel.java
9989 (DefaultTableModel()): Added Javadocs.
9990 (DefaultTableModel(int, int)): Fixed implementation.
9991 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
9992 for negative rowCount.
9993 (DefaultTableModel(Object[], int)): Added Javadocs.
9994 (DefaultTableModel(Vector, Vector)): Likewise.
9995 (DefaultTableModel(Object[][], Object[])): Likewise.
9996 (getDataVector): Likewise.
9997 (setDataVector(Vector, Vector)): Likewise.
9998 (setDataVector(Object[][], Object[])): Likewise.
9999 (newDataAvailable): Likewise.
10000 (newRowsAdded): Likewise.
10001 (rowsRemoved): Likewise.
10002 (setColumnIdentifiers(Vector)): Allow for null argument.
10003 (setColumnIdentifiers(Object[])): Added Javadocs.
10004 (setNumRows): Likewise.
10005 (setRowCount): Adds new rows if necessary, and sends more specific
10007 (setColumnCount): Allow for null columnIdentifiers.
10008 (addColumn(Object)): Added Javadocs.
10009 (addColumn(Object, Vector)): Handle null columnData.
10010 (addColumn(Object, Object[])): Handle columnData with more or less
10011 entries than rows in the table.
10012 (addRow(Vector)): Fire appropriate event.
10013 (addRow(Object[])): Added Javadocs.
10014 (insertRow(int, Vector)): Fire appropriate event.
10015 (insertRow(int, Object[])): Added Javadocs.
10016 (moveRow): Reimplemented.
10017 (removeRow(int)): Fire appropriate event.
10018 (getColumnCount): Allow for null columnIdentifiers.
10019 (getColumnName): Now returns empty string when column index is too
10021 (isCellEditable): Added Javadocs.
10022 (getValueAt): Likewise.
10023 (setValueAt): Fire more specific event.
10024 (convertToVector): Added Javadocs.
10025 * javax/swing/table/TableModel.java
10028 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10030 * libgcj.spec.in (lib): Add -l-javax-imageio.
10032 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10034 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
10035 references to event queue q with method call q().
10036 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
10037 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
10038 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
10039 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
10040 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
10041 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
10044 2005-02-15 Graydon Hoare <graydon@redhat.com>
10046 * gnu/java/awt/ClasspathToolkit.java
10047 (registerImageIOSpis): New method.
10048 * gnu/java/awt/image/ImageDecoder.java
10049 (imageDecoder): New constructor using InputStream
10050 (startProduction): Handle existing InputStream.
10051 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10052 (findSimpleIntegerArray): Make public and static.
10053 (updateBufferedImage): Set each pixel, in a loop.
10054 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
10055 Implement ImageIO SPI classes.
10056 (createBufferedImage): Rewrite in terms of SPI classes.
10057 * gnu/java/awt/peer/gtk/GtkToolkit.java
10058 (registerImageIOSpis): New method.
10059 * java/lang/reflect/natMethod.cc
10060 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
10061 which lets JNI call interface methods properly.
10062 * javax/imageio/ImageIO.java
10063 (WriterFormatFilter.filter): Fix copy-and-paste typos.
10064 (WriterMIMETypeFilter.filter): Likewise.
10065 (ImageReaderIterator): Pass extension argument through to SPI.
10066 (getReadersByFilter): Likewise.
10067 (getWritersByFilter): Likewise.
10068 (getImageReadersByFormatName): Likewise.
10069 (getImageReadersByMIMEType): Likewise.
10070 (getImageReadersBySuffix): Likewise.
10071 (getImageWritersByFormatName): Likewise.
10072 (getImageWritersByMIMEType): Likewise.
10073 (getImageWritersBySuffix): Likewise.
10075 (write): Implement.
10076 * javax/imageio/ImageReader.java
10077 (progressListeners): Initialize.
10078 (setInput): Implement.
10079 * javax/imageio/ImageWriter.java
10080 (progressListeners): Initialize.
10081 (warningListeners): Likewise.
10082 (warningLocales): Likewise.
10083 (setOutput): Test "isInstance" rather than class equality.
10084 * javax/imageio/spi/IIORegistry.java
10085 (static): Add reader and writer SPIs.
10086 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
10087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
10088 (query_formats): New function.
10089 (save_to_stream): Likewise.
10090 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
10092 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
10096 (keyPress): Likewise.
10097 (keyRelease): Likewise.
10099 2005-02-15 Olga Rodimina <rodimina@redhat.com>
10101 * javax/swing/JTable.java
10102 (columnAtPoint): New Method. Implemented.
10103 (rowAtPoint): Likewise.
10104 (countSelections): Fixed few small count errors.
10105 (getSelections): Likewise.
10106 (setSelectionMode): Set selection mode for column
10107 selection model in addition to row selection model.
10108 * javax/swing/plaf/basic/BasicTableUI.java:
10109 (getRowForPoint): Removed. Replaced by
10110 JTable.rowAtPoint().
10111 (getColForPoint): Removed. Replaced by
10112 JTable.columnAtPoint().
10113 (updateSelection): Updated to call JTable.columnAtPoint
10114 and JTable.rowAtPoint.
10115 * javax/swing/table/DefaultTableColumnModel.java:
10116 (getSelectedColumns): Implemented.
10117 (getSelectedColumnCount): Implemented.
10119 2005-02-15 Graydon Hoare <graydon@redhat.com>
10122 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
10123 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
10124 * Makefile.in: Regenerate.
10125 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
10126 * gnu/awt/xlib/XFramePeer.java: Likewise.
10127 * gnu/awt/xlib/XToolkit.java: Likewise.
10128 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
10129 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
10130 * gnu/java/awt/ClasspathToolkit.java
10133 (iterateNativeQueue): New methods.
10134 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
10135 * gnu/java/awt/peer/gtk/GtkToolkit.java
10136 (gtkInit): Absorb from defunct GtkMainThread class.
10137 (static): Run gtkInit in static startup block.
10138 (GtkToolkit): Remove construction of GtkMainThread and queue.
10139 (getSystemEventQueueImpl): Construct queue when requested.
10142 (iterateNativeQueue): New methods.
10143 * java/awt/Component.java (removeNotify): Remove race.
10144 * java/awt/EventDispatchThread.java
10145 (EventDispatchThread): Don't start on construction.
10146 (run): Remove isInterrupted check.
10147 * java/awt/EventQueue.java (shutdown): New flag.
10148 (isShutdown): New method checking J2SE shutdown condition.
10149 (setShutdown): New method.
10150 (getNextEvent): Restructure to use ClasspathToolkit.
10151 (postEvent): Activate new thread on posting, wake thread on
10152 post of possible shutdown condition event.
10153 * java/awt/Frame.java
10154 (Frame): Call noteFrame in all constructors.
10155 (fireDummyEvent): New helper method.
10156 (addNotify): Fire a dummy event to wake up queue.
10157 (removeNotify): Fire a dummy event to wake up queue.
10158 (noteFrame): New method.
10159 (weakFrames): New static field.
10160 (getFrames): Implement.
10161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
10163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
10164 Move everything from GtkMainThread into this file
10165 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
10166 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
10167 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
10168 New functions to implement single-threaded queue semantics.
10170 2005-02-15 Michael Koch <konqueror@gmx.de>
10172 * javax/swing/plaf/metal/MetalLookAndFeel.java
10173 (getControlTextFont): New method.
10174 (getMenuTextFont): Likewise.
10175 (getSubTextFont): Likewise.
10176 (getSystemTextFont): Likewise.
10177 (getUserTextFont): Likewise.
10178 (getWindowTitleFont): Likewise.
10180 2005-02-15 Michael Koch <konqueror@gmx.de>
10182 * javax/swing/text/AbstractDocument.java
10183 (documentFilter): New field.
10184 (getDocumentFilter): New method.
10185 (setDocumentFilter): Likewise.
10188 2005-02-15 Michael Koch <konqueror@gmx.de>
10190 * javax/swing/JTree.java
10191 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
10193 2005-02-15 Michael Koch <konqueror@gmx.de>
10195 * javax/swing/text/AbstractDocument.java
10196 (AbstractElement.getLength): Fixed off-by-one error.
10197 (AbstractElement.children): Made abstract.
10198 (AbstractElement.getAllowsChildren): Likewise.
10199 (AbstractElement.getElement): Likewise.
10200 (AbstractElement.dumpElement): New private method.
10201 (AbstractElement.dump): New method.
10202 (BranchElememt.getName): Fixed implementation.
10203 (BranchElememt.toString): Likewise.
10204 (BranchElememt.getElement): Fixed arguments.
10205 (LeafElement.getName): Fixed implementation.
10206 (LeafElement.toString): Likewise.
10207 * javax/swing/text/GapContent.java
10208 (GapContent): Put default content into buffer.
10209 * javax/swing/text/PlainDocument.java
10210 (reindex): Use empty attribute sets instead of null.
10211 (createDefaultRoot): Reimplemented.
10212 (insertUpdate): Call super method.
10213 (removeUpdate): Likewise.
10214 (getParagraphElement): Implemented.
10216 2005-02-15 Michael Koch <konqueror@gmx.de>
10218 * gnu/java/awt/ClasspathToolkit.java
10219 (createRobot): Throws java.awt.AWTException.
10220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
10221 Added '__attribute__((unused))' to all unused method arguments.
10223 2005-02-15 Michael Koch <konqueror@gmx.de>
10225 * javax/swing/DefaultBoundedRangeModel.java
10226 (fireValueChanged): Fixed off-by-one error.
10228 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10230 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
10231 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
10233 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
10234 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
10235 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
10236 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
10237 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10238 (getDefaultScreenDevice): Implement.
10239 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
10240 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
10241 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
10242 * java/awt/Robot.java: Implement.
10243 * java/awt/peer/RobotPeer.java: Rename parameters.
10244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
10245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10246 (awt_keycode_to_keysym): Make non-static.
10247 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
10248 AWT_BUTTON3_MASK): Declare constants.
10249 (awt_keycode_to_keysym): Declare.
10251 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
10252 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
10253 and is non-empty pass its value to "make check".
10254 (test_mauve_sim): Likewise.
10256 2005-02-15 Michael Koch <konqueror@gmx.de>
10258 * javax/imageio/IIOParam.java
10259 (setSourceBands): New method.
10260 (setSourceSubsampling): Likewise.
10261 * javax/imageio/ImageReadParam.java
10262 (setDestination): Likewise.
10263 (setDestinationBands): Likewise.
10264 (setSourceProgressivePasses): Likewise.
10265 * javax/imageio/metadata/IIOInvalidTreeException.java
10266 (serialVersionUID): New static field.
10267 * javax/imageio/metadata/IIOMetadataNode.java
10268 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
10269 (parent): Dont initailize with default value explicitely.
10270 (Object): Likewise.
10271 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
10272 (removeAttributeNode): Likewise.
10273 (removeAttributeNS): Likewise.
10274 (setAttribute): Likewise.
10275 (setAttributeNode): Likewise.
10276 (setAttributeNodeNS): Likewise.
10277 (setAttributeNS): Likewise.
10278 (appendChild): Likewise.
10279 (getNodeValue): Likewise.
10280 (insertBefore): Likewise.
10281 (removeChild): Likewise.
10282 (replaceChild): Likewise.
10283 (setPrefix): Likewise.
10285 2005-02-15 Michael Koch <konqueror@gmx.de>
10287 * javax/swing/LookAndFeel.java
10288 (getDesktopPropertyValue): New method.
10290 2005-02-15 Michael Koch <konqueror@gmx.de>
10292 * javax/swing/JTree.java
10293 (hasChildren): New instance field.
10295 2005-02-15 Michael Koch <konqueror@gmx.de>
10297 * javax/swing/JComponent.java
10298 (getToolTipText): New method.
10299 (getTitledBorderText): Likewise.
10300 (getAccessibleKeyBinding): Likewise.
10301 (getVerifyInputWhenFocusTarget): Likewise.
10302 (setVerifyInputWhenFocusTarget): Likewise.
10303 (verifyInputWhenFocusTarget): New instance field.
10305 2005-02-15 Michael Koch <konqueror@gmx.de>
10307 * javax/swing/DefaultListSelectionModel.java
10308 (fireValueChanged): New method.
10310 2005-02-15 Michael Koch <konqueror@gmx.de>
10312 * javax/swing/DefaultBoundedRangeModel.java:
10313 Fixed javadocs all over.
10314 (fireStateChanged): Simplified.
10315 * javax/swing/BoundedRangeModel.java:
10318 2005-02-15 Michael Koch <konqueror@gmx.de>
10320 * javax/swing/JRootPane.java
10321 (setMenuBar): Added @deprecated tag.
10322 (getMenuBar): Likewise.
10323 * javax/swing/JTable.java
10324 (sizeColumnsToFit): Likewise.
10326 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
10328 * javax/swing/ImageIcon.java (setImage): Implemented.
10330 2005-02-15 Michael Koch <konqueror@gmx.de>
10332 * javax/swing/JTable.java:
10333 Removed unused imports.
10335 2005-02-15 Olga Rodimina <rodimina@redhat.com>
10337 (prepareRenderer): Get column's index in dataModel instead
10338 of column's view index.
10339 (getColumnCount): return count of the columns in ColumnModel,
10341 (removeColumn): Implemented.
10342 (moveColumm): Likewise.
10343 (setRowHeight): throw IllegalArgumentException if height is
10345 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
10346 (DefaultTableColumnModel):Add call to createSelectionModel().
10347 (addColumn): Fire columnAdded event to registered listeners.
10348 (removeColumn): Fire columnRemoved event to registered listeners.
10349 (moveColumn): Fire columnMoved event to registered listeners.
10350 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
10351 (getColumnIndex): Changed parameter name.
10352 (setColumnSelectionAllowed): Likewise.
10353 (fireColumnAdded): Implemented.
10354 (fireColumnRemoved): Likewise.
10355 (fireColumnMoved): Likewise.
10356 (fireColumnMarginChanged): Likewise.
10357 (getListeners): Changed parameter name.
10358 (propertyChange): Implemented.
10359 (valueChanged): Changed parameter name.
10360 (createSelectionModel): Implemented.
10362 2005-02-15 Michael Koch <konqueror@gmx.de>
10364 * gnu/java/awt/peer/gtk/GtkToolkit.java:
10365 Explicitely import used classes.
10366 (getLocalGraphicsEnvironment): Simplify.
10367 * java/awt/Window.java (Window):
10368 Enable code to get the default GraphicsConfiguration.
10370 2005-02-15 Michael Koch <konqueror@gmx.de>
10372 * javax/swing/plaf/metal/DefaultMetalTheme.java
10373 (CONTROL_TEXT_FONT): New static field.
10374 (MENU_TEXT_FONT): Likewise.
10375 (SUB_TEXT_FONT): Likewise.
10376 (SYSTEM_TEXT_FONT): Likewise.
10377 (USER_TEXT_FONT): Likewise.
10378 (WINDOW_TITLE_FONT): Likewise.
10379 (getControlTextFont): New method.
10380 (getMenuTextFont): Likewise.
10381 (getSubTextFont): Likewise.
10382 (getSystemTextFont): Likewise.
10383 (getUserTextFont): Likewise.
10384 (getWindowTitleFont): Likewise.
10385 * javax/swing/plaf/metal/MetalTheme.java
10386 (BLACK): Initialize with Color.BLACK.
10387 (WHITE): Initialize with Color.WHITE.
10388 (getInactiveControlTextColor): Return getControlDisabled().
10389 (getMenuDisabledForeground): Return getSecondary3().
10390 (getControlTextFont): New abstract method.
10391 (getMenuTextFont): Likewise.
10392 (getSubTextFont): Likewise.
10393 (getSystemTextFont): Likewise.
10394 (getUserTextFont): Likewise.
10395 (getWindowTitleFont): Likewise.
10397 2005-02-15 Michael Koch <konqueror@gmx.de>
10399 * javax/swing/JFormattedTextField.java
10400 (getFocusLostBehavior): Fixed typo in method name.
10401 (setFocusLostBehavior): Likewise.
10403 2005-02-15 Michael Koch <konqueror@gmx.de>
10405 * javax/swing/TransferHandler.java:
10406 Reworked import statements.
10408 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10410 * java/awt/Button.java,
10411 java/awt/Canvas.java,
10412 java/awt/Checkbox.java,
10413 java/awt/CheckboxMenuItem.java,
10414 java/awt/Choice.java,
10415 java/awt/Dialog.java,
10416 java/awt/Frame.java,
10417 java/awt/Label.java,
10418 java/awt/List.java,
10419 java/awt/Menu.java,
10420 java/awt/MenuBar.java,
10421 java/awt/MenuItem.java,
10422 java/awt/PopupMenu.java,
10423 java/awt/ScrollPane.java,
10424 java/awt/Scrollbar.java,
10425 java/awt/TextArea.java,
10426 java/awt/Window.java (getAccessibleContext): Clean up comments.
10428 * java/awt/Button.java,
10429 java/awt/Checkbox.java,
10430 java/awt/Choice.java,
10431 java/awt/Menu.java,
10432 java/awt/PopupMenu.java,
10433 java/awt/TextArea.java (getAccessibleContext): Only create new
10435 * java/awt/TextComponent.java (getAccessibleContext): Implement.
10437 2005-02-15 Michael Koch <konqueror@gmx.de>
10439 * java/awt/Button.java,
10440 javax/swing/JApplet.java,
10441 javax/swing/JFormattedTextField.java,
10442 javax/swing/JWindow.java,
10443 javax/swing/JTree.java,
10444 javax/swing/plaf/basic/BasicEditorPaneUI.java,
10445 javax/swing/plaf/basic/BasicTextPaneUI.java,
10446 javax/swing/plaf/basic/BasicTreeUI.java:
10447 Reworked import statements.
10449 2005-02-15 Michael Koch <konqueror@gmx.de>
10451 * Makefile.am: Put javax.imageio into its own library and link it
10452 against lib-org-w3c-dom.la to fix bootstrapping.
10453 * Makefile.in: Regenerated.
10455 2005-02-15 Michael Koch <konqueror@gmx.de>
10457 * javax/swing/text/TextAction.java
10458 (getTextComponent): Simplified. Added Javadoc.
10459 (augmentList): Implemented. Added Javadoc.
10460 (getFocusedComponent): Added javadoc.
10462 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10464 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
10465 getAccessibleContext): Implement.
10466 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
10467 getAccessibleContext): Implement.
10469 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10471 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
10473 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
10475 * java/awt/Window.java (getAccessibleContext): Fix comment.
10476 Remove extra import.
10478 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10480 * java/awt/Window.java (AccessibleAWTWindow): Implement.
10481 (isActive, isFocused, getAccessibleContext): Implement.
10483 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10485 * java/awt/MenuItem.java (getAccessibleContext): Implement.
10486 * java/awt/MenuComponent.java (accessibleContext): Make package
10488 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
10489 AccessibleAWTCheckboxMenuItem): Implement.
10491 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10493 * java/awt/List.java: Implement AccessibleAWTList,
10494 AccessibleAWTListChild.
10496 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10498 * java/awt/Choice.java: Add implements declaration for
10501 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10503 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
10506 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10508 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
10509 implemented interface list.
10511 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
10513 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
10514 * javax/imageio/metadata/IIOAttr.java: New class.
10515 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
10516 * javax/imageio/metadata/IIONodeList.java: New class.
10517 * Makefile.am: Added new files.
10518 * Makefile.in: Regenerated.
10520 2005-02-15 Michael Koch <konqueror@gmx.de>
10522 * javax/swing/AbstractAction.java,
10523 javax/swing/AbstractCellEditor.java,
10524 javax/swing/AbstractListModel.java,
10525 javax/swing/DefaultBoundedRangeModel.java,
10526 javax/swing/DefaultButtonModel.java,
10527 javax/swing/DefaultCellEditor.java,
10528 javax/swing/DefaultComboBoxModel.java,
10529 javax/swing/DefaultDesktopManager.java,
10530 javax/swing/JMenu.java,
10531 javax/swing/JSlider.java,
10532 javax/swing/KeyStroke.java,
10533 javax/swing/OverlayLayout.java,
10534 javax/swing/ScrollPaneLayout.java,
10535 javax/swing/SizeRequirements.java,
10536 javax/swing/ViewportLayout.java:
10537 Made serialVersionUID private.
10539 2005-02-15 Michael Koch <konqueror@gmx.de>
10541 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
10544 2005-02-15 Michael Koch <konqueror@gmx.de>
10546 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
10548 2005-02-15 Michael Koch <konqueror@gmx.de>
10550 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
10552 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
10554 * java/awt/EventDispatchThread.java,
10555 java/awt/Toolkit.java:
10556 Don't catch java.lang.ThreadDeath.
10558 2005-02-15 Michael Koch <konqueror@gmx.de>
10560 * javax/swing/text/PasswordView.java
10561 (drawEchoCharacter): Added javadoc.
10562 (drawSelectedText): Likewise.
10563 (drawUnselectedText): Likewise.
10565 2005-02-15 Michael Koch <konqueror@gmx.de>
10567 * javax/swing/JRootPane.java
10568 (windowDecorationStyle): New field.
10569 (setMenuBar): New method.
10570 (getMenuBar): Likewise.
10571 (getWindowDecorationStyle): Likewise.
10572 (setWindowDecorationStyle): Likewise.
10574 2005-02-15 Michael Koch <konqueror@gmx.de>
10576 * javax/swing/DefaultListSelectionModel.java
10577 (leadAnchorNotificationEnabled): Made protected.
10579 2005-02-15 Michael Koch <konqueror@gmx.de>
10581 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
10582 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
10583 * Makefile.in: Regenerated.
10586 2005-02-15 Michael Koch <konqueror@gmx.de>
10588 * javax/swing/JFormattedTextField.java: Implemented.
10589 * javax/swing/JWindow.java
10590 (JWindow): New constructors.
10591 (initWindow): Renamed from initFrame.
10592 * javax/swing/UIDefaults.java
10593 (ActiveValue): Made interface static.
10594 (LazyValue): Likewise.
10595 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
10596 (TitlePaneLayout.TitlePaneLayout): New constructor.
10597 * javax/swing/plaf/basic/BasicSliderUI.java
10598 (ChangeHandler): Made public.
10599 (FocusHandler): Likewise.
10600 (PropertyChangeHandler): Likewise.
10601 (ScrollListener): Likewise.
10602 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
10603 (FocusHandler): Likewise.
10604 (MouseHandler): Likewise.
10605 * javax/swing/plaf/basic/BasicTextPaneUI.java
10606 (BasicTextPaneUI): Extend BasicEditorPaneUI.
10607 * javax/swing/plaf/basic/BasicToolBarUI.java
10608 (BasicToolBarUI): Simplified. Reworked javadoc.
10609 (canDock): Simplified. Make public.
10610 (DockingListener): Made public.
10611 * javax/swing/text/JTextComponent.java
10612 (navigationFilter): New field.
10613 (getNavigationFilter): New method.
10614 (setNavigationFilter): Likewise.
10616 2005-02-15 Michael Koch <konqueror@gmx.de>
10618 * javax/swing/plaf/metal/MetalTheme.java
10619 (getControlTextColor): Return getControlInfo().
10620 (getHighlightedTextColor): Return getControlTextColor().
10622 2005-02-15 Michael Koch <konqueror@gmx.de>
10624 * javax/swing/plaf/basic/BasicButtonListener.java
10625 (BasicButtonListener): New constructor.
10626 * javax/swing/plaf/basic/BasicButtonUI.java
10627 (createButtonListener): Usw new BasicButtonListener constructor.
10629 2005-02-15 Michael Koch <konqueror@gmx.de>
10631 * javax/imageio/event/package.html,
10632 javax/imageio/metadata/package.html: New files.
10634 2005-02-15 Michael Koch <konqueror@gmx.de>
10636 * java/awt/image/MemoryImageSource.java: Reformatted.
10638 2005-02-15 Michael Koch <konqueror@gmx.de>
10640 * javax/swing/tree/TreeCellEditor.java: Refomatted.
10642 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
10644 * java/awt/color/ICC_Profile.java
10645 (finalize): Removed pointless field assignments.
10647 2005-02-15 Michael Koch <konqueror@gmx.de>
10649 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
10650 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
10651 * Makefile.in: Regenerated.
10653 2005-02-15 Michael Koch <konqueror@gmx.de>
10655 * javax/swing/text/DefaultStyledDocument.java: New file.
10656 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
10657 * Makefile.in: Regenerated.
10659 2005-02-15 Michael Koch <konqueror@gmx.de>
10661 * javax/swing/JFileChooser.java
10662 (showDialog): Return CANCEL_OPTION for now.
10663 (showOpenDialog): Likewise.
10664 (showSaveDialog): Likewise.
10666 2005-02-15 Michael Koch <konqueror@gmx.de>
10668 * javax/swing/JApplet.java
10669 (HIDE_ON_CLOSE): Removed.
10670 (EXIT_ON_CLOSE): Likewise.
10671 (DISPOSE_ON_CLOSE): Likewise.
10672 (DO_NOTHING_ON_CLOSE): Likewise.
10673 (close_action): Likewise.
10674 (getDefaultCloseOperation): Likewise.
10675 (setDefaultCloseOperation): Likewise.
10676 (processWindowEvent): Likewise.
10677 (getPreferredSize): Simplified.
10678 * javax/swing/JInternalFrame.java
10679 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
10681 * javax/swing/JWindow.java
10682 (HIDE_ON_CLOSE): Removed.
10683 (EXIT_ON_CLOSE): Likewise.
10684 (DISPOSE_ON_CLOSE): Likewise.
10685 (DO_NOTHING_ON_CLOSE): Likewise.
10686 (close_action): Likewise.
10687 (processKeyEvent): Likewise.
10688 (setDefaultCloseOperation): Likewise.
10689 (getPreferredSize): Simplified.
10691 2005-02-15 Michael Koch <konqueror@gmx.de>
10693 * javax/swing/JTextField.java
10694 (getPreferredSize): Re-implemented.
10696 2005-02-15 Michael Koch <konqueror@gmx.de>
10698 * javax/swing/JLabel.java
10699 (setDisplayedMnemonic): Use only upper case characters.
10700 (setDisplayedMnemonicIndex): Handle index == -1 and fire
10701 PropertyChangeEvent after property got set to the new index.
10703 2005-02-15 Robert Schuster <thebohemian@gmx.net>
10705 * javax/swing/JComboBox.java:
10706 (JComboBox): Removed selection of the
10707 first item in the model.
10709 2005-02-15 Robert Schuster <thebohemian@gmx.net>
10711 * javax/swing/JComboBox.java
10712 added support for no item being selected
10713 (JComboBox): select first or nothing depending on element count
10714 (setModel): cleaned up unneeded "this." usage, added more
10715 docs, made exception behavior match that of the JDK
10716 (setLighWeightPopupEnabled): removed unneeded "this." usage
10717 (setEditable): dito
10718 (setMaximumRowCount): dito
10719 (setRenderer): dito
10720 (setPrototypeDisplayValue): dito
10721 (getSelectedItem): simplified, added more user doc
10722 (setSelectedIndex): corrected exception behavior, added more user doc
10723 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
10724 added performance warning to user doc
10725 (addItem): fixed exception behavior, added user doc
10726 (insertItemAt): dito
10728 (removeItemAt): dito
10729 (removeAll): fixed exception behavior, added user doc, added support
10730 for model not being instance of DefaultComboBoxModel
10731 (getSelectedItemObjects): simplified
10732 (getItemCount): fixed dependency on DefaultComboBoxModel
10733 (getItemAt): fixed dependency on MutableComboBoxModel
10734 * javax/swing/DefaultComboBoxModel.java:
10735 (setSelectedItem): updates selected item only if new
10736 value is null or known (match JDK behavior)
10737 * javax/swing/plaf/basic/BasicComboBoxUI.java:
10738 (paintCurrentValue): renders "" if no item is selected
10740 2005-02-15 Michael Koch <konqueror@gmx.de>
10742 * javax/swing/plaf/metal/MetalTheme.java,
10743 javax/swing/plaf/metal/DefaultMetalTheme.java:
10745 * javax/swing/plaf/metal/MetalLookAndFeel.java
10746 * Makefile.am: Added the new files.
10747 * Makefile.in: Regenerated.
10749 2005-02-15 Olga Rodimina <rodimina@redhat.com>
10751 * javax/swing/JTable.java
10752 (editorComp): New field.
10753 (JTable): Initialize local variables and call updateUI
10754 (selectionBackground): Make protected.
10755 (selectionForeground): Likewise.
10756 (initializeLocalVars): Create default editors and renderers,
10757 initialize editingColumn, editingRow variables.
10758 (createDefaultEditors): New Method.
10759 (createDefaultRenderers): Likewise.
10760 (createDefaultListSelectionModel): Removed
10761 (createDefaultSelectionModel): New Method.
10762 (createDefaultTableHeader): Likewise
10763 (removeColumn): Likewise.
10764 (getEditingColumn): Likewise.
10765 (setEditingColumn): Likewise.
10766 (getEditingRow): Likewise.
10767 (setEditingRow): Likewise.
10768 (getEditorComponent): Likewise.
10769 (isEditing): Likewise.
10770 (setDefaultEditor): Likewise.
10771 (addColumnSelectionInterval): Likewise.
10772 (addRowSelectionInterval): Likewise.
10773 (setColumnSelectionInterval): Likewise.
10774 (setRowSelectionInterval): Likewise.
10775 (removeColumnSelectionInterval): Likewise.
10776 (removeRowSelectionInterval): Likewise.
10777 (isColumnSelected): Likewise.
10778 (isRowSelected): Likewise.
10779 (isCellSelected): Likewise.
10780 (selectAll): Likewise.
10782 2005-02-15 Michael Koch <konqueror@gmx.de>
10784 * javax/swing/JTable.java
10785 (addColumn): New method.
10786 (getColumnClass): Likewise.
10787 (getColumnName): Likewise.
10789 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
10791 * javax/swing/TransferHandler.java
10792 (createTransferable): Made protected.
10794 2005-02-15 Michael Koch <konqueror@gmx.de>
10796 * javax/swing/JTable.java,
10797 javax/swing/plaf/basic/BasicTableHeaderUI.java,
10798 javax/swing/plaf/basic/BasicTableUI.java:
10799 Use fixed get/setIntercellSpacing() methods.
10801 2005-02-15 Michael Koch <konqueror@gmx.de>
10803 * javax/swing/JTable.java
10804 (getIntercellSpacing): Fixed typo in method name.
10805 (setIntercellSpacing): Likewise.
10807 2005-02-15 Michael Koch <konqueror@gmx.de>
10809 * javax/swing/text/JTextComponent.java
10810 (focusAccelerator): New variable.
10811 (getFocusAccelerator): New method.
10812 (setFocusAccelerator): Likewise.
10814 2005-02-15 Michael Koch <konqueror@gmx.de>
10816 * javax/swing/JComponent.java
10817 (setTransferHandler): Made public. Fire property change event.
10818 * javax/swing/TransferHandler.java: Implemented.
10819 * javax/swing/text/JTextComponent.java
10820 (DefaultTransferHandler): New inner class.
10821 (defaultTransferHandler): New variable.
10822 (copy): New method.
10825 (doTransferAction): Likewise.
10827 2005-02-15 Michael Koch <konqueror@gmx.de>
10829 * javax/swing/JTree.java
10830 (collapsePath): New method.
10831 (collapseRow): Likewise.
10832 (expandPath): Likewise.
10833 (expandRow): Likewise.
10834 (checkExpandParents): Likewise.
10835 (doExpandParents): Likewise.
10836 (setExpandedState): Likewise.
10837 (makeVisible): Likewise.
10839 2005-02-15 Michael Koch <konqueror@gmx.de>
10841 * javax/swing/JPasswordField.java: Updated javadocs.
10843 2005-02-15 Michael Koch <konqueror@gmx.de>
10845 * javax/swing/JLayeredPane.java
10846 (getLayer): Fixed return type, made public.
10847 (getPosition): Use new getLayer().
10848 (SetPosition): Likewise.
10849 (getIndexOf): Likewise.
10850 (remove): Likewise.
10851 * javax/swing/JInternalFrame.java
10852 (getLayer): Use new JLayeredPane.getLayer().
10855 2005-02-15 Michael Koch <konqueror@gmx.de>
10857 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
10858 (setHeaderValue): Simplified. Do nothing when old value == new value.
10860 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10862 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
10863 against null clip region.
10864 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
10865 gtkWindowSetResizable.
10866 (postConfigureEvent): Only revalidate if frame size has changed.
10867 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
10868 Only revalidate if frame size has changed.
10869 * java/awt/Component.java (reshape): Only repaint and post
10870 component events if component is showing.
10871 * java/awt/Container.java (addImpl): Only post container event if
10872 container is showing.
10873 (remove): Likewise.
10874 * java/awt/Window.java (setLocationRelativeTo): Implement.
10875 (setBoundsCallback): Only post component events if component is
10877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
10878 Protect against null graphics structure. Flush gdk event queue.
10880 2005-02-15 Michael Koch <konqueror@gmx.de>
10882 * javax/imageio/ImageReader.java,
10883 javax/imageio/ImageTranscoder.java,
10884 javax/imageio/ImageWriter.java,
10885 javax/imageio/spi/ImageInputStreamSpi.java,
10886 javax/imageio/spi/ImageOutputStreamSpi.java,
10887 javax/imageio/spi/ServiceRegistry.java,
10888 javax/imageio/stream/ImageInputStream.java,
10889 javax/imageio/stream/ImageOutputStream.java: Updated.
10890 * javax/imageio/IIOException.java,
10891 javax/imageio/IIOImage.java,
10892 javax/imageio/IIOParam.java,
10893 javax/imageio/IIOParamController.java,
10894 javax/imageio/ImageIO.java,
10895 javax/imageio/ImageReadParam.java,
10896 javax/imageio/ImageTypeSpecifier.java,
10897 javax/imageio/ImageWriteParam.java,
10898 javax/imageio/spi/IIORegistry.java,
10899 javax/imageio/spi/ImageReaderSpi.java,
10900 javax/imageio/spi/ImageWriterSpi.java,
10901 javax/imageio/stream/FileCacheImageInputStream.java,
10902 javax/imageio/stream/FileCacheImageOutputStream.java,
10903 javax/imageio/stream/FileImageInputStream.java,
10904 javax/imageio/stream/FileImageOutputStream.java,
10905 javax/imageio/stream/ImageInputStreamImpl.java,
10906 javax/imageio/stream/ImageOutputStreamImpl.java,
10907 javax/imageio/stream/MemoryCacheImageInputStream.java,
10908 javax/imageio/stream/MemoryCacheImageOutputStream.java,
10909 javax/imageio/event/IIOReadProgressListener.java,
10910 javax/imageio/event/IIOReadUpdateListener.java,
10911 javax/imageio/event/IIOReadWarningListener.java,
10912 javax/imageio/event/IIOWriteProgressListener.java,
10913 javax/imageio/event/IIOWriteWarningListener.java,
10914 javax/imageio/metadata/IIOMetadata.java,
10915 javax/imageio/metadata/IIOMetadataController.java,
10916 javax/imageio/metadata/IIOMetadataFormat.java,
10917 javax/imageio/metadata/IIOInvalidTreeException.java,
10918 javax/imageio/metadata/IIOMetadataFormatImpl.java,
10919 javax/imageio/metadata/IIOMetadataNode.java: New files.
10920 * Makefile.am (javax_source_files): Added new files
10921 * Makefile.in: Regenerated.
10923 2005-02-15 Graydon Hoare <graydon@redhat.com>
10925 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10926 Rework painting into BufferedImages
10927 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
10928 Construct BufferedImage with alpha only when alpha is
10929 present in colormodel.
10930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10931 Rework painting into client-side jint arrays.
10932 * jni/gtk-peer/gtkcairopeer.h:
10935 2005-02-15 Michael Koch <konqueror@gmx.de>
10937 * javax/swing/DefaultListCellRenderer.java
10938 (serialVersionUID): Made private.
10939 (getListCellRendererComponent): Set horizontal alignment.
10940 * javax/swing/JLabel.java
10941 (setVerticalAlignment): Re-implemented.
10942 (setHorizontalAlignment): Do nothing if old value = new value.
10943 * javax/swing/JList.java
10944 (setCellRenderer): Likewise.
10945 (setModel): Re-implemented.
10946 (setSelectionModel): Likewise.
10948 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
10950 * java/awt/Component.java,
10951 java/awt/geom/Rectangle2D.java:
10954 2005-02-15 Michael Koch <konqueror@gmx.de>
10956 * javax/swing/AbstractListModel.java
10957 (fireContentsChanged): Simplified.
10958 (fireIntervalAdded): Likewise.
10959 (fireIntervalRemoved): Likewise.
10960 * javax/swing/DefaultSingleSelectionModel.java:
10962 (fireStateChanged): Simplified.
10963 * javax/swing/JPopupMenu.java
10964 (setSelectionModel): Set property.
10966 2005-02-15 Michael Koch <konqueror@gmx.de>
10968 * java/awt/print/Book.java: Reformatted.
10970 2005-02-15 Michael Koch <konqueror@gmx.de>
10972 * java/awt/geom/Area.java
10973 (QuadSegment.curveArea): Remove unused variables.
10974 (CubicSegment.curveArea): Likewise.
10976 2005-02-15 Michael Koch <konqueror@gmx.de>
10978 * javax/swing/JTree.java
10979 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
10980 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
10981 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
10982 (EXPANDED): New constant.
10983 (COLLAPSED): Likewise.
10984 (nodeStates): New field.
10985 (cellEditor): New method.
10986 (cellRenderer): Likewise.
10987 (selectionModel): Likewise.
10988 (treeModel): Likewise.
10989 (scrollPathToVisible): Likewise.
10990 (scrollRowToVisible): Likewise.
10991 (isCollapsed): Likewise.
10992 (isExpanded): Likewise.
10993 (clearToggledPaths): Likewise.
10994 (getDescendantToggledPaths): Likewise.
10995 (hasBeenExpanded): Likewise.
10996 (isVisible): Likewise.
10997 (isPathEditable): Likewise.
10999 2005-02-15 Michael Koch <konqueror@gmx.de>
11001 * javax/swing/JLayeredPane.java: Reformatted.
11003 2005-02-15 Michael Koch <konqueror@gmx.de>
11005 * javax/swing/tree/DefaultMutableTreeNode.java:
11006 Completely Revised.
11007 * javax/swing/tree/MutableTreeNode.java:
11010 2005-02-15 Michael Koch <konqueror@gmx.de>
11012 * javax/swing/JFormattedTextField.java
11013 (setDocument): Call setDocument of super class. Don't fire property
11016 2005-02-15 Sven de Marothy <sven@physto.se>
11018 * java/awt/image/IndexColorModel.java:
11019 Add FIXME with respect to alpha handling.
11020 (getAlpha): Default to returning opaque pixels.
11021 * java/awt/image/MultiPixelPackedSampleModel.java
11022 (MultiPixelPackedSampleModel): Corrected parameters, order of
11023 bit shifts and masks, stride length off by one.
11025 2005-02-15 Michael Koch <konqueror@gmx.de>
11027 * javax/swing/JList.java, javax/swing/JTree.java:
11028 Added much new methods and fixed much methods setting bound properties.
11030 2005-02-16 Mark Wielaard <mark@klomp.org>
11032 * Makefile.am (gnu_xml_source_files): Removed
11033 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
11034 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
11035 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
11036 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
11037 gnu/xml/dom/DomDocumentFragment.java,
11038 gnu/xml/dom/DomProcessingInstruction.java and
11039 gnu/xml/dom/ls/DomLSException.java.
11040 * Makefile.in: Regenerated.
11042 2005-02-16 Tom Tromey <tromey@redhat.com>
11044 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
11045 attribute index is out of bounds.
11047 2005-02-16 Chris Burdess <dog@gnu.org>
11049 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
11050 isDeclared methods. Improved performance of isSpecified methods.
11052 2005-02-16 Chris Burdess <dog@gnu.org>
11054 Fixes bug libgcj/19864
11055 * gnu/xml/dom/DomAttr.java,
11056 gnu/xml/dom/DomCDATA.java,
11057 gnu/xml/dom/DomCDATASection.java,
11058 gnu/xml/dom/DomCharacterData.java,
11059 gnu/xml/dom/DomDOMException.java,
11060 gnu/xml/dom/DomDoctype.java,
11061 gnu/xml/dom/DomDocument.java,
11062 gnu/xml/dom/DomDocumentConfiguration.java,
11063 gnu/xml/dom/DomDocumentFragment.java,
11064 gnu/xml/dom/DomElement.java,
11065 gnu/xml/dom/DomEx.java,
11066 gnu/xml/dom/DomFragment.java,
11067 gnu/xml/dom/DomImpl.java,
11068 gnu/xml/dom/DomIterator.java,
11069 gnu/xml/dom/DomNamedNodeMap.java,
11070 gnu/xml/dom/DomNode.java,
11071 gnu/xml/dom/DomNsNode.java,
11072 gnu/xml/dom/DomPI.java,
11073 gnu/xml/dom/DomProcessingInstruction.java,
11074 gnu/xml/dom/DomText.java,
11075 gnu/xml/dom/DomLSEx.java,
11076 gnu/xml/dom/DomLSException.java,
11077 gnu/xml/dom/DomLSParser.java,
11078 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
11079 implementation class names to conform to Classpath guidelines. Make
11080 DomLSException use JDK 1.4+ exception chaining.
11081 * gnu/xml/util/SAXNullTransformerFactory.java,
11082 gnu/xml/xpath/Predicate.java: Use constants relative to
11083 declaring class or interface.
11085 2005-02-16 Andrew Haley <aph@redhat.com>
11087 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
11088 null, create a new AccessControlContext.
11089 * java/security/SecureClassLoader.java (protectionDomainCache):
11091 (defineClass): Create a new protection domain and add it to our
11094 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
11095 addStub() to keep track of the stub we've exported.
11096 (unexportObject): Call deleteStub().
11097 * java/rmi/server/RemoteObject.java (stubs): New field.
11098 (addStub): New method.
11099 (deleteStub): New method.
11102 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
11103 true to findHelper (tryParents).
11104 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
11106 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
11107 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
11109 If tryParents is false, don't scan parent class loaders.
11111 * java/security/Permissions.java (PermissionsHash.implies):
11112 Iterate over the collection and invoke implies() on each
11115 2005-02-16 Andrew Haley <aph@redhat.com>
11117 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
11119 (PersistentByteMap): Set name
11120 Magic number changed to 0x67636a64 ("gcjd").
11121 (init): Force the map to be prime.
11122 (emptyPersistentByteMap): File name was a string, now a File.
11123 (addBytes): Share srings between entries.
11124 (stringTableSize): New method.
11125 (capacity): Scale by load factor.
11126 (force): New method.
11127 (getFile): New method.
11128 (close): New method.
11129 (putAll): New method.
11130 (ByteWrapper): New class.
11131 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
11132 (main): Guess the average string size as 32, not 64.
11133 Copy a database before modifying it, so that we can update a
11134 database in a running system.
11135 If a database isn't big enough, resize it.
11136 "-m": new option: merges databases.
11137 "-a": Create a new detabase if it doesn't exist.
11138 (usage): Correct, add new option.
11139 (addJar): Copy a database before modifying it.
11140 (resizeMap): New method.
11142 2005-02-15 David Daney <ddaney@avtrex.com>
11143 Bryce McKinlay <mckinlay@redhat.com>
11145 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
11146 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
11147 ensure that GC threads inherit the new signal mask.
11148 (block_sigchld): Call JvFail rather than throwing exception if
11149 pthread_sigmask() fails.
11151 2005-02-15 Mark Wielaard <mark@klomp.org>
11153 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
11154 file path elements are separated by spaces.
11156 2005-02-15 Mark Wielaard <mark@klomp.org>
11158 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
11159 to describe attributes without a constant field value in this class.
11161 2005-02-15 Michael Koch <konqueror@gmx.de>
11163 * java/util/jar/Attributes.java
11164 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
11166 2005-02-15 Mark Wielaard <mark@klomp.org>
11168 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
11169 space for parsing CLASS_PATH attribute.
11171 2005-02-15 Mark Wielaard <mark@klomp.org>
11173 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
11174 aside for "GCJLIBS" in directory where jarfiles are loaded.
11175 (JarURLLoader.getClass): Removed method.
11176 (JarURLLoader.toString): Removed method.
11177 (FileResource.toString): Removed method.
11179 2005-02-15 Mark Wielaard <mark@klomp.org>
11181 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
11182 and/or cause before throwing.
11184 2005-02-15 Richard Henderson <rth@redhat.com>
11186 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
11187 (libgcj0_convenience_la_SOURCES): ... here.
11188 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
11189 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
11190 * Makefile.in: Regenerate.
11192 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
11194 * jawt.c: New file.
11195 * include/jawt.h: Likewise.
11196 * include/jawt_md.h: Likewise.
11197 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
11199 * include/Makefile.in: Regenerate.
11200 * jni/classpath/classpath_jawt.h: Likewise.
11201 * jni/gtk-peer/gtk_jawt.c: Likewise.
11202 * Makefile.am: Build libjawt.so.
11203 * Makefile.in: Regenerate.
11205 2005-02-14 Tom Tromey <tromey@redhat.com>
11207 * testsuite/libjava.lang/PR19921.java: Use correct class name.
11209 2005-02-14 Tom Tromey <tromey@redhat.com>
11211 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
11212 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
11214 2005-02-14 Tom Tromey <tromey@redhat.com>
11217 * testsuite/libjava.lang/PR19929.out: New file.
11218 * testsuite/libjava.lang/PR19929.java: New file.
11220 2005-02-14 Anthony Green <green@redhat.com>
11223 * testsuite/libjava.jni/PR18116.c: New file.
11224 * testsuite/libjava.jni/PR18116.java: New file.
11225 * testsuite/libjava.jni/PR18116.out: New file.
11227 2005-02-13 Anthony Green <green@redhat.com>
11230 * jni.cc (nathash_add): Don't strdup the method signature.
11231 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
11235 2005-02-12 Mark Wielaard <mark@klomp.org>
11237 Fixes bug libgcj/8170
11238 * java/lang/ClassLoader.java (loadClass): Don't rewrap
11239 ClassNotFoundException.
11240 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
11241 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
11242 (remove_internal): New field superceding remove_interpreter.
11243 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
11244 Remove no-class methods starting with "_Jv_". And Replace null
11245 class or method names with the empty string. Stop at either the
11246 MainThread or a real Thread run() method.
11247 (newElement): Made static.
11248 * java/net/URLClassLoader.java (findClass): Throw
11249 ClassNotFoundExceptions including urls, plus parent using toString().
11250 (thisString): New field.
11251 (toString): New method.
11253 2005-02-10 Tom Tromey <tromey@redhat.com>
11255 * external/sax/Makefile.in: Rebuilt.
11256 * external/sax/Makefile.am (all-local): Removed.
11257 (BUILT_SOURCES): New variable.
11258 (mostlyclean-local): No error if no classes to delete.
11259 * external/w3c_dom/Makefile.in: Rebuilt.
11260 * external/w3c_dom/Makefile.am (all-local): Removed.
11261 (BUILT_SOURCES): New variable.
11262 (mostlyclean-local): No error if no classes to delete.
11264 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
11266 * testsuite/libjava.mauve/xfails: Updated to reflect current state
11267 of mauve and libjava.
11269 2005-02-09 Tom Tromey <tromey@redhat.com>
11271 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
11272 jar file with OPEN_DELETE.
11273 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
11274 OPEN_DELETE is used.
11276 2005-02-09 Tom Tromey <tromey@redhat.com>
11278 * java/util/zip/InflaterInputStream.java (markSupported):
11280 (mark, reset): Likewise.
11282 2005-02-08 Tom Tromey <tromey@redhat.com>
11284 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
11285 name or port is missing.
11286 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
11287 AUTHORITY_PORT_GROUP): Updated.
11289 2005-02-08 Tom Tromey <tromey@redhat.com>
11291 * configure: Rebuilt.
11292 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
11295 2005-02-07 Tom Tromey <tromey@redhat.com>
11297 * java/lang/natRuntime.cc (insertSystemProperties): Set
11298 sun.boot.class.path earlier.
11300 2005-02-07 Tom Tromey <tromey@redhat.com>
11302 * defineclass.cc (handleClassBegin): Use
11303 _Jv_RegisterInitiatingLoader.
11304 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
11305 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
11306 class. Use _Jv_UnregisterInitiatingLoader.
11307 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
11310 2005-02-07 Mark Wielaard <mark@klomp.org>
11312 Reported by Timo Lindfors <timo.lindfors@iki.fi>
11313 java/util/regex/Matcher.java (lookingAt): Set position when match
11315 (matches): Implemented through lookingAt().
11317 2005-02-07 Mark Wielaard <mark@klomp.org>
11319 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
11320 * java/util/regex/Pattern.java (split(CharSequence,int)):
11321 Fix while empties > 0 loops.
11323 2005-02-07 Robert Schuster <thebohemian@gmx.net>
11325 * gnu/java/nio/charset/ISO_8859_1.java,
11326 gnu/java/nio/charset/US_ASCII.java,
11327 gnu/java/nio/charset/UTF_16.java,
11328 gnu/java/nio/charset/UTF_16_LE.java,
11329 gnu/java/nio/charset/UTF_16_BE.java,
11330 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
11331 and aliases according to
11332 "http://www.iana.org/assignments/character-sets",
11333 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
11334 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
11335 * gnu/java/nio/charset/Provider.java: Made charset lookup
11336 case-insensitive which fixes bug #11740.
11338 2005-02-07 Tom Tromey <tromey@redhat.com>
11341 * Makefile.in: Rebuilt.
11342 * Makefile.am (src.zip): New target.
11343 (install-src.zip): Likewise.
11344 (sourcesdir): New variable.
11346 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
11348 * javax/imageio/metadata/IIOMetadataNode.java:
11350 * javax/imageio/metadata/IIOAttr.java,
11351 javax/imageio/metadata/IIONamedNodeMap.java,
11352 javax/imageio/metadata/IIONodeList.java:
11355 2005-02-06 Graydon Hoare <graydon@redhat.com>
11357 * gnu/java/awt/ClasspathToolkit.java
11358 (registerImageIOSpis): New method.
11359 * javax/imageio/ImageIO.java
11360 (WriterFormatFilter.filter): Fix copy-and-paste typos.
11361 (WriterMIMETypeFilter.filter): Likewise.
11362 (ImageReaderIterator): Pass extension argument through to SPI.
11363 (getReadersByFilter): Likewise.
11364 (getWritersByFilter): Likewise.
11365 (getImageReadersByFormatName): Likewise.
11366 (getImageReadersByMIMEType): Likewise.
11367 (getImageReadersBySuffix): Likewise.
11368 (getImageWritersByFormatName): Likewise.
11369 (getImageWritersByMIMEType): Likewise.
11370 (getImageWritersBySuffix): Likewise.
11372 (write): Implement.
11373 * javax/imageio/ImageReader.java
11374 (progressListeners): Initialize.
11375 (setInput): Implement.
11376 * javax/imageio/ImageWriter.java
11377 (progressListeners): Initialize.
11378 (warningListeners): Likewise.
11379 (warningLocales): Likewise.
11380 (setOutput): Test "isInstance" rather than class equality.
11381 * javax/imageio/spi/IIORegistry.java
11382 (static): Add reader and writer SPIs.
11383 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
11385 2005-02-06 Michael Koch <konqueror@gmx.de>
11387 * javax/imageio/metadata/IIOInvalidTreeException.java
11388 (IIOInvalidTreeException): Reformatted.
11389 * javax/imageio/spi/IIORegistry.java
11390 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
11391 * javax/imageio/stream/MemoryCacheImageInputStream.java:
11392 Reworked import statements.
11394 2005-02-06 Michael Koch <konqueror@gmx.de>
11396 * javax/imageio/stream/FileImageOutputStream.java:
11399 2005-02-06 Michael Koch <konqueror@gmx.de>
11401 * javax/imageio/stream/FileCacheImageInputStream.java,
11402 javax/imageio/stream/FileCacheImageOutputStream.java,
11403 javax/imageio/stream/FileImageInputStream.java,
11404 javax/imageio/stream/ImageInputStreamImpl.java,
11405 javax/imageio/stream/ImageOutputStreamImpl.java,
11406 javax/imageio/stream/MemoryCacheImageInputStream.java,
11407 javax/imageio/stream/MemoryCacheImageOutputStream.java:
11408 Added all missing methods in javax.imageio.stream.
11410 2005-02-02 David Daney <ddaney@avtrex.com>
11412 * java/net/InetAddress.java (InetAddress): Make a private copy of
11414 * java/net/Inet4Address.java (getAddress): Return a copy of the
11416 * java/net/Inet6Address.java (Inet6Address): Use private copy of
11418 (getAddress): Return a copy of the address.
11421 2005-02-02 Tom Tromey <tromey@redhat.com>
11423 * Makefile.in: Rebuilt.
11424 * Makefile.am (classes.stamp): New target, broken out from
11426 ($(all_java_class_files)): Depend on it.
11427 (libgcj-@gcc_version@.jar): Likewise.
11428 (all-recursive): Likewise.
11429 (CLEANFILES): Include classes.stamp.
11431 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
11433 * link.cc: Include <stdio.h>
11435 2005-02-02 Tom Tromey <tromey@redhat.com>
11438 * Makefile.in: Rebuilt.
11439 * Makefile.am (ordinary_java_source_files): Added new class.
11440 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
11441 Use system_instance, not instance.
11442 * gnu/gcj/runtime/SystemClassLoader.java: New file.
11443 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
11445 (system_instance): New field.
11446 (initialize): Initialize the system loader as well.
11447 (VMClassLoader): Default to LIB_CACHE.
11449 2005-02-02 Tom Tromey <tromey@redhat.com>
11451 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
11452 * prims.cc: Fixed comment.
11454 2005-02-01 Tom Tromey <tromey@redhat.com>
11456 * Makefile.in: Rebuilt.
11457 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
11458 (.java.class): Use BOOTCLASSPATH.
11460 2005-02-01 Tom Tromey <tromey@redhat.com>
11462 * external/w3c_dom/Makefile.am: New file.
11463 * external/w3c_dom/Makefile.in: New file.
11464 * external/sax/Makefile.am: New file.
11465 * external/sax/Makefile.in: New file.
11466 * external/Makefile.in: New file.
11467 * external/Makefile.am: New file.
11468 * external/README: New file from Classpath.
11469 * configure, aclocal.m4, Makefile.in: Rebuilt.
11470 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
11471 * Makefile.am (SUBDIRS): Added external.
11472 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
11473 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
11474 (BOOTCLASSPATH): New variable.
11475 (AM_GCJFLAGS): Use it.
11476 (gnu_xml_source_files): New variable.
11477 (libgcj_la_SOURCES): Use it.
11478 (libgcj_la_LDADD): Include new convenience libraries.
11479 (lib_org_ietf_jgss_la_SOURCES): Removed.
11480 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
11481 (lib_org_ietf_jgss_la_LIBADD): Likewise.
11482 (lib_org_w3c_dom_la_SOURCES): Removed.
11483 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
11484 (lib_org_w3c_dom_la_LIBADD): Likewise.
11485 (lib_org_xml_sax_la_SOURCES): Removed.
11486 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
11487 (lib_org_xml_sax_la_LIBADD): Likewise.
11488 (all_java_source_files): Updated.
11489 (property_files): Likewise.
11490 (libgcj-@gcc_version@.jar): Include classes from external/.
11491 (javax_source_files): Updated.
11492 (ordinary_java_source_files): Updated.
11493 * javax/xml/XMLConstants.java,
11494 javax/xml/datatype/DatatypeConfigurationException.java,
11495 javax/xml/datatype/DatatypeConstants.java,
11496 javax/xml/datatype/DatatypeFactory.java,
11497 javax/xml/datatype/Duration.java,
11498 javax/xml/datatype/XMLGregorianCalendar.java,
11499 javax/xml/datatype/package.html,
11500 javax/xml/namespace/NamespaceContext.java,
11501 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
11502 javax/xml/parsers/DocumentBuilder.java,
11503 javax/xml/parsers/DocumentBuilderFactory.java,
11504 javax/xml/parsers/FactoryConfigurationError.java,
11505 javax/xml/parsers/ParserConfigurationException.java,
11506 javax/xml/parsers/SAXParser.java,
11507 javax/xml/parsers/SAXParserFactory.java,
11508 javax/xml/parsers/package.html,
11509 javax/xml/transform/ErrorListener.java,
11510 javax/xml/transform/OutputKeys.java,
11511 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
11512 javax/xml/transform/SourceLocator.java,
11513 javax/xml/transform/Templates.java,
11514 javax/xml/transform/Transformer.java,
11515 javax/xml/transform/TransformerConfigurationException.java,
11516 javax/xml/transform/TransformerException.java,
11517 javax/xml/transform/TransformerFactory.java,
11518 javax/xml/transform/TransformerFactoryConfigurationError.java,
11519 javax/xml/transform/URIResolver.java,
11520 javax/xml/transform/package.html,
11521 javax/xml/transform/dom/DOMLocator.java,
11522 javax/xml/transform/dom/DOMResult.java,
11523 javax/xml/transform/dom/DOMSource.java,
11524 javax/xml/transform/dom/package.html,
11525 javax/xml/transform/sax/SAXResult.java,
11526 javax/xml/transform/sax/SAXSource.java,
11527 javax/xml/transform/sax/SAXTransformerFactory.java,
11528 javax/xml/transform/sax/TemplatesHandler.java,
11529 javax/xml/transform/sax/TransformerHandler.java,
11530 javax/xml/transform/sax/package.html,
11531 javax/xml/transform/stream/StreamResult.java,
11532 javax/xml/transform/stream/StreamSource.java,
11533 javax/xml/transform/stream/package.html,
11534 javax/xml/validation/Schema.java,
11535 javax/xml/validation/SchemaFactory.java,
11536 javax/xml/validation/TypeInfoProvider.java,
11537 javax/xml/validation/Validator.java,
11538 javax/xml/validation/ValidatorHandler.java,
11539 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
11540 javax/xml/xpath/XPathConstants.java,
11541 javax/xml/xpath/XPathException.java,
11542 javax/xml/xpath/XPathExpression.java,
11543 javax/xml/xpath/XPathExpressionException.java,
11544 javax/xml/xpath/XPathFactory.java,
11545 javax/xml/xpath/XPathFactoryConfigurationException.java,
11546 javax/xml/xpath/XPathFunction.java,
11547 javax/xml/xpath/XPathFunctionException.java,
11548 javax/xml/xpath/XPathFunctionResolver.java,
11549 javax/xml/xpath/XPathVariableResolver.java,
11550 javax/xml/xpath/package.html: New files, from GNU JAXP.
11551 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
11552 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
11553 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
11554 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
11555 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
11556 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
11557 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
11558 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
11559 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
11560 org/w3c/dom/ranges/DocumentRange.java,
11561 org/w3c/dom/ranges/Range.java,
11562 org/w3c/dom/ranges/RangeException.java,
11563 org/w3c/dom/traversal/DocumentTraversal.java,
11564 org/w3c/dom/traversal/NodeFilter.java,
11565 org/w3c/dom/traversal/NodeIterator.java,
11566 org/w3c/dom/traversal/TreeWalker.java,
11567 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
11568 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
11569 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
11570 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
11571 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
11572 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
11573 org/xml/sax/SAXNotRecognizedException.java,
11574 org/xml/sax/SAXNotSupportedException.java,
11575 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
11576 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
11577 org/xml/sax/ext/DeclHandler.java,
11578 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
11579 org/xml/sax/helpers/AttributeListImpl.java,
11580 org/xml/sax/helpers/AttributesImpl.java,
11581 org/xml/sax/helpers/DefaultHandler.java,
11582 org/xml/sax/helpers/LocatorImpl.java,
11583 org/xml/sax/helpers/NamespaceSupport.java,
11584 org/xml/sax/helpers/NewInstance.java,
11585 org/xml/sax/helpers/ParserAdapter.java,
11586 org/xml/sax/helpers/ParserFactory.java,
11587 org/xml/sax/helpers/XMLFilterImpl.java,
11588 org/xml/sax/helpers/XMLReaderAdapter.java,
11589 org/xml/sax/helpers/XMLReaderFactory.java,
11590 org/xml/sax/helpers/package.html: Moved to external/.
11591 * external/sax/README,
11592 external/sax/org/xml/sax/AttributeList.java,
11593 external/sax/org/xml/sax/Attributes.java,
11594 external/sax/org/xml/sax/ContentHandler.java,
11595 external/sax/org/xml/sax/DTDHandler.java,
11596 external/sax/org/xml/sax/DocumentHandler.java,
11597 external/sax/org/xml/sax/EntityResolver.java,
11598 external/sax/org/xml/sax/ErrorHandler.java,
11599 external/sax/org/xml/sax/HandlerBase.java,
11600 external/sax/org/xml/sax/InputSource.java,
11601 external/sax/org/xml/sax/Locator.java,
11602 external/sax/org/xml/sax/Parser.java,
11603 external/sax/org/xml/sax/SAXException.java,
11604 external/sax/org/xml/sax/SAXNotRecognizedException.java,
11605 external/sax/org/xml/sax/SAXNotSupportedException.java,
11606 external/sax/org/xml/sax/SAXParseException.java,
11607 external/sax/org/xml/sax/XMLFilter.java,
11608 external/sax/org/xml/sax/XMLReader.java,
11609 external/sax/org/xml/sax/package.html,
11610 external/sax/org/xml/sax/ext/Attributes2.java,
11611 external/sax/org/xml/sax/ext/Attributes2Impl.java,
11612 external/sax/org/xml/sax/ext/DeclHandler.java,
11613 external/sax/org/xml/sax/ext/DefaultHandler2.java,
11614 external/sax/org/xml/sax/ext/EntityResolver2.java,
11615 external/sax/org/xml/sax/ext/LexicalHandler.java,
11616 external/sax/org/xml/sax/ext/Locator2.java,
11617 external/sax/org/xml/sax/ext/Locator2Impl.java,
11618 external/sax/org/xml/sax/ext/package.html,
11619 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
11620 external/sax/org/xml/sax/helpers/AttributesImpl.java,
11621 external/sax/org/xml/sax/helpers/DefaultHandler.java,
11622 external/sax/org/xml/sax/helpers/LocatorImpl.java,
11623 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
11624 external/sax/org/xml/sax/helpers/NewInstance.java,
11625 external/sax/org/xml/sax/helpers/ParserAdapter.java,
11626 external/sax/org/xml/sax/helpers/ParserFactory.java,
11627 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
11628 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
11629 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
11630 external/sax/org/xml/sax/helpers/package.html,
11631 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
11632 external/w3c_dom/org/w3c/dom/Attr.java,
11633 external/w3c_dom/org/w3c/dom/CDATASection.java,
11634 external/w3c_dom/org/w3c/dom/CharacterData.java,
11635 external/w3c_dom/org/w3c/dom/Comment.java,
11636 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
11637 external/w3c_dom/org/w3c/dom/DOMError.java,
11638 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
11639 external/w3c_dom/org/w3c/dom/DOMException.java,
11640 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
11641 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
11642 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
11643 external/w3c_dom/org/w3c/dom/DOMLocator.java,
11644 external/w3c_dom/org/w3c/dom/DOMStringList.java,
11645 external/w3c_dom/org/w3c/dom/Document.java,
11646 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
11647 external/w3c_dom/org/w3c/dom/DocumentType.java,
11648 external/w3c_dom/org/w3c/dom/Element.java,
11649 external/w3c_dom/org/w3c/dom/Entity.java,
11650 external/w3c_dom/org/w3c/dom/EntityReference.java,
11651 external/w3c_dom/org/w3c/dom/NameList.java,
11652 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
11653 external/w3c_dom/org/w3c/dom/Node.java,
11654 external/w3c_dom/org/w3c/dom/NodeList.java,
11655 external/w3c_dom/org/w3c/dom/Notation.java,
11656 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
11657 external/w3c_dom/org/w3c/dom/Text.java,
11658 external/w3c_dom/org/w3c/dom/TypeInfo.java,
11659 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
11660 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
11661 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
11662 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
11663 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
11664 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
11665 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
11666 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
11667 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
11668 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
11669 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
11670 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
11671 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
11672 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
11673 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
11674 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
11675 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
11676 external/w3c_dom/org/w3c/dom/css/Counter.java,
11677 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
11678 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
11679 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
11680 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
11681 external/w3c_dom/org/w3c/dom/css/Rect.java,
11682 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
11683 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
11684 external/w3c_dom/org/w3c/dom/events/Event.java,
11685 external/w3c_dom/org/w3c/dom/events/EventException.java,
11686 external/w3c_dom/org/w3c/dom/events/EventListener.java,
11687 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
11688 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
11689 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
11690 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
11691 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
11692 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
11693 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
11694 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
11695 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
11696 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
11697 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
11698 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
11699 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
11700 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
11701 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
11702 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
11703 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
11704 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
11705 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
11706 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
11707 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
11708 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
11709 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
11710 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
11711 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
11712 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
11713 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
11714 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
11715 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
11716 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
11717 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
11718 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
11719 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
11720 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
11721 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
11722 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
11723 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
11724 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
11725 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
11726 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
11727 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
11728 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
11729 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
11730 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
11731 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
11732 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
11733 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
11734 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
11735 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
11736 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
11737 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
11738 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
11739 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
11740 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
11741 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
11742 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
11743 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
11744 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
11745 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
11746 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
11747 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
11748 external/w3c_dom/org/w3c/dom/ls/LSException.java,
11749 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
11750 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
11751 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
11752 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
11753 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
11754 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
11755 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
11756 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
11757 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
11758 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
11759 external/w3c_dom/org/w3c/dom/ranges/Range.java,
11760 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
11761 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
11762 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
11763 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
11764 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
11765 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
11766 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
11767 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
11768 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
11769 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
11770 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
11771 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
11772 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
11773 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
11774 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
11775 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
11776 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
11777 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
11780 2005-01-31 Anthony Green <green@redhat.com>
11782 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
11783 Support IP_MULTICAST_LOOP.
11784 (setOption): Support IP_MULTICAST_LOOP.
11786 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
11787 SO_REUSEADDR support.
11788 (getOption): Support SO_REUSEADDR.
11790 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
11793 * java/util/Date.java
11794 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
11796 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
11798 (getTimezoneOffset): Inverted sign.
11800 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
11802 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
11803 remove other passing tests and add new XFAILs.
11805 2005-01-24 Tom Tromey <tromey@redhat.com>
11807 * java/lang/Class.h (next): Updated documentation. Renamed to
11809 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
11810 _Jv_CheckABIVersion.
11811 (_Jv_RegisterClasses_Counted): Likewise.
11812 (_Jv_RegisterClassHookDefault): Fix starting condition of
11813 duplicate-checking loop.
11814 * include/jvm.h (GCJ_VERSION): New define.
11815 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
11816 (_Jv_CheckABIVersion): New function.
11818 2005-01-24 Jakub Jelinek <jakub@redhat.com>
11820 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
11821 (libgij_la_LDFLAGS): Add.
11822 * Makefile.in: Rebuilt.
11824 2005-01-24 Roger Sayle <roger@eyesopen.com>
11827 * testsuite/libjava.compile/PR19295.java: New test case.
11829 2005-01-19 Tom Tromey <tromey@redhat.com>
11831 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
11832 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
11833 if 'handler' is valid.
11835 2005-01-17 Tom Tromey <tromey@redhat.com>
11837 * java/text/MessageFormat.java (scanString): Changed how quoting
11839 (scanFormatElement): Likewise.
11841 2004-12-07 Mark Wielaard <mark@klomp.org>
11843 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
11845 2005-01-15 Michael Koch <konqueror@gmx.de>
11848 * java/net/URI.java
11849 (AUTHORITY_REGEXP): New regexp constant.
11850 (AUTHORITY_USERINFO_GROUP): New constant.
11851 (AUTHORITY_HOST_GROUP): Likewise.
11852 (AUTHORITY_PORT_GROUP): Likewise.
11853 (port): Changed default value to -1.
11854 (parseURI): Parse authority part and initialize host,
11857 2005-01-14 Robin Green <greenrd@greenrd.org>
11859 * java/io/File.java (toURI): Generate a URI which we understand.
11861 2005-01-13 Graydon Hoare <graydon@redhat.com>
11863 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
11864 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
11865 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
11866 * jni.cc: Reuse bottom frame between calls, avoid clearing
11867 frame when no local references are made.
11869 2005-01-13 Michael Koch <konqueror@gmx.de>
11872 * java/lang/Thread.java
11873 (Thread): Call checkAccess().
11874 (stop): Fixed argument name to match javadoc.
11875 * java/lang/natThread.cc
11876 (interrupt): Call checkAccess().
11879 2005-01-11 Michael Koch <konqueror@gmx.de>
11882 * java/net/URL.java (URL): Handle specs like
11883 "/redir?http://domain2.com/index.html" which start with a slash.
11885 2005-01-11 Michael Koch <konqueror@gmx.de>
11887 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
11888 * gnu/java/net/BASE64.java,
11889 gnu/java/net/EmptyX509TrustManager.java,
11890 gnu/java/net/LineInputStream.java,
11891 gnu/java/net/protocol/http/Authenticator.java,
11892 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
11893 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
11894 gnu/java/net/protocol/http/ChunkedInputStream.java,
11895 gnu/java/net/protocol/http/Cookie.java,
11896 gnu/java/net/protocol/http/CookieManager.java,
11897 gnu/java/net/protocol/http/Credentials.java,
11898 gnu/java/net/protocol/http/HTTPConnection.java,
11899 gnu/java/net/protocol/http/HTTPDateFormat.java,
11900 gnu/java/net/protocol/http/HTTPURLConnection.java,
11901 gnu/java/net/protocol/http/Headers.java,
11902 gnu/java/net/protocol/http/Request.java,
11903 gnu/java/net/protocol/http/RequestBodyWriter.java,
11904 gnu/java/net/protocol/http/Response.java,
11905 gnu/java/net/protocol/http/ResponseBodyReader.java,
11906 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
11907 gnu/java/net/protocol/http/SimpleCookieManager.java,
11908 gnu/java/net/protocol/http/event/ConnectionEvent.java,
11909 gnu/java/net/protocol/http/event/ConnectionListener.java,
11910 gnu/java/net/protocol/http/event/RequestEvent.java,
11911 gnu/java/net/protocol/http/event/RequestListener.java: New files.
11912 * gnu/java/net/protocol/http/Connection.java: Removed.
11913 * gnu/java/net/protocol/http/Handler.java,
11914 javax/net/ssl/HttpsURLConnection.java: Updated.
11915 * Makefile.am: Added new files and remove old ones.
11916 * Makefile.in: Regenerated.
11918 2005-01-11 Tom Tromey <tromey@redhat.com>
11921 * java/io/BufferedInputStream.java (read): Repeatedly read to
11923 (refill): Change test to see if buffer must be grown.
11925 2005-01-10 Tom Tromey <tromey@redhat.com>
11927 * mauve-libgcj: Exclude some swing tests.
11929 2005-01-10 Tom Tromey <tromey@redhat.com>
11931 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
11932 * java/lang/Package.java (getPackages): Use VMClassLoader when
11934 (getPackage): Likewise.
11935 * prims.cc (_Jv_CreateJavaVM): Call
11936 _Jv_RegisterBootstrapPackages.
11937 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
11938 * java/lang/VMClassLoader.java (getPackage): Rewrote.
11939 (getPackages): Likewise.
11940 (definedPackages): New field.
11941 (definePackageForNative): New method.
11942 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
11943 * java/lang/natVMClassLoader.cc (loadClass): Updated.
11944 * defineclass.cc (handleClassBegin): Use
11945 ClassLoader.findLoadedClass.
11946 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
11948 (struct _Jv_LoaderInfo): Removed.
11949 (initiated_classes): Likewise.
11950 (_Jv_UnregisterClass): Don't use initiated_classes.
11951 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
11952 (_Jv_FindClass): Register classes found during boostrap.
11953 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
11954 (bootstrap_class_list): New global.
11955 (bootstrap_index): Likewise.
11956 (_Jv_RegisterBootstrapPackages): New function.
11957 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
11958 definePackageForNative.
11959 (findClass): Updated.
11960 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
11963 2005-01-10 Tom Tromey <tromey@redhat.com>
11966 * include/jvm.h (_Jv_Linker::find_field): Declare.
11967 (_Jv_Linker::find_field_helper): Likewise.
11968 * link.cc (find_field_helper): New method.
11969 (find_field): Likewise.
11970 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
11972 (link_symbol_table): Use find_field.
11974 2005-01-10 Michael Koch <konqueror@gmx.de>
11977 * java/util/Locale.java (Locale): Don't uppercase variant.
11978 (getISOCountries): Fixed typo in javadoc.
11980 2005-01-10 Michael Koch <konqueror@gmx.de>
11982 * java/util/SimpleTimeZone.java (checkRule):
11983 Throw IllegalArgumentException on invalid month values.
11984 * java/util/TimeZone.java (setID):
11985 Throw NullPointerException if needed.
11987 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
11989 * java/util/SimpleTimeZone.java (getOffset):
11990 offset end date with daylight savings
11992 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
11994 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
11995 * testsuite/libjava.compile/PR19277.xfail: Likewise.
11997 2005-01-09 Michael Koch <konqueror@gmx.de>
12000 * java/net/InetAddress.java (getLocalHost):
12001 Throw UnknownHostException if local hostname cannot be determined.
12003 2005-01-06 Tom Tromey <tromey@redhat.com>
12005 * java/lang/ClassLoader.java (findClass): Fixed documentation.
12007 2005-01-07 Michael Koch <konqueror@gmx.de>
12010 * java/nio/Buffer.java (address): New field.
12011 * java/nio/DirectByteBufferImpl.java (address): Removed.
12012 * java/nio/MappedByteBufferImpl.java (address): Likewise.
12013 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
12014 Explicitly initialize Buffer.address if needed.
12015 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
12016 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
12017 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
12018 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
12019 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
12020 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
12021 DirectByteBufferImpl object.
12022 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12023 * testsuite/libjava.jni/directbuffer.c,
12024 testsuite/libjava.jni/directbuffer.java,
12025 testsuite/libjava.jni/directbuffer.out,
12026 testsuite/libjava.jni/bytebuffer.c,
12027 testsuite/libjava.jni/bytebuffer.java,
12028 testsuite/libjava.jni/bytebuffer.out: New files.
12030 2005-01-05 Tom Tromey <tromey@redhat.com>
12032 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
12034 (compressedSize): Now 'long'. Default to -1.
12035 (getCompressedSize): Rewrote.
12036 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
12037 deflate at all if we need input.
12039 2005-01-05 Tom Tromey <tromey@redhat.com>
12042 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
12045 2005-01-05 Tom Tromey <tromey@redhat.com>
12047 * java/lang/natRuntime.cc (insertSystemProperties): Set
12048 java.ext.dirs earlier.
12050 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
12052 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
12053 sync_info element of the object if needed.
12055 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
12057 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
12058 a non-zero exit status from 'false'.
12060 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
12062 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.