1 2006-10-20 Tom Tromey <tromey@redhat.com>
3 * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
4 Correctly pass jvalues.
6 2006-10-18 Tom Tromey <tromey@redhat.com>
7 Bryce McKinlay <mckinlay@redhat.com>
9 * testsuite/libjava.jni/register2.java: New file.
10 * testsuite/libjava.jni/register2.out: New file.
11 * testsuite/libjava.jni/register2.c: New file.
12 * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
13 * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
14 * jni.cc (struct NativeMethodCacheEntry): New struct.
15 (nathash): Changed type.
17 (nathash_find_slot): Likewise.
18 (nathash_find): Likewise.
19 (natrehash): Likewise.
20 (nathash_add): Likewise.
21 (_Jv_JNI_RegisterNatives): Likewise.
22 (_Jv_LookupJNIMethod): Likewise.
23 Idea from Juerg Lehni <juerg@scratchdisk.com>
25 2006-10-16 Geoffrey Keating <geoffk@apple.com>
27 * testsuite/libjava.jvmti/natevents.cc (env): Delete.
28 (ExceptionCB): Fix types for printf arguments.
29 (ExceptionCatchCB): Likewise.
30 (SingleStepCB): Likewise.
31 (BreakpointCB): Likewise.
32 (FieldAccessCB): Likewise.
33 (FieldModificationCB): Likewise.
34 (CompiledMethodLoadCB): Likewise.
36 2006-10-14 Keith Seitz <keiths@redhat.com>
38 * include/java-insns.h (enum java_code): Add op_breakpoint.
39 * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
40 [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
41 [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
42 (install_break): Declare.
43 * interpret.cc (breakpoint_insn): Define breakpoint insn.
44 (compile): Add op_breakpoint to "can't happen" cases.
45 [INTERPRETER] Initialize breakpoint insn if necessary.
46 (install_break): New method.
47 * interpret-run.cc: Add op_breakpoint to insn_targets.
48 Add insn_breakpoint label.
49 * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
50 opcodes section of switch statement.
51 (verify_instructions_0): Likewise.
53 2006-10-12 Keith Seitz <keiths@redhat.com>
55 * include/jvmti-int.h (JVMTI): Declare all members "extern".
56 * jvmti.cc (JVMTI): Define.
58 2006-10-11 Tom Tromey <tromey@redhat.com>
60 * Makefile.in: Rebuilt.
61 * Makefile.am (install-data-local): Use mkinstalldirs.
63 2006-10-10 Tom Tromey <tromey@redhat.com>
65 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
66 Removed obsolete comment.
68 2006-10-10 Keith Seitz <keiths@redhat.com>
70 * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
71 (_Jv_InterpMethod::set_insn): Declare.
72 * interpret.cc (_Jv_InterpMethod::get_insn): New method.
73 (_Jv_InterpMethod::get_insn): New method.
75 2006-10-10 Tom Tromey <tromey@redhat.com>
77 * prims.cc (_Jv_PrependVersionedLibdir): Use
78 _Jv_platform_path_separator.
80 2006-10-10 Tom Tromey <tromey@redhat.com>
83 * Makefile.in: Rebuilt.
84 * Makefile.am (install-data-local): Install the .pc file.
85 (pkgconfig_DATA): Removed.
87 2006-10-03 Gary Benson <gbenson@redhat.com>
89 * java/net/InetAddress.java
90 (<clinit>): Reorder the static initializers.
92 2006-10-02 Gary Benson <gbenson@redhat.com>
94 * java/net/InetAddress.java
95 (checkConnect): Reinstated.
96 (loopbackAddress): Ensure initialized from non-null object.
98 2006-09-30 Keith Seitz <keiths@redhat.com>
100 * include/java-interp.h (prepared): Change type to pc_t.
101 (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
102 * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
103 (insn_index): Implement for bytecode interpreter.
104 * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
105 qualifier to resolve_pool_entry.
106 [!DIRECT_THREADED] (AVAL2U): Likewise.
107 [!DIRECT_THREADED] bytecode() cannot be called without an object.
109 [!DIRECT_THREADED] Likewise for defining_class.
111 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
114 * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
115 if HAVE_GETIPINFO not defined.
116 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
117 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
118 * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
119 * aclocal.m4, configure, include/config.h.in, Makefile.in:
122 2006-09-27 Tom Tromey <tromey@redhat.com>
124 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
125 * java/util/Locale.java (hashcode): No longer transient.
126 (writeObject): Use ObjectOutputStream.PutField and
128 (readObject): Use defaultReadObject.
130 2006-09-25 Keith Seitz <keiths@redhat.com>
132 * gnu/classpath/jdwp/VMVirtualMachine.java
133 (_jdwp_suspend_counts): New private variable.
134 * gnu/classpath/jdwp/natVMVirtualMachine.cc
135 (initialize): Initialize _jdwp_suspend_counts.
136 (suspendThread): Implement.
137 (resumeThread): Implement.
138 (getSuspendCount): Implement.
140 2006-09-22 Marco Trudel <mtrudel@gmx.ch>
142 * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL.
144 2006-09-21 Keith Seitz <keiths@redhat.com>
146 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
148 (check_enabled_event): New function.
149 (check_enabled_events): New function.
150 (post_event): New function.
151 (_Jv_JVMTI_SetEventNotificationMode): New function.
152 (_Jv_JVMTI_SetEventCallbacks): New function.
153 (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
154 SetEventCallbacks members.
155 * include/jvmti-int.h: New file.
156 * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
157 (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
158 * testsuite/libjava.jvmti/events.java: New file.
159 * testsuite/libjava.jvmti/events.out: New file.
160 * testsuite/libjava.jvmti/natevents.cc: New file.
162 2006-09-21 Sandro Tolaini <tolaini@libero.it>
164 * configure.ac: Don't use darwin-signal.h as signal handler for
166 * configure.host: Enable Darwin/i386 as a supported host, with no
169 2006-09-20 Keith Seitz <keiths@redhat.com>
171 * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
172 and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
173 (_Jv_JVMTI_GetClassMethods): Likewise.
174 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
175 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
176 (_Jv_JVMTI_GetSystemProperty): Likewise.
178 2006-09-20 Keith Seitz <keiths@redhat.com>
180 * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
181 (_Jv_JVMTI_Interface): Define GetErrorName member.
182 * testsuite/libjava.jvmti/geterrorname.java: New file.
183 * testsuite/libjava.jvmti/geterrorname.out: New file.
184 * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
186 2006-09-20 Gary Benson <gbenson@redhat.com>
188 * java/net/InetAddress.java: Mostly merged with Classpath.
189 * java/net/VMInetAddress.java: New file.
190 * sources.am, Makefile.in: Rebuilt.
192 * java/net/natVMNetworkInterfacePosix.cc
193 (getInterfaces): Create InetAddress objects using
194 InetAddress.getByAddress.
195 * gnu/java/net/natPlainSocketImplPosix.cc
196 (accept, getOption): Likewise.
197 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
198 (peekData, receive, getLocalAddress): Likewise.
200 2006-09-19 Keith Seitz <keiths@redhat.com>
202 * testsuite/libjava.jvmti/jvmti.exp: New file.
204 2006-09-19 Keith Seitz <keiths@redhat.com>
206 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
207 (THREAD_CHECK_VALID): Likewise.
208 (THREAD_CHECK_ALIVE): Likewise.
209 (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
211 (_Jv_JVMTI_ResumeThread): Likewise.
212 (_Jv_JVMTI_InterruptThread): Likewise.
214 (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
217 2006-09-19 Mark Wielaard <mark@klomp.org>
220 * java/util/logging/LogManager.java (addLogger): Always check for
221 existing children of a new Logger.
223 2006-09-19 Tom Tromey <tromey@redhat.com>
225 * java/util/logging/LogManager.java: Re-merged with Classpath.
227 2006-09-18 Tom Tromey <tromey@redhat.com>
229 * configure: Rebuilt.
231 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
233 * configure.host: Handle kfreebsd.
235 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
237 * configure: Rebuilt.
238 * shlibpath.m4: Handle GNU/kFreeBSD.
240 2006-09-14 Tom Tromey <tromey@redhat.com>
243 * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
244 (_Jv_GCDetachThread): Likewise.
246 2006-09-14 Andreas Schwab <schwab@suse.de>
248 * posix-threads.cc: Include "posix.h".
250 2006-09-13 Geoffrey Keating <geoffk@apple.com>
252 * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
253 microseconds; use gettimeofday when available.
254 * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
256 * testsuite/libjava.lang/Thread_Sleep_2.java: New.
257 * testsuite/libjava.lang/Thread_Sleep_2.out: New.
258 * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
260 2006-09-12 Tom Tromey <tromey@redhat.com>
263 * testsuite/libjava.lang/PR29013.out: Likewise.
264 * testsuite/libjava.lang/PR29013.java: New file.
266 2006-09-12 Tom Tromey <tromey@redhat.com>
268 * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
270 2006-09-07 Matthias Klose <doko@debian.org>
272 * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
273 * Makefile.in: Regenerate.
275 2006-09-06 Keith Seitz <keiths@redhat.com>
277 * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
278 to _Jv_MethodBase instead of _Jv_InterpMethod.
279 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
280 Do not check access flags.
281 Fix some minor style anomalies.
283 2006-09-01 Geoffrey Keating <geoffk@apple.com>
285 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
286 Pass -lgcj to linker for C++ files on Darwin.
288 2006-09-01 Keith Seitz <keiths@redhat.com>
290 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
291 (THREAD_CHECK_VALID): Likewise.
292 (THREAD_CHECK_IS_ALIVE): Likewise.
293 (NULL_CHECK): Likewise.
294 (ILLEGAL_ARGUMENT): Likewise.
296 2006-09-01 Keith Seitz <keiths@redhat.com>
298 * include/jvm.h (_Jv_JVMTI_Init): Declare.
299 * jvmti.cc (_Jv_JVMTI_Init): New function.
300 * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
302 * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
303 (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
305 * jvmti.cc (_jvmtiEnvironments): New linked list of
307 (FOREACH_ENVIRONMENT): New macro.
308 (_envListLock): New object to act as synchronization lock
309 for _jvmtiEnvironments.
310 (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
311 Remove the environment from the list of known environments.
312 (_Jv_GetJVMTIEnv): Add the new environment to the list
313 of known environments.
315 2006-09-01 Gary Benson <gbenson@redhat.com>
317 * java/net/InetAddress.java (getLocalHost): Refactor to avoid
318 security check if getLocalHostname() fails and to provide more
319 meaningful exceptions it the security check fails.
321 2006-09-01 Gary Benson <gbenson@redhat.com>
323 * java/net/InetAddress.java (getByAddress): Create Inet4Address
324 objects when passed IPv4-mapped IPv6 addresses.
325 (getByName, getAllByName): Defer to the above to ensure that the
326 correct Inet*Address objects are returned.
328 2006-09-01 Gary Benson <gbenson@redhat.com>
330 * java/net/InetAddress.java (getByName, getAllByName):
331 Only perform security check when DNS lookups are required.
333 2006-08-31 Keith Seitz <keiths@redhat.com>
335 * include/jvmti_md.h: New file.
337 * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
338 Pass millis to _Jv_CondWait.
340 2006-08-31 Tom Tromey <tromey@redhat.com>
343 * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
346 2006-08-24 Keith Seitz <keiths@redhat.com>
348 * prims.cc (remoteDebug): New global.
349 (jdwpOptions): New global.
350 (parse_x_arg): Add processing for "X" options "debug" and
352 (_Jv_RunMain): If debugging, start up JDWP backend.
353 Send VM_INIT and VM_DEATH when appropriate.
355 2006-08-23 Keith Seitz <keiths@redhat.com>
357 * gnu/classpath/jdwp/VMVirtualMachine.java
358 (initialize): Declare.
359 * gnu/classpath/jdwp/natVMVirtualMachine.cc
360 (initialize): Get and save JVMTI environment.
362 2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
365 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
366 Set gnu.classpath.home.url to TOOLEXECLIBDIR.
367 * configure.ac: Do not add --with-native-libdir to
369 * java/security/libgcj.security: Remove file.
370 * java/util/logging/logging.properties: Likewise.
371 * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
372 * classpath/resource/Makefile.am (loggingdir): Define to
374 (securitydir): Likewise.
375 * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
376 Set default nativeexeclibdir using toolexeclibdir.
377 * HACKING: Fix classpath aclocal arguments.
378 * Makefile.am (secdir): Remove variable.
380 (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
382 (all_property_files): Remove variable.
383 (install-data-local): Do not install libgcj.security or
385 * configure, Makefile.in, classpath/configure,
386 classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
387 classpath/native/jni/midi-alsa/Makefile.in,
388 classpath/native/jni/classpath/Makefile.in,
389 classpath/native/jni/midi-dssi/Makefile.in,
390 classpath/native/jni/Makefile.in,
391 classpath/native/jni/java-nio/Makefile.in,
392 classpath/native/jni/java-net/Makefile.in,
393 classpath/native/jni/gconf-peer/Makefile.in,
394 classpath/native/jni/java-io/Makefile.in,
395 classpath/native/jni/xmlj/Makefile.in,
396 classpath/native/jni/java-util/Makefile.in,
397 classpath/native/jni/qt-peer/Makefile.in,
398 classpath/native/jni/gtk-peer/Makefile.in,
399 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
400 classpath/native/target/Linux/Makefile.in,
401 classpath/native/target/Makefile.in,
402 classpath/native/target/generic/Makefile.in,
403 classpath/native/fdlibm/Makefile.in,
404 classpath/native/plugin/Makefile.in,
405 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
406 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
407 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
408 classpath/external/Makefile.in,
409 classpath/external/sax/Makefile.in,
410 classpath/external/w3c_dom/Makefile.in,
411 classpath/external/relaxngDatatype/Makefile.in,
412 classpath/include/Makefile.in, classpath/aclocal.m4,
413 classpath/examples/Makefile.in, aclocal.m4: Regenerate.
415 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
417 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
419 (_Jv_DetachCurrentThread): Detach thread from GC.
420 * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
422 * boehm.cc (_Jv_GCAttachThread): New function.
423 (_Jv_GCDetachThread): Likewise.
425 2006-08-19 Ranjit Mathew <rmathew@gcc.gnu.org>
427 * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
428 as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
431 2006-08-17 H.J. Lu <hongjiu.lu@intel.com>
433 * Makefile.am (install-exec-hook): Support $(DESTDIR).
434 * Makefile.in: Regenerated.
436 2006-08-16 Tom Tromey <tromey@redhat.com>
438 * libtool-version: Updated.
440 2006-08-16 Jakub Jelinek <jakub@redhat.com>
441 Bryce McKinlay <bryce@mckinlay.net.nz>
443 * configure, Makefile.in: Rebuilt.
444 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
445 (libgcj_bc_la_SOURCES): New variable.
446 (libgcj_bc_la_LDFLAGS): Likewise.
447 (libgcj_bc_la_LIBADD): Likewise.
448 (libgcj_bc_la_DEPENDENCIES): Likewise.
449 (libgcj_bc_la_LINK): Likewise.
450 (libgcj_bc_dummy_LINK): Likewise.
451 (libgcj_bc.la): New target.
452 (install-exec-hook): Likewise.
453 * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
454 * libgcj_bc.c: New file.
455 * configure.ac (LIBGCJ_SPEC): New subst.
456 * configure.host (use_libgcj_bc): New variable.
458 2006-08-15 Kyle Galloway <kgallowa@redhat.com>
460 * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
461 * interpret.cc: Added placeholder for debug variable type info to STORE*
463 (_Jv_InterpMethod::run_debug): New method.
464 (_Jv_InterpMethod::run_sync_object_debug): New method.
465 (_Jv_InterpMethod::run_sync_class_debug): New method.
466 (_Jv_InterpMethod::run_normal_debug): New method.
467 (_Jv_InterpMethod::run_class_debug): New method.
468 (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
469 versions of these functions.
470 * interpret-run.cc: New file, holds contents of old
471 _Jv_InterpMethod::run method.
472 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
473 appropriate function for debug or normal mode.
475 2006-08-14 Mark Wielaard <mark@klomp.org>
477 Imported GNU Classpath 0.92
478 * HACKING: Add more importing hints. Update automake version
481 * configure.ac (gconf-peer): New enable AC argument.
482 Add --disable-gconf-peer and --enable-default-preferences-peer
483 to classpath configure when gconf is disabled.
484 * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
485 gnu/java/awt/dnd/peer/gtk to bc. Classify
486 gnu/java/security/Configuration.java as generated source file.
488 * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
489 gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
490 gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
491 gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
492 gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
493 gnu/java/lang/management/VMThreadMXBeanImpl.java,
494 gnu/java/lang/management/VMMemoryMXBeanImpl.java,
495 gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
497 * java/lang/management/VMManagementFactory.java: Likewise.
498 * java/net/VMURLConnection.java: Likewise.
499 * gnu/java/nio/VMChannel.java: Likewise.
501 * java/lang/Thread.java (getState): Add stub implementation.
502 * java/lang/Class.java (isEnum): Likewise.
503 * java/lang/Class.h (isEnum): Likewise.
505 * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
507 * javax/naming/spi/NamingManager.java: New override for StackWalker
510 * configure, sources.am, Makefile.in, gcj/Makefile.in,
511 include/Makefile.in, testsuite/Makefile.in: Regenerated.
513 2006-08-14 Gary Benson <gbenson@redhat.com>
515 * java/lang/Thread.java (accessControlState): New field.
516 * java/security/VMAccessControlState.java: New file.
517 * java/security/natVMAccessControlState.cc: Likewise.
518 * java/security/VMAccessController.java
519 (contexts, inGetContext): Removed.
520 (pushContext, popContext, getContext): Use VMAccessControlState.
521 * Makefile.am (nat_source_files): Updated.
522 * sources.am, Makefile.in: Rebuilt.
524 2006-08-10 Gary Benson <gbenson@redhat.com>
526 * include/java-stack.h (GetAccessControlStack): Change return
528 * stacktrace.cc (accesscontrol_trace_fn): Record the number of
529 Java frames encountered.
530 (GetAccessControlStack): Return a flag indicating whether a call to
531 doPrivileged was encountered rather than an array of method names.
532 * java/security/natVMAccessController.cc (getStack): Change return
534 * java/security/VMAccessController.java (getStack): Likewise.
535 (getContext): Change to reflect the above.
537 2006-08-09 Gary Benson <gbenson@redhat.com>
539 * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
541 2006-08-09 Gary Benson <gbenson@redhat.com>
543 * java/lang/System.java (setSecurityManager): Javadoc fix.
544 * java/security/VMAccessController.java (getContext): Comment fix.
546 2006-08-09 Gary Benson <gbenson@redhat.com>
548 * include/java-stack.h (accesscontrol_trace_fn): Declare.
549 (GetAccessControlStack): Likewise.
550 (GetClassMethodStack): Remove.
551 * stacktrace.cc (accesscontrol_trace_fn): New method.
552 (GetAccessControlStack): Likewise.
553 (GetClassMethodStack): Remove.
554 * java/security/natVMAccessController.cc (getStack): Use
555 GetAccessControlStack.
557 2006-08-07 Gary Benson <gbenson@redhat.com>
560 * java/lang/ClassLoader.java (clinit): Install a default
561 security manager if java.security.manager is defined.
562 (getParent, getSystemClassLoader): Use the correct stack
563 frame during security checks.
564 * java/net/URLClassLoader.java (findClass): Avoid calling
565 this.toString() during VM initialization.
566 (runtimeInitialized): New method.
567 * java/net/natURLClassLoader.cc: New file.
568 * Makefile.am (nat_source_files): Added the above.
569 * Makefile.in: Rebuilt.
571 2006-08-07 Gary Benson <gbenson@redhat.com>
572 Casey Marshall <csm@gnu.org>
574 * java/lang/SecurityManager.java (getSecurityContext,
575 checkPermission, checkAccess, checkRead, checkConnect,
576 checkPackageAccess, checkPackageDefinition, checkPackageList):
577 Merge with Classpath.
578 (SecurityContext): Remove.
580 2006-08-07 Gary Benson <gbenson@redhat.com>
582 * java/security/VMAccessController.java (pushContext, popContext,
583 getContext): Use Thread.currentThread() to determine when we're
585 (runtimeInitialized): Remove.
586 * java/security/natVMAccessController.cc (runtimeInitialized):
589 2006-08-06 Tom Tromey <tromey@redhat.com>
592 * configure, include/config.h.in: Rebuilt.
593 * configure.ac: Look for ifaddrs.h, getifaddrs.
594 * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
595 getifaddrs if available.
597 2006-08-06 Tom Tromey <tromey@redhat.com>
600 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
602 (disconnect): Likewise.
603 (send): Handle already-connected case.
605 2006-08-04 Mark Wielaard <mark@klomp.org>
607 * jvmti.cc: Include gcj/method.h.
609 2006-08-04 Tom Tromey <tromey@redhat.com>
611 * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
612 (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
613 result to _Jv_uintptr_t.
615 2006-08-01 Keith Seitz <keiths@redhat.com>
617 * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
618 * gnu/classpath/jdwp/VMIdManager.java: Likewise.
619 * gnu/classpath/jdwp/VMMethod.java: Likewise.
620 * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
621 * gnu/classpath/jdwp/natVMFrame.java: New file.
622 * gnu/classpath/jdwp/natVMMethod.java: New file.
623 * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
624 * Makefile.am (nat_source_files): Add new filles.
625 * Makefile.in: Regenerated.
627 2006-08-03 Tom Tromey <tromey@redhat.com>
629 * jvmti.cc (REQUIRE_PHASE): New macro.
630 (_Jv_JVMTI_InterruptThread): New function.
631 (_Jv_JVMTI_CreateRawMonitor): Likewise.
632 (_Jv_JVMTI_DestroyRawMonitor): Likewise.
633 (_Jv_JVMTI_RawMonitorEnter): Likewise.
634 (_Jv_JVMTI_RawMonitorExit): Likewise.
635 (_Jv_JVMTI_RawMonitorWait): Likewise.
636 (_Jv_JVMTI_RawMonitorNotify): Likewise.
637 (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
638 (_Jv_JVMTI_Allocate): Likewise.
639 (_Jv_JVMTI_Deallocate): Likewise.
640 (_Jv_JVMTI_GetClassModifiers): Likewise.
641 (_Jv_JVMTI_GetClassMethods): Likewise.
642 (_Jv_JVMTI_IsInterface): Likewise.
643 (_Jv_JVMTI_IsArrayClass): Likewise.
644 (_Jv_JVMTI_GetClassLoader): Likewise.
645 (_Jv_JVMTI_GetObjectHashCode): Likewise.
646 (_Jv_JVMTI_GetFieldModifiers): Likewise.
647 (_Jv_JVMTI_IsFieldSynthetic): Likewise.
648 (_Jv_JVMTI_GetMethodModifiers): Likewise.
649 (_Jv_JVMTI_IsMethodNative): Likewise.
650 (_Jv_JVMTI_IsMethodSynthetic): Likewise.
651 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
652 (_Jv_JVMTI_ForceGarbageCollection): Likewise.
653 (_Jv_JVMTI_GetSystemProperty): Likewise.
654 (_Jv_JVMTI_SetSystemProperty): Likewise.
655 (_Jv_JVMTI_GetTime): Likewise.
656 (_Jv_JVMTI_GetAvailableProcessors): Likewise.
657 (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
658 (_Jv_JVMTI_SetVerboseFlag): Likewise.
659 (_Jv_JVMTI_GetObjectSize): Likewise.
660 (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
661 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
662 (_Jv_JVMTI_Interface): Updated.
663 (NULL_CHECK): New macro.
665 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
668 * include/no-threads.h: Declare _Jv_Thread_t as empty class.
670 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>
672 * gnu/classpath/natSystemProperties.cc: Add additional check for
673 getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
674 (SystemProperties::insertSystemProperties): Likewise.
675 * java/io/natFilePosix.cc (File::performList): Add
676 additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
677 * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
678 additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
680 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
683 * classpath/native/jni/midi-alsa/Makefile.am
684 (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
685 * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
686 * classpath/native/jni/midi-dssi/Makefile.am
687 (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
688 * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
689 * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
691 (libqtpeer_la_LDFLAGS): Add -avoid-version.
692 * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
693 * classpath/native/jni/gtk-peer/Makefile.am
694 (libgtkpeer_la_LDFLAGS): Add -avoid-version.
695 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
696 * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
698 * classpath/native/jawt/Makefile.in: Regenerate.
699 * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
700 * Makefile.in: Regenerate.
702 2006-07-28 Andrew Haley <aph@redhat.com>
704 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
705 curLoader to VMClassLoader::bootLoader.
707 2006-07-28 Gary Benson <gbenson@redhat.com>
708 Casey Marshall <csm@gnu.org>
711 * include/java-stack.h (GetClassMethodStack): Declare.
712 * stacktrace.cc (GetClassMethodStack): New method.
713 * java/security/AccessController.java: Removed.
714 * java/security/VMAccessController.java: New file.
715 * java/security/natVMAccessController.cc: Likewise.
716 * Makefile.am (nat_source_files): Added the above.
717 * sources.am, Makefile.in: Rebuilt.
719 2006-07-28 Gary Benson <gbenson@redhat.com>
721 * java/lang/SecurityManager.java (currentClassLoader,
722 currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
723 checkWrite, checkTopLevelWindow, checkPrintJobAccess,
724 checkSystemClipboardAccess, checkAwtEventQueueAccess,
725 checkPackageList): Remerged javadoc.
727 2006-07-28 Gary Benson <gbenson@redhat.com>
729 * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
730 from the start to the end of the function. Remove references
731 to VMThrowable.trace_enabled.
732 * java/lang/natVMThrowable.cc (fillInStackTrace): Use
733 runtimeInitialized rather than trace_enabled to decide
734 whether to inhibit stack trace generation.
735 * java/lang/VMThrowable.java (trace_enabled): Removed.
737 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
739 * include/win32-threads.h (_Jv_Thread_t): Explicitly
742 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
744 * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
746 (_Jv_JVMTI_ResumeThread): Likewise.
747 (_Jv_JVMTI_DisposeEnvironment): Likewise.
749 2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
751 * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
752 SockAddr before using - needed for OS X/PPC.
754 2006-07-21 Keith Seitz <keiths@redhat.com>
756 * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
758 (_Jv_ResumeThread): Likewise.
759 * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
760 _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
762 * include/posix-threads.h: Likewise.
763 * win32-threads.cc: Likewise.
764 * include/win32-threads.h: Likewise.
765 * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
766 (_Jv_JVMTI_ResumeThread): New function.
767 (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
769 2006-07-21 David Daney <ddaney@avtrex.com>
772 * configure: Regenerated.
774 2006-07-21 Mark Wielaard <mark@klomp.org>
776 * java/io/OutputStreamWriter.java (flush): Create work if null.
778 2006-07-21 Keith Seitz <keiths@redhat.com>
780 * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
781 * Makefile.am (java/lang/Thread.h): Add friend function
783 * Makefile.in: Regenerate.
785 2006-07-20 Keith Seitz <keiths@redhat.com>
787 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
788 (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
790 2006-07-20 Keith Seitz <keiths@redhat.com>
792 * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
793 * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
794 * jvmti.cc: New file.
795 * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
796 * Makefile.in: Regenerate.
798 2006-07-20 David Daney <ddaney@avtrex.com>
800 * configure.host: Enable the interpreter for mipsel-* and mips-*.
802 2006-07-20 David Daney <ddaney@avtrex.com>
804 * include/mips-signal.h: Update copyright.
805 (struct kernel_sigaction): Removed.
806 (SIGNAL_HANDLER): Changed prototype.
807 (MAKE_THROW_FRAME): Added cast.
808 (INIT_SEGV): Use sigaction instead of syscall.
809 (INIT_FPE): Likewise.
811 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
813 * configure: Regenerate.
815 2006-07-18 Gary Benson <gbenson@redhat.com>
817 * java/io/File.java (deleteOnExit): Fix security check.
819 2006-07-14 Anthony Green <green@redhat.com>
821 * java/io/natFilePosix.cc (performSetLastModified): Return true on
822 success, false otherwise.
824 2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
826 * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
828 (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
830 (_Jv_StackTrace::GetClassContext): Unconditionally use
832 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
833 * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
834 (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
835 (_Unwind_GetRegionStart): Likewise.
836 (_Unwind_Backtrace): Likewise.
837 (fallback_backtrace): Accept additional unwind trace function
838 argument. Call it during unwinding. Stop when any of _Jv_RunMain(),
839 _Jv_ThreadStart() or main() is seen during unwinding.
840 * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
841 additional unwind trace function argument.
843 2006-07-14 Gary Benson <gbenson@redhat.com>
845 * java/io/File.java (internalExists): New method.
846 (exists): Use internalExists.
847 (internalIsDirectory): New method.
848 (isDirectory): Use internalIsDirectory.
849 (createTempFile): Use internalExists and internalIsDirectory.
851 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
853 * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
855 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
857 * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
858 (_Jv_InterpMethod::run): SAVE_PC before executing any instruction
859 using resolve_pool_entry, as it can throw. Likewise for div/rem ops
860 that can throw ArithmeticException.
862 2006-07-12 Gary Benson <gbenson@redhat.com>
864 * java/io/File.java (renameTo): Fix security checks.
866 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
869 * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
870 looking up line number for interpreted frame.
872 2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
873 Geoffrey Keating <geoffk@apple.com>
875 * testsuite/libjava.lang/StackTrace2.java: Renamed from
876 StackTrace.java. Changed class name.
877 * testsuite/libjava.lang/StackTrace2.out: Renamed from
878 StackTrace.out. Updated for new class name.
880 2006-07-07 Ranjit Mathew <rmathew@gcc.gnu.org>
882 * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
883 prologue to determine its beginning. Stop unwinding when we reach
886 2006-07-07 Gary Benson <gbenson@redhat.com>
888 * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
889 * Makefile.in: Regenerate.
891 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
893 * stacktrace.cc (ClassForFrame): Remove commented-out code.
894 (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
896 (getLineNumberForFrame): Don't adjust IP here.
897 * testsuite/libjava.lang/StackTrace.java: New test case.
898 * testsuite/libjava.lang/StackTrace.out: Ditto.
900 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
902 * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
903 -fno-indirect-classes.
904 * Makefile.in: Regenerate.
905 * gcj/Makefile.in: Regenerate.
906 * include/Makefile.in: Regenerate.
907 * testsuite/Makefile.in: Regenerate.
909 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
911 * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
913 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
915 * configure.ac (ac_configure_args): Add --with-native-libdir.
916 * configure: Regenerate.
917 * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
919 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
920 * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
921 * classpath/native/jawt/Makefile.in: Regenerate.
922 * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
923 * classpath/native/plugin/Makefile.in: Regenerate.
925 2006-07-05 Ranjit Mathew <rmathew@gcc.gnu.org>
926 Danny Smith <dannysmith@users.sourceforge.net>
928 * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
930 * configure.ac: Allow targets to affect the spec for startfile
931 by specifying a THREADSTARTFILESPEC variable. Define this for
932 the win32 threads package to include crtmt.o.
933 * configure: Regenerate.
934 * win32.cc (_CRT_MT): Remove definition.
935 (__mingwthr_key_dtor): Likewise.
937 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
939 * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
943 * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
944 * include/win32.h (_Jv_platform_dladdr): Likewise.
945 * posix.cc (_Jv_platform_dladdr): Likewise.
946 * win32.cc (_Jv_platform_dladdr): Likewise.
948 * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
949 instead of libgcj-*.jar.
951 2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
954 * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
956 * Makefile.in: Regenerate.
958 2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
960 * classpath/tools/Makefile.am: Comment out tools wrapper creation.
961 (TOOLS_ZIP): Rename tools.zip tools.jar.
962 (noinst_DATA): Do not install tools.jar.
963 * classpath/tools/Makefile.in: Regenerate.
964 * classpath/Makefile.am (SUBDIRS): Add tools.
965 (DIST_SUBDIRS): Likewise.
966 * classpath/Makefile.in: Regenerate.
967 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
968 (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
969 (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
970 Add build logic for libgcj-tools.la,
971 libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
973 * Makefile.in: Regenerate.
975 2006-06-29 Ranjit Mathew <rmathew@gcc.gnu.org>
977 * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
979 * include/java-stack.h: Include stdlib.h.
980 (_Jv_AddrInfo): New structure to hold address information.
981 * include/posix.h (_Jv_platform_dladdr): Declare.
982 * include/win32.h (_Jv_platform_dladdr): Declare.
983 (backtrace): Remove declaration.
984 * posix.cc: Include dlfcn.h if available. Include java-stack.h.
985 (_Jv_platform_dladdr): Define.
986 * win32.cc: Include string.h. Include java-stack.h.
988 (_Jv_platform_dladdr): Define.
989 * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
990 frame pointer value is 32-bit word-aligned. Use operand of the CALL
991 instruction calling the current function to find its starting address.
992 * stacktrace.cc: Do not include dlfcn.h. Include platform.h.
993 (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
995 (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
996 (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
997 targets with SJLJ exceptions instead of using _Unwind_Backtrace().
998 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
1000 2006-06-27 Tom Tromey <tromey@redhat.com>
1002 * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
1003 Set 'out.count' earlier.
1004 (close): Call setFinished on converter.
1005 (flush): Always write work buffer.
1006 * java/io/PrintStream.java (writeChars): Do 'do' loop.
1007 (close): Call setFinished on converter. Write a 'flush' array.
1008 * java/lang/natString.cc (getBytes): Call setFinished on
1010 * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
1012 (write): Set hasBytes. Changed 'finished' logic.
1013 (havePendingBytes): Rewrote.
1014 (setFinished): New method.
1015 * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
1016 * testsuite/libjava.lang/RH194522.java: New file.
1017 * testsuite/libjava.lang/RH194522.out: New file.
1019 2006-06-27 Marco Trudel <mtrudel@gmx.ch>
1021 * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
1022 conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
1023 !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
1025 2006-06-27 Tom Tromey <tromey@redhat.com>
1028 * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
1029 (_Jv_JNI_DeleteGlobalRef): Likewise.
1030 * testsuite/libjava.jni/PR28178.java: New file.
1031 * testsuite/libjava.jni/PR28178.c: New file.
1032 * testsuite/libjava.jni/PR28178.out: New file.
1034 2006-06-26 Keith Seitz <keiths@redhat.com>
1036 * include/posix-threads.h: Fix coding style aberrations from
1037 2006-06-19 check-in.
1038 * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1039 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
1040 * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1042 2006-06-26 Keith Seitz <keiths@redhat.com>
1044 * include/no-gc.h (_Jv_SuspendThread): Declare.
1045 (_Jv_ResumeThread): Likewise.
1046 * include/boehm-gc.h (_Jv_SuspendThread): Declare.
1047 (_Jv_ResumeThread): Likewise.
1048 * nogc.cc (_Jv_SuspendThread): New function.
1049 (_Jv_ResumeThread): Likewise.
1050 * boehm.cc (_Jv_SuspendThread): New function.
1051 (_Jv_ResumeThread): Likewise.
1053 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1055 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1056 Link against -ljvm, not -lgcj.
1058 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1060 * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1062 * Makefile.in: Regenerate.
1064 2006-06-22 Tom Tromey <tromey@redhat.com>
1066 * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1067 field when it is accessible.
1069 2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
1071 * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
1072 (_Jv_GetPlatformThreadID): New function.
1073 * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1074 (_Jv_GetPlatformThreadID): New function.
1076 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>
1078 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1079 Bump "java.class.version" to 48.0.
1081 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
1083 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1086 * Makefile.in: Regenerate.
1087 * jni.cc (the_vm): Rename and export as ...
1088 (_Jv_the_vm): New exported symbol.
1089 (_Jv_JNI_AttachCurrentThread): Export.
1090 (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1092 (_Jv_GetJavaVM): Likewise.
1093 (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1094 JNI_GetCreatedJavaVMs): Move to ...
1095 * jni-libjvm.cc: New file.
1097 2006-06-19 Andrew Haley <aph@redhat.com>
1099 * testsuite/libjava.lang/PR27908.out: New.
1100 * testsuite/libjava.lang/PR27908.java: New.
1102 2006-06-19 Keith Seitz <keiths@redhat.com>
1104 * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1105 (_Jv_ThreadDebugResume): Declare.
1106 (_Jv_ThreadDebugSuspendCount): Declare.
1107 * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1108 (_Jv_ThreadDebugSuspendCount): New function.
1109 (_Jv_ThreadDebugResume): New function.
1111 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1112 (_Jv_ThreadDebugResume): Declare.
1113 (_Jv_ThreadDebugSuspendCount): Declare.
1114 * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1115 (_Jv_ThreadDebugSuspendCount): New function.
1116 (_Jv_ThreadDebugResume): New function.
1118 2006-06-16 Andrew Haley <aph@redhat.com>
1120 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1121 copy the whole Class instance from the initializer: instead, copy
1122 everything but the first word (the vtable pointer).
1123 Change prototype to (const char* class_initializer).
1124 (_Jv_RegisterNewClasses): Change prototype to (const char**).
1125 * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1128 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1130 * classpath/Makefile.am: Do not recurse into tools directory.
1131 * classpath/Makefile.in: Regenerate.
1133 2006-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1135 * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1136 -I$(top_srcdir)/include.
1137 (gjarsigner_CFLAGS): Likewise.
1138 (gkeytool_CFLAGS): Likewise.
1139 * classpath/tools/Makefile.in: Regenerate.
1141 2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1143 * configure: Regenerate.
1144 * Makefile.in: Regenerate.
1145 * configure.ac (--enable-plugin): New option.
1146 (ac_configure_args): Add --enable-tool-wrappers.
1147 (ac_configure_args): Add --disable-plugin unless --enable-plugin
1149 * gcj/Makefile.in: Regenerate.
1150 * sources.am (gnu_java_net_source_files): Add
1151 classpath/gnu/java/net/IndexListParser.java.
1152 (property_files): Remove
1153 classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1154 classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1156 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1157 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1158 classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1159 classpath/resource/gnu/classpath/tools/jar/messages.properties,
1160 classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1161 classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1162 classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1163 classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1164 * classpath/Makefile.in: Regenerate.
1165 * classpath/native/jni/gtk-peer/cairographics2d.h,
1166 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1167 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1168 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1169 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1170 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1171 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1172 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1173 Merge from GNU Classpath.
1174 * classpath/native/Makefile.in: Regenerate.
1175 * classpath/native/jawt/Makefile.in: Regenerate.
1176 * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1177 versioned library directory.
1178 * classpath/native/Makefile.am: Add plugin directory if
1179 --enable-plugin was specified.
1180 * classpath/native/plugin/Makefile.in: Regenerate. *
1181 classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1182 GCJ's versioned library directory.
1183 * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1185 * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1187 * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1189 * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1191 * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1193 * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1195 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1197 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1199 * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1201 * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1203 * classpath/gnu/java/net/IndexListParser.java:
1205 * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1206 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1207 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1208 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1209 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1210 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1211 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1212 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1213 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1214 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1215 classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1216 classpath/gnu/java/awt/java2d/PolyEdge.java,
1217 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1219 * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1220 libgcj-tools-4.2.0.jar.
1221 * classpath/tools/Makefile.in: Regenerate.
1222 * classpath/tools/Makefile.am: Rename tools.zip to
1223 libgcj-tools-4.2.0.jar. Install libgcj-tools-4.2.0.jar in
1225 * classpath/javax/swing/JTabbedPane.java,
1226 classpath/javax/swing/text/DefaultStyledDocument.java,
1227 classpath/javax/swing/text/html/HTMLDocument.java,
1228 classpath/javax/swing/text/GapContent.java,
1229 classpath/javax/swing/JComponent.java,
1230 classpath/javax/swing/RepaintManager.java,
1231 classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1232 classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1233 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1234 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1235 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1236 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1237 classpath/java/text/Bidi.java,
1238 classpath/java/awt/image/BufferedImage.java,
1239 classpath/java/awt/datatransfer/DataFlavor.java,
1240 classpath/java/awt/geom/AffineTransform.java,
1241 classpath/java/awt/dnd/DropTargetDropEvent.java,
1242 classpath/java/awt/dnd/DropTargetContext.java,
1243 classpath/java/awt/font/TextLayout.java,
1244 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1245 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1246 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1247 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1248 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1249 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1251 * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1252 classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1253 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1254 classpath/native/jni/gtk-peer/gtkcairopeer.h,
1255 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1257 * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1259 * include/Makefile.in: Regenerate.
1260 * testsuite/Makefile.in: Regenerate.
1262 2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1264 * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1267 2006-06-12 Andrew Haley <aph@redhat.com>
1269 * testsuite/libjava.lang/PR27908.out: Delete.
1270 * testsuite/libjava.lang/PR27908.java: Delete.
1272 2006-06-12 Andrew Haley <aph@redhat.com>
1274 * testsuite/libjava.lang/PR27908.out: New.
1275 * testsuite/libjava.lang/PR27908.java: New.
1277 2006-06-10 Thomas Fitzsimmons <fitzsim@redhat.com>
1279 * configure.ac (ac_configure_args): Add --disable-plugin.
1280 (--enable-gtk-cairo): Remove option.
1281 * configure: Regenerate.
1283 2006-06-09 Tom Tromey <tromey@redhat.com>
1286 * java/lang/Thread.java (threadId): New field.
1287 (nextThreadId): New static field.
1288 (Thread): Initialize new field.
1289 (getId): New method.
1291 2006-06-09 Tom Tromey <tromey@redhat.com>
1293 * java/lang/Class.java (getClassLoaderInternal): Now native.
1295 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1297 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1298 (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1299 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1301 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1304 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1306 * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1307 classpath/native/jni/qt-peer/eventmethods.h,
1308 classpath/native/jni/qt-peer/qtmenupeer.cpp,
1309 classpath/native/jni/qt-peer/.cvsignore,
1310 classpath/native/jni/gtk-peer/gdkdisplay.h,
1311 classpath/native/jni/gtk-peer/cairographics2d.h,
1312 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1313 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1314 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1315 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1316 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1317 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1318 classpath/native/jni/gtk-peer/.cvsignore,
1319 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1320 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1321 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1322 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1323 classpath/native/jni/gtk-peer/gtkpeer.h,
1324 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1325 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1326 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1327 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1328 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1329 classpath/native/jni/gtk-peer/Makefile.am,
1330 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1331 classpath/native/jawt/Makefile.am,
1332 classpath/native/jawt/.cvsignore,
1333 classpath/native/target/Linux/Makefile.in,
1334 classpath/native/plugin/gcjwebplugin.cc,
1335 classpath/native/plugin/Makefile.am,
1336 classpath/native/plugin/.cvsignore,
1337 classpath/resource/Makefile.in,
1338 classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1339 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1340 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1341 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1342 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1343 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1344 classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1345 classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1346 classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1347 classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1348 classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1349 classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1350 classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1351 classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1352 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1353 classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1354 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1355 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1356 classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1357 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1358 classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1359 classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1360 classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1361 classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1362 classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1363 classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1364 classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1365 classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1366 classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1367 classpath/gnu/java/awt/print/JavaPrinterJob.java,
1368 classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1369 classpath/gnu/java/awt/print/SpooledDocument.java,
1370 classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1371 classpath/gnu/java/awt/BitwiseXORComposite.java,
1372 classpath/gnu/java/awt/font/GNUGlyphVector.java,
1373 classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1374 classpath/gnu/java/awt/java2d/RasterGraphics.java,
1375 classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1376 classpath/gnu/java/awt/java2d/PolyEdge.java,
1377 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1378 classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1379 classpath/gnu/java/awt/java2d/ImagePaint.java,
1380 classpath/gnu/java/awt/Buffers.java,
1381 classpath/gnu/classpath/Configuration.java.in,
1382 classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1383 classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1384 classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1385 classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1386 classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1387 classpath/tools/toolwrapper.c,
1388 classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1389 classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1390 classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1391 classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1392 classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1393 classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1394 classpath/tools/gnu/classpath/tools/getopt/Option.java,
1395 classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1396 classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1397 classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1398 classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1399 classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1400 classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1401 classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1402 classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1403 classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1404 classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1405 classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1406 classpath/tools/gnu/classpath/tools/keytool/package.html,
1407 classpath/tools/gnu/classpath/tools/keytool/Command.java,
1408 classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1409 classpath/tools/gnu/classpath/tools/keytool/Main.java,
1410 classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1411 classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1412 classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1413 classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1414 classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1415 classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1416 classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1417 classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1418 classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1419 classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1420 classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1421 classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1422 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1423 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1424 classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1425 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1426 classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1427 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1428 classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1429 classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1430 classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1431 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1432 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1433 classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1434 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1435 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1436 classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1437 classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1438 classpath/tools/gnu/classpath/tools/jar/Creator.java,
1439 classpath/tools/gnu/classpath/tools/jar/Entry.java,
1440 classpath/tools/gnu/classpath/tools/jar/Lister.java,
1441 classpath/tools/gnu/classpath/tools/jar/Main.java,
1442 classpath/tools/gnu/classpath/tools/jar/Updater.java,
1443 classpath/tools/gnu/classpath/tools/jar/Messages.java,
1444 classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1445 classpath/tools/gnu/classpath/tools/jar/Action.java,
1446 classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1447 classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1448 classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1449 classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1450 classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1451 classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1452 classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1453 classpath/tools/.cvsignore, classpath/configure.ac,
1454 classpath/javax/swing/JTabbedPane.java,
1455 classpath/javax/swing/AbstractButton.java,
1456 classpath/javax/swing/JViewport.java,
1457 classpath/javax/swing/KeyboardManager.java,
1458 classpath/javax/swing/JMenuItem.java,
1459 classpath/javax/swing/JMenuBar.java,
1460 classpath/javax/swing/MenuSelectionManager.java,
1461 classpath/javax/swing/JOptionPane.java,
1462 classpath/javax/swing/JSpinner.java,
1463 classpath/javax/swing/JCheckBoxMenuItem.java,
1464 classpath/javax/swing/JEditorPane.java,
1465 classpath/javax/swing/JFormattedTextField.java,
1466 classpath/javax/swing/JTree.java,
1467 classpath/javax/swing/CellRendererPane.java,
1468 classpath/javax/swing/JScrollPane.java,
1469 classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1470 classpath/javax/swing/tree/TreeNode.java,
1471 classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1472 classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1473 classpath/javax/swing/tree/TreePath.java,
1474 classpath/javax/swing/tree/RowMapper.java,
1475 classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1476 classpath/javax/swing/tree/DefaultTreeModel.java,
1477 classpath/javax/swing/tree/AbstractLayoutCache.java,
1478 classpath/javax/swing/tree/TreeSelectionModel.java,
1479 classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1480 classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1481 classpath/javax/swing/tree/ExpandVetoException.java,
1482 classpath/javax/swing/JList.java,
1483 classpath/javax/swing/table/JTableHeader.java,
1484 classpath/javax/swing/table/AbstractTableModel.java,
1485 classpath/javax/swing/table/DefaultTableModel.java,
1486 classpath/javax/swing/table/TableCellEditor.java,
1487 classpath/javax/swing/table/TableCellRenderer.java,
1488 classpath/javax/swing/ProgressMonitor.java,
1489 classpath/javax/swing/JToolBar.java,
1490 classpath/javax/swing/TransferHandler.java,
1491 classpath/javax/swing/DefaultCellEditor.java,
1492 classpath/javax/swing/DefaultButtonModel.java,
1493 classpath/javax/swing/JLayeredPane.java,
1494 classpath/javax/swing/text/DefaultEditorKit.java,
1495 classpath/javax/swing/text/DefaultCaret.java,
1496 classpath/javax/swing/text/FieldView.java,
1497 classpath/javax/swing/text/JTextComponent.java,
1498 classpath/javax/swing/text/TextAction.java,
1499 classpath/javax/swing/text/StyleContext.java,
1500 classpath/javax/swing/text/html/HTMLDocument.java,
1501 classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1502 classpath/javax/swing/text/html/ImageView.java,
1503 classpath/javax/swing/text/html/HTMLEditorKit.java,
1504 classpath/javax/swing/text/AbstractWriter.java,
1505 classpath/javax/swing/text/GapContent.java,
1506 classpath/javax/swing/text/Utilities.java,
1507 classpath/javax/swing/text/PlainView.java,
1508 classpath/javax/swing/UIManager.java,
1509 classpath/javax/swing/JSplitPane.java,
1510 classpath/javax/swing/JComponent.java,
1511 classpath/javax/swing/SwingUtilities.java,
1512 classpath/javax/swing/border/AbstractBorder.java,
1513 classpath/javax/swing/border/CompoundBorder.java,
1514 classpath/javax/swing/border/TitledBorder.java,
1515 classpath/javax/swing/border/MatteBorder.java,
1516 classpath/javax/swing/border/BevelBorder.java,
1517 classpath/javax/swing/RepaintManager.java,
1518 classpath/javax/swing/JTable.java,
1519 classpath/javax/swing/UIDefaults.java,
1520 classpath/javax/swing/DefaultDesktopManager.java,
1521 classpath/javax/swing/JMenu.java,
1522 classpath/javax/swing/JLabel.java,
1523 classpath/javax/swing/JSlider.java,
1524 classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1525 classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1526 classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1527 classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1528 classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1529 classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1530 classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1531 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1532 classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1533 classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1534 classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1535 classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1536 classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1537 classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1538 classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1539 classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1540 classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1541 classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1542 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1543 classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1544 classpath/javax/swing/plaf/basic/BasicListUI.java,
1545 classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1546 classpath/javax/swing/plaf/basic/BasicTextUI.java,
1547 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1548 classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1549 classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1550 classpath/javax/swing/plaf/basic/BasicTableUI.java,
1551 classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1552 classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1553 classpath/javax/swing/plaf/multi/MultiListUI.java,
1554 classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1555 classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1556 classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1557 classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1558 classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1559 classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1560 classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1561 classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1562 classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1563 classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1564 classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1565 classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1566 classpath/javax/swing/plaf/metal/MetalBorders.java,
1567 classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1568 classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1569 classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1570 classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1571 classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1572 classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1573 classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1574 classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1575 classpath/javax/swing/plaf/metal/MetalUtils.java,
1576 classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1577 classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1578 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1579 classpath/javax/swing/JPopupMenu.java,
1580 classpath/javax/swing/JProgressBar.java,
1581 classpath/javax/swing/WindowConstants.java,
1582 classpath/javax/swing/JFrame.java,
1583 classpath/javax/swing/JFileChooser.java,
1584 classpath/javax/swing/JComboBox.java,
1585 classpath/javax/swing/event/EventListenerList.java,
1586 classpath/javax/swing/ListSelectionModel.java,
1587 classpath/javax/swing/JScrollBar.java,
1588 classpath/java/text/SimpleDateFormat.java,
1589 classpath/java/text/NumberFormat.java,
1590 classpath/java/text/class-dependencies.conf,
1591 classpath/java/awt/image/ColorModel.java,
1592 classpath/java/awt/image/BufferedImage.java,
1593 classpath/java/awt/Window.java,
1594 classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1595 classpath/java/awt/LightweightDispatcher.java,
1596 classpath/java/awt/EventDispatchThread.java,
1597 classpath/java/awt/BasicStroke.java,
1598 classpath/java/awt/ColorPaintContext.java,
1599 classpath/java/awt/Container.java,
1600 classpath/java/awt/TexturePaint.java,
1601 classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1602 classpath/java/awt/GraphicsConfiguration.java,
1603 classpath/java/awt/DefaultKeyboardFocusManager.java,
1604 classpath/java/awt/print/PrinterJob.java,
1605 classpath/java/awt/im/InputContext.java,
1606 classpath/java/awt/dnd/DragGestureRecognizer.java,
1607 classpath/java/awt/Toolkit.java,
1608 classpath/java/awt/font/GraphicAttribute.java,
1609 classpath/java/awt/font/ImageGraphicAttribute.java,
1610 classpath/java/awt/font/GlyphVector.java,
1611 classpath/java/awt/font/GlyphMetrics.java,
1612 classpath/java/awt/font/ShapeGraphicAttribute.java,
1613 classpath/java/awt/Graphics2D.java,
1614 classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1615 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1616 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1617 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1618 classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1619 classpath/include/config.h.in,
1620 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1621 classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1622 classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1623 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1624 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1625 classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1626 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1627 classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1628 Merge from GNU Classpath HEAD.
1630 2006-06-08 Tom Tromey <tromey@redhat.com>
1632 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1633 Set gnu.gcj.user.realname.
1635 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch>
1637 * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1639 2006-06-07 Andrew Haley <aph@redhat.com>
1641 * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1642 (_Jv_Linker::uaddr): New.
1643 * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1644 instead of an open-coded loop around search_method_in_class.
1645 (search_method_in_class): Add a new arg, check_perms.
1646 (search_method_in_superclasses): New.
1647 (link_symbol_table): Call maybe_adjust_signature() to extract the
1648 least significnt bit of the signature pointer. Do this three
1649 times, for instace method calls, static methods, and interfaces.
1650 Call search_method_in_superclasses() instead of
1651 _Jv_LookupDeclaredMethod.
1652 (typedef uaddr): Delete.
1654 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1656 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1657 gnu-java-awt-peer-qt.lo.
1658 * configure.ac (QT_AWT): Remove conditional.
1659 Do not add gnu/java/awt/peer/qt to standard.omit.
1660 * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1661 in GCJ's versioned library directory.
1662 * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1663 Load libqtpeer.so unconditionally.
1664 * gij.cc (main): Do not re-exec gij.
1665 * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1666 (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1669 2006-06-06 David Daney <ddaney@avtrex.com>
1671 * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1672 (showRaw): New method.
1673 * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1674 (getLineNumberForFrame): Show IP offset in trace if line number
1675 not available and show_raw true.
1677 2006-06-06 Gary Benson <gbenson@redhat.com>
1679 * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1680 * configure.ac: Remove realpath check and add checks for
1682 * configure: Rebuilt.
1683 * include/config.h.in: Likewise.
1684 * java/io/File.java: Javadoc fix.
1686 2006-06-05 Andreas Schwab <schwab@suse.de>
1689 * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1691 2006-06-05 Tom Tromey <tromey@redhat.com>
1694 * gij.cc (main): Use putenv.
1696 2006-06-03 Paolo Bonzini <bonzini@gnu.org>
1698 * scripts/jar.in: Ensure return with argument has non-empty argument.
1700 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1702 * configure.ac (ZIP, UNZIP): New programs.
1703 (JAR): Fall back to bash script. Generate it.
1704 (BASH_JAR): New conditional.
1705 * Makefile.am (bin_SCRIPTS): New.
1706 * scripts/jar.in: New file.
1708 2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
1710 * gnu/java/lang/MainThread (run): Revert exception chaining change.
1712 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
1714 * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1716 * gnu/java/lang/MainThread.java (run): Allow file separator char to
1717 be used in place of '.' as class-name separator. Don't chain
1718 ClassNotFoundException.
1720 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1722 * java/lang/VMClassLoader.java (initialize): Set default library
1723 control to LIB_NEVER.
1725 2006-05-31 Alan Modra <amodra@bigpond.net.au>
1727 * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1728 interpreted classes.
1730 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1732 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1733 gnu-java-awt-peer-gtk.lo.
1734 Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++
1735 ABI for gnu/java/awt/peer/gtk package.
1736 * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1738 (insertSystemProperties): Only set java.ext.dirs if it is not
1739 already defined. Prepend GCJ_VERSIONED_LIBDIR to module search
1740 path where necessary.
1741 * configure.ac (GTK_AWT): Remove automake conditional.
1742 Do not add gnu/java/awt/peer/gtk to standard.omit.
1743 * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1745 * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1747 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1748 PATH_SEPARATOR macros.
1749 Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1750 * prims.cc (_Jv_PrependVersionedLibdir): New function.
1752 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1754 * java/lang/natThread.cc (countStackFrames): Do not throw
1755 UnsupportedOperationException.
1758 (suspend): Likewise.
1760 2006-05-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1762 * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1763 * configure: Rebuilt.
1764 * include/config.h.in: Likewise.
1765 * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1768 2006-05-24 Tom Tromey <tromey@redhat.com>
1771 * sources.am, Makefile.in: Rebuilt.
1772 * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1773 * java/net/URLConnection.java: Removed.
1775 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
1777 * Makefile.am: Add install-html target. Add install-html to .PHONY
1778 * Makefile.in: Regenerate.
1779 * aclocal.m4: Regenerate.
1780 * gcj/Makefile.in: Regenerate.
1781 * include/Makefile.in: Regenerate.
1782 * testsuite/Makefile.in: Regenerate.
1784 2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
1786 * testsuite/libjava.lang/stacktrace.java: New file.
1787 * testsuite/libjava.lang/stacktrace.out: Likewise.
1789 2006-05-24 Tom Tromey <tromey@redhat.com>
1791 * sources.am, Makefile.in: Rebuilt.
1792 * scripts/makemake.tcl: Accept -verbose command-line option.
1793 (is_verbose): New global.
1795 (classify_source_file): Don't special case '.' for 'package'
1798 2006-05-24 Tom Tromey <tromey@redhat.com>
1801 * java/lang/reflect/natField.cc (getAddr): Added parens.
1802 * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1803 Renamed. Don't mask flags.
1804 * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1806 (getModifiersInternal): Renamed.
1807 (getModifiers): Rewrote.
1808 (isSynthetic, isVarArgs): New methods.
1809 (hashCode): Rewrote.
1810 (addTypeParameters, toGenericString): New methods.
1811 (getTypeParameters): Rewrote.
1812 (getSignature): New method.
1813 (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1814 * java/lang/reflect/natMethod.cc (getModifiersInternal):
1815 Renamed. Don't mask flags.
1816 * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1818 * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1819 ENUM): New constants.
1820 (INVISIBLE): Changed value.
1821 * java/lang/reflect/Method.java: Mostly merged with Classpath.
1822 (getModifiersInternal): Renamed.
1823 (getModifiers): Rewrote.
1824 (isBridge, isSynthetic, isVarArgs): New methods.
1825 (toGenericString): Likewise.
1826 (getTypeParameters): Likewise.
1827 (getSignature): Likewise.
1828 (getGenericExceptionTypes, getGenericParameterTypes,
1829 getGenericReturnType): Likewise.
1830 (METHOD_MODIFIERS): New constant.
1831 * java/lang/reflect/Field.java: Mostly merged with Classpath.
1832 Added javadoc everywhere.
1833 (getModifiersInternal): Renamed.
1834 (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1835 (toGenericString): New method.
1836 (getGenericType, getSignature): Likewise.
1837 (FIELD_MODIFIERS): New constant.
1839 2006-05-24 Tom Tromey <tromey@redhat.com>
1842 * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1844 * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1847 2006-05-22 Mark Wielaard <mark@klomp.org>
1849 * HACKING: Update GNU Classpath import instructions.
1851 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
1853 * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1854 signature as MAYBE_UNUSED for HAVE_TLS == 0.
1855 (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1858 2006-05-20 Andreas Tobler <a.tobler@schweiz.ch>
1859 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1861 * configure.ac: Add the POSIX thread libs to the HP-UX PA
1862 configuration. Add signal specification for HP-UX PA.
1863 * configure: Rebuilt.
1864 * configure.host: Add defaults for the HP-UX PA architecture.
1865 Add descriptor files for HP-UX PA 32-bit and 64-bit.
1866 * include/hppa-signal.h: New file.
1867 * include/posix.h: Add shared library suffix for HP-UX.
1868 * sysdep/pa/descriptor-pa32-hpux.h: New file.
1869 * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1871 2006-05-19 Ranjit Mathew <rmathew@gcc.gnu.org>
1873 * ChangeLog: Correct incorrect GNU Classpath version in the
1874 entry for the latest import.
1876 2006-05-18 Tom Tromey <tromey@redhat.com>
1878 * source.am, Makefile.in: Rebuilt.
1879 * Makefile.am (property_files): Removed.
1880 * scripts/makemake.tcl (properties_map): New global.
1881 (properties_files): Likewise.
1882 (emit_property_files): New proc.
1883 (scan_packages): Scan META-INF.
1884 Print property_files variable. Scan classpath/resource.
1886 2006-05-18 Tom Tromey <tromey@redhat.com>
1888 * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1890 (gcj_write_and_byte_compile): New proc.
1891 (gcj_special_lazy_illegal_access): Likewise.
1893 2006-05-18 Mark Wielaard <mark@klomp.org>
1895 Imported GNU Classpath 0.91
1896 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1898 * sources.am: Regenerated.
1899 * gcj/javaprims.h: Regenerated.
1900 * Makefile.in: Regenerated.
1901 * gcj/Makefile.in: Regenerated.
1902 * include/Makefile.in: Regenerated.
1903 * testsuite/Makefile.in: Regenerated.
1905 * gnu/java/lang/VMInstrumentationImpl.java: New override.
1906 * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1907 * gnu/classpath/jdwp/VMMethod.java: Likewise.
1908 * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1910 * java/lang/Thread.java: Add UncaughtExceptionHandler.
1911 * java/lang/reflect/Method.java: Implements GenericDeclaration and
1913 * java/lang/reflect/Field.java: Likewise.
1914 * java/lang/reflect/Constructor.java
1915 * java/lang/Class.java: Implements Type, GenericDeclaration,
1916 getSimpleName() and getEnclosing*() methods.
1917 * java/lang/Class.h: Add new public methods.
1918 * java/lang/Math.java: Add signum(), ulp() and log10().
1919 * java/lang/natMath.cc (log10): New function.
1920 * java/security/VMSecureRandom.java: New override.
1921 * java/util/logging/Logger.java: Updated to latest classpath
1923 * java/util/logging/LogManager.java: New override.
1925 2006-05-15 Bryce McKinlay <mckinlay@redhat.com>
1928 * java/lang/Class.java (getClassLoaderInternal): New method.
1929 (forName (String, Class)): Use getClassLoaderInternal.
1930 (getPackage): Likewise.
1931 (getResource): Likewise.
1932 (getResourceAsStream): Likewise.
1933 (desiredAssertionStatus): Likewise.
1935 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch>
1937 * stacktrace.cc (StackTrace::FillInFrameInfo): Use
1938 UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
1939 klass->methods[j].ncode.
1941 2006-05-13 Tom Tromey <tromey@redhat.com>
1943 * sources.am, Makefile.in: Rebuilt.
1944 * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
1946 * java/nio/channels/natVMChannels.cc: Renamed from
1948 * java/nio/channels/Channels.java: Removed.
1949 * java/nio/channels/natChannels.cc: Removed.
1950 * java/nio/channels/VMChannels.java: New file.
1952 2006-05-13 Tom Tromey <tromey@redhat.com>
1954 * sources.am, Makefile.in: Rebuilt.
1955 * java/text/DateFormat.java: Removed.
1957 2006-05-13 Tom Tromey <tromey@redhat.com>
1959 * sources.am, Makefile.in: Rebuilt.
1960 * gnu/java/net/protocol/jar/Connection.java: Removed.
1961 * java/net/JarURLConnection.java: Removed.
1963 2006-05-13 Tom Tromey <tromey@redhat.com>
1965 * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
1968 2006-05-12 Tom Tromey <tromey@redhat.com>
1970 * sources.am, Makefile.in: Rebuilt.
1971 * java/util/logging/LogManager.java: Removed.
1972 * java/util/logging/Logger.java (resetLogger): New method, from
1974 * java/io/RandomAccessFile.java: Removed.
1975 * gnu/java/nio/channels/FileChannelImpl.java (create): New
1977 (FileChannelImpl): Now private.
1978 * java/io/FileInputStream.java: Removed.
1979 * java/io/FileOutputStream.java: Removed.
1980 * java/security/AccessControlContext.java: Removed.
1981 * java/lang/ThreadLocal.java: Removed.
1982 * java/lang/InheritableThreadLocal.java: Removed.
1983 * java/lang/Thread.java (locals): New field.
1984 (getThreadLocals): New method.
1985 * java/lang/natThread.cc (finish_): Clear 'locals'.
1987 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1989 * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
1990 fails, don't try again.
1991 (use_addr2line): Field no longer final.
1993 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1995 * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
1996 (lookup): If addr2line fails to find an address, flag the binary as
1997 having no debug info and avoid calling addr2line on it again.
1999 2006-05-11 David Daney <ddaney@avtrex.com>
2001 * testsuite/libjava.compile/PR20418.java: New.
2002 * testsuite/libjava.compile/PR20418.xfail: New.
2004 2006-05-11 Andrew Haley <aph@redhat.com>
2006 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
2009 2006-05-10 Andrew Haley <aph@redhat.com>
2011 * java/lang/natClassLoader.cc: Add comments.
2013 2006-05-09 Andrew Haley <aph@redhat.com>
2015 * prims.cc (_Jv_soleIndirectCompiledEngine): New.
2016 * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
2018 (_Jv_CompiledEngine::allocate_field_initializers): New.
2019 (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
2020 allocate_field_initializers.
2021 (class _Jv_IndirectCompiledClass): New.
2022 (struct _Jv_IndirectCompiledEngine): New.
2023 * java/lang/Class.h: (IndirectCompiledEngine): New.
2024 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
2025 engine to _Jv_soleIndirectCompiledEngine
2026 * link.cc (ensure_fields_laid_out): Call
2027 engine->allocate_field_initializers().
2029 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
2031 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
2032 HP-UX and add appropriate extension for shared libraries, sl.
2033 (gcj_jni_test_one): Likewise.
2035 * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
2038 2006-05-05 Tom Tromey <tromey@redhat.com>
2041 * java/lang/natVMClassLoader.cc (defineClass): Throw
2042 VirtualMachineError if no interpreter configured.
2044 2006-05-03 Andrew Haley <aph@redhat.com>
2047 * java/lang/Class.java (getClassLoader(Class)): New.
2048 forName(String, Class): New.
2049 * java/lang/natClass.cc (getClassLoader(Class)): New.
2051 2006-05-02 Andrew Haley <aph@redhat.com>
2053 * prims.cc (_Jv_NewMultiArray): Check for phantom class.
2055 2006-05-04 Tom Tromey <tromey@redhat.com>
2058 * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2059 <insn_putfield>: Likewise.
2060 (NULLCHECK): Define unconditionally.
2061 * link.cc (ensure_class_linked): Removed dead code.
2063 2006-05-04 Tom Tromey <tromey@redhat.com>
2065 * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2066 * Makefile.in: Rebuilt.
2067 * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2068 * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2069 * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2071 (loadedClasses): Removed.
2072 (findClass): Declare.
2073 (addClass): Add to nativeClasses, not loadedClasses.
2075 2006-05-04 Andrew Haley <aph@redhat.com>
2078 * testsuite/libjava.lang/PR26858.xfail: Delete.
2080 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
2082 * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2083 -findirect-dispatch compilation.
2085 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
2087 * configure.ac: Simplify the mmap check a bit more.
2088 * configure: Rebuilt.
2089 * include/config.h.in: Likewise.
2091 2006-05-01 Roger Sayle <roger@eyesopen.com>
2092 Andrew Haley <aph@redhat.com>
2094 * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2095 before calling GC_register_has_static_roots_callback.
2096 (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2097 HAVE_DLADDR before calling dladdr.
2099 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
2101 * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2103 * interpret.cc (insn_invokevirtual): Use method->index, not
2104 vtable_index. Check accflag FINAL to determine finals. Only do
2105 explicit null check if calling a final method. Use
2106 throw_null_pointer_exception.
2107 (invokevirtual_resolved): Likewise.
2108 (null_pointer_exc): Remove static field.
2109 (throw_null_pointer_exception): Always define. Throw a new
2110 NullPointerException every time.
2111 * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2113 * include/execution.h (resolve_method): Remove vtable_index argument.
2115 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
2117 * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2118 * configure: Rebuilt.
2120 2006-04-25 Tom Tromey <tromey@redhat.com>
2122 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2123 Include platform.h. Set GC_DEBUG before including gc.h, if
2126 2006-04-25 Andrew Haley <aph@redhat.com>
2128 * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2129 * boehm.cc: Don't include link.h.
2130 (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2132 2006-04-24 Tom Tromey <tromey@redhat.com>
2134 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2136 2006-04-21 Andrew Haley <aph@redhat.com>
2138 * include/execution.h (struct _Jv_CompiledEngine): Define for
2140 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2141 _Jv_RegisterLibForGc.
2142 (_Jv_RegisterClasses_Counted): Likewise.
2143 (_Jv_NewClassFromInitializer): New.
2144 (_Jv_RegisterNewClasses): New.
2145 * sources.am: Regenerate.
2146 * boehm.cc (_Jv_GC_has_static_roots): new.
2147 (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2148 (filename_node, find_file, _Jv_print_gc_store, new_node,
2149 _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2150 * scripts/makemake.tcl: Add -fno-indirect-classes.
2151 * Makefile.in: Regenerate.
2152 * link.cc (resolve_pool_entry): Allocate constant pool.
2155 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
2157 * configure.ac: Weaken the check for MMAP.
2158 * configure: Rebuilt.
2159 * include/config.h.in: Likewise.
2161 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
2164 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2165 dlopen(). From Anthony Green.
2167 2006-04-20 Tom Tromey <tromey@redhat.com>
2170 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2171 UnknownHostException if needed.
2172 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2173 UnknownHostException if needed.
2175 2006-04-19 Tom Tromey <tromey@redhat.com>
2177 * Makefile.in: Rebuilt.
2178 * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2179 all_java_deps_files.
2181 2006-04-19 Tom Tromey <tromey@redhat.com>
2183 * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2186 2006-04-17 Tom Tromey <tromey@redhat.com>
2189 * testsuite/libjava.lang/pr27171.java: New file.
2190 * testsuite/libjava.lang/pr27171.out: New file.
2191 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2192 true if we've seen a high surrogate.
2193 (write): Handle high surrogates at the end of the stream.
2194 Properly emit isolated low surrogates.
2196 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
2198 * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2201 2006-04-13 Tom Tromey <tromey@redhat.com>
2204 * Makefile.in: Rebuilt.
2205 * Makefile.am (libsubdir): New variable.
2207 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
2210 * configure.ac: Link against -lpthread rather than -lc_r on
2211 FreeBSD 5 and above.
2212 * configure: Regenerate.
2214 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
2216 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2217 of package-private field "loadedClasses" using reflection.
2218 * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2221 2006-04-10 Matthias Klose <doko@debian.org>
2223 * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2224 directory names containing underscores.
2226 2006-04-10 Andrew Haley <aph@redhat.com>
2228 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2229 (SIGNAL_HANDLER): Mark arg as unused.
2230 * configure.host (x86_64-* DIVIDESPEC): Use
2231 fno-use-divide-subroutine.
2233 2006-04-07 Andrew Haley <aph@redhat.com>
2235 * java/net/InetAddress.java: Throw an UnknownHostException if
2238 2006-04-05 Tom Tromey <tromey@redhat.com>
2241 * Makefile.in: Rebuilt.
2242 * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2243 classpath/lib/compile-classes.
2245 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
2247 * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2248 MinGW since EBP is used for backtracking through call frames on this
2251 2006-04-05 Archit Shah <ashah@redhat.com>
2254 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2255 Add classpath argument.
2256 * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2258 * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2259 * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2260 * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2261 * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2262 mkdirs for destination directory, correct handling of superclasses
2263 and interfaces of the remote class, correct handling of exceptions
2264 declared by remote methods.
2266 2006-04-04 Tom Tromey <tromey@redhat.com>
2269 * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2270 * gnu/java/lang/natMainThread.cc (call_main): Use
2271 exitNoChecksAccessor.
2272 * testsuite/libjava.lang/pr26990.out: New file.
2273 * testsuite/libjava.lang/pr26990.java: New file.
2274 * java/lang/Runtime.java (exitNoChecks): New method.
2275 (exitNoChecksAccessor): Likewise.
2276 (exit): Call exitNoChecks.
2278 2006-04-03 Tom Tromey <tromey@redhat.com>
2280 * Makefile.in: Rebuilt.
2281 * Makefile.am (ZIP): Removed.
2282 (libgcj-$(gcc_version).jar): Use $(JAR).
2283 (src.zip): Likewise.
2284 * configure: Rebuilt.
2285 * configure.ac: Check for jar. Removed code to set ZIP.
2287 2006-04-03 Andrew Haley <aph@redhat.com>
2289 * testsuite/libjava.lang/Float_2.java: New file.
2291 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
2293 * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2295 2006-03-30 Tom Tromey <tromey@redhat.com>
2298 * testsuite/libjava.compile/pr26042.java: New file.
2300 2006-03-29 Tom Tromey <tromey@redhat.com>
2302 * sources.am, Makefile.in: Rebuilt.
2303 * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2305 2006-03-29 Tom Tromey <tromey@redhat.com>
2308 * testsuite/libjava.lang/pr26390.out: New file.
2309 * testsuite/libjava.lang/pr26390.java: New file.
2310 * sources.am, Makefile.in: Rebuilt.
2311 * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2313 2006-03-29 Tom Tromey <tromey@redhat.com>
2315 * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2318 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
2320 * scripts/unicode-muncher.pl: Removed this file.
2321 * scripts/MakeCharTables.java: Likewise.
2322 * scripts/unicode-to-chartables.pl: New file.
2323 * java/lang/natCharacter.cc:
2324 (UNASSIGNED_TYPE): New field.
2325 (UNASSIGNED_DIGIT): Likewise.
2326 (UNASSIGNED_DIRECTION): Likewise.
2327 (UNASSIGNED_NUMERIC_VALUE): Likewise.
2328 (PRIVATE_TYPE): Likewise.
2329 (PRIVATE_DIRECTION): Likewise.
2330 (readCodePoint): New method.
2331 (getType(jint)): Likewise.
2332 (toLowerCase(jint)): Likewise.
2333 (toUpperCase(jint)): Likewise.
2334 (toTitleCase(jint)): Likewise.
2335 (digit(jint, jint)): Likewise.
2336 (getNumericValue(jint)): Likewise.
2337 (getDirectionality(jint)): Likewise.
2340 (toLowerCase(jchar)),
2341 (toUpperCase(jchar)),
2342 (toTitleCase(jchar)),
2343 (digit(jchar, jint)),
2344 (getNumericValue(jchar)),
2345 (getDirectionality(jchar)): Changed references from data to data[0],
2346 blocks to blocks[0], direction to direction[0], numValue to
2347 numValue[0], upper to upper[0], lower to lower[0], and shift to
2348 shift[0] to reflect the new structures in java-chartables.h.
2349 * java/lang/Character.java:
2350 (readCodePoint): Declared new native method.
2351 (getType(int)): Likewise.
2352 (toLowerCase(int)): Likewise.
2353 (toUpperCase(int)): Likewise.
2354 (toTitleCase(int)): Likewise.
2355 (digit(int, int)): Likewise.
2356 (getNumericValue(int)): Likewise.
2357 (getDirectionality(int)): Likewise.
2358 (isLowerCase(int)): New method.
2359 (isUpperCase(int)): Likewise.
2360 (itTitleCase(int)): Likewise.
2361 (isDigit(int)): Likewise.
2362 (isDefined(int)): Likewise.
2363 (isLetter(int)): Likewise.
2364 (isLetterOrDigit(int)): Likewise.
2365 (isJavaIdentifierStart(int)): Likewise.
2366 (isJavaIdentifierPart(int)): Likewise.
2367 (isUnicodeIdentifierStart(int)): Likewise.
2368 (isUnicodeIdentifierPart(int)): Likewise.
2369 (isIdentifierIgnorable(int)): Likewise.
2370 (isSpaceChar(int)): Likewise.
2371 (isWhitespace(int)): Likewise.
2372 (isISOControl(int)): Likewise.
2373 (isMirrored(int)): Likewise.
2374 * include/java-chartables.h: Generated from
2375 scripts/unicode-to-chartables.h.
2377 2006-03-24 David Daney <ddaney@avtrex.com)
2379 * testsuite/libjava.lang/PR26858.java: New test.
2380 * testsuite/libjava.lang/PR26858.out: Ditto.
2381 * testsuite/libjava.lang/PR26858.xfail: Ditto.
2383 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
2385 * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2388 2006-03-15 Tom Tromey <tromey@redhat.com>
2390 * testsuite/libjava.jacks/jacks.xfail: Removed
2391 13.1-runtime-method-5.
2393 2006-03-15 Tom Tromey <tromey@redhat.com>
2396 * link.cc (get_interfaces): Skip <clinit>.
2397 (append_partial_itable): Likewise.
2399 2006-03-10 Tom Tromey <tromey@redhat.com>
2402 * java/util/zip/Deflater.java (flush): New method.
2403 * sources.am, Makefile.in: Rebuilt.
2404 * java/util/zip/DeflaterOutputStream.java: Removed.
2405 * java/util/zip/InflaterInputStream.java: Likewise.
2406 * java/util/zip/GZIPInputStream.java: Likewise.
2407 * java/util/zip/GZIPOutputStream.java: Likewise.
2409 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
2411 * include/powerpc-signal.h: Fix typo in comment.
2413 2006-03-09 Mark Wielaard <mark@klomp.org>
2415 Imported GNU Classpath 0.90
2416 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2417 * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2418 * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2419 * java/lang/Math.java: New override file.
2420 * java/lang/Character.java: Merged from Classpath.
2421 (start, end): Now 'int's.
2422 (canonicalName): New field.
2423 (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2424 (UnicodeBlock): Added argument.
2426 (forName): New method.
2427 Updated unicode blocks.
2429 * sources.am: Regenerated.
2430 * Makefile.in: Likewise.
2432 2006-03-09 Tom Tromey <tromey@redhat.com>
2435 * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2436 (equals): Use memcmp.
2437 (contentEquals): Likewise.
2438 (getChars): Use memcpy.
2439 (toCharArray): Likewise.
2440 (regionMatches): Use memcmp.
2441 (regionMatches): Likewise.
2442 (startsWith): Likewise.
2443 (concat): Use memcpy.
2444 (valueOf): Likewise.
2446 2006-03-09 Tom Tromey <tromey@redhat.com>
2448 * configure: Rebuilt.
2449 * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2452 2006-03-09 Tom Tromey <tromey@redhat.com>
2455 * java/util/zip/InflaterInputStream.java (fill): Throw exception
2456 if stream is truncated.
2458 2006-03-09 Tom Tromey <tromey@redhat.com>
2460 * win32.cc (_Jv_platform_nanotime): New function.
2461 * include/win32.h (_Jv_platform_nanotime): Declare.
2462 * posix.cc (_Jv_platform_nanotime): New function.
2463 * include/posix.h (_Jv_platform_nanotime): Declare.
2464 * java/lang/natSystem.cc (nanoTime): New method.
2465 * java/lang/System.java (nanoTime): Declare.
2466 * include/config.h.in, configure: Rebuilt.
2467 * configure.ac: Check for clock_gettime.
2469 2006-03-08 David Daney <ddaney@avtrex.com>
2471 * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2472 (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2473 (LD_FINISH_STATIC_SPEC): Ditto
2474 * configure: Regenerated.
2475 * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2476 LD_FINISH_STATIC_SPEC.
2478 2006-03-07 Tom Tromey <tromey@redhat.com>
2481 * java/lang/ClassLoader.java (loadClass): Don't throw
2482 StringIndexOutOfBoundsException if name is empty.
2483 * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2486 2006-03-07 David Daney <ddaney@avtrex.com>
2488 * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2490 2006-03-07 David Daney <ddaney@avtrex.com>
2492 * link.cc: Include ffi.h if USE_LIBFFI defined.
2494 2006-03-03 Tom Tromey <tromey@redhat.com>
2496 * interpret.cc (do_allocate_static_fields): Added comment.
2498 2006-03-01 Tom Tromey <tromey@redhat.com>
2501 * testsuite/libjava.lang/pr24321.java: New file.
2502 * testsuite/libjava.lang/pr24321.out: New file.
2503 * java/lang/natClass.cc (isInstance): Don't initialize class.
2504 (isAssignableFrom): Likewise.
2506 2006-02-27 Jakub Jelinek <jakub@redhat.com>
2509 * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2511 * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2512 (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2514 * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2516 * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2519 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
2521 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2522 before returning, handle null clip.
2523 (getClipBounds): Handle null clip.
2524 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2525 * gnu/awt/xlib/XCanvasPeer.java ():
2526 (getLocationOnScreen): Implement.
2527 * classpath/gnu/java/awt/peer/GLightweightPeer.java
2528 (repaint): Merged with Classpath.
2529 * classpath/java/awt/Graphics.java (hitClip): Merged with
2532 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
2534 * link.cc: Added variant of create_error_method that
2535 will not complain about unused parameter if compiled with
2536 USE_LIBFFI not being defined.
2537 (_Jv_Linker::find_field_helper): Fixed indentation.
2538 (_Jv_Linker::create_error_method): Fixed indentation.
2539 (_Jv_Linker::link_symbol_table): Fixed indentation.
2541 2006-02-16 Andrew Haley <aph@redhat.com>
2543 * stacktrace.cc (GetStackTraceElements): Call
2544 gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2545 non-Java frames should be removed from a printed stack trace.
2546 Pass methodName to getLineNumberForFrame().
2547 (getLineNumberForFrame): Set method_name from info.dli_sname.
2548 * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2549 (remove_unknown): New variable.
2550 * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2553 2006-02-15 Matthias Klose <doko@debian.org>
2555 * gnu/java/nio/charset, gnu/java/net/protocol/file,
2556 gnu/regexp: Remove empty directories.
2558 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
2560 * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
2561 'itable' inline, instead of as a pointer.
2562 (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2563 * link.cc (null_idt): Update definition.
2564 (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2565 as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2566 (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2567 (_Jv_Linker::find_iindex): Likewise. Update comment.
2568 * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2569 _Jv_IDispatchTable change.
2570 (_Jv_IsAssignableFrom): Likewise.
2572 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2575 * gnu/gcj/io/natSimpleSHSStream.cc
2576 (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2577 * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2579 * boehm.cc: #undef some autoconf macros before including gc-config.h.
2580 (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2581 (_Jv_MarkArray): Likewise.
2582 * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2583 Simplify _Jv_GCRegisterDisappearingLink() call.
2584 * java/lang/Class.h (getComponentType): Use element_type.
2585 (element_type): New field declaration, as a union with "methods".
2586 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2587 * java/net/natVMNetworkInterfacePosix.cc
2588 (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2589 avoid sign comparison warning.
2590 * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2591 argument, not parent call frame.
2592 * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2594 (restore_rt): Declare with hidden visibility, not "static".
2595 * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2597 * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2600 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2603 * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2605 * verify.cc (verify_fail): Likewise.
2606 * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2607 * interpret.cc (throw_internal_error, throw_class_format_error):
2609 * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
2610 _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2611 * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2612 * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2613 * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2614 is_attribute_name): Likewise.
2615 * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2616 _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2618 2006-02-08 Tom Tromey <tromey@redhat.com>
2620 PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2621 * defineclass.cc (parse): Use _Jv_AllocRawObj.
2622 (read_constpool): Likewise.
2623 (read_one_code_attribute): Use internal function name.
2624 (handleConstantPool): Use _Jv_AllocRawObj.
2625 (handleInterfacesBegin): Likewise.
2626 (handleFieldsBegin): Likewise.
2627 (handleMethodsBegin): Likewise.
2628 (handleCodeAttribute): Likewise.
2629 (handleMethodsEnd): Likewise.
2630 * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2631 * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2632 Allocate reference fields separately.
2633 * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2634 (add_miranda_methods): Likewise.
2635 (generate_itable): Use _Jv_AllocBytes.
2636 (find_iindex): Likewise.
2637 (struct method_closure): New structure.
2638 (create_error_method): Use struct method_closure; allocate with
2640 (ensure_fields_laid_out): Separate reference fields from
2641 non-reference fields.
2642 * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
2644 (_Jv_MarkArray): Mark vtable.
2645 (_Jv_AllocRawObj): Don't allocate objects of size 0.
2646 * include/execution.h
2647 (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2649 (struct _Jv_CompiledEngine): Updated.
2650 (class _Jv_InterpreterEngine): Updated.
2652 2006-02-08 Tom Tromey <tromey@redhat.com>
2655 * gcj/javaprims.h: Updated.
2656 * sources.am, Makefile.in: Rebuilt.
2657 * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2658 (doubleToRawLongBits): Likewise.
2659 (longBitsToDouble): Likewise.
2660 (toString): Likewise.
2661 (parseDouble): Likewise.
2662 * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2663 (floatToRawIntBits): Likewise.
2664 (intBitsToFloat): Likewise.
2665 * java/lang/VMDouble.java: New file.
2666 * java/lang/VMFloat.java: New file.
2667 * java/lang/Float.java, java/lang/Double.java: Removed.
2669 2006-02-06 Tom Tromey <tromey@redhat.com>
2671 * gij.cc (version): Use 2006.
2672 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2673 * gnu/gcj/convert/Convert.java (version): Use 2006.
2674 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2676 2006-02-04 Tom Tromey <tromey@redhat.com>
2679 * testsuite/libjava.lang/pr25676.out: New file.
2680 * testsuite/libjava.lang/pr25676.java: New file.
2682 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2684 * Makefile.am (src.zip): Update src.zip file search to look in
2685 classpath directory.
2686 * Makefile.in: Regenerate.
2688 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2691 (_Jv_Linker::create_error_method): Added missing (void *) cast.
2693 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2696 (_Jv_Linker::create_error_method): New method declaration.
2698 (_Jv_Linker::create_error_method): New method.
2699 (_Jv_Linker::link_symbol_table): Use new method above.
2701 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
2704 (_Jv_Linker::find_field_helper): Added checks.
2705 (_Jv_Linker::find_field): Use exception swallowing class resolution
2706 and added early return.
2707 (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2708 (_Jv_Linker::link_symbol_table): Use exception swallowing class
2709 resolution, added ffi_closure installation routine, use
2710 _Jv_ThrowNoClassDefFoundError for missing static method.
2711 (_Jv_Linker::ensure_class_linked): Added string check which does
2712 not trigger class resolution.
2713 * java/lang/natClassLoader.cc:
2714 (_Jv_FindClassNoException): New method.
2715 * java/lang/Class.h:
2716 (_Jv_FindClassNoException): New method declaration.
2718 (_Jv_FindClassNoException): New method declaration.
2719 (_Jv_FindClassFromSignatureNoException): New method declaration.
2721 (_Jv_FindClassFromSignatureNoException): New method.
2723 (_Jv_equalsUtf8Classname): New method declaration.
2724 (_Jv_isPrimitiveOrDerived): Dito.
2726 (_Jv_equalsUtf8Classnames): New method.
2727 (_Jv_isPrimitiveOrDerived): New method.
2729 (ref_intersection::equals): Use new classname comparison method.
2730 (type::compatible): Use new classname comparison method. Added
2731 check whether LHS' type is java.lang.Object .
2732 (type::resolve): Added new optional debug message and simplified
2734 (type::to_array): Added codepath that generates an array type
2735 without resolving the element type.
2737 2006-01-31 Mark Wielaard <mark@klomp.org>
2739 * NEWS: Add 4.1 updates.
2741 2006-01-30 Keith Seitz <keiths@redhat.com>
2743 * include/java-interp.h (insn_index): New declaration.
2744 (num_insn_slots): New private variable.
2745 (get_line_table): New declaration.
2746 * interpret.cc (insn_index): New function.
2747 (get_line_table): New function.
2749 2006-01-24 Archit Shah <ashah@redhat.com>
2750 Tom Tromey <tromey@redhat.com>
2752 * prims.cc (next_property_value): Never return NULL.
2753 (process_gcj_properties): Copy 'props' before using it.
2755 2006-01-23 Keith Seitz <keiths@redhat.com>
2757 * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2758 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2760 2006-01-23 David Daney <ddaney@avtrex.com>
2762 * configure.host (disable_dladdr): Remove variable and its
2764 * configure.ac: Do not test for disable_dladdr.
2765 * configure: Regenerate.
2766 * include/config.h.in: Regenerate.
2768 2006-01-18 Tom Tromey <tromey@redhat.com>
2770 * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2773 2006-01-18 Keith Seitz <keiths@redhat.com>
2775 * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2776 (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2777 * interpret.cc (_Jv_CompileMethod): New function.
2778 (run): Massage code to allow for NULL args.
2779 Update comments to explain NULL args.
2780 Return if compiling the method and args is NULL.
2782 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
2785 * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2787 2006-01-17 Tom Tromey <tromey@redhat.com>
2790 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2791 (JarURLLoader): Likewise.
2792 (addURLImpl): Canonicalize file URLs.
2794 2006-01-16 Mark Wielaard <mark@klomp.org>
2796 Imported GNU Classpath 0.20
2797 * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2798 * java/nio/charset/spi/CharsetProvider.java: New override file.
2799 * java/security/Security.java: Likewise.
2800 * sources.am: Regenerated.
2801 * Makefile.in: Likewise.
2803 2006-01-17 Jakub Jelinek <jakub@redhat.com>
2805 * configure.ac (dbexecdir): New substituted var.
2806 * configure: Rebuilt.
2807 * Makefile.am (dbexecdir): Remove.
2808 * Makefile.in: Rebuilt.
2810 2006-01-13 Tom Tromey <tromey@redhat.com>
2812 * gnu/regexp/MessagesBundle_fr.properties: Removed.
2813 * gnu/regexp/MessagesBundle.properties: Removed.
2815 2006-01-13 Tom Tromey <tromey@redhat.com>
2817 * java/security/classpath.security: Removed.
2818 * Makefile.in: Rebuilt.
2819 * Makefile.am (install-data-local): Don't install
2822 2006-01-08 Chris Burdess <dog@gnu.org>
2824 * java/lang/Character.java (toChars,toCodePoint): Correct these
2825 methods to use algorithms from Unicode specification.
2827 2006-01-08 Tom Tromey <tromey@redhat.com>
2829 * java/lang/StringBuilder.java (appendCodePoint): New method.
2830 (insert): New overloads.
2831 * java/lang/StringBuffer.java (StringBuffer): New constructor.
2832 (charAt): Remerged javadoc.
2833 (codePointAt, codePointBefore): New methods.
2834 (appendCodePoint): New method.
2835 (append): New overloads.
2837 (trimToSize, codePointCount, offsetByCodePoints): New methods.
2838 * java/lang/Float.java (SIZE): New field.
2839 (valueOf): New method.
2840 * java/lang/natDouble.cc (initIDs): Removed.
2841 * java/lang/Double.java (static initializer): Removed.
2843 (valueOf): New method.
2846 2006-01-07 Jakub Jelinek <jakub@redhat.com>
2849 * shlibpath.m4: Replace $SED with sed.
2850 * configure: Rebuilt.
2852 2006-01-06 Tom Tromey <tromey@redhat.com>
2854 * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2855 MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2856 (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2857 MAX_LOW_SURROGATE): Javadoc fixes.
2858 (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2859 isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2860 methods from Classpath.
2861 * java/lang/String.java (codePointAt, codePointBefore,
2862 codePointCount, contains, replace): New methods from Classpath.
2863 (contentEquals): Declare.
2864 * java/lang/natString.cc (contentEquals): New method.
2866 2005-12-26 Anthony Green <green@redhat.com>
2868 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2869 of data to read (dst.remaining()).
2870 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2872 2005-11-11 Mark Wielaard <mark@klomp.org>
2874 Reported by john.zigman@anu.edu.au as bug #24608.
2875 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2876 destination ByteBuffer when it doesn't have an array instead of len
2879 2006-01-05 Tom Tromey <tromey@redhat.com>
2881 * java/lang/natThread.cc (finish_): Don't clear 'group'.
2882 * sources.am, Makefile.in: Rebuilt.
2883 * java/lang/Runtime.java (exit): Merged with Classpath.
2884 (runShutdownHooks): New method from Classpath.
2885 * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2887 * gnu/gcj/runtime/FileDeleter.java: Removed.
2888 * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2889 (exitInternal): Don't run finalizers or delete files.
2891 2006-01-05 Tom Tromey <tromey@redhat.com>
2893 * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2895 2006-01-04 Krister Walfridsson <cato@df.lth.se>
2897 * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2899 2006-01-04 Tom Tromey <tromey@redhat.com>
2901 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2902 * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2903 Changed argument type. Use SystemClassLoader.addClass.
2904 * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2906 2005-12-24 David Daney <ddaney@avtrex.com>
2907 Tom Tromey <tromey@redhat.com>
2909 PR libgcj/9715, PR libgcj/19132:
2910 * java/nio/charset/Charset.java (charsetForName): Try default
2912 (availableCharsets): Re-merged.
2913 (providers2): Likewise.
2914 (defaultCharset): Likewise.
2915 * sources.am, Makefile.in: Rebuilt.
2916 * gnu/java/nio/charset/Provider.java: Removed.
2917 * java/io/OutputStreamWriter.java
2918 (OutputStreamWriter(OutputStream,Charset)): New constructor.
2919 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2920 * java/io/InputStreamReader.java
2921 (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2922 (InputStreamReader(InputStream,Charset)): Likewise.
2923 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2924 BytesToCharsetAdaptor.
2925 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2926 CharsetToBytesAdaptor.
2927 * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2928 * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2929 * mauve-libgcj: Remove getEncoding exclusion.
2931 2005-12-28 Anthony Green <green@redhat.com>
2933 * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
2934 as previous patch, but for win32.
2936 2005-12-28 Anthony Green <green@redhat.com>
2938 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
2939 address and port before attempting anything.
2941 2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2943 * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
2946 2005-12-22 Andrew Haley <aph@redhat.com>
2949 * testsuite/libjava.lang/PR25535.java: New test.
2951 2005-12-22 Tom Tromey <tromey@redhat.com>
2953 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
2954 reference NUM_OBJECT_METHODS.
2955 * include/jvm.h (NUM_OBJECT_METHODS): Removed.
2957 2005-12-18 Anthony Green <green@redhat.com>
2959 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
2960 New helper function.
2961 (setOption): Use getLocalAddress. Don't downcast value to
2963 (getOption): Use getLocalAddress.
2965 2005-12-16 Tom Tromey <tromey@redhat.com>
2967 * java/lang/Class.java (getPackage): Get package from
2968 VMClassLoader if needed.
2970 2005-12-16 Tom Tromey <tromey@redhat.com>
2972 * testsuite/libjava.jacks/jacks.xfail
2973 (8.5.2-accessible-static-member-usage-3): Removed.
2975 2005-12-15 Tom Tromey <tromey@redhat.com>
2977 * testsuite/libjava.compile/rh175833.java: New file.
2978 * testsuite/libjava.compile/pr25429.java: New file.
2980 2005-12-15 Alan Modra <amodra@bigpond.net.au>
2982 * testsuite/lib/libjava.exp: Revert 2005-12-01.
2983 * testsuite/libjava.lang/Array_3.xfail: Delete.
2985 2005-12-14 Andrew Haley <aph@redhat.com>
2987 * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
2988 handle stdout from the child process.
2990 2005-12-14 Tom Tromey <tromey@redhat.com>
2993 * java/io/File.java (File): Throw IllegalArgumentException if URI is
2996 2005-12-12 Andrew Haley <aph@redhat.com>
2998 * java/lang/VMCompiler.java: Directly generate a new instance of
2999 gnu.java.security.provider.MD5.
3001 2005-12-08 Andrew Haley <aph@redhat.com>
3004 * java/lang/Object.h (throwNoSuchMethodError): New method.
3005 * java/lang/Object.java (throwNoSuchMethodError): New method.
3006 * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
3007 * link.cc (_Jv_ThrowNoSuchFieldError): New.
3008 (link_symbol_table): Don't throw a NoSuchFieldError if a field is
3009 missing. Instead, set the otable entry to zero.
3010 (link_symbol_table): If we don't find a nonstatic method, insert
3011 the vtable offset of Object.throwNoSuchMethodError() into the
3014 2005-12-05 Tom Tromey <tromey@redhat.com>
3016 * testsuite/libjava.compile/rh174912.java: New file.
3018 2005-12-01 Geoffrey Keating <geoffk@apple.com>
3020 * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
3022 * testsuite/libjava.lang/Array_3.xfail: New file.
3024 2005-12-01 Alan Modra <amodra@bigpond.net.au>
3026 * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
3027 to compare _Jv_InterpMethod::run against current func.
3029 2005-11-30 Andrew Haley <aph@redhat.com>
3031 * classpath/lib/Makefile.am (resources): Use `cp -p'.
3032 Remove `@' from start of line.
3034 2005-11-28 Tom Tromey <tromey@redhat.com>
3037 * testsuite/libjava.jni/pr18278.out: New file.
3038 * testsuite/libjava.jni/pr18278.c: New file.
3039 * testsuite/libjava.jni/pr18278.java: New file.
3040 * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
3041 * jni.cc (_Jv_UnwrapJNIweakReference): New function.
3042 (call): Unwrap return value if needed.
3044 2005-11-25 Mark Wielaard <mark@klomp.org>
3046 * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
3048 * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
3049 gnu/javax/rmi to bc.
3050 * gnu/CORBA/ObjectCreator.java: New override file for missing
3051 VMStackWalker issue.
3052 * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
3053 * gnu/CORBA/DynAn/RecordAny.java: Likewise
3054 * sources.am: Regenerated.
3055 * Makefile.in: Regenerated
3057 2005-11-25 Andrew Haley <aph@redhat.com>
3060 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3061 struct timespec we pass to pthread_cond_timedwait.
3063 2005-11-25 Ranjit Mathew <rmathew@gcc.gnu.org>
3065 * testsuite/libjava.jacks/jacks.xfail: Remove
3066 non-jls-argument-expansion-13 and add
3067 non-jls-argument-expansion-error-1 in response to the @file support
3068 patch in the main GCC driver.
3070 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3072 * sysdep/ia64-frame.h: Removed.
3073 * sysdep/ia64.c: Removed.
3074 * sysdep/dwarf2-backtrace.cc: Removed.
3075 * configure.ac: Remove references to HAVE_BACKTRACE and
3077 * Makefile.am: Remove SUPPLY_BACKTRACE support.
3078 * configure: Rebuilt.
3079 * Makefile.in: Rebuilt.
3081 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3083 * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3085 2005-11-17 Mark Wielaard <mark@klomp.org>
3087 Imported GNU Classpath gcj-import-20051117.
3088 * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3089 * sources.am: Regenerated.
3090 * Makefile.in: Likewise.
3092 2005-11-17 Mark Wielaard <mark@klomp.org>
3094 * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3095 * java/net/ServerSocket.java: Likewise.
3096 * sources.am: Regenerated.
3097 * Makefile.in: Regenerated.
3099 2005-11-17 Mark Wielaard <mark@klomp.org>
3102 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3104 2005-11-17 Tom Tromey <tromey@redhat.com>
3106 * java/net/ServerSocket.java (accept): Use correct security manager
3109 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3111 * java/net/ServerSocket.java
3114 (bind): Cache local socket address.
3115 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3116 Use cached local socket address.
3117 (close): bound field was removed.
3119 2005-11-17 Tom Tromey <tromey@redhat.com>
3121 * java/net/URLConnection.java (setDoInput): Javadoc fix.
3122 (setDoOutput): Likewise.
3123 (setContentHandlerFactory): Likewise.
3124 (setFileNameMap): Likewise.
3126 2005-11-17 Mark Wielaard <mark@klomp.org>
3128 * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3130 2005-11-17 Mark Wielaard <mark@klomp.org>
3132 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3133 call urls.add() and addURLImpl() directly on each URL.
3135 2005-11-17 Tom Tromey <tromey@redhat.com>
3137 * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3139 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3141 * java/net/URLClassLoader.java
3142 (Resource.name): Removed field.
3143 (JarURLResource.name): Added field.
3144 (FileResource.getURL): Use File.toURL() instead of doing it in
3145 a way that breaks on Windows.
3147 2005-11-17 Roman Kennke <roman@kennke.org>
3149 Reported by: Ingo Proetel <proetel@aicas.com>
3150 * java/net/URLClassLoader.java
3151 (findClass): Added null check to avoid NullPointerException.
3153 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3155 * java/net/URLClassLoader.java: reordered some API doc comments to
3156 suppress Eclipse warnings, and fixed API doc link.
3158 2005-11-17 Tom Tromey <tromey@redhat.com>
3160 * java/net/URLClassLoader.java (URLClassLoader): Removed
3163 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3165 * java/net/URLClassLoader (findClass): Close InputStream after we're
3168 2005-11-17 Bryce McKinlay <mckinlay@redhat.com>
3171 * include/jvm.h (gcj::stack_size): Declare.
3172 (_Jv_StackSize): Declare.
3173 * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3174 (_Jv_ThreadStart): Set stack size if specified.
3175 * prims.cc (gcj::stack_size): Define.
3176 (parse_memory_size): Renamed from parse_heap_size.
3177 (_Jv_SetStackSize): Parse stack size argument and set
3180 2005-11-17 Mark Wielaard <mark@klomp.org>
3182 * java/text/SimpleDateFormat.java: Removed, fully merged now.
3183 * sources.am: Regenerated.
3184 * Makefile.in: Regenerated.
3186 2005-11-17 Sven de Marothy <sven@physto.se>
3188 * java/text/SimpleDateFormat.java
3189 (computeOffset): Allow timezone to be first in the parsed String.
3191 2005-11-17 Mark Wielaard <mark@klomp.org>
3193 * java/text/SimpleDateFormat.java (field, size): Make package private.
3195 2005-11-17 Tom Tromey <tromey@redhat.com>
3197 * java/text/SimpleDateFormat.java (compileFormat): Correctly
3198 handle quoted single quotes. PR classspath/23183.
3200 2005-11-17 Tom Tromey <tromey@redhat.com>
3202 * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3204 2005-11-17 Tom Tromey <tromey@redhat.com>
3206 * java/text/DateFormat.java (serialVersionUID): New field.
3208 2005-11-17 Mark Wielaard <mark@klomp.org>
3210 * java/text/DateFormat.java (equals): Reimplement.
3212 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3214 * java/text/Collator.java: API doc fixes,
3215 * java/text/DateFormat.java: likewise,
3216 * java/text/DecimalFormatSymbols.java: likewise,
3217 * java/text/DateFormatSymbols.java: likewise,
3218 * java/text/SimpleDateFormat.java: likewise.
3220 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3222 * java/text/Collator.java (getInstance(Locale)):
3223 Added default collation pattern to handle case when resource
3224 is missing and throw InternalError instead of returning null
3225 should parsing fail.
3227 2005-11-15 Mark Wielaard <mark@klomp.org>
3229 * java/util/zip/ZipEntry.java: Removed, fully merged now.
3230 * java/util/zip/ZipFile.java: Likewise.
3231 * sources.am: Regenerated.
3232 * Makefile.in: Regenerated.
3234 2005-11-15 Tom Tromey <tromey@redhat.com>
3237 * java/util/Calendar.java (equals): Include other calendar
3239 (hashCode): Updated.
3240 * java/util/GregorianCalendar.java (hashCode): New method.
3241 (equals): Use super.equals().
3243 2005-11-15 Sven de Marothy <sven@physto.se>
3245 * java/util/Calendar (setTimeInMillis): Recompute time fields.
3247 2005-11-15 Mark Wielaard <mark@klomp.org>
3249 * java/util/SimpleTimeZone.java: Removed, fully merged now.
3250 * java/util/Date.java: Likewise.
3251 * sources.am: Regenerated.
3252 * Makefile.in: Regenerated.
3254 2005-11-15 David Gilbert <david.gilbert@object-refinery.com>
3256 * java/util/Calendar.java: fixed minor problems in API docs,
3257 * java/util/Date.java: likewise,
3258 * java/util/ResourceBundle.java: likewise,
3259 * java/util/SimpleTimeZone.java: likewise,
3261 2005-11-15 Jeroen Frijters <jeroen@frijters.net>
3263 * java/io/ObjectInputStream.java
3264 (parseContent): Removed bogus println and fixed bug #24422.
3266 2005-11-15 Mark Wielaard <mark@klomp.org>
3268 * java/io/ObjectStreamClass.java: Removed, fully merged now.
3269 * sources.am: Regenerated.
3270 * Makefile.in: Regenerated.
3272 2005-11-15 Wolfgang Baer <WBaer@gmx.de>
3274 * java/io/ObjectInputStream.java
3275 (processResolution): Pass Error, RuntimeException and
3276 ObjectStreamException through to the caller.
3277 (readObject): Documentation update.
3279 2005-11-15 Mark Wielaard <mark@klomp.org>
3281 Imported GNU Classpath 0.19 + gcj-import-20051115.
3282 * sources.am: Regenerated.
3283 * Makefile.in: Likewise.
3284 * scripts/makemake.tcl: Use glob -nocomplain.
3286 2005-11-15 Scott Gilbertson <scottg@mantatest.com>
3288 * Makefile.in: Re-generated.
3289 * gnu/awt/xlib/XGraphicsDevice.java: New file.
3290 * gnu/awt/xlib/XToolkit.java
3291 (getLocalGraphicsEnvironment): Implemented.
3292 * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3293 * sources.am: Re-generated.
3295 2005-15-09 David Daney <ddaney@avtrex.com>
3298 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3301 (close): Call shutdown before closing.
3302 (read()): Call read_helper with proper parameters.
3303 (read(buffer, int, int)): Likewise.
3304 (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd
3305 and timeout parameters. Make prototype to match. Use
3306 pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3309 2005-11-15 Andrew Haley <aph@redhat.com>
3311 * Merge from Classpath head:
3313 2005-09-16 Andrew Haley <aph@redhat.com>
3315 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3316 protected readResolve(). Rewrite accessibility check.
3318 2005-07-07 Jeroen Frijters <jeroen@frijters.net>
3320 * java/io/ObjectStreamClass.java
3321 (findAccessibleMethod): Added code to make method accessible.
3323 2005-07-03 Daniel Bonniot <bonniot@users.sf.net>
3325 * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3326 (findAccessibleMethod): Likewise.
3327 (cacheMethods): Lookup readResolve and writeReplace using the new
3328 findAccessibleMethod().
3330 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3332 * java/net/natVMNetworkInterfaceWin32.cc: Include
3333 java/net/VMNetworkInterface.h.
3335 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3336 David Daney <ddaney@avtrex.com>
3338 * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3339 (read): Handle count == 0 case.
3341 2005-11-09 Tom Tromey <tromey@redhat.com>
3343 * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3346 2005-11-08 Tom Tromey <tromey@redhat.com>
3349 * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3351 2005-11-08 Tom Tromey <tromey@redhat.com>
3353 PR libgcj/23763. From aeby@graeff.com.
3354 * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3357 2005-11-08 Mark Wielaard <mark@klomp.org>
3359 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3361 2005-11-07 David Daney <ddaney@avtrex.com>
3363 * mauve-libgcj: Disable javax.rmi.* and
3364 java.io.InputStreamReader.getEncoding.
3366 2005-11-04 Tom Tromey <tromey@redhat.com>
3368 PR libgcj/14358, libgcj/24552:
3369 * gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add
3370 aliases for 'euc_jp' and 'eucjp'.
3371 * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include
3372 canonical names in output.
3373 (%map): Added UnicodeLittle and UnicodeBig.
3375 2005-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3377 * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3379 2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
3381 * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3384 2005-10-12 Andrew Haley <aph@redhat.com>
3387 * link.cc (ensure_method_table_complete): Install Miranda methods
3390 2005-10-10 Tom Tromey <tromey@redhat.com>
3392 * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3393 * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3396 2005-10-05 Richard Henderson <rth@redhat.com>
3399 * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3400 but not BACKTRACESPEC.
3401 (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
3403 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>
3405 * testsuite/lib/jni.exp (gcj_jni_test_one): For
3406 darwin, use -shared-libgcc not -lgcc_s, and explain why.
3407 (gcj_jni_invocation_test_one): Likewise.
3409 2005-09-30 Tom Tromey <tromey@redhat.com>
3412 * Makefile.in: Rebuilt.
3413 * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3415 (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3416 (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3417 (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3418 (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3419 (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3420 * configure: Rebuilt.
3421 * configure.ac: Pass --enable-qt-peers when qt is requested.
3423 2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
3425 * configure.ac: Fix typo.
3426 * configure: Regenerate.
3428 2005-09-28 Geoffrey Keating <geoffk@apple.com>
3430 * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3431 __LP64__ is defined rather than __powerpc64__.
3432 (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3433 (compare_and_swap_release): Likewise.
3435 2005-09-28 David Daney <ddaney@avtrex.com>
3437 * HACKING: Update instructions for classpath import.
3439 2005-09-27 Tom Tromey <tromey@redhat.com>
3442 * include/jvm.h (_Jv_FreeMethodCache): Declare.
3443 * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3444 (struct _Jv_mcache): Likewise.
3445 (method_cache): Likewise.
3446 (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3447 (_Jv_AddMethodToCache): Likewise.
3448 (_Jv_FreeMethodCache): New function.
3449 * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
3450 * aclocal.m4, configure, include/config.h.in: Rebuilt.
3451 * configure.ac: Invoke GCC_CHECK_TLS.
3453 2005-09-27 Tom Tromey <tromey@redhat.com>
3455 * configure, Makefile.in: Rebuilt.
3456 * sources.am: Rebuilt.
3457 * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
3458 * configure.ac (TOOLKIT): Handle Qt peers properly.
3460 2005-09-23 Tom Tromey <tromey@redhat.com>
3462 Imported Classpath 0.18.
3463 * sources.am, Makefile.in: Updated.
3464 * Makefile.am (nat_source_files): Removed natProxy.cc.
3465 * java/lang/reflect/natProxy.cc: Removed.
3466 * gnu/classpath/jdwp/VMFrame.java,
3467 gnu/classpath/jdwp/VMIdManager.java,
3468 gnu/classpath/jdwp/VMVirtualMachine.java,
3469 java/lang/reflect/VMProxy.java: New files.
3471 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3473 * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
3476 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3478 * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
3479 Remove ClasspathToolkit references.
3481 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3483 * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
3484 * gnu/awt/xlib/XFramePeer.java: Likewise.
3485 * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
3487 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3489 * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
3490 classpath/native/jawt/jawt.c.
3491 * Makefile.in: Regenerate.
3492 * jawt.c: Remove file.
3493 * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
3494 jawt_md.h. Add ../classpath/include/jawt.h and
3495 ../classpath/include/jawt_md.h.
3496 * include/Makefile.in: Regenerate.
3497 * include/jawt.h: Regenerate.
3498 * include/jawt_md.h: Regenerate.
3500 2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
3502 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
3503 `null' parent ClassLoader to parent constructor.
3504 * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
3507 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
3509 * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
3511 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
3513 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
3514 Use libjava_find_lib to find the proper libgcj.
3516 2005-09-16 Anthony Green <green@redhat.com>
3519 * java/net/URLClassLoader.java (FileURLLoader.getResource): File
3520 resources should all have canonicalized names.
3522 2005-09-15 Tom Tromey <tromey@redhat.com>
3525 * interpret.cc (AVAL1U): Resolve pool entry when not direct
3528 (compile): Handle 'ldc class' specially.
3529 (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
3530 * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
3531 * defineclass.cc (handleCodeAttribute): Set new field.
3532 (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
3533 MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
3534 (parse): Check version numbers.
3535 (_Jv_ClassReader::is_15): New field.
3536 (_Jv_ClassReader): Initialize it.
3537 * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
3539 2005-09-15 Tom Tromey <tromey@redhat.com>
3541 For PR libgcj/23288:
3542 * java/net/URLClassLoader.java (definePackage): Correctly order
3543 arguments to definePackage. Look up per-entry Attributes.
3544 (getAttributeValue): New method.
3546 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3549 * shlibpath.m4: New file.
3550 * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
3552 * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
3553 [USE_LTDL]: If it was not defined with -D set java.library.path to
3554 the value of LTDL_SHLIBPATH_VAR.
3556 2005-09-08 Andrew Haley <aph@redhat.com>
3558 * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
3560 (toString): Likewise.
3562 2005-09-08 Andrew Haley <aph@redhat.com>
3565 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
3566 R/M field in instruction is 100.
3568 2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3571 * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
3572 * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
3574 * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
3576 (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
3577 _Jv_Module_Load_Path.
3579 2005-09-06 Tom Tromey <tromey@redhat.com>
3582 * testsuite/libjava.jni/pr23739.c: New file.
3583 * testsuite/libjava.jni/pr23739.java: New file.
3584 * testsuite/libjava.jni/pr23739.out: New file.
3585 * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
3586 * java/lang/reflect/natMethod.cc (invoke): Updated.
3587 * java/lang/natClass.cc (isAssignableFrom): Updated.
3588 (isInstance): Likewise.
3589 (_Jv_IsAssignableFrom): Reversed arguments.
3590 (_Jv_IsInstanceOf): Updated.
3591 (_Jv_CheckCast): Likewise.
3592 (_Jv_CheckArrayStore): Likewise.
3593 (_Jv_IsAssignableFromSlow): Reversed arguments.
3594 (_Jv_InterfaceAssignableFrom): Likewise.
3595 * link.cc (verify_type_assertions): Updated.
3596 * prims.cc (_Jv_CheckAccess): Updated.
3598 2005-09-05 Ranjit Mathew <rmathew@hotmail.com>
3600 Testsuite changes for PR java/23431.
3601 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
3603 * testsuite/libjava.compile/PR23431_1.java: New testcase.
3604 * testsuite/libjava.compile/PR23431_2.java: Likewise.
3605 * testsuite/libjava.compile/PR23431_1.xfail: New file.
3606 * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
3608 2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3611 * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
3612 -disableassertions and -da.
3614 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu>
3616 * configure.ac: Replace "*-*-darwin[0-7].*" with
3617 "*-*-darwin[[0-7]].*"
3618 * configure: Regenerate.
3620 2005-08-24 Andreas Tobler <a.tobler@schweiz.ch>
3622 * configure.ac (extra_ldflags_libjava): Enable -single_module only for
3624 * configure: Regenerate.
3626 2005-08-23 Roman Kennke <roman@kennke.org>
3628 * java/lang/Character.java
3629 (toChars(int)): New JDK1.5 method.
3630 (toChars(int, char[], int)): New JDK1.5 method.
3631 (charCount): New JDK1.5 method.
3632 (isSupplementaryCodePoint): New JDK1.5 method.
3633 (isValidCodePoint): New JDK1.5 method.
3635 2005-08-23 Tom Tromey <tromey@redhat.com>
3637 * aclocal.m4, Makefile.in: Rebuilt.
3638 * Makefile.am (property_files): Added META-INF files.
3639 (propertyo_files): Changed definition.
3640 ($(propertyo_files)): Updated patterns.
3642 2005-08-22 Tom Tromey <tromey@redhat.com>
3645 * configure: Rebuilt.
3646 * configure.ac: Correctly create Configuration.java (for
3649 2005-08-22 Kelley Cook <kcook@gcc.gnu.org>
3651 * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
3652 * acinclude.m4: Delete. Extract CHECK_FOR_BROKEN_MINGW_LD to ...
3653 * mingwld.m4: ... this new file.
3654 * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
3655 * include/Makefile.in, testsuite/Makfile.in: Regenerate.
3657 2005-08-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3660 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
3661 assignment. Cast operands of compare to function pointer type.
3663 2005-08-21 Tom Tromey <tromey@redhat.com>
3665 * HACKING: Updated for hacking classpath in libgcj.
3667 2005-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3670 * sysdep/pa/descriptor.h: New file.
3671 * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
3673 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
3675 * Makefile.am (extra_ldflags_libjava): New variable to
3677 (LIBLINK): Add extra_ldflags_libjava to it.
3678 * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
3679 "-Wl,-single_module".
3680 * Makefile.in: Regenerate.
3681 * aclocal.m4: Regenerate.
3682 * configure: Regenerate.
3683 * gcj/Makefile.in: Regenerate.
3684 * include/Makefile.in: Regenerate.
3685 * testsuite/Makefile.in: Regenerate.
3687 2005-08-17 Tom Tromey <tromey@redhat.com>
3689 * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
3691 * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
3692 * testsuite/libjava.lang/bclink.java: New file.
3693 * testsuite/libjava.lang/bclink.out: New file.
3694 * link.cc (print_class_loaded): Changed ABI test to look at
3695 various _syms fields.
3697 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch>
3699 * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
3700 15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
3702 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
3704 More testsuite adjustments for PR java/19870.
3705 * testsuite/libjava.lang/PR19870_2.java: New testcase.
3706 * testsuite/libjava.lang/PR19870_2.out: Expected output for the
3708 * testsuite/libjava.jacks/jacks.xfail: Remove
3709 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
3711 2005-08-16 Tom Tromey <tromey@redhat.com>
3713 * gnu/xml/xpath/XPathParser.y: Removed.
3715 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
3718 * java/lang/natObject.cc (clone): Clear sync_info.
3720 2005-07-26 Tom Tromey <tromey@redhat.com>
3722 * gnu/java/net/protocol/ftp/package.html,
3723 gnu/javax/swing/text/html/package.html,
3724 gnu/javax/swing/text/html/parser/package.html,
3725 gnu/javax/swing/text/html/parser/models/package.html,
3726 gnu/javax/swing/text/html/parser/support/package.html,
3727 gnu/javax/swing/text/html/parser/support/low/package.html,
3728 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
3729 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
3730 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
3731 java/awt/geom/doc-files/CubicCurve2D-1.png,
3732 java/awt/geom/doc-files/CubicCurve2D-2.png,
3733 java/awt/geom/doc-files/CubicCurve2D-3.png,
3734 java/awt/geom/doc-files/CubicCurve2D-4.png,
3735 java/awt/geom/doc-files/CubicCurve2D-5.png,
3736 java/awt/geom/doc-files/Ellipse-1.png,
3737 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
3738 java/awt/geom/doc-files/GeneralPath-1.png,
3739 java/awt/geom/doc-files/QuadCurve2D-1.png,
3740 java/awt/geom/doc-files/QuadCurve2D-2.png,
3741 java/awt/geom/doc-files/QuadCurve2D-3.png,
3742 java/awt/geom/doc-files/QuadCurve2D-4.png,
3743 java/awt/geom/doc-files/QuadCurve2D-5.png,
3744 javax/imageio/package.html, javax/imageio/event/package.html,
3745 javax/imageio/metadata/package.html,
3746 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
3747 javax/swing/border/doc-files/BevelBorder-1.png,
3748 javax/swing/border/doc-files/BevelBorder-2.png,
3749 javax/swing/border/doc-files/BevelBorder-3.png,
3750 javax/swing/border/doc-files/EmptyBorder-1.png,
3751 javax/swing/border/doc-files/EtchedBorder-1.png,
3752 javax/swing/border/doc-files/EtchedBorder-2.png,
3753 javax/swing/border/doc-files/LineBorder-1.png,
3754 javax/swing/border/doc-files/MatteBorder-1.png,
3755 javax/swing/border/doc-files/MatteBorder-2.png,
3756 javax/swing/border/doc-files/MatteBorder-3.png,
3757 javax/swing/border/doc-files/MatteBorder-4.png,
3758 javax/swing/border/doc-files/MatteBorder-5.png,
3759 javax/swing/border/doc-files/MatteBorder-6.png,
3760 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3761 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3762 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3763 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3764 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3765 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3766 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3767 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3768 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3769 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3770 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3771 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3772 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3773 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
3774 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3775 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3776 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3777 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3778 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3779 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3780 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
3781 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3782 javax/swing/plaf/doc-files/ComponentUI-1.png,
3783 javax/swing/plaf/doc-files/TreeUI-1.png,
3784 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
3785 javax/xml/parsers/package.html, javax/xml/transform/package.html,
3786 javax/xml/transform/dom/package.html,
3787 javax/xml/transform/sax/package.html,
3788 javax/xml/transform/stream/package.html,
3789 javax/xml/validation/package.html, javax/xml/xpath/package.html:
3792 2005-07-22 Tom Tromey <tromey@redhat.com>
3794 * include/Makefile.in: Rebuilt.
3795 * include/Makefile.am (tool_include__HEADERS): Include
3798 2005-07-20 Tom Tromey <tromey@redhat.com>
3800 * sources.am, Makefile.in: Rebuilt.
3801 * Makefile.am (all_xlib_lo_files): Removed.
3802 (all_libgcj_lo_files): Likewise.
3803 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
3804 (xlib_java_source_files): Removed.
3805 (xlib_nat_headers): Updated.
3806 * configure: Rebuilt.
3807 * configure.ac: Create standard.omit.
3808 * standard.omit.in: New file.
3809 * standard.omit: Removed.
3810 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
3812 (emit_package_rule): Special case xlib peers.
3813 (emit_source_var): Likewise.
3814 Read standard.omit.in.
3815 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
3817 2005-07-18 Tom Tromey <tromey@redhat.com>
3821 2005-07-19 Matthias Klose <doko@debian.org>
3823 * classpath/java/awt/im/InputContext.java (clinit): Initialize
3826 2005-07-18 Tom Tromey <tromey@redhat.com>
3829 * sources.am, Makefile.in: Rebuilt.
3830 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
3832 (emit_source_var): Don't emit patsubst with './'.
3834 2005-07-18 Tom Tromey <tromey@redhat.com>
3836 * Makefile.in: Rebuilt.
3837 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
3839 2005-07-17 Andreas Jaeger <aj@suse.de>
3841 * defineclass.cc (handleClassBegin): Remove unused variable.
3843 2005-07-16 Andreas Schwab <schwab@suse.de>
3845 * scripts/makemake.tcl (emit_package_rule): Emit command to create
3847 * Makefile.am (%.lo): Don't create it here.
3848 * sources.am, Makefile.in: Regenerated.
3850 2005-07-15 Tom Tromey <tromey@redhat.com>
3852 Major merge with Classpath.
3853 Removed many duplicate files.
3854 * HACKING: Updated.x
3855 * classpath: Imported new directory.
3856 * standard.omit: New file.
3857 * Makefile.in, aclocal.m4, configure: Rebuilt.
3858 * sources.am: New file.
3859 * configure.ac: Run Classpath configure script. Moved code around
3860 to support. Disable xlib AWT peers (temporarily).
3861 * Makefile.am (SUBDIRS): Added 'classpath'
3863 (AM_CPPFLAGS): Added more -I options.
3864 (BOOTCLASSPATH): Simplified.
3865 Completely redid how sources are built.
3867 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
3868 * include/jni.h: Removed (in Classpath).
3869 * scripts/classes.pl: Updated to look at built classes.
3870 * scripts/makemake.tcl: New file.
3871 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
3873 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3875 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
3877 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
3878 (eventMask): New field.
3879 (XCanvasPeer(Component)): Use attributes field.
3880 (setBackground): Implemented.
3881 (setEventMask): Process mask only if changed.
3882 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
3883 (eventLoopThread): New field.
3884 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
3885 (interrupt): Removed.
3887 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
3888 and Component events.
3889 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
3891 (configureNotify): Set and clear processingConfigureNotify.
3892 (setBounds): Process only if processingConfigureNotify is false.
3893 (toBack): Implemented.
3894 (toFront): Implemented.
3895 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
3896 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
3898 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
3899 (wakeNativeQueue): Do nothing.
3900 (iterateNativeQueue): Do queue.wait if blocking.
3901 * gnu/gcj/xlib/Font.java (loadFont): New method.
3902 (loadFontImpl): Renamed native method, was loadFont.
3903 * gnu/gcj/xlib/Window.java (toFront): New method.
3904 (toBack): New method.
3905 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
3907 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
3908 (toFront): New method.
3909 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
3911 2005-07-14 Andrew Haley <aph@redhat.com>
3913 * gnu/java/net/protocol/file/Connection.java (unquote): New
3915 (connect): Unquote filename.
3916 gnu/java/net/protocol/jar/Connection.java (getInputStream):
3918 (getJarFile): Likewise.
3920 * java/net/URLConnection.java (getContentHandler): Guard cast with
3923 * java/net/URL.java (URL): If the file part of a spec is absolute,
3924 ignore the file part of its context.
3926 2005-07-14 Aaron Luchko <aluchko@redhat.com>
3928 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
3929 Implemented VirtualMachine Command Set.
3931 2005-07-14 Tom Tromey <tromey@redhat.com>
3933 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
3936 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3938 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
3939 Implemented the Field CommandSet.
3940 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
3941 Implemented the InterfaceType CommandSet.
3943 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3945 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
3946 shutdown to jdwp instead of connection.
3948 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3950 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
3953 2005-07-08 Colin Walters <walters@verbum.org>
3955 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
3956 check for abstract classes or interfaces here; JVM spec
3957 says it should throw an exception, so we'll do so later.
3958 * interpret.cc (run): Throw an InstantiationException for
3959 abstract classes and interfaces.
3961 2005-07-08 Andrew Haley <aph@redhat.com>
3963 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
3964 (regular, non-realtime scheduling), not SCHED_RR (realtime,
3967 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3969 * gnu/classpath/jdwp/util/Signature.java
3970 (computeFieldSignature): New Method.
3972 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3974 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
3977 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3979 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
3980 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
3982 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3984 * testsuite/libjava.compile/PR21045.java: New test.
3985 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
3986 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
3988 2005-07-06 Tom Tromey <tromey@redhat.com>
3990 * java/io/InputStreamReader.java (refill): Handle no-progress
3992 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
3994 2005-07-06 Tom Tromey <tromey@redhat.com>
3996 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
3998 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
4000 * testsuite/libjava.compile/PR19674.java: New test.
4002 2005-07-05 Aaron Luchko <aluchko@redhat.com>
4004 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
4007 2005-07-04 Aaron Luchko <aluchko@redhat.com>
4009 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
4010 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
4011 CommandSets to handle JdwpCommandPackets.
4012 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
4015 2005-07-01 Tom Tromey <tromey@redhat.com>
4017 * libtool-version: Updated.
4019 2005-06-30 Aaron Luchko <aluchko@redhat.com>
4021 * gnu/classpath/jdwp/util/JdwpString.java: New file.
4023 2005-06-30 Keith Seitz <keiths@redhat.com>
4025 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
4026 (myWrite): New abstract method.
4028 (myToBytes): Remove.
4029 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
4031 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
4033 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
4034 JdwpPacket.write instead of JdwpPacket.toBytes.
4036 2005-06-30 Keith Seitz <keiths@redhat.com>
4038 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
4040 (_bytes): New member.
4041 (_doStream): New member.
4042 (JdwpConnection): Initialize new members.
4044 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
4046 * all files: Update for new FSF address.
4048 2005-06-29 Tom Tromey <tromey@redhat.com>
4051 * testsuite/libjava.lang/pr22211.java: New file.
4052 * java/lang/natThread.cc (finish_): Synchronize when updating