1 2006-10-11 Tom Tromey <tromey@redhat.com>
3 * Makefile.in: Rebuilt.
4 * Makefile.am (install-data-local): Use mkinstalldirs.
6 2006-10-10 Tom Tromey <tromey@redhat.com>
8 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
9 Removed obsolete comment.
11 2006-10-10 Keith Seitz <keiths@redhat.com>
13 * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
14 (_Jv_InterpMethod::set_insn): Declare.
15 * interpret.cc (_Jv_InterpMethod::get_insn): New method.
16 (_Jv_InterpMethod::get_insn): New method.
18 2006-10-10 Tom Tromey <tromey@redhat.com>
20 * prims.cc (_Jv_PrependVersionedLibdir): Use
21 _Jv_platform_path_separator.
23 2006-10-10 Tom Tromey <tromey@redhat.com>
26 * Makefile.in: Rebuilt.
27 * Makefile.am (install-data-local): Install the .pc file.
28 (pkgconfig_DATA): Removed.
30 2006-10-03 Gary Benson <gbenson@redhat.com>
32 * java/net/InetAddress.java
33 (<clinit>): Reorder the static initializers.
35 2006-10-02 Gary Benson <gbenson@redhat.com>
37 * java/net/InetAddress.java
38 (checkConnect): Reinstated.
39 (loopbackAddress): Ensure initialized from non-null object.
41 2006-09-30 Keith Seitz <keiths@redhat.com>
43 * include/java-interp.h (prepared): Change type to pc_t.
44 (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
45 * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
46 (insn_index): Implement for bytecode interpreter.
47 * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
48 qualifier to resolve_pool_entry.
49 [!DIRECT_THREADED] (AVAL2U): Likewise.
50 [!DIRECT_THREADED] bytecode() cannot be called without an object.
52 [!DIRECT_THREADED] Likewise for defining_class.
54 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu>
57 * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
58 if HAVE_GETIPINFO not defined.
59 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
60 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
61 * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
62 * aclocal.m4, configure, include/config.h.in, Makefile.in:
65 2006-09-27 Tom Tromey <tromey@redhat.com>
67 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
68 * java/util/Locale.java (hashcode): No longer transient.
69 (writeObject): Use ObjectOutputStream.PutField and
71 (readObject): Use defaultReadObject.
73 2006-09-25 Keith Seitz <keiths@redhat.com>
75 * gnu/classpath/jdwp/VMVirtualMachine.java
76 (_jdwp_suspend_counts): New private variable.
77 * gnu/classpath/jdwp/natVMVirtualMachine.cc
78 (initialize): Initialize _jdwp_suspend_counts.
79 (suspendThread): Implement.
80 (resumeThread): Implement.
81 (getSuspendCount): Implement.
83 2006-09-22 Marco Trudel <mtrudel@gmx.ch>
85 * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL.
87 2006-09-21 Keith Seitz <keiths@redhat.com>
89 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
91 (check_enabled_event): New function.
92 (check_enabled_events): New function.
93 (post_event): New function.
94 (_Jv_JVMTI_SetEventNotificationMode): New function.
95 (_Jv_JVMTI_SetEventCallbacks): New function.
96 (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
97 SetEventCallbacks members.
98 * include/jvmti-int.h: New file.
99 * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
100 (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
101 * testsuite/libjava.jvmti/events.java: New file.
102 * testsuite/libjava.jvmti/events.out: New file.
103 * testsuite/libjava.jvmti/natevents.cc: New file.
105 2006-09-21 Sandro Tolaini <tolaini@libero.it>
107 * configure.ac: Don't use darwin-signal.h as signal handler for
109 * configure.host: Enable Darwin/i386 as a supported host, with no
112 2006-09-20 Keith Seitz <keiths@redhat.com>
114 * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
115 and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
116 (_Jv_JVMTI_GetClassMethods): Likewise.
117 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
118 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
119 (_Jv_JVMTI_GetSystemProperty): Likewise.
121 2006-09-20 Keith Seitz <keiths@redhat.com>
123 * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
124 (_Jv_JVMTI_Interface): Define GetErrorName member.
125 * testsuite/libjava.jvmti/geterrorname.java: New file.
126 * testsuite/libjava.jvmti/geterrorname.out: New file.
127 * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
129 2006-09-20 Gary Benson <gbenson@redhat.com>
131 * java/net/InetAddress.java: Mostly merged with Classpath.
132 * java/net/VMInetAddress.java: New file.
133 * sources.am, Makefile.in: Rebuilt.
135 * java/net/natVMNetworkInterfacePosix.cc
136 (getInterfaces): Create InetAddress objects using
137 InetAddress.getByAddress.
138 * gnu/java/net/natPlainSocketImplPosix.cc
139 (accept, getOption): Likewise.
140 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
141 (peekData, receive, getLocalAddress): Likewise.
143 2006-09-19 Keith Seitz <keiths@redhat.com>
145 * testsuite/libjava.jvmti/jvmti.exp: New file.
147 2006-09-19 Keith Seitz <keiths@redhat.com>
149 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
150 (THREAD_CHECK_VALID): Likewise.
151 (THREAD_CHECK_ALIVE): Likewise.
152 (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
154 (_Jv_JVMTI_ResumeThread): Likewise.
155 (_Jv_JVMTI_InterruptThread): Likewise.
157 (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
160 2006-09-19 Mark Wielaard <mark@klomp.org>
163 * java/util/logging/LogManager.java (addLogger): Always check for
164 existing children of a new Logger.
166 2006-09-19 Tom Tromey <tromey@redhat.com>
168 * java/util/logging/LogManager.java: Re-merged with Classpath.
170 2006-09-18 Tom Tromey <tromey@redhat.com>
172 * configure: Rebuilt.
174 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
176 * configure.host: Handle kfreebsd.
178 2006-09-18 Petr Salinger <Petr.Salinger@seznam.cz>
180 * configure: Rebuilt.
181 * shlibpath.m4: Handle GNU/kFreeBSD.
183 2006-09-14 Tom Tromey <tromey@redhat.com>
186 * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
187 (_Jv_GCDetachThread): Likewise.
189 2006-09-14 Andreas Schwab <schwab@suse.de>
191 * posix-threads.cc: Include "posix.h".
193 2006-09-13 Geoffrey Keating <geoffk@apple.com>
195 * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
196 microseconds; use gettimeofday when available.
197 * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
199 * testsuite/libjava.lang/Thread_Sleep_2.java: New.
200 * testsuite/libjava.lang/Thread_Sleep_2.out: New.
201 * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
203 2006-09-12 Tom Tromey <tromey@redhat.com>
206 * testsuite/libjava.lang/PR29013.out: Likewise.
207 * testsuite/libjava.lang/PR29013.java: New file.
209 2006-09-12 Tom Tromey <tromey@redhat.com>
211 * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
213 2006-09-07 Matthias Klose <doko@debian.org>
215 * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
216 * Makefile.in: Regenerate.
218 2006-09-06 Keith Seitz <keiths@redhat.com>
220 * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
221 to _Jv_MethodBase instead of _Jv_InterpMethod.
222 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
223 Do not check access flags.
224 Fix some minor style anomalies.
226 2006-09-01 Geoffrey Keating <geoffk@apple.com>
228 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
229 Pass -lgcj to linker for C++ files on Darwin.
231 2006-09-01 Keith Seitz <keiths@redhat.com>
233 * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
234 (THREAD_CHECK_VALID): Likewise.
235 (THREAD_CHECK_IS_ALIVE): Likewise.
236 (NULL_CHECK): Likewise.
237 (ILLEGAL_ARGUMENT): Likewise.
239 2006-09-01 Keith Seitz <keiths@redhat.com>
241 * include/jvm.h (_Jv_JVMTI_Init): Declare.
242 * jvmti.cc (_Jv_JVMTI_Init): New function.
243 * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
245 * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
246 (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
248 * jvmti.cc (_jvmtiEnvironments): New linked list of
250 (FOREACH_ENVIRONMENT): New macro.
251 (_envListLock): New object to act as synchronization lock
252 for _jvmtiEnvironments.
253 (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
254 Remove the environment from the list of known environments.
255 (_Jv_GetJVMTIEnv): Add the new environment to the list
256 of known environments.
258 2006-09-01 Gary Benson <gbenson@redhat.com>
260 * java/net/InetAddress.java (getLocalHost): Refactor to avoid
261 security check if getLocalHostname() fails and to provide more
262 meaningful exceptions it the security check fails.
264 2006-09-01 Gary Benson <gbenson@redhat.com>
266 * java/net/InetAddress.java (getByAddress): Create Inet4Address
267 objects when passed IPv4-mapped IPv6 addresses.
268 (getByName, getAllByName): Defer to the above to ensure that the
269 correct Inet*Address objects are returned.
271 2006-09-01 Gary Benson <gbenson@redhat.com>
273 * java/net/InetAddress.java (getByName, getAllByName):
274 Only perform security check when DNS lookups are required.
276 2006-08-31 Keith Seitz <keiths@redhat.com>
278 * include/jvmti_md.h: New file.
280 * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
281 Pass millis to _Jv_CondWait.
283 2006-08-31 Tom Tromey <tromey@redhat.com>
286 * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive
289 2006-08-24 Keith Seitz <keiths@redhat.com>
291 * prims.cc (remoteDebug): New global.
292 (jdwpOptions): New global.
293 (parse_x_arg): Add processing for "X" options "debug" and
295 (_Jv_RunMain): If debugging, start up JDWP backend.
296 Send VM_INIT and VM_DEATH when appropriate.
298 2006-08-23 Keith Seitz <keiths@redhat.com>
300 * gnu/classpath/jdwp/VMVirtualMachine.java
301 (initialize): Declare.
302 * gnu/classpath/jdwp/natVMVirtualMachine.cc
303 (initialize): Get and save JVMTI environment.
305 2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
308 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
309 Set gnu.classpath.home.url to TOOLEXECLIBDIR.
310 * configure.ac: Do not add --with-native-libdir to
312 * java/security/libgcj.security: Remove file.
313 * java/util/logging/logging.properties: Likewise.
314 * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
315 * classpath/resource/Makefile.am (loggingdir): Define to
317 (securitydir): Likewise.
318 * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
319 Set default nativeexeclibdir using toolexeclibdir.
320 * HACKING: Fix classpath aclocal arguments.
321 * Makefile.am (secdir): Remove variable.
323 (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
325 (all_property_files): Remove variable.
326 (install-data-local): Do not install libgcj.security or
328 * configure, Makefile.in, classpath/configure,
329 classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
330 classpath/native/jni/midi-alsa/Makefile.in,
331 classpath/native/jni/classpath/Makefile.in,
332 classpath/native/jni/midi-dssi/Makefile.in,
333 classpath/native/jni/Makefile.in,
334 classpath/native/jni/java-nio/Makefile.in,
335 classpath/native/jni/java-net/Makefile.in,
336 classpath/native/jni/gconf-peer/Makefile.in,
337 classpath/native/jni/java-io/Makefile.in,
338 classpath/native/jni/xmlj/Makefile.in,
339 classpath/native/jni/java-util/Makefile.in,
340 classpath/native/jni/qt-peer/Makefile.in,
341 classpath/native/jni/gtk-peer/Makefile.in,
342 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
343 classpath/native/target/Linux/Makefile.in,
344 classpath/native/target/Makefile.in,
345 classpath/native/target/generic/Makefile.in,
346 classpath/native/fdlibm/Makefile.in,
347 classpath/native/plugin/Makefile.in,
348 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
349 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
350 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
351 classpath/external/Makefile.in,
352 classpath/external/sax/Makefile.in,
353 classpath/external/w3c_dom/Makefile.in,
354 classpath/external/relaxngDatatype/Makefile.in,
355 classpath/include/Makefile.in, classpath/aclocal.m4,
356 classpath/examples/Makefile.in, aclocal.m4: Regenerate.
358 2006-08-21 Bryce McKinlay <mckinlay@redhat.com>
360 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
362 (_Jv_DetachCurrentThread): Detach thread from GC.
363 * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
365 * boehm.cc (_Jv_GCAttachThread): New function.
366 (_Jv_GCDetachThread): Likewise.
368 2006-08-19 Ranjit Mathew <rmathew@gcc.gnu.org>
370 * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
371 as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
374 2006-08-17 H.J. Lu <hongjiu.lu@intel.com>
376 * Makefile.am (install-exec-hook): Support $(DESTDIR).
377 * Makefile.in: Regenerated.
379 2006-08-16 Tom Tromey <tromey@redhat.com>
381 * libtool-version: Updated.
383 2006-08-16 Jakub Jelinek <jakub@redhat.com>
384 Bryce McKinlay <bryce@mckinlay.net.nz>
386 * configure, Makefile.in: Rebuilt.
387 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
388 (libgcj_bc_la_SOURCES): New variable.
389 (libgcj_bc_la_LDFLAGS): Likewise.
390 (libgcj_bc_la_LIBADD): Likewise.
391 (libgcj_bc_la_DEPENDENCIES): Likewise.
392 (libgcj_bc_la_LINK): Likewise.
393 (libgcj_bc_dummy_LINK): Likewise.
394 (libgcj_bc.la): New target.
395 (install-exec-hook): Likewise.
396 * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
397 * libgcj_bc.c: New file.
398 * configure.ac (LIBGCJ_SPEC): New subst.
399 * configure.host (use_libgcj_bc): New variable.
401 2006-08-15 Kyle Galloway <kgallowa@redhat.com>
403 * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
404 * interpret.cc: Added placeholder for debug variable type info to STORE*
406 (_Jv_InterpMethod::run_debug): New method.
407 (_Jv_InterpMethod::run_sync_object_debug): New method.
408 (_Jv_InterpMethod::run_sync_class_debug): New method.
409 (_Jv_InterpMethod::run_normal_debug): New method.
410 (_Jv_InterpMethod::run_class_debug): New method.
411 (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
412 versions of these functions.
413 * interpret-run.cc: New file, holds contents of old
414 _Jv_InterpMethod::run method.
415 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
416 appropriate function for debug or normal mode.
418 2006-08-14 Mark Wielaard <mark@klomp.org>
420 Imported GNU Classpath 0.92
421 * HACKING: Add more importing hints. Update automake version
424 * configure.ac (gconf-peer): New enable AC argument.
425 Add --disable-gconf-peer and --enable-default-preferences-peer
426 to classpath configure when gconf is disabled.
427 * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
428 gnu/java/awt/dnd/peer/gtk to bc. Classify
429 gnu/java/security/Configuration.java as generated source file.
431 * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
432 gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
433 gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
434 gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
435 gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
436 gnu/java/lang/management/VMThreadMXBeanImpl.java,
437 gnu/java/lang/management/VMMemoryMXBeanImpl.java,
438 gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
440 * java/lang/management/VMManagementFactory.java: Likewise.
441 * java/net/VMURLConnection.java: Likewise.
442 * gnu/java/nio/VMChannel.java: Likewise.
444 * java/lang/Thread.java (getState): Add stub implementation.
445 * java/lang/Class.java (isEnum): Likewise.
446 * java/lang/Class.h (isEnum): Likewise.
448 * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
450 * javax/naming/spi/NamingManager.java: New override for StackWalker
453 * configure, sources.am, Makefile.in, gcj/Makefile.in,
454 include/Makefile.in, testsuite/Makefile.in: Regenerated.
456 2006-08-14 Gary Benson <gbenson@redhat.com>
458 * java/lang/Thread.java (accessControlState): New field.
459 * java/security/VMAccessControlState.java: New file.
460 * java/security/natVMAccessControlState.cc: Likewise.
461 * java/security/VMAccessController.java
462 (contexts, inGetContext): Removed.
463 (pushContext, popContext, getContext): Use VMAccessControlState.
464 * Makefile.am (nat_source_files): Updated.
465 * sources.am, Makefile.in: Rebuilt.
467 2006-08-10 Gary Benson <gbenson@redhat.com>
469 * include/java-stack.h (GetAccessControlStack): Change return
471 * stacktrace.cc (accesscontrol_trace_fn): Record the number of
472 Java frames encountered.
473 (GetAccessControlStack): Return a flag indicating whether a call to
474 doPrivileged was encountered rather than an array of method names.
475 * java/security/natVMAccessController.cc (getStack): Change return
477 * java/security/VMAccessController.java (getStack): Likewise.
478 (getContext): Change to reflect the above.
480 2006-08-09 Gary Benson <gbenson@redhat.com>
482 * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
484 2006-08-09 Gary Benson <gbenson@redhat.com>
486 * java/lang/System.java (setSecurityManager): Javadoc fix.
487 * java/security/VMAccessController.java (getContext): Comment fix.
489 2006-08-09 Gary Benson <gbenson@redhat.com>
491 * include/java-stack.h (accesscontrol_trace_fn): Declare.
492 (GetAccessControlStack): Likewise.
493 (GetClassMethodStack): Remove.
494 * stacktrace.cc (accesscontrol_trace_fn): New method.
495 (GetAccessControlStack): Likewise.
496 (GetClassMethodStack): Remove.
497 * java/security/natVMAccessController.cc (getStack): Use
498 GetAccessControlStack.
500 2006-08-07 Gary Benson <gbenson@redhat.com>
503 * java/lang/ClassLoader.java (clinit): Install a default
504 security manager if java.security.manager is defined.
505 (getParent, getSystemClassLoader): Use the correct stack
506 frame during security checks.
507 * java/net/URLClassLoader.java (findClass): Avoid calling
508 this.toString() during VM initialization.
509 (runtimeInitialized): New method.
510 * java/net/natURLClassLoader.cc: New file.
511 * Makefile.am (nat_source_files): Added the above.
512 * Makefile.in: Rebuilt.
514 2006-08-07 Gary Benson <gbenson@redhat.com>
515 Casey Marshall <csm@gnu.org>
517 * java/lang/SecurityManager.java (getSecurityContext,
518 checkPermission, checkAccess, checkRead, checkConnect,
519 checkPackageAccess, checkPackageDefinition, checkPackageList):
520 Merge with Classpath.
521 (SecurityContext): Remove.
523 2006-08-07 Gary Benson <gbenson@redhat.com>
525 * java/security/VMAccessController.java (pushContext, popContext,
526 getContext): Use Thread.currentThread() to determine when we're
528 (runtimeInitialized): Remove.
529 * java/security/natVMAccessController.cc (runtimeInitialized):
532 2006-08-06 Tom Tromey <tromey@redhat.com>
535 * configure, include/config.h.in: Rebuilt.
536 * configure.ac: Look for ifaddrs.h, getifaddrs.
537 * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
538 getifaddrs if available.
540 2006-08-06 Tom Tromey <tromey@redhat.com>
543 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
545 (disconnect): Likewise.
546 (send): Handle already-connected case.
548 2006-08-04 Mark Wielaard <mark@klomp.org>
550 * jvmti.cc: Include gcj/method.h.
552 2006-08-04 Tom Tromey <tromey@redhat.com>
554 * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
555 (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
556 result to _Jv_uintptr_t.
558 2006-08-01 Keith Seitz <keiths@redhat.com>
560 * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
561 * gnu/classpath/jdwp/VMIdManager.java: Likewise.
562 * gnu/classpath/jdwp/VMMethod.java: Likewise.
563 * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
564 * gnu/classpath/jdwp/natVMFrame.java: New file.
565 * gnu/classpath/jdwp/natVMMethod.java: New file.
566 * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
567 * Makefile.am (nat_source_files): Add new filles.
568 * Makefile.in: Regenerated.
570 2006-08-03 Tom Tromey <tromey@redhat.com>
572 * jvmti.cc (REQUIRE_PHASE): New macro.
573 (_Jv_JVMTI_InterruptThread): New function.
574 (_Jv_JVMTI_CreateRawMonitor): Likewise.
575 (_Jv_JVMTI_DestroyRawMonitor): Likewise.
576 (_Jv_JVMTI_RawMonitorEnter): Likewise.
577 (_Jv_JVMTI_RawMonitorExit): Likewise.
578 (_Jv_JVMTI_RawMonitorWait): Likewise.
579 (_Jv_JVMTI_RawMonitorNotify): Likewise.
580 (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
581 (_Jv_JVMTI_Allocate): Likewise.
582 (_Jv_JVMTI_Deallocate): Likewise.
583 (_Jv_JVMTI_GetClassModifiers): Likewise.
584 (_Jv_JVMTI_GetClassMethods): Likewise.
585 (_Jv_JVMTI_IsInterface): Likewise.
586 (_Jv_JVMTI_IsArrayClass): Likewise.
587 (_Jv_JVMTI_GetClassLoader): Likewise.
588 (_Jv_JVMTI_GetObjectHashCode): Likewise.
589 (_Jv_JVMTI_GetFieldModifiers): Likewise.
590 (_Jv_JVMTI_IsFieldSynthetic): Likewise.
591 (_Jv_JVMTI_GetMethodModifiers): Likewise.
592 (_Jv_JVMTI_IsMethodNative): Likewise.
593 (_Jv_JVMTI_IsMethodSynthetic): Likewise.
594 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
595 (_Jv_JVMTI_ForceGarbageCollection): Likewise.
596 (_Jv_JVMTI_GetSystemProperty): Likewise.
597 (_Jv_JVMTI_SetSystemProperty): Likewise.
598 (_Jv_JVMTI_GetTime): Likewise.
599 (_Jv_JVMTI_GetAvailableProcessors): Likewise.
600 (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
601 (_Jv_JVMTI_SetVerboseFlag): Likewise.
602 (_Jv_JVMTI_GetObjectSize): Likewise.
603 (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
604 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
605 (_Jv_JVMTI_Interface): Updated.
606 (NULL_CHECK): New macro.
608 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
611 * include/no-threads.h: Declare _Jv_Thread_t as empty class.
613 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>
615 * gnu/classpath/natSystemProperties.cc: Add additional check for
616 getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
617 (SystemProperties::insertSystemProperties): Likewise.
618 * java/io/natFilePosix.cc (File::performList): Add
619 additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
620 * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
621 additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
623 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
626 * classpath/native/jni/midi-alsa/Makefile.am
627 (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
628 * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
629 * classpath/native/jni/midi-dssi/Makefile.am
630 (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
631 * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
632 * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
634 (libqtpeer_la_LDFLAGS): Add -avoid-version.
635 * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
636 * classpath/native/jni/gtk-peer/Makefile.am
637 (libgtkpeer_la_LDFLAGS): Add -avoid-version.
638 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
639 * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
641 * classpath/native/jawt/Makefile.in: Regenerate.
642 * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
643 * Makefile.in: Regenerate.
645 2006-07-28 Andrew Haley <aph@redhat.com>
647 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
648 curLoader to VMClassLoader::bootLoader.
650 2006-07-28 Gary Benson <gbenson@redhat.com>
651 Casey Marshall <csm@gnu.org>
654 * include/java-stack.h (GetClassMethodStack): Declare.
655 * stacktrace.cc (GetClassMethodStack): New method.
656 * java/security/AccessController.java: Removed.
657 * java/security/VMAccessController.java: New file.
658 * java/security/natVMAccessController.cc: Likewise.
659 * Makefile.am (nat_source_files): Added the above.
660 * sources.am, Makefile.in: Rebuilt.
662 2006-07-28 Gary Benson <gbenson@redhat.com>
664 * java/lang/SecurityManager.java (currentClassLoader,
665 currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
666 checkWrite, checkTopLevelWindow, checkPrintJobAccess,
667 checkSystemClipboardAccess, checkAwtEventQueueAccess,
668 checkPackageList): Remerged javadoc.
670 2006-07-28 Gary Benson <gbenson@redhat.com>
672 * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
673 from the start to the end of the function. Remove references
674 to VMThrowable.trace_enabled.
675 * java/lang/natVMThrowable.cc (fillInStackTrace): Use
676 runtimeInitialized rather than trace_enabled to decide
677 whether to inhibit stack trace generation.
678 * java/lang/VMThrowable.java (trace_enabled): Removed.
680 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
682 * include/win32-threads.h (_Jv_Thread_t): Explicitly
685 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
687 * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
689 (_Jv_JVMTI_ResumeThread): Likewise.
690 (_Jv_JVMTI_DisposeEnvironment): Likewise.
692 2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
694 * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
695 SockAddr before using - needed for OS X/PPC.
697 2006-07-21 Keith Seitz <keiths@redhat.com>
699 * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
701 (_Jv_ResumeThread): Likewise.
702 * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
703 _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
705 * include/posix-threads.h: Likewise.
706 * win32-threads.cc: Likewise.
707 * include/win32-threads.h: Likewise.
708 * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
709 (_Jv_JVMTI_ResumeThread): New function.
710 (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
712 2006-07-21 David Daney <ddaney@avtrex.com>
715 * configure: Regenerated.
717 2006-07-21 Mark Wielaard <mark@klomp.org>
719 * java/io/OutputStreamWriter.java (flush): Create work if null.
721 2006-07-21 Keith Seitz <keiths@redhat.com>
723 * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
724 * Makefile.am (java/lang/Thread.h): Add friend function
726 * Makefile.in: Regenerate.
728 2006-07-20 Keith Seitz <keiths@redhat.com>
730 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
731 (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
733 2006-07-20 Keith Seitz <keiths@redhat.com>
735 * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
736 * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
737 * jvmti.cc: New file.
738 * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
739 * Makefile.in: Regenerate.
741 2006-07-20 David Daney <ddaney@avtrex.com>
743 * configure.host: Enable the interpreter for mipsel-* and mips-*.
745 2006-07-20 David Daney <ddaney@avtrex.com>
747 * include/mips-signal.h: Update copyright.
748 (struct kernel_sigaction): Removed.
749 (SIGNAL_HANDLER): Changed prototype.
750 (MAKE_THROW_FRAME): Added cast.
751 (INIT_SEGV): Use sigaction instead of syscall.
752 (INIT_FPE): Likewise.
754 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
756 * configure: Regenerate.
758 2006-07-18 Gary Benson <gbenson@redhat.com>
760 * java/io/File.java (deleteOnExit): Fix security check.
762 2006-07-14 Anthony Green <green@redhat.com>
764 * java/io/natFilePosix.cc (performSetLastModified): Return true on
765 success, false otherwise.
767 2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
769 * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
771 (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
773 (_Jv_StackTrace::GetClassContext): Unconditionally use
775 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
776 * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
777 (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
778 (_Unwind_GetRegionStart): Likewise.
779 (_Unwind_Backtrace): Likewise.
780 (fallback_backtrace): Accept additional unwind trace function
781 argument. Call it during unwinding. Stop when any of _Jv_RunMain(),
782 _Jv_ThreadStart() or main() is seen during unwinding.
783 * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
784 additional unwind trace function argument.
786 2006-07-14 Gary Benson <gbenson@redhat.com>
788 * java/io/File.java (internalExists): New method.
789 (exists): Use internalExists.
790 (internalIsDirectory): New method.
791 (isDirectory): Use internalIsDirectory.
792 (createTempFile): Use internalExists and internalIsDirectory.
794 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
796 * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
798 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
800 * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
801 (_Jv_InterpMethod::run): SAVE_PC before executing any instruction
802 using resolve_pool_entry, as it can throw. Likewise for div/rem ops
803 that can throw ArithmeticException.
805 2006-07-12 Gary Benson <gbenson@redhat.com>
807 * java/io/File.java (renameTo): Fix security checks.
809 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
812 * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
813 looking up line number for interpreted frame.
815 2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
816 Geoffrey Keating <geoffk@apple.com>
818 * testsuite/libjava.lang/StackTrace2.java: Renamed from
819 StackTrace.java. Changed class name.
820 * testsuite/libjava.lang/StackTrace2.out: Renamed from
821 StackTrace.out. Updated for new class name.
823 2006-07-07 Ranjit Mathew <rmathew@gcc.gnu.org>
825 * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
826 prologue to determine its beginning. Stop unwinding when we reach
829 2006-07-07 Gary Benson <gbenson@redhat.com>
831 * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
832 * Makefile.in: Regenerate.
834 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
836 * stacktrace.cc (ClassForFrame): Remove commented-out code.
837 (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
839 (getLineNumberForFrame): Don't adjust IP here.
840 * testsuite/libjava.lang/StackTrace.java: New test case.
841 * testsuite/libjava.lang/StackTrace.out: Ditto.
843 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
845 * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
846 -fno-indirect-classes.
847 * Makefile.in: Regenerate.
848 * gcj/Makefile.in: Regenerate.
849 * include/Makefile.in: Regenerate.
850 * testsuite/Makefile.in: Regenerate.
852 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
854 * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
856 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
858 * configure.ac (ac_configure_args): Add --with-native-libdir.
859 * configure: Regenerate.
860 * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
862 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
863 * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
864 * classpath/native/jawt/Makefile.in: Regenerate.
865 * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
866 * classpath/native/plugin/Makefile.in: Regenerate.
868 2006-07-05 Ranjit Mathew <rmathew@gcc.gnu.org>
869 Danny Smith <dannysmith@users.sourceforge.net>
871 * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
873 * configure.ac: Allow targets to affect the spec for startfile
874 by specifying a THREADSTARTFILESPEC variable. Define this for
875 the win32 threads package to include crtmt.o.
876 * configure: Regenerate.
877 * win32.cc (_CRT_MT): Remove definition.
878 (__mingwthr_key_dtor): Likewise.
880 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
882 * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
886 * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
887 * include/win32.h (_Jv_platform_dladdr): Likewise.
888 * posix.cc (_Jv_platform_dladdr): Likewise.
889 * win32.cc (_Jv_platform_dladdr): Likewise.
891 * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
892 instead of libgcj-*.jar.
894 2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
897 * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
899 * Makefile.in: Regenerate.
901 2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
903 * classpath/tools/Makefile.am: Comment out tools wrapper creation.
904 (TOOLS_ZIP): Rename tools.zip tools.jar.
905 (noinst_DATA): Do not install tools.jar.
906 * classpath/tools/Makefile.in: Regenerate.
907 * classpath/Makefile.am (SUBDIRS): Add tools.
908 (DIST_SUBDIRS): Likewise.
909 * classpath/Makefile.in: Regenerate.
910 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
911 (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
912 (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
913 Add build logic for libgcj-tools.la,
914 libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
916 * Makefile.in: Regenerate.
918 2006-06-29 Ranjit Mathew <rmathew@gcc.gnu.org>
920 * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
922 * include/java-stack.h: Include stdlib.h.
923 (_Jv_AddrInfo): New structure to hold address information.
924 * include/posix.h (_Jv_platform_dladdr): Declare.
925 * include/win32.h (_Jv_platform_dladdr): Declare.
926 (backtrace): Remove declaration.
927 * posix.cc: Include dlfcn.h if available. Include java-stack.h.
928 (_Jv_platform_dladdr): Define.
929 * win32.cc: Include string.h. Include java-stack.h.
931 (_Jv_platform_dladdr): Define.
932 * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
933 frame pointer value is 32-bit word-aligned. Use operand of the CALL
934 instruction calling the current function to find its starting address.
935 * stacktrace.cc: Do not include dlfcn.h. Include platform.h.
936 (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
938 (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
939 (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
940 targets with SJLJ exceptions instead of using _Unwind_Backtrace().
941 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
943 2006-06-27 Tom Tromey <tromey@redhat.com>
945 * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
946 Set 'out.count' earlier.
947 (close): Call setFinished on converter.
948 (flush): Always write work buffer.
949 * java/io/PrintStream.java (writeChars): Do 'do' loop.
950 (close): Call setFinished on converter. Write a 'flush' array.
951 * java/lang/natString.cc (getBytes): Call setFinished on
953 * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
955 (write): Set hasBytes. Changed 'finished' logic.
956 (havePendingBytes): Rewrote.
957 (setFinished): New method.
958 * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
959 * testsuite/libjava.lang/RH194522.java: New file.
960 * testsuite/libjava.lang/RH194522.out: New file.
962 2006-06-27 Marco Trudel <mtrudel@gmx.ch>
964 * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
965 conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
966 !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
968 2006-06-27 Tom Tromey <tromey@redhat.com>
971 * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
972 (_Jv_JNI_DeleteGlobalRef): Likewise.
973 * testsuite/libjava.jni/PR28178.java: New file.
974 * testsuite/libjava.jni/PR28178.c: New file.
975 * testsuite/libjava.jni/PR28178.out: New file.
977 2006-06-26 Keith Seitz <keiths@redhat.com>
979 * include/posix-threads.h: Fix coding style aberrations from
981 * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
982 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
983 * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
985 2006-06-26 Keith Seitz <keiths@redhat.com>
987 * include/no-gc.h (_Jv_SuspendThread): Declare.
988 (_Jv_ResumeThread): Likewise.
989 * include/boehm-gc.h (_Jv_SuspendThread): Declare.
990 (_Jv_ResumeThread): Likewise.
991 * nogc.cc (_Jv_SuspendThread): New function.
992 (_Jv_ResumeThread): Likewise.
993 * boehm.cc (_Jv_SuspendThread): New function.
994 (_Jv_ResumeThread): Likewise.
996 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
998 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
999 Link against -ljvm, not -lgcj.
1001 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1003 * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1005 * Makefile.in: Regenerate.
1007 2006-06-22 Tom Tromey <tromey@redhat.com>
1009 * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1010 field when it is accessible.
1012 2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
1014 * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
1015 (_Jv_GetPlatformThreadID): New function.
1016 * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1017 (_Jv_GetPlatformThreadID): New function.
1019 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>
1021 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1022 Bump "java.class.version" to 48.0.
1024 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
1026 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1029 * Makefile.in: Regenerate.
1030 * jni.cc (the_vm): Rename and export as ...
1031 (_Jv_the_vm): New exported symbol.
1032 (_Jv_JNI_AttachCurrentThread): Export.
1033 (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1035 (_Jv_GetJavaVM): Likewise.
1036 (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1037 JNI_GetCreatedJavaVMs): Move to ...
1038 * jni-libjvm.cc: New file.
1040 2006-06-19 Andrew Haley <aph@redhat.com>
1042 * testsuite/libjava.lang/PR27908.out: New.
1043 * testsuite/libjava.lang/PR27908.java: New.
1045 2006-06-19 Keith Seitz <keiths@redhat.com>
1047 * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1048 (_Jv_ThreadDebugResume): Declare.
1049 (_Jv_ThreadDebugSuspendCount): Declare.
1050 * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1051 (_Jv_ThreadDebugSuspendCount): New function.
1052 (_Jv_ThreadDebugResume): New function.
1054 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1055 (_Jv_ThreadDebugResume): Declare.
1056 (_Jv_ThreadDebugSuspendCount): Declare.
1057 * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1058 (_Jv_ThreadDebugSuspendCount): New function.
1059 (_Jv_ThreadDebugResume): New function.
1061 2006-06-16 Andrew Haley <aph@redhat.com>
1063 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1064 copy the whole Class instance from the initializer: instead, copy
1065 everything but the first word (the vtable pointer).
1066 Change prototype to (const char* class_initializer).
1067 (_Jv_RegisterNewClasses): Change prototype to (const char**).
1068 * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1071 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1073 * classpath/Makefile.am: Do not recurse into tools directory.
1074 * classpath/Makefile.in: Regenerate.
1076 2006-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1078 * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1079 -I$(top_srcdir)/include.
1080 (gjarsigner_CFLAGS): Likewise.
1081 (gkeytool_CFLAGS): Likewise.
1082 * classpath/tools/Makefile.in: Regenerate.
1084 2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1086 * configure: Regenerate.
1087 * Makefile.in: Regenerate.
1088 * configure.ac (--enable-plugin): New option.
1089 (ac_configure_args): Add --enable-tool-wrappers.
1090 (ac_configure_args): Add --disable-plugin unless --enable-plugin
1092 * gcj/Makefile.in: Regenerate.
1093 * sources.am (gnu_java_net_source_files): Add
1094 classpath/gnu/java/net/IndexListParser.java.
1095 (property_files): Remove
1096 classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1097 classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1099 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1100 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1101 classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1102 classpath/resource/gnu/classpath/tools/jar/messages.properties,
1103 classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1104 classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1105 classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1106 classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1107 * classpath/Makefile.in: Regenerate.
1108 * classpath/native/jni/gtk-peer/cairographics2d.h,
1109 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1110 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1111 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1112 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1113 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1114 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1115 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1116 Merge from GNU Classpath.
1117 * classpath/native/Makefile.in: Regenerate.
1118 * classpath/native/jawt/Makefile.in: Regenerate.
1119 * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1120 versioned library directory.
1121 * classpath/native/Makefile.am: Add plugin directory if
1122 --enable-plugin was specified.
1123 * classpath/native/plugin/Makefile.in: Regenerate. *
1124 classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1125 GCJ's versioned library directory.
1126 * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1128 * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1130 * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1132 * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1134 * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1136 * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1138 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1140 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1142 * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1144 * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1146 * classpath/gnu/java/net/IndexListParser.java:
1148 * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1149 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1150 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1151 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1152 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1153 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1154 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1155 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1156 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1157 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1158 classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1159 classpath/gnu/java/awt/java2d/PolyEdge.java,
1160 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1162 * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1163 libgcj-tools-4.2.0.jar.
1164 * classpath/tools/Makefile.in: Regenerate.
1165 * classpath/tools/Makefile.am: Rename tools.zip to
1166 libgcj-tools-4.2.0.jar. Install libgcj-tools-4.2.0.jar in
1168 * classpath/javax/swing/JTabbedPane.java,
1169 classpath/javax/swing/text/DefaultStyledDocument.java,
1170 classpath/javax/swing/text/html/HTMLDocument.java,
1171 classpath/javax/swing/text/GapContent.java,
1172 classpath/javax/swing/JComponent.java,
1173 classpath/javax/swing/RepaintManager.java,
1174 classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1175 classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1176 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1177 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1178 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1179 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1180 classpath/java/text/Bidi.java,
1181 classpath/java/awt/image/BufferedImage.java,
1182 classpath/java/awt/datatransfer/DataFlavor.java,
1183 classpath/java/awt/geom/AffineTransform.java,
1184 classpath/java/awt/dnd/DropTargetDropEvent.java,
1185 classpath/java/awt/dnd/DropTargetContext.java,
1186 classpath/java/awt/font/TextLayout.java,
1187 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1188 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1189 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1190 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1191 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1192 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1194 * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1195 classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1196 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1197 classpath/native/jni/gtk-peer/gtkcairopeer.h,
1198 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1200 * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1202 * include/Makefile.in: Regenerate.
1203 * testsuite/Makefile.in: Regenerate.
1205 2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1207 * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1210 2006-06-12 Andrew Haley <aph@redhat.com>
1212 * testsuite/libjava.lang/PR27908.out: Delete.
1213 * testsuite/libjava.lang/PR27908.java: Delete.
1215 2006-06-12 Andrew Haley <aph@redhat.com>
1217 * testsuite/libjava.lang/PR27908.out: New.
1218 * testsuite/libjava.lang/PR27908.java: New.
1220 2006-06-10 Thomas Fitzsimmons <fitzsim@redhat.com>
1222 * configure.ac (ac_configure_args): Add --disable-plugin.
1223 (--enable-gtk-cairo): Remove option.
1224 * configure: Regenerate.
1226 2006-06-09 Tom Tromey <tromey@redhat.com>
1229 * java/lang/Thread.java (threadId): New field.
1230 (nextThreadId): New static field.
1231 (Thread): Initialize new field.
1232 (getId): New method.
1234 2006-06-09 Tom Tromey <tromey@redhat.com>
1236 * java/lang/Class.java (getClassLoaderInternal): Now native.
1238 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1240 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1241 (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1242 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1244 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1247 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
1249 * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1250 classpath/native/jni/qt-peer/eventmethods.h,
1251 classpath/native/jni/qt-peer/qtmenupeer.cpp,
1252 classpath/native/jni/qt-peer/.cvsignore,
1253 classpath/native/jni/gtk-peer/gdkdisplay.h,
1254 classpath/native/jni/gtk-peer/cairographics2d.h,
1255 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1256 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1257 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1258 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1259 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1260 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1261 classpath/native/jni/gtk-peer/.cvsignore,
1262 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1263 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1264 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1265 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1266 classpath/native/jni/gtk-peer/gtkpeer.h,
1267 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1268 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1269 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1270 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1271 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1272 classpath/native/jni/gtk-peer/Makefile.am,
1273 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1274 classpath/native/jawt/Makefile.am,
1275 classpath/native/jawt/.cvsignore,
1276 classpath/native/target/Linux/Makefile.in,
1277 classpath/native/plugin/gcjwebplugin.cc,
1278 classpath/native/plugin/Makefile.am,
1279 classpath/native/plugin/.cvsignore,
1280 classpath/resource/Makefile.in,
1281 classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1282 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1283 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1284 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1285 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1286 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1287 classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1288 classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1289 classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1290 classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1291 classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1292 classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1293 classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1294 classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1295 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1296 classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1297 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1298 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1299 classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1300 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1301 classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1302 classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1303 classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1304 classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1305 classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1306 classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1307 classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1308 classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1309 classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1310 classpath/gnu/java/awt/print/JavaPrinterJob.java,
1311 classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1312 classpath/gnu/java/awt/print/SpooledDocument.java,
1313 classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1314 classpath/gnu/java/awt/BitwiseXORComposite.java,
1315 classpath/gnu/java/awt/font/GNUGlyphVector.java,
1316 classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1317 classpath/gnu/java/awt/java2d/RasterGraphics.java,
1318 classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1319 classpath/gnu/java/awt/java2d/PolyEdge.java,
1320 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1321 classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1322 classpath/gnu/java/awt/java2d/ImagePaint.java,
1323 classpath/gnu/java/awt/Buffers.java,
1324 classpath/gnu/classpath/Configuration.java.in,
1325 classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1326 classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1327 classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1328 classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1329 classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1330 classpath/tools/toolwrapper.c,
1331 classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1332 classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1333 classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1334 classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1335 classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1336 classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1337 classpath/tools/gnu/classpath/tools/getopt/Option.java,
1338 classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1339 classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1340 classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1341 classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1342 classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1343 classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1344 classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1345 classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1346 classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1347 classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1348 classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1349 classpath/tools/gnu/classpath/tools/keytool/package.html,
1350 classpath/tools/gnu/classpath/tools/keytool/Command.java,
1351 classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1352 classpath/tools/gnu/classpath/tools/keytool/Main.java,
1353 classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1354 classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1355 classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1356 classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1357 classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1358 classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1359 classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1360 classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1361 classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1362 classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1363 classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1364 classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1365 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1366 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1367 classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1368 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1369 classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1370 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1371 classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1372 classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1373 classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1374 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1375 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1376 classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1377 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1378 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1379 classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1380 classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1381 classpath/tools/gnu/classpath/tools/jar/Creator.java,
1382 classpath/tools/gnu/classpath/tools/jar/Entry.java,
1383 classpath/tools/gnu/classpath/tools/jar/Lister.java,
1384 classpath/tools/gnu/classpath/tools/jar/Main.java,
1385 classpath/tools/gnu/classpath/tools/jar/Updater.java,
1386 classpath/tools/gnu/classpath/tools/jar/Messages.java,
1387 classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1388 classpath/tools/gnu/classpath/tools/jar/Action.java,
1389 classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1390 classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1391 classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1392 classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1393 classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1394 classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1395 classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1396 classpath/tools/.cvsignore, classpath/configure.ac,
1397 classpath/javax/swing/JTabbedPane.java,
1398 classpath/javax/swing/AbstractButton.java,
1399 classpath/javax/swing/JViewport.java,
1400 classpath/javax/swing/KeyboardManager.java,
1401 classpath/javax/swing/JMenuItem.java,
1402 classpath/javax/swing/JMenuBar.java,
1403 classpath/javax/swing/MenuSelectionManager.java,
1404 classpath/javax/swing/JOptionPane.java,
1405 classpath/javax/swing/JSpinner.java,
1406 classpath/javax/swing/JCheckBoxMenuItem.java,
1407 classpath/javax/swing/JEditorPane.java,
1408 classpath/javax/swing/JFormattedTextField.java,
1409 classpath/javax/swing/JTree.java,
1410 classpath/javax/swing/CellRendererPane.java,
1411 classpath/javax/swing/JScrollPane.java,
1412 classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1413 classpath/javax/swing/tree/TreeNode.java,
1414 classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1415 classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1416 classpath/javax/swing/tree/TreePath.java,
1417 classpath/javax/swing/tree/RowMapper.java,
1418 classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1419 classpath/javax/swing/tree/DefaultTreeModel.java,
1420 classpath/javax/swing/tree/AbstractLayoutCache.java,
1421 classpath/javax/swing/tree/TreeSelectionModel.java,
1422 classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1423 classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1424 classpath/javax/swing/tree/ExpandVetoException.java,
1425 classpath/javax/swing/JList.java,
1426 classpath/javax/swing/table/JTableHeader.java,
1427 classpath/javax/swing/table/AbstractTableModel.java,
1428 classpath/javax/swing/table/DefaultTableModel.java,
1429 classpath/javax/swing/table/TableCellEditor.java,
1430 classpath/javax/swing/table/TableCellRenderer.java,
1431 classpath/javax/swing/ProgressMonitor.java,
1432 classpath/javax/swing/JToolBar.java,
1433 classpath/javax/swing/TransferHandler.java,
1434 classpath/javax/swing/DefaultCellEditor.java,
1435 classpath/javax/swing/DefaultButtonModel.java,
1436 classpath/javax/swing/JLayeredPane.java,
1437 classpath/javax/swing/text/DefaultEditorKit.java,
1438 classpath/javax/swing/text/DefaultCaret.java,
1439 classpath/javax/swing/text/FieldView.java,
1440 classpath/javax/swing/text/JTextComponent.java,
1441 classpath/javax/swing/text/TextAction.java,
1442 classpath/javax/swing/text/StyleContext.java,
1443 classpath/javax/swing/text/html/HTMLDocument.java,
1444 classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1445 classpath/javax/swing/text/html/ImageView.java,
1446 classpath/javax/swing/text/html/HTMLEditorKit.java,
1447 classpath/javax/swing/text/AbstractWriter.java,
1448 classpath/javax/swing/text/GapContent.java,
1449 classpath/javax/swing/text/Utilities.java,
1450 classpath/javax/swing/text/PlainView.java,
1451 classpath/javax/swing/UIManager.java,
1452 classpath/javax/swing/JSplitPane.java,
1453 classpath/javax/swing/JComponent.java,
1454 classpath/javax/swing/SwingUtilities.java,
1455 classpath/javax/swing/border/AbstractBorder.java,
1456 classpath/javax/swing/border/CompoundBorder.java,
1457 classpath/javax/swing/border/TitledBorder.java,
1458 classpath/javax/swing/border/MatteBorder.java,
1459 classpath/javax/swing/border/BevelBorder.java,
1460 classpath/javax/swing/RepaintManager.java,
1461 classpath/javax/swing/JTable.java,
1462 classpath/javax/swing/UIDefaults.java,
1463 classpath/javax/swing/DefaultDesktopManager.java,
1464 classpath/javax/swing/JMenu.java,
1465 classpath/javax/swing/JLabel.java,
1466 classpath/javax/swing/JSlider.java,
1467 classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1468 classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1469 classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1470 classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1471 classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1472 classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1473 classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1474 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1475 classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1476 classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1477 classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1478 classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1479 classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1480 classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1481 classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1482 classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1483 classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1484 classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1485 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1486 classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1487 classpath/javax/swing/plaf/basic/BasicListUI.java,
1488 classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1489 classpath/javax/swing/plaf/basic/BasicTextUI.java,
1490 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1491 classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1492 classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1493 classpath/javax/swing/plaf/basic/BasicTableUI.java,
1494 classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1495 classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1496 classpath/javax/swing/plaf/multi/MultiListUI.java,
1497 classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1498 classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1499 classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1500 classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1501 classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1502 classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1503 classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1504 classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1505 classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1506 classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1507 classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1508 classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1509 classpath/javax/swing/plaf/metal/MetalBorders.java,
1510 classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1511 classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1512 classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1513 classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1514 classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1515 classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1516 classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1517 classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1518 classpath/javax/swing/plaf/metal/MetalUtils.java,
1519 classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1520 classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1521 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1522 classpath/javax/swing/JPopupMenu.java,
1523 classpath/javax/swing/JProgressBar.java,
1524 classpath/javax/swing/WindowConstants.java,
1525 classpath/javax/swing/JFrame.java,
1526 classpath/javax/swing/JFileChooser.java,
1527 classpath/javax/swing/JComboBox.java,
1528 classpath/javax/swing/event/EventListenerList.java,
1529 classpath/javax/swing/ListSelectionModel.java,
1530 classpath/javax/swing/JScrollBar.java,
1531 classpath/java/text/SimpleDateFormat.java,
1532 classpath/java/text/NumberFormat.java,
1533 classpath/java/text/class-dependencies.conf,
1534 classpath/java/awt/image/ColorModel.java,
1535 classpath/java/awt/image/BufferedImage.java,
1536 classpath/java/awt/Window.java,
1537 classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1538 classpath/java/awt/LightweightDispatcher.java,
1539 classpath/java/awt/EventDispatchThread.java,
1540 classpath/java/awt/BasicStroke.java,
1541 classpath/java/awt/ColorPaintContext.java,
1542 classpath/java/awt/Container.java,
1543 classpath/java/awt/TexturePaint.java,
1544 classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1545 classpath/java/awt/GraphicsConfiguration.java,
1546 classpath/java/awt/DefaultKeyboardFocusManager.java,
1547 classpath/java/awt/print/PrinterJob.java,
1548 classpath/java/awt/im/InputContext.java,
1549 classpath/java/awt/dnd/DragGestureRecognizer.java,
1550 classpath/java/awt/Toolkit.java,
1551 classpath/java/awt/font/GraphicAttribute.java,
1552 classpath/java/awt/font/ImageGraphicAttribute.java,
1553 classpath/java/awt/font/GlyphVector.java,
1554 classpath/java/awt/font/GlyphMetrics.java,
1555 classpath/java/awt/font/ShapeGraphicAttribute.java,
1556 classpath/java/awt/Graphics2D.java,
1557 classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1558 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1559 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1560 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1561 classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1562 classpath/include/config.h.in,
1563 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1564 classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1565 classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1566 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1567 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1568 classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1569 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1570 classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1571 Merge from GNU Classpath HEAD.
1573 2006-06-08 Tom Tromey <tromey@redhat.com>
1575 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1576 Set gnu.gcj.user.realname.
1578 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch>
1580 * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1582 2006-06-07 Andrew Haley <aph@redhat.com>
1584 * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1585 (_Jv_Linker::uaddr): New.
1586 * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1587 instead of an open-coded loop around search_method_in_class.
1588 (search_method_in_class): Add a new arg, check_perms.
1589 (search_method_in_superclasses): New.
1590 (link_symbol_table): Call maybe_adjust_signature() to extract the
1591 least significnt bit of the signature pointer. Do this three
1592 times, for instace method calls, static methods, and interfaces.
1593 Call search_method_in_superclasses() instead of
1594 _Jv_LookupDeclaredMethod.
1595 (typedef uaddr): Delete.
1597 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1599 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1600 gnu-java-awt-peer-qt.lo.
1601 * configure.ac (QT_AWT): Remove conditional.
1602 Do not add gnu/java/awt/peer/qt to standard.omit.
1603 * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1604 in GCJ's versioned library directory.
1605 * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1606 Load libqtpeer.so unconditionally.
1607 * gij.cc (main): Do not re-exec gij.
1608 * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1609 (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1612 2006-06-06 David Daney <ddaney@avtrex.com>
1614 * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1615 (showRaw): New method.
1616 * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1617 (getLineNumberForFrame): Show IP offset in trace if line number
1618 not available and show_raw true.
1620 2006-06-06 Gary Benson <gbenson@redhat.com>
1622 * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1623 * configure.ac: Remove realpath check and add checks for
1625 * configure: Rebuilt.
1626 * include/config.h.in: Likewise.
1627 * java/io/File.java: Javadoc fix.
1629 2006-06-05 Andreas Schwab <schwab@suse.de>
1632 * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1634 2006-06-05 Tom Tromey <tromey@redhat.com>
1637 * gij.cc (main): Use putenv.
1639 2006-06-03 Paolo Bonzini <bonzini@gnu.org>
1641 * scripts/jar.in: Ensure return with argument has non-empty argument.
1643 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1645 * configure.ac (ZIP, UNZIP): New programs.
1646 (JAR): Fall back to bash script. Generate it.
1647 (BASH_JAR): New conditional.
1648 * Makefile.am (bin_SCRIPTS): New.
1649 * scripts/jar.in: New file.
1651 2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
1653 * gnu/java/lang/MainThread (run): Revert exception chaining change.
1655 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
1657 * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1659 * gnu/java/lang/MainThread.java (run): Allow file separator char to
1660 be used in place of '.' as class-name separator. Don't chain
1661 ClassNotFoundException.
1663 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1665 * java/lang/VMClassLoader.java (initialize): Set default library
1666 control to LIB_NEVER.
1668 2006-05-31 Alan Modra <amodra@bigpond.net.au>
1670 * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1671 interpreted classes.
1673 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1675 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1676 gnu-java-awt-peer-gtk.lo.
1677 Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++
1678 ABI for gnu/java/awt/peer/gtk package.
1679 * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1681 (insertSystemProperties): Only set java.ext.dirs if it is not
1682 already defined. Prepend GCJ_VERSIONED_LIBDIR to module search
1683 path where necessary.
1684 * configure.ac (GTK_AWT): Remove automake conditional.
1685 Do not add gnu/java/awt/peer/gtk to standard.omit.
1686 * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1688 * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1690 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1691 PATH_SEPARATOR macros.
1692 Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1693 * prims.cc (_Jv_PrependVersionedLibdir): New function.
1695 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1697 * java/lang/natThread.cc (countStackFrames): Do not throw
1698 UnsupportedOperationException.
1701 (suspend): Likewise.
1703 2006-05-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1705 * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1706 * configure: Rebuilt.
1707 * include/config.h.in: Likewise.
1708 * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1711 2006-05-24 Tom Tromey <tromey@redhat.com>
1714 * sources.am, Makefile.in: Rebuilt.
1715 * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1716 * java/net/URLConnection.java: Removed.
1718 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
1720 * Makefile.am: Add install-html target. Add install-html to .PHONY
1721 * Makefile.in: Regenerate.
1722 * aclocal.m4: Regenerate.
1723 * gcj/Makefile.in: Regenerate.
1724 * include/Makefile.in: Regenerate.
1725 * testsuite/Makefile.in: Regenerate.
1727 2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
1729 * testsuite/libjava.lang/stacktrace.java: New file.
1730 * testsuite/libjava.lang/stacktrace.out: Likewise.
1732 2006-05-24 Tom Tromey <tromey@redhat.com>
1734 * sources.am, Makefile.in: Rebuilt.
1735 * scripts/makemake.tcl: Accept -verbose command-line option.
1736 (is_verbose): New global.
1738 (classify_source_file): Don't special case '.' for 'package'
1741 2006-05-24 Tom Tromey <tromey@redhat.com>
1744 * java/lang/reflect/natField.cc (getAddr): Added parens.
1745 * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1746 Renamed. Don't mask flags.
1747 * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1749 (getModifiersInternal): Renamed.
1750 (getModifiers): Rewrote.
1751 (isSynthetic, isVarArgs): New methods.
1752 (hashCode): Rewrote.
1753 (addTypeParameters, toGenericString): New methods.
1754 (getTypeParameters): Rewrote.
1755 (getSignature): New method.
1756 (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1757 * java/lang/reflect/natMethod.cc (getModifiersInternal):
1758 Renamed. Don't mask flags.
1759 * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1761 * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1762 ENUM): New constants.
1763 (INVISIBLE): Changed value.
1764 * java/lang/reflect/Method.java: Mostly merged with Classpath.
1765 (getModifiersInternal): Renamed.
1766 (getModifiers): Rewrote.
1767 (isBridge, isSynthetic, isVarArgs): New methods.
1768 (toGenericString): Likewise.
1769 (getTypeParameters): Likewise.
1770 (getSignature): Likewise.
1771 (getGenericExceptionTypes, getGenericParameterTypes,
1772 getGenericReturnType): Likewise.
1773 (METHOD_MODIFIERS): New constant.
1774 * java/lang/reflect/Field.java: Mostly merged with Classpath.
1775 Added javadoc everywhere.
1776 (getModifiersInternal): Renamed.
1777 (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1778 (toGenericString): New method.
1779 (getGenericType, getSignature): Likewise.
1780 (FIELD_MODIFIERS): New constant.
1782 2006-05-24 Tom Tromey <tromey@redhat.com>
1785 * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1787 * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1790 2006-05-22 Mark Wielaard <mark@klomp.org>
1792 * HACKING: Update GNU Classpath import instructions.
1794 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
1796 * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1797 signature as MAYBE_UNUSED for HAVE_TLS == 0.
1798 (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1801 2006-05-20 Andreas Tobler <a.tobler@schweiz.ch>
1802 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1804 * configure.ac: Add the POSIX thread libs to the HP-UX PA
1805 configuration. Add signal specification for HP-UX PA.
1806 * configure: Rebuilt.
1807 * configure.host: Add defaults for the HP-UX PA architecture.
1808 Add descriptor files for HP-UX PA 32-bit and 64-bit.
1809 * include/hppa-signal.h: New file.
1810 * include/posix.h: Add shared library suffix for HP-UX.
1811 * sysdep/pa/descriptor-pa32-hpux.h: New file.
1812 * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1814 2006-05-19 Ranjit Mathew <rmathew@gcc.gnu.org>
1816 * ChangeLog: Correct incorrect GNU Classpath version in the
1817 entry for the latest import.
1819 2006-05-18 Tom Tromey <tromey@redhat.com>
1821 * source.am, Makefile.in: Rebuilt.
1822 * Makefile.am (property_files): Removed.
1823 * scripts/makemake.tcl (properties_map): New global.
1824 (properties_files): Likewise.
1825 (emit_property_files): New proc.
1826 (scan_packages): Scan META-INF.
1827 Print property_files variable. Scan classpath/resource.
1829 2006-05-18 Tom Tromey <tromey@redhat.com>
1831 * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1833 (gcj_write_and_byte_compile): New proc.
1834 (gcj_special_lazy_illegal_access): Likewise.
1836 2006-05-18 Mark Wielaard <mark@klomp.org>
1838 Imported GNU Classpath 0.91
1839 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1841 * sources.am: Regenerated.
1842 * gcj/javaprims.h: Regenerated.
1843 * Makefile.in: Regenerated.
1844 * gcj/Makefile.in: Regenerated.
1845 * include/Makefile.in: Regenerated.
1846 * testsuite/Makefile.in: Regenerated.
1848 * gnu/java/lang/VMInstrumentationImpl.java: New override.
1849 * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1850 * gnu/classpath/jdwp/VMMethod.java: Likewise.
1851 * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1853 * java/lang/Thread.java: Add UncaughtExceptionHandler.
1854 * java/lang/reflect/Method.java: Implements GenericDeclaration and
1856 * java/lang/reflect/Field.java: Likewise.
1857 * java/lang/reflect/Constructor.java
1858 * java/lang/Class.java: Implements Type, GenericDeclaration,
1859 getSimpleName() and getEnclosing*() methods.
1860 * java/lang/Class.h: Add new public methods.
1861 * java/lang/Math.java: Add signum(), ulp() and log10().
1862 * java/lang/natMath.cc (log10): New function.
1863 * java/security/VMSecureRandom.java: New override.
1864 * java/util/logging/Logger.java: Updated to latest classpath
1866 * java/util/logging/LogManager.java: New override.
1868 2006-05-15 Bryce McKinlay <mckinlay@redhat.com>
1871 * java/lang/Class.java (getClassLoaderInternal): New method.
1872 (forName (String, Class)): Use getClassLoaderInternal.
1873 (getPackage): Likewise.
1874 (getResource): Likewise.
1875 (getResourceAsStream): Likewise.
1876 (desiredAssertionStatus): Likewise.
1878 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch>
1880 * stacktrace.cc (StackTrace::FillInFrameInfo): Use
1881 UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
1882 klass->methods[j].ncode.
1884 2006-05-13 Tom Tromey <tromey@redhat.com>
1886 * sources.am, Makefile.in: Rebuilt.
1887 * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
1889 * java/nio/channels/natVMChannels.cc: Renamed from
1891 * java/nio/channels/Channels.java: Removed.
1892 * java/nio/channels/natChannels.cc: Removed.
1893 * java/nio/channels/VMChannels.java: New file.
1895 2006-05-13 Tom Tromey <tromey@redhat.com>
1897 * sources.am, Makefile.in: Rebuilt.
1898 * java/text/DateFormat.java: Removed.
1900 2006-05-13 Tom Tromey <tromey@redhat.com>
1902 * sources.am, Makefile.in: Rebuilt.
1903 * gnu/java/net/protocol/jar/Connection.java: Removed.
1904 * java/net/JarURLConnection.java: Removed.
1906 2006-05-13 Tom Tromey <tromey@redhat.com>
1908 * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
1911 2006-05-12 Tom Tromey <tromey@redhat.com>
1913 * sources.am, Makefile.in: Rebuilt.
1914 * java/util/logging/LogManager.java: Removed.
1915 * java/util/logging/Logger.java (resetLogger): New method, from
1917 * java/io/RandomAccessFile.java: Removed.
1918 * gnu/java/nio/channels/FileChannelImpl.java (create): New
1920 (FileChannelImpl): Now private.
1921 * java/io/FileInputStream.java: Removed.
1922 * java/io/FileOutputStream.java: Removed.
1923 * java/security/AccessControlContext.java: Removed.
1924 * java/lang/ThreadLocal.java: Removed.
1925 * java/lang/InheritableThreadLocal.java: Removed.
1926 * java/lang/Thread.java (locals): New field.
1927 (getThreadLocals): New method.
1928 * java/lang/natThread.cc (finish_): Clear 'locals'.
1930 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1932 * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
1933 fails, don't try again.
1934 (use_addr2line): Field no longer final.
1936 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1938 * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
1939 (lookup): If addr2line fails to find an address, flag the binary as
1940 having no debug info and avoid calling addr2line on it again.
1942 2006-05-11 David Daney <ddaney@avtrex.com>
1944 * testsuite/libjava.compile/PR20418.java: New.
1945 * testsuite/libjava.compile/PR20418.xfail: New.
1947 2006-05-11 Andrew Haley <aph@redhat.com>
1949 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
1952 2006-05-10 Andrew Haley <aph@redhat.com>
1954 * java/lang/natClassLoader.cc: Add comments.
1956 2006-05-09 Andrew Haley <aph@redhat.com>
1958 * prims.cc (_Jv_soleIndirectCompiledEngine): New.
1959 * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
1961 (_Jv_CompiledEngine::allocate_field_initializers): New.
1962 (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
1963 allocate_field_initializers.
1964 (class _Jv_IndirectCompiledClass): New.
1965 (struct _Jv_IndirectCompiledEngine): New.
1966 * java/lang/Class.h: (IndirectCompiledEngine): New.
1967 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
1968 engine to _Jv_soleIndirectCompiledEngine
1969 * link.cc (ensure_fields_laid_out): Call
1970 engine->allocate_field_initializers().
1972 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
1974 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
1975 HP-UX and add appropriate extension for shared libraries, sl.
1976 (gcj_jni_test_one): Likewise.
1978 * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
1981 2006-05-05 Tom Tromey <tromey@redhat.com>
1984 * java/lang/natVMClassLoader.cc (defineClass): Throw
1985 VirtualMachineError if no interpreter configured.
1987 2006-05-03 Andrew Haley <aph@redhat.com>
1990 * java/lang/Class.java (getClassLoader(Class)): New.
1991 forName(String, Class): New.
1992 * java/lang/natClass.cc (getClassLoader(Class)): New.
1994 2006-05-02 Andrew Haley <aph@redhat.com>
1996 * prims.cc (_Jv_NewMultiArray): Check for phantom class.
1998 2006-05-04 Tom Tromey <tromey@redhat.com>
2001 * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2002 <insn_putfield>: Likewise.
2003 (NULLCHECK): Define unconditionally.
2004 * link.cc (ensure_class_linked): Removed dead code.
2006 2006-05-04 Tom Tromey <tromey@redhat.com>
2008 * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2009 * Makefile.in: Rebuilt.
2010 * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2011 * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2012 * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2014 (loadedClasses): Removed.
2015 (findClass): Declare.
2016 (addClass): Add to nativeClasses, not loadedClasses.
2018 2006-05-04 Andrew Haley <aph@redhat.com>
2021 * testsuite/libjava.lang/PR26858.xfail: Delete.
2023 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
2025 * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2026 -findirect-dispatch compilation.
2028 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
2030 * configure.ac: Simplify the mmap check a bit more.
2031 * configure: Rebuilt.
2032 * include/config.h.in: Likewise.
2034 2006-05-01 Roger Sayle <roger@eyesopen.com>
2035 Andrew Haley <aph@redhat.com>
2037 * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2038 before calling GC_register_has_static_roots_callback.
2039 (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2040 HAVE_DLADDR before calling dladdr.
2042 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
2044 * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2046 * interpret.cc (insn_invokevirtual): Use method->index, not
2047 vtable_index. Check accflag FINAL to determine finals. Only do
2048 explicit null check if calling a final method. Use
2049 throw_null_pointer_exception.
2050 (invokevirtual_resolved): Likewise.
2051 (null_pointer_exc): Remove static field.
2052 (throw_null_pointer_exception): Always define. Throw a new
2053 NullPointerException every time.
2054 * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2056 * include/execution.h (resolve_method): Remove vtable_index argument.
2058 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
2060 * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2061 * configure: Rebuilt.
2063 2006-04-25 Tom Tromey <tromey@redhat.com>
2065 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2066 Include platform.h. Set GC_DEBUG before including gc.h, if
2069 2006-04-25 Andrew Haley <aph@redhat.com>
2071 * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2072 * boehm.cc: Don't include link.h.
2073 (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2075 2006-04-24 Tom Tromey <tromey@redhat.com>
2077 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2079 2006-04-21 Andrew Haley <aph@redhat.com>
2081 * include/execution.h (struct _Jv_CompiledEngine): Define for
2083 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2084 _Jv_RegisterLibForGc.
2085 (_Jv_RegisterClasses_Counted): Likewise.
2086 (_Jv_NewClassFromInitializer): New.
2087 (_Jv_RegisterNewClasses): New.
2088 * sources.am: Regenerate.
2089 * boehm.cc (_Jv_GC_has_static_roots): new.
2090 (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2091 (filename_node, find_file, _Jv_print_gc_store, new_node,
2092 _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2093 * scripts/makemake.tcl: Add -fno-indirect-classes.
2094 * Makefile.in: Regenerate.
2095 * link.cc (resolve_pool_entry): Allocate constant pool.
2098 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
2100 * configure.ac: Weaken the check for MMAP.
2101 * configure: Rebuilt.
2102 * include/config.h.in: Likewise.
2104 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
2107 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2108 dlopen(). From Anthony Green.
2110 2006-04-20 Tom Tromey <tromey@redhat.com>
2113 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2114 UnknownHostException if needed.
2115 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2116 UnknownHostException if needed.
2118 2006-04-19 Tom Tromey <tromey@redhat.com>
2120 * Makefile.in: Rebuilt.
2121 * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2122 all_java_deps_files.
2124 2006-04-19 Tom Tromey <tromey@redhat.com>
2126 * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2129 2006-04-17 Tom Tromey <tromey@redhat.com>
2132 * testsuite/libjava.lang/pr27171.java: New file.
2133 * testsuite/libjava.lang/pr27171.out: New file.
2134 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2135 true if we've seen a high surrogate.
2136 (write): Handle high surrogates at the end of the stream.
2137 Properly emit isolated low surrogates.
2139 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
2141 * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2144 2006-04-13 Tom Tromey <tromey@redhat.com>
2147 * Makefile.in: Rebuilt.
2148 * Makefile.am (libsubdir): New variable.
2150 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
2153 * configure.ac: Link against -lpthread rather than -lc_r on
2154 FreeBSD 5 and above.
2155 * configure: Regenerate.
2157 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
2159 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2160 of package-private field "loadedClasses" using reflection.
2161 * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2164 2006-04-10 Matthias Klose <doko@debian.org>
2166 * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2167 directory names containing underscores.
2169 2006-04-10 Andrew Haley <aph@redhat.com>
2171 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2172 (SIGNAL_HANDLER): Mark arg as unused.
2173 * configure.host (x86_64-* DIVIDESPEC): Use
2174 fno-use-divide-subroutine.
2176 2006-04-07 Andrew Haley <aph@redhat.com>
2178 * java/net/InetAddress.java: Throw an UnknownHostException if
2181 2006-04-05 Tom Tromey <tromey@redhat.com>
2184 * Makefile.in: Rebuilt.
2185 * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2186 classpath/lib/compile-classes.
2188 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
2190 * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2191 MinGW since EBP is used for backtracking through call frames on this
2194 2006-04-05 Archit Shah <ashah@redhat.com>
2197 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2198 Add classpath argument.
2199 * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2201 * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2202 * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2203 * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2204 * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2205 mkdirs for destination directory, correct handling of superclasses
2206 and interfaces of the remote class, correct handling of exceptions
2207 declared by remote methods.
2209 2006-04-04 Tom Tromey <tromey@redhat.com>
2212 * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2213 * gnu/java/lang/natMainThread.cc (call_main): Use
2214 exitNoChecksAccessor.
2215 * testsuite/libjava.lang/pr26990.out: New file.
2216 * testsuite/libjava.lang/pr26990.java: New file.
2217 * java/lang/Runtime.java (exitNoChecks): New method.
2218 (exitNoChecksAccessor): Likewise.
2219 (exit): Call exitNoChecks.
2221 2006-04-03 Tom Tromey <tromey@redhat.com>
2223 * Makefile.in: Rebuilt.
2224 * Makefile.am (ZIP): Removed.
2225 (libgcj-$(gcc_version).jar): Use $(JAR).
2226 (src.zip): Likewise.
2227 * configure: Rebuilt.
2228 * configure.ac: Check for jar. Removed code to set ZIP.
2230 2006-04-03 Andrew Haley <aph@redhat.com>
2232 * testsuite/libjava.lang/Float_2.java: New file.
2234 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
2236 * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2238 2006-03-30 Tom Tromey <tromey@redhat.com>
2241 * testsuite/libjava.compile/pr26042.java: New file.
2243 2006-03-29 Tom Tromey <tromey@redhat.com>
2245 * sources.am, Makefile.in: Rebuilt.
2246 * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2248 2006-03-29 Tom Tromey <tromey@redhat.com>
2251 * testsuite/libjava.lang/pr26390.out: New file.
2252 * testsuite/libjava.lang/pr26390.java: New file.
2253 * sources.am, Makefile.in: Rebuilt.
2254 * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2256 2006-03-29 Tom Tromey <tromey@redhat.com>
2258 * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2261 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
2263 * scripts/unicode-muncher.pl: Removed this file.
2264 * scripts/MakeCharTables.java: Likewise.
2265 * scripts/unicode-to-chartables.pl: New file.
2266 * java/lang/natCharacter.cc:
2267 (UNASSIGNED_TYPE): New field.
2268 (UNASSIGNED_DIGIT): Likewise.
2269 (UNASSIGNED_DIRECTION): Likewise.
2270 (UNASSIGNED_NUMERIC_VALUE): Likewise.
2271 (PRIVATE_TYPE): Likewise.
2272 (PRIVATE_DIRECTION): Likewise.
2273 (readCodePoint): New method.
2274 (getType(jint)): Likewise.
2275 (toLowerCase(jint)): Likewise.
2276 (toUpperCase(jint)): Likewise.
2277 (toTitleCase(jint)): Likewise.
2278 (digit(jint, jint)): Likewise.
2279 (getNumericValue(jint)): Likewise.
2280 (getDirectionality(jint)): Likewise.
2283 (toLowerCase(jchar)),
2284 (toUpperCase(jchar)),
2285 (toTitleCase(jchar)),
2286 (digit(jchar, jint)),
2287 (getNumericValue(jchar)),
2288 (getDirectionality(jchar)): Changed references from data to data[0],
2289 blocks to blocks[0], direction to direction[0], numValue to
2290 numValue[0], upper to upper[0], lower to lower[0], and shift to
2291 shift[0] to reflect the new structures in java-chartables.h.
2292 * java/lang/Character.java:
2293 (readCodePoint): Declared new native method.
2294 (getType(int)): Likewise.
2295 (toLowerCase(int)): Likewise.
2296 (toUpperCase(int)): Likewise.
2297 (toTitleCase(int)): Likewise.
2298 (digit(int, int)): Likewise.
2299 (getNumericValue(int)): Likewise.
2300 (getDirectionality(int)): Likewise.
2301 (isLowerCase(int)): New method.
2302 (isUpperCase(int)): Likewise.
2303 (itTitleCase(int)): Likewise.
2304 (isDigit(int)): Likewise.
2305 (isDefined(int)): Likewise.
2306 (isLetter(int)): Likewise.
2307 (isLetterOrDigit(int)): Likewise.
2308 (isJavaIdentifierStart(int)): Likewise.
2309 (isJavaIdentifierPart(int)): Likewise.
2310 (isUnicodeIdentifierStart(int)): Likewise.
2311 (isUnicodeIdentifierPart(int)): Likewise.
2312 (isIdentifierIgnorable(int)): Likewise.
2313 (isSpaceChar(int)): Likewise.
2314 (isWhitespace(int)): Likewise.
2315 (isISOControl(int)): Likewise.
2316 (isMirrored(int)): Likewise.
2317 * include/java-chartables.h: Generated from
2318 scripts/unicode-to-chartables.h.
2320 2006-03-24 David Daney <ddaney@avtrex.com)
2322 * testsuite/libjava.lang/PR26858.java: New test.
2323 * testsuite/libjava.lang/PR26858.out: Ditto.
2324 * testsuite/libjava.lang/PR26858.xfail: Ditto.
2326 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
2328 * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2331 2006-03-15 Tom Tromey <tromey@redhat.com>
2333 * testsuite/libjava.jacks/jacks.xfail: Removed
2334 13.1-runtime-method-5.
2336 2006-03-15 Tom Tromey <tromey@redhat.com>
2339 * link.cc (get_interfaces): Skip <clinit>.
2340 (append_partial_itable): Likewise.
2342 2006-03-10 Tom Tromey <tromey@redhat.com>
2345 * java/util/zip/Deflater.java (flush): New method.
2346 * sources.am, Makefile.in: Rebuilt.
2347 * java/util/zip/DeflaterOutputStream.java: Removed.
2348 * java/util/zip/InflaterInputStream.java: Likewise.
2349 * java/util/zip/GZIPInputStream.java: Likewise.
2350 * java/util/zip/GZIPOutputStream.java: Likewise.
2352 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
2354 * include/powerpc-signal.h: Fix typo in comment.
2356 2006-03-09 Mark Wielaard <mark@klomp.org>
2358 Imported GNU Classpath 0.90
2359 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2360 * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2361 * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2362 * java/lang/Math.java: New override file.
2363 * java/lang/Character.java: Merged from Classpath.
2364 (start, end): Now 'int's.
2365 (canonicalName): New field.
2366 (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2367 (UnicodeBlock): Added argument.
2369 (forName): New method.
2370 Updated unicode blocks.
2372 * sources.am: Regenerated.
2373 * Makefile.in: Likewise.
2375 2006-03-09 Tom Tromey <tromey@redhat.com>
2378 * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2379 (equals): Use memcmp.
2380 (contentEquals): Likewise.
2381 (getChars): Use memcpy.
2382 (toCharArray): Likewise.
2383 (regionMatches): Use memcmp.
2384 (regionMatches): Likewise.
2385 (startsWith): Likewise.
2386 (concat): Use memcpy.
2387 (valueOf): Likewise.
2389 2006-03-09 Tom Tromey <tromey@redhat.com>
2391 * configure: Rebuilt.
2392 * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2395 2006-03-09 Tom Tromey <tromey@redhat.com>
2398 * java/util/zip/InflaterInputStream.java (fill): Throw exception
2399 if stream is truncated.
2401 2006-03-09 Tom Tromey <tromey@redhat.com>
2403 * win32.cc (_Jv_platform_nanotime): New function.
2404 * include/win32.h (_Jv_platform_nanotime): Declare.
2405 * posix.cc (_Jv_platform_nanotime): New function.
2406 * include/posix.h (_Jv_platform_nanotime): Declare.
2407 * java/lang/natSystem.cc (nanoTime): New method.
2408 * java/lang/System.java (nanoTime): Declare.
2409 * include/config.h.in, configure: Rebuilt.
2410 * configure.ac: Check for clock_gettime.
2412 2006-03-08 David Daney <ddaney@avtrex.com>
2414 * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2415 (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2416 (LD_FINISH_STATIC_SPEC): Ditto
2417 * configure: Regenerated.
2418 * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2419 LD_FINISH_STATIC_SPEC.
2421 2006-03-07 Tom Tromey <tromey@redhat.com>
2424 * java/lang/ClassLoader.java (loadClass): Don't throw
2425 StringIndexOutOfBoundsException if name is empty.
2426 * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2429 2006-03-07 David Daney <ddaney@avtrex.com>
2431 * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2433 2006-03-07 David Daney <ddaney@avtrex.com>
2435 * link.cc: Include ffi.h if USE_LIBFFI defined.
2437 2006-03-03 Tom Tromey <tromey@redhat.com>
2439 * interpret.cc (do_allocate_static_fields): Added comment.
2441 2006-03-01 Tom Tromey <tromey@redhat.com>
2444 * testsuite/libjava.lang/pr24321.java: New file.
2445 * testsuite/libjava.lang/pr24321.out: New file.
2446 * java/lang/natClass.cc (isInstance): Don't initialize class.
2447 (isAssignableFrom): Likewise.
2449 2006-02-27 Jakub Jelinek <jakub@redhat.com>
2452 * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2454 * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2455 (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2457 * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2459 * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2462 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
2464 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2465 before returning, handle null clip.
2466 (getClipBounds): Handle null clip.
2467 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2468 * gnu/awt/xlib/XCanvasPeer.java ():
2469 (getLocationOnScreen): Implement.
2470 * classpath/gnu/java/awt/peer/GLightweightPeer.java
2471 (repaint): Merged with Classpath.
2472 * classpath/java/awt/Graphics.java (hitClip): Merged with
2475 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
2477 * link.cc: Added variant of create_error_method that
2478 will not complain about unused parameter if compiled with
2479 USE_LIBFFI not being defined.
2480 (_Jv_Linker::find_field_helper): Fixed indentation.
2481 (_Jv_Linker::create_error_method): Fixed indentation.
2482 (_Jv_Linker::link_symbol_table): Fixed indentation.
2484 2006-02-16 Andrew Haley <aph@redhat.com>
2486 * stacktrace.cc (GetStackTraceElements): Call
2487 gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2488 non-Java frames should be removed from a printed stack trace.
2489 Pass methodName to getLineNumberForFrame().
2490 (getLineNumberForFrame): Set method_name from info.dli_sname.
2491 * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2492 (remove_unknown): New variable.
2493 * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2496 2006-02-15 Matthias Klose <doko@debian.org>
2498 * gnu/java/nio/charset, gnu/java/net/protocol/file,
2499 gnu/regexp: Remove empty directories.
2501 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
2503 * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
2504 'itable' inline, instead of as a pointer.
2505 (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2506 * link.cc (null_idt): Update definition.
2507 (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2508 as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2509 (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2510 (_Jv_Linker::find_iindex): Likewise. Update comment.
2511 * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2512 _Jv_IDispatchTable change.
2513 (_Jv_IsAssignableFrom): Likewise.
2515 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2518 * gnu/gcj/io/natSimpleSHSStream.cc
2519 (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2520 * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2522 * boehm.cc: #undef some autoconf macros before including gc-config.h.
2523 (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2524 (_Jv_MarkArray): Likewise.
2525 * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2526 Simplify _Jv_GCRegisterDisappearingLink() call.
2527 * java/lang/Class.h (getComponentType): Use element_type.
2528 (element_type): New field declaration, as a union with "methods".
2529 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2530 * java/net/natVMNetworkInterfacePosix.cc
2531 (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2532 avoid sign comparison warning.
2533 * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2534 argument, not parent call frame.
2535 * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2537 (restore_rt): Declare with hidden visibility, not "static".
2538 * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2540 * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2543 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2546 * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2548 * verify.cc (verify_fail): Likewise.
2549 * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2550 * interpret.cc (throw_internal_error, throw_class_format_error):
2552 * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
2553 _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2554 * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2555 * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2556 * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2557 is_attribute_name): Likewise.
2558 * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2559 _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2561 2006-02-08 Tom Tromey <tromey@redhat.com>
2563 PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2564 * defineclass.cc (parse): Use _Jv_AllocRawObj.
2565 (read_constpool): Likewise.
2566 (read_one_code_attribute): Use internal function name.
2567 (handleConstantPool): Use _Jv_AllocRawObj.
2568 (handleInterfacesBegin): Likewise.
2569 (handleFieldsBegin): Likewise.
2570 (handleMethodsBegin): Likewise.
2571 (handleCodeAttribute): Likewise.
2572 (handleMethodsEnd): Likewise.
2573 * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2574 * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2575 Allocate reference fields separately.
2576 * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2577 (add_miranda_methods): Likewise.
2578 (generate_itable): Use _Jv_AllocBytes.
2579 (find_iindex): Likewise.
2580 (struct method_closure): New structure.
2581 (create_error_method): Use struct method_closure; allocate with
2583 (ensure_fields_laid_out): Separate reference fields from
2584 non-reference fields.
2585 * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
2587 (_Jv_MarkArray): Mark vtable.
2588 (_Jv_AllocRawObj): Don't allocate objects of size 0.
2589 * include/execution.h
2590 (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2592 (struct _Jv_CompiledEngine): Updated.
2593 (class _Jv_InterpreterEngine): Updated.
2595 2006-02-08 Tom Tromey <tromey@redhat.com>
2598 * gcj/javaprims.h: Updated.
2599 * sources.am, Makefile.in: Rebuilt.
2600 * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2601 (doubleToRawLongBits): Likewise.
2602 (longBitsToDouble): Likewise.
2603 (toString): Likewise.
2604 (parseDouble): Likewise.
2605 * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2606 (floatToRawIntBits): Likewise.
2607 (intBitsToFloat): Likewise.
2608 * java/lang/VMDouble.java: New file.
2609 * java/lang/VMFloat.java: New file.
2610 * java/lang/Float.java, java/lang/Double.java: Removed.
2612 2006-02-06 Tom Tromey <tromey@redhat.com>
2614 * gij.cc (version): Use 2006.
2615 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2616 * gnu/gcj/convert/Convert.java (version): Use 2006.
2617 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2619 2006-02-04 Tom Tromey <tromey@redhat.com>
2622 * testsuite/libjava.lang/pr25676.out: New file.
2623 * testsuite/libjava.lang/pr25676.java: New file.
2625 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2627 * Makefile.am (src.zip): Update src.zip file search to look in
2628 classpath directory.
2629 * Makefile.in: Regenerate.
2631 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2634 (_Jv_Linker::create_error_method): Added missing (void *) cast.
2636 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2639 (_Jv_Linker::create_error_method): New method declaration.
2641 (_Jv_Linker::create_error_method): New method.
2642 (_Jv_Linker::link_symbol_table): Use new method above.
2644 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
2647 (_Jv_Linker::find_field_helper): Added checks.
2648 (_Jv_Linker::find_field): Use exception swallowing class resolution
2649 and added early return.
2650 (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2651 (_Jv_Linker::link_symbol_table): Use exception swallowing class
2652 resolution, added ffi_closure installation routine, use
2653 _Jv_ThrowNoClassDefFoundError for missing static method.
2654 (_Jv_Linker::ensure_class_linked): Added string check which does
2655 not trigger class resolution.
2656 * java/lang/natClassLoader.cc:
2657 (_Jv_FindClassNoException): New method.
2658 * java/lang/Class.h:
2659 (_Jv_FindClassNoException): New method declaration.
2661 (_Jv_FindClassNoException): New method declaration.
2662 (_Jv_FindClassFromSignatureNoException): New method declaration.
2664 (_Jv_FindClassFromSignatureNoException): New method.
2666 (_Jv_equalsUtf8Classname): New method declaration.
2667 (_Jv_isPrimitiveOrDerived): Dito.
2669 (_Jv_equalsUtf8Classnames): New method.
2670 (_Jv_isPrimitiveOrDerived): New method.
2672 (ref_intersection::equals): Use new classname comparison method.
2673 (type::compatible): Use new classname comparison method. Added
2674 check whether LHS' type is java.lang.Object .
2675 (type::resolve): Added new optional debug message and simplified
2677 (type::to_array): Added codepath that generates an array type
2678 without resolving the element type.
2680 2006-01-31 Mark Wielaard <mark@klomp.org>
2682 * NEWS: Add 4.1 updates.
2684 2006-01-30 Keith Seitz <keiths@redhat.com>
2686 * include/java-interp.h (insn_index): New declaration.
2687 (num_insn_slots): New private variable.
2688 (get_line_table): New declaration.
2689 * interpret.cc (insn_index): New function.
2690 (get_line_table): New function.
2692 2006-01-24 Archit Shah <ashah@redhat.com>
2693 Tom Tromey <tromey@redhat.com>
2695 * prims.cc (next_property_value): Never return NULL.
2696 (process_gcj_properties): Copy 'props' before using it.
2698 2006-01-23 Keith Seitz <keiths@redhat.com>
2700 * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2701 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2703 2006-01-23 David Daney <ddaney@avtrex.com>
2705 * configure.host (disable_dladdr): Remove variable and its
2707 * configure.ac: Do not test for disable_dladdr.
2708 * configure: Regenerate.
2709 * include/config.h.in: Regenerate.
2711 2006-01-18 Tom Tromey <tromey@redhat.com>
2713 * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2716 2006-01-18 Keith Seitz <keiths@redhat.com>
2718 * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2719 (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2720 * interpret.cc (_Jv_CompileMethod): New function.
2721 (run): Massage code to allow for NULL args.
2722 Update comments to explain NULL args.
2723 Return if compiling the method and args is NULL.
2725 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
2728 * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2730 2006-01-17 Tom Tromey <tromey@redhat.com>
2733 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2734 (JarURLLoader): Likewise.
2735 (addURLImpl): Canonicalize file URLs.
2737 2006-01-16 Mark Wielaard <mark@klomp.org>
2739 Imported GNU Classpath 0.20
2740 * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2741 * java/nio/charset/spi/CharsetProvider.java: New override file.
2742 * java/security/Security.java: Likewise.
2743 * sources.am: Regenerated.
2744 * Makefile.in: Likewise.
2746 2006-01-17 Jakub Jelinek <jakub@redhat.com>
2748 * configure.ac (dbexecdir): New substituted var.
2749 * configure: Rebuilt.
2750 * Makefile.am (dbexecdir): Remove.
2751 * Makefile.in: Rebuilt.
2753 2006-01-13 Tom Tromey <tromey@redhat.com>
2755 * gnu/regexp/MessagesBundle_fr.properties: Removed.
2756 * gnu/regexp/MessagesBundle.properties: Removed.
2758 2006-01-13 Tom Tromey <tromey@redhat.com>
2760 * java/security/classpath.security: Removed.
2761 * Makefile.in: Rebuilt.
2762 * Makefile.am (install-data-local): Don't install
2765 2006-01-08 Chris Burdess <dog@gnu.org>
2767 * java/lang/Character.java (toChars,toCodePoint): Correct these
2768 methods to use algorithms from Unicode specification.
2770 2006-01-08 Tom Tromey <tromey@redhat.com>
2772 * java/lang/StringBuilder.java (appendCodePoint): New method.
2773 (insert): New overloads.
2774 * java/lang/StringBuffer.java (StringBuffer): New constructor.
2775 (charAt): Remerged javadoc.
2776 (codePointAt, codePointBefore): New methods.
2777 (appendCodePoint): New method.
2778 (append): New overloads.
2780 (trimToSize, codePointCount, offsetByCodePoints): New methods.
2781 * java/lang/Float.java (SIZE): New field.
2782 (valueOf): New method.
2783 * java/lang/natDouble.cc (initIDs): Removed.
2784 * java/lang/Double.java (static initializer): Removed.
2786 (valueOf): New method.
2789 2006-01-07 Jakub Jelinek <jakub@redhat.com>
2792 * shlibpath.m4: Replace $SED with sed.
2793 * configure: Rebuilt.
2795 2006-01-06 Tom Tromey <tromey@redhat.com>
2797 * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2798 MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2799 (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2800 MAX_LOW_SURROGATE): Javadoc fixes.
2801 (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2802 isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2803 methods from Classpath.
2804 * java/lang/String.java (codePointAt, codePointBefore,
2805 codePointCount, contains, replace): New methods from Classpath.
2806 (contentEquals): Declare.
2807 * java/lang/natString.cc (contentEquals): New method.
2809 2005-12-26 Anthony Green <green@redhat.com>
2811 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2812 of data to read (dst.remaining()).
2813 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2815 2005-11-11 Mark Wielaard <mark@klomp.org>
2817 Reported by john.zigman@anu.edu.au as bug #24608.
2818 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2819 destination ByteBuffer when it doesn't have an array instead of len
2822 2006-01-05 Tom Tromey <tromey@redhat.com>
2824 * java/lang/natThread.cc (finish_): Don't clear 'group'.
2825 * sources.am, Makefile.in: Rebuilt.
2826 * java/lang/Runtime.java (exit): Merged with Classpath.
2827 (runShutdownHooks): New method from Classpath.
2828 * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2830 * gnu/gcj/runtime/FileDeleter.java: Removed.
2831 * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2832 (exitInternal): Don't run finalizers or delete files.
2834 2006-01-05 Tom Tromey <tromey@redhat.com>
2836 * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2838 2006-01-04 Krister Walfridsson <cato@df.lth.se>
2840 * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2842 2006-01-04 Tom Tromey <tromey@redhat.com>
2844 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2845 * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2846 Changed argument type. Use SystemClassLoader.addClass.
2847 * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2849 2005-12-24 David Daney <ddaney@avtrex.com>
2850 Tom Tromey <tromey@redhat.com>
2852 PR libgcj/9715, PR libgcj/19132:
2853 * java/nio/charset/Charset.java (charsetForName): Try default
2855 (availableCharsets): Re-merged.
2856 (providers2): Likewise.
2857 (defaultCharset): Likewise.
2858 * sources.am, Makefile.in: Rebuilt.
2859 * gnu/java/nio/charset/Provider.java: Removed.
2860 * java/io/OutputStreamWriter.java
2861 (OutputStreamWriter(OutputStream,Charset)): New constructor.
2862 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2863 * java/io/InputStreamReader.java
2864 (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2865 (InputStreamReader(InputStream,Charset)): Likewise.
2866 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2867 BytesToCharsetAdaptor.
2868 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2869 CharsetToBytesAdaptor.
2870 * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2871 * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2872 * mauve-libgcj: Remove getEncoding exclusion.
2874 2005-12-28 Anthony Green <green@redhat.com>
2876 * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
2877 as previous patch, but for win32.
2879 2005-12-28 Anthony Green <green@redhat.com>
2881 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
2882 address and port before attempting anything.
2884 2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2886 * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
2889 2005-12-22 Andrew Haley <aph@redhat.com>
2892 * testsuite/libjava.lang/PR25535.java: New test.
2894 2005-12-22 Tom Tromey <tromey@redhat.com>
2896 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
2897 reference NUM_OBJECT_METHODS.
2898 * include/jvm.h (NUM_OBJECT_METHODS): Removed.
2900 2005-12-18 Anthony Green <green@redhat.com>
2902 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
2903 New helper function.
2904 (setOption): Use getLocalAddress. Don't downcast value to
2906 (getOption): Use getLocalAddress.
2908 2005-12-16 Tom Tromey <tromey@redhat.com>
2910 * java/lang/Class.java (getPackage): Get package from
2911 VMClassLoader if needed.
2913 2005-12-16 Tom Tromey <tromey@redhat.com>
2915 * testsuite/libjava.jacks/jacks.xfail
2916 (8.5.2-accessible-static-member-usage-3): Removed.
2918 2005-12-15 Tom Tromey <tromey@redhat.com>
2920 * testsuite/libjava.compile/rh175833.java: New file.
2921 * testsuite/libjava.compile/pr25429.java: New file.
2923 2005-12-15 Alan Modra <amodra@bigpond.net.au>
2925 * testsuite/lib/libjava.exp: Revert 2005-12-01.
2926 * testsuite/libjava.lang/Array_3.xfail: Delete.
2928 2005-12-14 Andrew Haley <aph@redhat.com>
2930 * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
2931 handle stdout from the child process.
2933 2005-12-14 Tom Tromey <tromey@redhat.com>
2936 * java/io/File.java (File): Throw IllegalArgumentException if URI is
2939 2005-12-12 Andrew Haley <aph@redhat.com>
2941 * java/lang/VMCompiler.java: Directly generate a new instance of
2942 gnu.java.security.provider.MD5.
2944 2005-12-08 Andrew Haley <aph@redhat.com>
2947 * java/lang/Object.h (throwNoSuchMethodError): New method.
2948 * java/lang/Object.java (throwNoSuchMethodError): New method.
2949 * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
2950 * link.cc (_Jv_ThrowNoSuchFieldError): New.
2951 (link_symbol_table): Don't throw a NoSuchFieldError if a field is
2952 missing. Instead, set the otable entry to zero.
2953 (link_symbol_table): If we don't find a nonstatic method, insert
2954 the vtable offset of Object.throwNoSuchMethodError() into the
2957 2005-12-05 Tom Tromey <tromey@redhat.com>
2959 * testsuite/libjava.compile/rh174912.java: New file.
2961 2005-12-01 Geoffrey Keating <geoffk@apple.com>
2963 * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
2965 * testsuite/libjava.lang/Array_3.xfail: New file.
2967 2005-12-01 Alan Modra <amodra@bigpond.net.au>
2969 * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
2970 to compare _Jv_InterpMethod::run against current func.
2972 2005-11-30 Andrew Haley <aph@redhat.com>
2974 * classpath/lib/Makefile.am (resources): Use `cp -p'.
2975 Remove `@' from start of line.
2977 2005-11-28 Tom Tromey <tromey@redhat.com>
2980 * testsuite/libjava.jni/pr18278.out: New file.
2981 * testsuite/libjava.jni/pr18278.c: New file.
2982 * testsuite/libjava.jni/pr18278.java: New file.
2983 * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
2984 * jni.cc (_Jv_UnwrapJNIweakReference): New function.
2985 (call): Unwrap return value if needed.
2987 2005-11-25 Mark Wielaard <mark@klomp.org>
2989 * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
2991 * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
2992 gnu/javax/rmi to bc.
2993 * gnu/CORBA/ObjectCreator.java: New override file for missing
2994 VMStackWalker issue.
2995 * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
2996 * gnu/CORBA/DynAn/RecordAny.java: Likewise
2997 * sources.am: Regenerated.
2998 * Makefile.in: Regenerated
3000 2005-11-25 Andrew Haley <aph@redhat.com>
3003 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3004 struct timespec we pass to pthread_cond_timedwait.
3006 2005-11-25 Ranjit Mathew <rmathew@gcc.gnu.org>
3008 * testsuite/libjava.jacks/jacks.xfail: Remove
3009 non-jls-argument-expansion-13 and add
3010 non-jls-argument-expansion-error-1 in response to the @file support
3011 patch in the main GCC driver.
3013 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3015 * sysdep/ia64-frame.h: Removed.
3016 * sysdep/ia64.c: Removed.
3017 * sysdep/dwarf2-backtrace.cc: Removed.
3018 * configure.ac: Remove references to HAVE_BACKTRACE and
3020 * Makefile.am: Remove SUPPLY_BACKTRACE support.
3021 * configure: Rebuilt.
3022 * Makefile.in: Rebuilt.
3024 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
3026 * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3028 2005-11-17 Mark Wielaard <mark@klomp.org>
3030 Imported GNU Classpath gcj-import-20051117.
3031 * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3032 * sources.am: Regenerated.
3033 * Makefile.in: Likewise.
3035 2005-11-17 Mark Wielaard <mark@klomp.org>
3037 * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3038 * java/net/ServerSocket.java: Likewise.
3039 * sources.am: Regenerated.
3040 * Makefile.in: Regenerated.
3042 2005-11-17 Mark Wielaard <mark@klomp.org>
3045 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3047 2005-11-17 Tom Tromey <tromey@redhat.com>
3049 * java/net/ServerSocket.java (accept): Use correct security manager
3052 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3054 * java/net/ServerSocket.java
3057 (bind): Cache local socket address.
3058 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3059 Use cached local socket address.
3060 (close): bound field was removed.
3062 2005-11-17 Tom Tromey <tromey@redhat.com>
3064 * java/net/URLConnection.java (setDoInput): Javadoc fix.
3065 (setDoOutput): Likewise.
3066 (setContentHandlerFactory): Likewise.
3067 (setFileNameMap): Likewise.
3069 2005-11-17 Mark Wielaard <mark@klomp.org>
3071 * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3073 2005-11-17 Mark Wielaard <mark@klomp.org>
3075 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3076 call urls.add() and addURLImpl() directly on each URL.
3078 2005-11-17 Tom Tromey <tromey@redhat.com>
3080 * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3082 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3084 * java/net/URLClassLoader.java
3085 (Resource.name): Removed field.
3086 (JarURLResource.name): Added field.
3087 (FileResource.getURL): Use File.toURL() instead of doing it in
3088 a way that breaks on Windows.
3090 2005-11-17 Roman Kennke <roman@kennke.org>
3092 Reported by: Ingo Proetel <proetel@aicas.com>
3093 * java/net/URLClassLoader.java
3094 (findClass): Added null check to avoid NullPointerException.
3096 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3098 * java/net/URLClassLoader.java: reordered some API doc comments to
3099 suppress Eclipse warnings, and fixed API doc link.
3101 2005-11-17 Tom Tromey <tromey@redhat.com>
3103 * java/net/URLClassLoader.java (URLClassLoader): Removed
3106 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3108 * java/net/URLClassLoader (findClass): Close InputStream after we're
3111 2005-11-17 Bryce McKinlay <mckinlay@redhat.com>
3114 * include/jvm.h (gcj::stack_size): Declare.
3115 (_Jv_StackSize): Declare.
3116 * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3117 (_Jv_ThreadStart): Set stack size if specified.
3118 * prims.cc (gcj::stack_size): Define.
3119 (parse_memory_size): Renamed from parse_heap_size.
3120 (_Jv_SetStackSize): Parse stack size argument and set
3123 2005-11-17 Mark Wielaard <mark@klomp.org>
3125 * java/text/SimpleDateFormat.java: Removed, fully merged now.
3126 * sources.am: Regenerated.
3127 * Makefile.in: Regenerated.
3129 2005-11-17 Sven de Marothy <sven@physto.se>
3131 * java/text/SimpleDateFormat.java
3132 (computeOffset): Allow timezone to be first in the parsed String.
3134 2005-11-17 Mark Wielaard <mark@klomp.org>
3136 * java/text/SimpleDateFormat.java (field, size): Make package private.
3138 2005-11-17 Tom Tromey <tromey@redhat.com>
3140 * java/text/SimpleDateFormat.java (compileFormat): Correctly
3141 handle quoted single quotes. PR classspath/23183.
3143 2005-11-17 Tom Tromey <tromey@redhat.com>
3145 * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3147 2005-11-17 Tom Tromey <tromey@redhat.com>
3149 * java/text/DateFormat.java (serialVersionUID): New field.
3151 2005-11-17 Mark Wielaard <mark@klomp.org>
3153 * java/text/DateFormat.java (equals): Reimplement.
3155 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
3157 * java/text/Collator.java: API doc fixes,
3158 * java/text/DateFormat.java: likewise,
3159 * java/text/DecimalFormatSymbols.java: likewise,
3160 * java/text/DateFormatSymbols.java: likewise,
3161 * java/text/SimpleDateFormat.java: likewise.
3163 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
3165 * java/text/Collator.java (getInstance(Locale)):
3166 Added default collation pattern to handle case when resource
3167 is missing and throw InternalError instead of returning null
3168 should parsing fail.
3170 2005-11-15 Mark Wielaard <mark@klomp.org>
3172 * java/util/zip/ZipEntry.java: Removed, fully merged now.
3173 * java/util/zip/ZipFile.java: Likewise.
3174 * sources.am: Regenerated.
3175 * Makefile.in: Regenerated.
3177 2005-11-15 Tom Tromey <tromey@redhat.com>
3180 * java/util/Calendar.java (equals): Include other calendar
3182 (hashCode): Updated.
3183 * java/util/GregorianCalendar.java (hashCode): New method.
3184 (equals): Use super.equals().
3186 2005-11-15 Sven de Marothy <sven@physto.se>
3188 * java/util/Calendar (setTimeInMillis): Recompute time fields.
3190 2005-11-15 Mark Wielaard <mark@klomp.org>
3192 * java/util/SimpleTimeZone.java: Removed, fully merged now.
3193 * java/util/Date.java: Likewise.
3194 * sources.am: Regenerated.
3195 * Makefile.in: Regenerated.
3197 2005-11-15 David Gilbert <david.gilbert@object-refinery.com>
3199 * java/util/Calendar.java: fixed minor problems in API docs,
3200 * java/util/Date.java: likewise,
3201 * java/util/ResourceBundle.java: likewise,
3202 * java/util/SimpleTimeZone.java: likewise,
3204 2005-11-15 Jeroen Frijters <jeroen@frijters.net>
3206 * java/io/ObjectInputStream.java
3207 (parseContent): Removed bogus println and fixed bug #24422.
3209 2005-11-15 Mark Wielaard <mark@klomp.org>
3211 * java/io/ObjectStreamClass.java: Removed, fully merged now.
3212 * sources.am: Regenerated.
3213 * Makefile.in: Regenerated.
3215 2005-11-15 Wolfgang Baer <WBaer@gmx.de>
3217 * java/io/ObjectInputStream.java
3218 (processResolution): Pass Error, RuntimeException and
3219 ObjectStreamException through to the caller.
3220 (readObject): Documentation update.
3222 2005-11-15 Mark Wielaard <mark@klomp.org>
3224 Imported GNU Classpath 0.19 + gcj-import-20051115.
3225 * sources.am: Regenerated.
3226 * Makefile.in: Likewise.
3227 * scripts/makemake.tcl: Use glob -nocomplain.
3229 2005-11-15 Scott Gilbertson <scottg@mantatest.com>
3231 * Makefile.in: Re-generated.
3232 * gnu/awt/xlib/XGraphicsDevice.java: New file.
3233 * gnu/awt/xlib/XToolkit.java
3234 (getLocalGraphicsEnvironment): Implemented.
3235 * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3236 * sources.am: Re-generated.
3238 2005-15-09 David Daney <ddaney@avtrex.com>
3241 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3244 (close): Call shutdown before closing.
3245 (read()): Call read_helper with proper parameters.
3246 (read(buffer, int, int)): Likewise.
3247 (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd
3248 and timeout parameters. Make prototype to match. Use
3249 pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3252 2005-11-15 Andrew Haley <aph@redhat.com>
3254 * Merge from Classpath head:
3256 2005-09-16 Andrew Haley <aph@redhat.com>
3258 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3259 protected readResolve(). Rewrite accessibility check.
3261 2005-07-07 Jeroen Frijters <jeroen@frijters.net>
3263 * java/io/ObjectStreamClass.java
3264 (findAccessibleMethod): Added code to make method accessible.
3266 2005-07-03 Daniel Bonniot <bonniot@users.sf.net>
3268 * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3269 (findAccessibleMethod): Likewise.
3270 (cacheMethods): Lookup readResolve and writeReplace using the new
3271 findAccessibleMethod().
3273 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3275 * java/net/natVMNetworkInterfaceWin32.cc: Include
3276 java/net/VMNetworkInterface.h.
3278 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
3279 David Daney <ddaney@avtrex.com>
3281 * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3282 (read): Handle count == 0 case.
3284 2005-11-09 Tom Tromey <tromey@redhat.com>
3286 * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3289 2005-11-08 Tom Tromey <tromey@redhat.com>
3292 * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3294 2005-11-08 Tom Tromey <tromey@redhat.com>
3296 PR libgcj/23763. From aeby@graeff.com.
3297 * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3300 2005-11-08 Mark Wielaard <mark@klomp.org>
3302 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3304 2005-11-07 David Daney <ddaney@avtrex.com>
3306 * mauve-libgcj: Disable javax.rmi.* and
3307 java.io.InputStreamReader.getEncoding.
3309 2005-11-04 Tom Tromey <tromey@redhat.com>
3311 PR libgcj/14358, libgcj/24552:
3312 * gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add
3313 aliases for 'euc_jp' and 'eucjp'.
3314 * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include
3315 canonical names in output.
3316 (%map): Added UnicodeLittle and UnicodeBig.
3318 2005-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3320 * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3322 2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
3324 * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3327 2005-10-12 Andrew Haley <aph@redhat.com>
3330 * link.cc (ensure_method_table_complete): Install Miranda methods
3333 2005-10-10 Tom Tromey <tromey@redhat.com>
3335 * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3336 * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3339 2005-10-05 Richard Henderson <rth@redhat.com>
3342 * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3343 but not BACKTRACESPEC.
3344 (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
3346 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>
3348 * testsuite/lib/jni.exp (gcj_jni_test_one): For
3349 darwin, use -shared-libgcc not -lgcc_s, and explain why.
3350 (gcj_jni_invocation_test_one): Likewise.
3352 2005-09-30 Tom Tromey <tromey@redhat.com>
3355 * Makefile.in: Rebuilt.
3356 * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3358 (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3359 (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3360 (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3361 (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3362 (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3363 * configure: Rebuilt.
3364 * configure.ac: Pass --enable-qt-peers when qt is requested.
3366 2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
3368 * configure.ac: Fix typo.
3369 * configure: Regenerate.
3371 2005-09-28 Geoffrey Keating <geoffk@apple.com>
3373 * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3374 __LP64__ is defined rather than __powerpc64__.
3375 (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3376 (compare_and_swap_release): Likewise.
3378 2005-09-28 David Daney <ddaney@avtrex.com>
3380 * HACKING: Update instructions for classpath import.
3382 2005-09-27 Tom Tromey <tromey@redhat.com>
3385 * include/jvm.h (_Jv_FreeMethodCache): Declare.
3386 * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3387 (struct _Jv_mcache): Likewise.
3388 (method_cache): Likewise.
3389 (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3390 (_Jv_AddMethodToCache): Likewise.
3391 (_Jv_FreeMethodCache): New function.
3392 * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
3393 * aclocal.m4, configure, include/config.h.in: Rebuilt.
3394 * configure.ac: Invoke GCC_CHECK_TLS.
3396 2005-09-27 Tom Tromey <tromey@redhat.com>
3398 * configure, Makefile.in: Rebuilt.
3399 * sources.am: Rebuilt.
3400 * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
3401 * configure.ac (TOOLKIT): Handle Qt peers properly.
3403 2005-09-23 Tom Tromey <tromey@redhat.com>
3405 Imported Classpath 0.18.
3406 * sources.am, Makefile.in: Updated.
3407 * Makefile.am (nat_source_files): Removed natProxy.cc.
3408 * java/lang/reflect/natProxy.cc: Removed.
3409 * gnu/classpath/jdwp/VMFrame.java,
3410 gnu/classpath/jdwp/VMIdManager.java,
3411 gnu/classpath/jdwp/VMVirtualMachine.java,
3412 java/lang/reflect/VMProxy.java: New files.
3414 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3416 * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
3419 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3421 * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
3422 Remove ClasspathToolkit references.
3424 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3426 * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
3427 * gnu/awt/xlib/XFramePeer.java: Likewise.
3428 * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
3430 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3432 * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
3433 classpath/native/jawt/jawt.c.
3434 * Makefile.in: Regenerate.
3435 * jawt.c: Remove file.
3436 * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
3437 jawt_md.h. Add ../classpath/include/jawt.h and
3438 ../classpath/include/jawt_md.h.
3439 * include/Makefile.in: Regenerate.
3440 * include/jawt.h: Regenerate.
3441 * include/jawt_md.h: Regenerate.
3443 2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
3445 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
3446 `null' parent ClassLoader to parent constructor.
3447 * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
3450 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
3452 * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
3454 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
3456 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):