OSDN Git Service

* HACKING: Various updates.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-01-10  Tom Tromey  <tromey@redhat.com>
2
3         * HACKING: Various updates.
4
5 2007-01-10  Tom Tromey  <tromey@redhat.com>
6
7         * java/lang/natDouble.cc (toString): Added parens.
8         * gnu/gcj/io/shs.h (PROTO): Define.
9         * link.cc (resolve_pool_entry): Added missing braces.
10
11 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
12
13         PR libgcj/30424
14         * sysdep/ia64/locks.h (read_barrier): New.
15         (write_barrier): New.
16
17 2007-01-10  Gary Benson  <gbenson@redhat.com>
18
19         * java/net/URL.java: Removed.
20         * sources.am, Makefile.in: Rebuilt.
21
22 2007-01-10  Matthias Klose  <doko@debian.org>
23
24         * Makefile.am (install-exec-hook): Support $(DESTDIR).
25         * Makefile.in: Regenerated.
26
27 2007-01-05  Tom Tromey  <tromey@redhat.com>
28
29         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
30         dummy.class in srcdir.
31
32 2007-01-03  Tom Tromey  <tromey@redhat.com>
33
34         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
35         for srcdir.
36
37 2007-01-03  Tom Tromey  <tromey@redhat.com>
38
39         * testsuite/*: Added many .jar and .h files.
40         * testsuite/libjava.special/special.exp
41         (gcj_special_try_compiler): New proc.
42         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
43         bytecompile source.  Search for .jar files.
44         (gcj_loader_test_one): Don't look for MyLoader.java.
45         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
46         bytecompile sources or build headers.
47         (gcj_jvmti_run): Look for .jar files.
48         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
49         files.
50         (gcj_jni_test_one): Don't bytecompile sources or build headers.
51         Set classpath when invoking gij.
52         (gcj_jni_invocation_test_one): Likewise.
53         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
54         headers or bytecompile sources.
55         (gcj_cni_run): Use .jar files, not .java files.
56         * testsuite/libjava.lang/lang.exp: Compile .jar files.
57
58 2007-01-02  Tom Tromey  <tromey@redhat.com>
59
60         * configure: Rebuilt.
61         * configure.ac: Check for gjar.
62
63 2007-01-02  Tom Tromey  <tromey@redhat.com>
64
65         * testsuite/libjava.jacks/jacks.exp: Removed.
66         * testsuite/libjava.jacks/jacks.xfail: Removed.
67
68 2006-12-22  Tom Tromey  <tromey@redhat.com>
69
70         * sources.am, Makefile.in: Rebuilt.
71         * java/io/natObjectInputStream.cc (allocateObject): Now method on
72         VMObjectStream.
73         (currentLoader): Removed.
74         * java/io/ObjectInputStream.java: Removed.
75         * java/io/VMObjectInputStream.java: New file.
76         * scripts/classes.pl (scan): Ignore .svn directories.
77         * gcj/javaprims.h: Updated.
78
79 2006-12-22  Tom Tromey  <tromey@redhat.com>
80
81         * testsuite/libjava.jni/register2.c: Include jni.h, not
82         register2.h.
83         * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers):
84         Special-case shortfield.
85
86 2006-12-20  Andrew Haley  <aph@redhat.com>
87
88         * java/lang/natClass.cc (getDeclaredAnnotations): Call
89         ClassLoader.getDeclaredAnnotations and
90         ClassLoader.putDeclaredAnnotations.
91         * java/lang/ClassLoader.java (AnnotationsKey): New class.
92         (getDeclaredAnnotations, putDeclaredAnnotations): New.
93
94 2006-12-19  Andrew Haley  <aph@redhat.com>
95
96         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Move here
97         from include/jvm.h.
98         Add BC ABI Version 1.
99         Throw a ClassFormatError if we're not ABI-compatible.
100         (_Jv_RegisterClasses): Throw a ClassFormatError if we're not
101         ABI-compatible.
102         (_Jv_RegisterClasses_Counted): Likewise.
103         (_Jv_NewClassFromInitializer): Likewise.
104         Call Class::initializerSize to get size of initializer struct.
105         * include/jvm.h (_Jv_CheckABIVersion): Move to natClassLoader.cc.
106         * java/lang/Class.h (Class::initializerSize): New function.
107
108 2006-12-18  Tom Tromey  <tromey@redhat.com>
109
110         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_build_headers):
111         Don't use jv-scan.
112
113 2006-12-18  Tom Tromey  <tromey@redhat.com>
114
115         * HACKING: Updated.
116         * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.93.
117
118 2006-12-15  Tom Tromey  <tromey@redhat.com>
119
120         * configure, Makefile.in: Rebuilt.
121         * Makefile.am (gcjh.stamp): Use JAVA_MAINTAINER_MODE.
122         * configure.ac: Added --enable-java-maintainer-mode.
123
124 2006-12-15  Tom Tromey  <tromey@redhat.com>
125
126         * testsuite/libjava.compile: Removed.
127
128 2006-12-15  Andrew Haley  <aph@redhat.com>
129
130         * Makefile.am (AM_MAKEFLAGS): Pass JAR to sub-make.
131         (libgcj_tools_la_GCJFLAGS): Pass -fsource-filename to gcj.
132
133 2006-12-14  Gary Benson  <gbenson@redhat.com>
134
135         * include/java-stack.h (stackwalker_nnl_trace_fn,
136         GetStackWalkerFirstNonNullLoader): Declare.
137         * stacktrace.cc (stackwalker_nnl_trace_fn,
138         GetStackWalkerFirstNonNullLoader): New methods.
139         * gnu/classpath/natVMStackWalker.cc
140         (firstNonNullClassLoader): New method.
141         * gnu/classpath/VMStackWalker.java
142         (firstNonNullClassLoader): Replace with native method.
143
144 2006-12-13  Gary Benson  <gbenson@redhat.com>
145
146         * stacktrace.cc (stackwalker_trace_fn,
147         GetStackWalkerCallingClass): Be less strict about caller.
148         * gnu/classpath/natVMStackWalker.cc
149         (getCallingClassLoader): New method.
150         * gnu/classpath/VMStackWalker.java
151         (getCallingClassLoader): Replace with native method.
152
153 2006-12-12  Tom Tromey  <tromey@redhat.com>
154
155         * sources.am, Makefile.in: Rebuilt.
156         * gnu/java/rmi/rmic/CompilerProcess.java: Removed.
157         * gnu/java/rmi/rmic/RMICException.java: Removed.
158         * gnu/java/rmi/rmic/Compiler.java: Removed.
159         * gnu/java/rmi/rmic/Compile_gcj.java: Removed.
160         * gnu/java/rmi/rmic/Compile_jikes.java: Removed.
161         * gnu/java/rmi/rmic/TabbedWriter.java: Removed.
162         * gnu/java/rmi/rmic/Compile_kjc.java: Removed.
163         * gnu/java/rmi/rmic/RMIC.java: Removed.
164         * Makefile.am (toolexeclib_LTLIBRARIES): Uncomment
165         libgcj-tools.la.
166         (jar_DATA): Uncomment libgcj-tools jar.
167         (libgcj_tools_la_SOURCES): Uncomment.
168         (libgcj_tools_la_GCJFLAGS): Likewise.
169         (libgcj_tools_la_LDFLAGS): Likewise.
170         (libgcj_tools_la_DEPENDENCIES): Likewise.
171         (libgcj_tools_la_LINK): Likewise.
172         (libgcj-tools-$(gcc_version).jar): Uncomment.
173         (bin_PROGRAMS): Add gappletviewer, gjarsigner, gkeytool, gjar,
174         gjavah, gnative2ascii, gorbd, grmid, gserialver, gtnameserv.
175         (gjar_SOURCES): New variable.
176         (gjar_LDFLAGS): Likewise.
177         (gjar_LINK): Likewise.
178         (gjar_LDADD): Likewise.
179         (gjar_DEPENDENCIES): Likewise.
180         (gjavah_SOURCES): Likewise.
181         (gjavah_LDFLAGS): Likewise.
182         (gjavah_LINK): Likewise.
183         (gjavah_LDADD): Likewise.
184         (gjavah_DEPENDENCIES): Likewise.
185         (gnative2ascii_SOURCES): Likewise.
186         (gnative2ascii_LDFLAGS): Likewise.
187         (gnative2ascii_LINK): Likewise.
188         (gnative2ascii_LDADD): Likewise.
189         (gnative2ascii_DEPENDENCIES): Likewise.
190         (gorbd_SOURCES): Likewise.
191         (gorbd_LDFLAGS): Likewise.
192         (gorbd_LINK): Likewise.
193         (gorbd_LDADD): Likewise.
194         (gorbd_DEPENDENCIES): Likewise.
195         (grmid_SOURCES): Likewise.
196         (grmid_LDFLAGS): Likewise.
197         (grmid_LINK): Likewise.
198         (grmid_LDADD): Likewise.
199         (grmid_DEPENDENCIES): Likewise.
200         (gserialver_SOURCES): Likewise.
201         (gserialver_LDFLAGS): Likewise.
202         (gserialver_LINK): Likewise.
203         (gserialver_LDADD): Likewise.
204         (gserialver_DEPENDENCIES): Likewise.
205         (gtnameserv_SOURCES): Likewise.
206         (gtnameserv_LDFLAGS): Likewise.
207         (gtnameserv_LINK): Likewise.
208         (gtnameserv_LDADD): Likewise.
209         (gtnameserv_DEPENDENCIES): Likewise.
210         (grmic_LDADD): Link against tools library.
211         (grmic_LDFLAGS): Changed --main.
212         (grmiregistry_LDADD): Link against tools library.
213         (grmiregistry_LDFLAGS): Changed --main.
214         (grmic_DEPENDENCIES): Updated.
215         (grmiregistry_DEPENDENCIES): Likewise.
216
217 2006-12-12  Tom Tromey  <tromey@redhat.com>
218
219         * sources.am, Makefile.in: Rebuilt.
220         * gnu/java/nio/FileLockImpl.java: New override.
221         * gnu/java/nio/SelectorProviderImpl.java: New override.
222         * gnu/java/nio/PipeImpl.java: New override.
223         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: New override.
224         * gnu/java/nio/NIOSocket.java: New override.
225         * gnu/java/nio/SocketChannelSelectionKey.java: New override.
226         * java/io/FileDescriptor.java: New override.
227         * java/io/RandomAccessFile.java: New override.
228         * java/io/FileInputStream.java: New override.
229         * java/io/FileOutputStream.java: New override.
230         * configure.ac: Pass --disable-Werror, --disable-tool-wrappers to
231         Classpath configure.
232         * java/io/ObjectInputStream.java (readClassDescriptor): Don't pass
233         class loader to ObjectStreamField.
234         * java/net/DatagramSocket.java: New override.
235         * java/net/Socket.java: New override.
236         * java/net/MulticastSocket.java: New override.
237         * gnu/classpath/VMStackWalker.java (firstNonNullClassLoader): New
238         method from Classpath.
239         * java/lang/Class.java (newInstance): Fixed return type.
240         (forName): Likewise.
241         (getClasses): Likewise.
242         (getComponentType): Likewise.
243         (getConstructors): Likewise.
244         (getDeclaredClasses): Likewise.
245         (getDeclaredConstructors): Likewise.
246         (getDeclaringClass): Likewise.
247         (getInterfaces): Likewise.
248         (getSuperclass): Likewise.
249         (internalGetClasses): Genericized.
250         (getMethod): Likewise.
251         (isAssignableFrom): Likewise.
252         * java/util/zip/natDeflater.cc (getBytesWritten): Renamed.
253         (getBytesRead): Likewise.
254         * java/util/zip/Deflater.java (getBytesRead, getBytesWritten): New
255         methods.
256         (getTotalIn, getTotalOut): Rewrote.
257         * java/net/NetworkInterface.java: New override.
258         * java/lang/ClassLoader.java (defineClass): New overload from
259         Classpath.
260
261 2006-12-11  Gary Benson  <gbenson@redhat.com>
262
263         * gcj/Makefile.in: Rebuilt.
264
265 2006-12-11  Gary Benson  <gbenson@redhat.com>
266
267         * Makefile.in: Rebuilt.
268         * include/Makefile.in: Likewise.
269         * testsuite/Makefile.in: Likewise.
270
271 2006-12-08  Mohan Embar  <gnustuff@thisiscool.com>
272
273         * configure, Makefile.in: Rebuilt.
274         * configure.ac: (GCJ_FOR_ECJX) New substitution.
275         (host_exeext): Likewise.
276         (ENABLE_SHARED): New conditional,
277         * Makefile.am: Added GCJ_FOR_ECJX and GCJ_FOR_ECJX_LINK.
278         (install-exec-hook): Correctly rename ecjx to ecj1.
279         (ecjx_LINK, ecjx_LDFLAGS, ecjx_LDADD, ecjx_DEPENDENCIES): Define
280         as a function of whether we're doing a native and/or shared build.
281
282 2006-12-08  Mohan Embar  <gnustuff@thisiscool.com>
283
284         * posix-threads.cc (_Jv_ThreadUnpark): Removed.
285         (ParkHelper::unpark): Ported from _Jv_ThreadUnpark.
286         (ParkHelper::deactivate): Implemented.
287         (_Jv_ThreadPark): Removed.
288         (ParkHelper::park): Ported from _Jv_ThreadPark; moved
289         mutex locking and unlocking to inside if statement.
290         * win32-threads.cc (compare_and_exchange): New helper function.
291         (_Jv_ThreadUnpark, _Jv_ThreadPark): Removed.
292         (ParkHelper::init): Implemented.
293         (ParkHelper::init_event): Implemented.
294         (ParkHelper::deactivate): Implemented.
295         (ParkHelper::destroy): Implemented.
296         (ParkHelper::unpark): Implemented.
297         (ParkHelper::park): Implemented.
298         * java/lang/natThread.cc (initialize_native): Use ParkHelper
299         instead of POSIX synchronization constructs.
300         (finalize_native):  Likewise.
301         (interrupt): Use ParkHelper method instead of _Jv_ThreadUnpark().
302         (finish_): Use ParkHelper::deactivate().
303         * include/jvm.h (struct natThread): Use ParkHelper instead of POSIX
304         synchronization constructs.
305         * include/posix-threads.h: Include sysdep/locks.h
306         (_Jv_ThreadUnpark, _Jv_ThreadPark): Removed.
307         (ParkHelper): New struct.
308         (ParkHelper::init): Implemented.
309         (ParkHelper::destroy): Implemented.
310         * include/win32-threads.h (ParkHelper): New struct.
311         (TEXT): undefined this macro.
312         * sun/misc/natUnsafe.cc (unpark): Use ParkHelper instead of
313         _Jv_ThreadUnpark.
314         (park):  Use ParkHelper instead of _Jv_ThreadPark.
315
316 2006-12-08  Ben Konrath  <bkonrath@redhat.com>
317
318         PR libgcj/30110:
319         * Makefile.am: Add contents of classpath/external to src.zip.
320         * Makefile.in: Regenerate.
321
322 2006-12-07  Tom Tromey  <tromey@redhat.com>
323
324         PR libgcj/30076:
325         * defineclass.cc (read_fields): Sort fields here.
326         (handleFieldsEnd): Removed.
327         (handleField): Added field map argument.
328         (struct _Jv_ClassReader): Updated.
329         (handleParameterAnnotations): Use writeInt for the length.
330
331 2006-12-07  Gary Benson  <gbenson@redhat.com>
332
333         * include/java-stack.h (stackwalker_trace_fn,
334         GetStackWalkerCallingClass): Declare.
335         * stacktrace.cc (stackwalker_trace_fn,
336         GetStackWalkerCallingClass): New methods.
337         * gnu/classpath/natVMStackWalker.cc
338         (getCallingClass): Use the above.
339         * gnu/classpath/VMStackWalker.java
340         (getCallingClass): Replace with native method.
341
342 2006-12-06  Tom Tromey  <tromey@redhat.com>
343
344         PR java/24938:
345         * sources.am, Makefile.in: Rebuilt.
346         * gnu/CORBA/DynAn/gnuDynValue.java: Removed.
347         * gnu/CORBA/DynAn/RecordAny.java: Removed.
348         * gnu/CORBA/DynAn/RecordAny.h: Rebuilt.
349
350 2006-12-06  Andrew Haley  <aph@redhat.com>
351
352         * gcj/javaprims.h (_Jv_is_proxy): Declare.
353         * java/lang/reflect/natVMProxy.cc (_Jv_is_proxy): Define
354         (run_proxy): Register this proxy invocation with a _Jv_InterpFrame.
355         * include/java-stack.h (struct _Jv_StackFrame): Add proxyClass and
356         proxyMethod.
357         * stacktrace.cc (UnwindTraceFn): Add frame_proxy handling.
358         (getLineNumberForFrame): Likewise.
359         (FillInFrameInfo): Likewise.
360
361 2006-12-05  Andrew Haley  <aph@redhat.com>
362
363         * Makefile.am: Add java/lang/reflect/natVMProxy.cc.
364         * java/lang/reflect/Method.java (exception_types, parameter_types,
365         return_type): Make package private.
366         * include/jvm.h (_Jv_makeUtf8Const(const char *s)): New function.
367         (_Jv_Linker::layout_vtable_methods): Given
368         public linkage.
369         (_Jv_Linker::search_method_in_class): Likewise.
370         * interpret.cc (_Jv_init_cif): Renamed from init_cif.  Given
371         public linkage.
372         * include/java-interp.h (_Jv_init_cif): Likewise.
373         * java/lang/reflect/natVMProxy.cc: New file.
374         * java/lang/VMCompiler.java (precompiles): New method.
375         (compileClass): Use it.
376         * java/lang/reflect/VMProxy.java
377         (HAVE_NATIVE_GENERATE_PROXY_CLASS): true.
378         (generateProxyClass): Native.
379         
380 2006-12-05  Tom Tromey  <tromey@redhat.com>
381
382         * Makefile.in: Rebuilt.
383         * Makefile.am (libexecsubdir): New variable.
384         (install-exec-hook): Install ecj1 in libexecsubdir.
385         (libexecsub_PROGRAMS): Renamed.
386
387 2006-12-05  Tom Tromey  <tromey@redhat.com>
388
389         PR java/29495:
390         * testsuite/libjava.lang/PR29495.out: New file.
391         * testsuite/libjava.lang/PR29495.java: New file.
392
393 2006-12-05  Gary Benson  <gbenson@redhat.com>
394
395         * gnu/classpath/natVMStackWalker.cc: Comment fixes.
396
397 2006-12-05  Gary Benson  <gbenson@redhat.com>
398
399         * gnu/classpath/natVMStackWalker.cc (getCallingClass): Unwind
400         the stack when the caller is a compiled frame and the caller
401         of the caller is an interpreted frame.
402
403 2006-12-04  Adam Megacz <megacz@cs.berkeley.edu>
404
405         * gnu/gcj/runtime/natSharedLibLoader.cc (init): add "::" to fix
406         syntax error
407
408 2006-12-04  Adam Megacz <megacz@cs.berkeley.edu>
409
410         * include/win32.h (_Jv_platform_process): change to Win32Process
411         
412 2006-12-04  Gary Benson  <gbenson@redhat.com>
413
414         * stacktrace.cc (GetClassContext): Remove.
415         * include/java-stack.h (GetClassContext): Likewise.
416
417 2006-12-04  Gary Benson  <gbenson@redhat.com>
418
419         * java/lang/SecurityManager.java: Removed.
420         * java/lang/VMSecurityManager.java: Likewise.
421         * java/lang/natVMSecurityManager.cc: Likewise.
422         * javax/naming/spi/NamingManager.java: Likewise.
423         * gnu/CORBA/ObjectCreator.java: Likewise.
424         * sun/reflect/Reflection.java: Replaced with reference.
425         * sun/reflect/natReflection.cc: Removed.
426         * gcj/javaprims.h: Removed reference to VMSecurityManager.
427         * Makefile.am (nat_source_files): Removed natReflection.cc
428         and natVMSecurityManager.cc.
429         * sources.am, Makefile.in: Rebuilt.     
430         
431 2006-12-01  Gary Benson  <gbenson@redhat.com>
432
433         * java/net/URLClassLoader.java
434         (findClass): Inhibit calling this.toString() further into VM
435         initialization.
436         (runtimeInitialized): Removed.
437         * java/net/natURLClassLoader.cc: Removed.
438         * Makefile.am: Reflect the above.
439         * Makefile.in: Rebuilt. 
440
441 2006-11-30  Tom Tromey  <tromey@redhat.com>
442
443         * java/lang/Class.java (getAnnotations): Don't recurse.
444
445 2006-11-30  Gary Benson  <gbenson@redhat.com>
446
447         * include/java-stack.h (GetStackWalkerStack): Declare.
448         * stacktrace.cc (GetStackWalkerStack): New method.
449         * gnu/classpath/natVMStackWalker.cc (getClassContext): Likewise.
450         * gnu/classpath/VMStackWalker.java
451         (getClassContext): Replace stub with native method declaration.
452         (getCallingClass): Remove "throws NotImplementedException".
453         (getCallingClassLoader): Likewise.
454
455 2006-11-30  Gary Benson  <gbenson@redhat.com>
456
457         * java/lang/ClassLoader.java: Merged javadoc.
458         (getParent, getSystemClassLoader): Use VMStackWalker.
459
460 2006-11-30  Gary Benson  <gbenson@redhat.com>
461
462         * java/lang/Thread.java: Merged javadoc.
463         (getContextClassLoader): Use VMStackWalker.
464
465 2006-11-29  Gary Benson  <gbenson@redhat.com>
466
467         * java/lang/Package.java: Removed.
468         * java/security/Security.java: Likewise.
469         * java/util/ResourceBundle.java: Likewise.
470         * java/util/natResourceBundle.cc: Likewise.
471         * Makefile.am (nat_source_files): Removed natResourceBundle.cc.
472         * sources.am, Makefile.in: Rebuilt.
473
474 2006-11-29  Gary Benson  <gbenson@redhat.com>
475
476         * gnu/classpath/VMStackWalker.java: Added javadoc.
477
478 2006-11-27  Andrew Haley  <aph@redhat.com>
479
480         * sun/reflect/misc/ReflectUtil.java (checkPackageAccess):
481         Implement.
482
483 2006-11-23  Andrew Haley  <aph@redhat.com>
484
485         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Abort if we
486         are ABI-incompatible.
487
488 2006-11-23  Andrew Haley  <aph@redhat.com>
489
490         * Makefile.am (nat_source_files): Add gnu/classpath/natVMStackWalker.cc.
491         * sources.am: Rebuild.
492         * gnu/classpath/natVMStackWalker.cc: New file.
493         * gnu/classpath/VMStackWalker.java: New file.
494         * headers.txt: prepend 
495         _Jv_Thread_t* _Jv_ThreadGetData(java::lang::Thread* thread)
496         * include/java-stack.h: Add VMStackWalker namespace.
497         Add friend class gnu::classpath::VMStackWalker.
498
499 2006-11-23  Gary Benson  <gbenson@redhat.com>
500
501         * java/security/Security.java: Merge with classpath.
502         * java/lang/Package.java: Likewise.
503
504 2006-11-21  Andrew Haley  <aph@redhat.com>
505
506         * java/lang/Class.h: (isEnum, isSynthetic, isAnnotation): Move
507         to native code. 
508         * java/lang/Class.java (isEnum, isSynthetic, isAnnotation):
509         Likewise.
510
511 2006-11-17  Andrew Haley  <aph@redhat.com>
512
513         * java/net/natVMURLConnection.cc: Check for HAVE_MAGIC_OPEN.
514         * configure.ac: Add HAVE_MAGIC_OPEN.
515         * include/config.h.in: Regenerated.
516         * configure: Regenerated.
517         
518 2006-11-07  Andrew Haley  <aph@redhat.com>
519
520         * java/lang/VMCompiler.java (compileClass): Revert mistaken
521         change.
522
523         * java/lang/natVMClassLoader.cc (defineClass): Register the new
524         class with the initiating loader.
525
526 2006-11-06  Andrew Haley  <aph@redhat.com>
527
528         * defineclass.cc (prepare_pool_entry): Be careful about which
529         constant pool entries have their '/' characters stripped.
530         (handleGenericSignature): Likewise.
531         (handleAnnotationElement): Likewise.
532         (handleAnnotation): Likewise.
533         (read_one_class_attribute): Likewise.
534         (handleMethod): Likewise.
535
536         * include/java-cpool.h (JV_CONSTANT_LazyFlag): New.
537         * java/lang/natClass.cc (check_constant): Likewise.
538         * link.cc (resolve_pool_entry): Mask JV_CONSTANT_LazyFlag.
539
540 2006-11-01  Andrew Haley  <aph@redhat.com>
541
542         * java/lang/natClass.cc (parseAnnotationElement): Set result from
543         anno_class.
544
545 2006-10-21  Tom Tromey  <tromey@redhat.com>
546
547         * testsuite/libjava.lang/PR260.out: Rewrote for 1.5.
548         * testsuite/libjava.lang/pr179.out: Rewrote for 1.5.
549         * testsuite/libjava.lang/pr179.java: Updated comments.
550         * testsuite/libjava.compile/inner_1.xfail: Removed.
551
552 2006-10-20  Tom Tromey  <tromey@redhat.com>
553
554         * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers): Don't use
555         jv-scan.
556         * testsuite/lib/libjava.exp (test_libjava_from_javac): Removed.
557         (find_jvscan): Removed.
558
559 2006-10-20  Tom Tromey  <tromey@redhat.com>
560
561         * testsuite/libjava.jni/jni.exp (gcj_jni_build_header): Use
562         -force.
563         * testsuite/lib/libjava.exp (find_gcjh): Find 'gjavah' instead.
564         * testsuite/libjava.cni/cni.exp (gcj_cni_build_headers): Pass -cni
565         and -force to gcjh.
566         * Makefile.in: Rebuilt.
567         * Makefile.am (MYGCJH): Use gjavah.
568
569 2006-10-18  Tom Tromey  <tromey@redhat.com>
570
571         PR classpath/28203:
572         * java/lang/Class.java (getAnnotations): Rewrote.
573         * java/lang/reflect/Method.java (METHOD_MODIFIERS): Now
574         package-private.
575         * java/lang/reflect/Field.java (FIELD_MODIFIERS): Now
576         package-private.
577         * gcj/field.h (_Jv_FIELD_CONSTANT_VALUE): Removed.
578         * defineclass.cc (handleConstantValueAttribute): Added found_value
579         argument.  Don't use _Jv_FIELD_CONSTANT_VALUE.
580         (read_one_field_attribute): Updated.
581         (read_fields): Likewise.
582         (handleField): Mask with FIELD_MODIFIERS, not ALL_FLAGS.
583         (handleMethod): Mask with METHOD_MODIFIERS, not ALL_FLAGS.
584
585 2006-10-17  Tom Tromey  <tromey@redhat.com>
586
587         * defineclass.cc (handleMemberAnnotations): Write member index
588         after 'kind'.
589         (handleAnnotation): Call prepare_pool_entry.
590         * java/lang/reflect/natMethod.cc (getDeclaredAnnotationsInternal):
591         Removed unused variable.
592         (getParameterAnnotationsInternal): Likewise.
593         * java/lang/reflect/natField.cc (getDeclaredAnnotationsInternal):
594         Removed unused variable.
595         * java/lang/reflect/natConstructor.cc
596         (getDeclaredAnnotationsInternal): Removed unused variable.
597         (getParameterAnnotationsInternal): Likewise.
598         * java/lang/natClass.cc (parseAnnotation): Create annotation.
599         (parseAnnotationElement): Handle 'c' and 'e' cases more
600         correctly.
601         (getMethodDefaultValue): Fixed variable names.
602         (parseAnnotationElement): Create String for 's' entry.
603         * java/lang/reflect/Constructor.java (getAnnotation): New method.
604         * java/lang/reflect/Field.java (getAnnotation): New method.
605         * java/lang/reflect/Method.java (getAnnotation): New method.
606
607 2006-10-17  Tom Tromey  <tromey@redhat.com>
608
609         * java/lang/natClass.cc (parseAnnotationElement): Expect a utf8
610         constant in the "string" case.
611         * defineclass.cc (handleAnnotationElement): Expect a utf8 constant
612         in the "string" case.
613
614 2006-10-17  Tom Tromey  <tromey@redhat.com>
615
616         * configure, Makefile.in: Rebuilt.
617         * Makefile.am (install-exec-hook): Now unconditional.  Rename ecjx
618         if needed.
619         (jar_DATA): Add ecj jar when needed.
620         (toolexec_PROGRAMS): New variable.
621         (ecjx_SOURCES, ecjx_LDFLAGS, ecjx_LDADD, ecjx_DEPENDENCIES):
622         Likewise.
623         * prims.cc (JvRunMainName): New function.
624         * include/jvm.h (JvRunMainName): Declare.
625         * configure.ac: Added --with-ecj-jar.
626         (ECJ_JAR): New subst.
627         (ECJ_BUILD_JAR): Likewise.
628         (INSTALL_ECJ_JAR): New conditional.
629         (BUILD_ECJ1): Likewise.
630
631 2006-10-13  Tom Tromey  <tromey@redhat.com>
632
633         * HACKING: Updated.
634         * sources.am, Makefile.in: Rebuilt.
635         * scripts/makemake.tcl (emit_bc_rule): Updated for class files in
636         srcdir.
637         (emit_package_rule): Likewise.
638         (emit_process_package_rule): Likewise.
639         * Makefile.am (gcjh.stamp): Conditional on MAINTAINER_MODE.  Put
640         headers in srcdir.
641         (libgcj-$(gcc_version).jar): Updated to find classes in source
642         tree.
643         (BOOTCLASSPATH): Likewise.
644         (install-data-local): Likewise.
645         Added all the .class and CNI .h files.
646
647 2006-10-12  Andrew Haley  <aph@redhat.com>
648
649         * java/lang/natThreadLocal.cc: New file.
650         * java/lang/ThreadLocal.java: Rewrite to use native TLS.
651         * Makefile.am: Add java/lang/natThreadLocal.cc.
652         * sources.am: Move classpath/java/lang/ThreadLocal.java to
653         java/lang/ThreadLocal.java.
654
655 2006-10-11  Tom Tromey  <tromey@redhat.com>
656
657         * sources.am, Makefile.in, include/config.h.in, configure:
658         Rebuilt.
659         * Makefile.am (nat_source_files): Added natConfiguration.cc.
660         * gnu/classpath/natConfiguration.cc: New file.
661         * configure.ac (AWT_TOOLKIT): New define.
662         (LIBGCJ_PREFIX): Likewise.
663         * gnu/classpath/Configuration.java: New file.
664         * sources.am: Rebuilt.
665         * scripts/makemake.tcl: Don't special case Configuration.java.
666
667 2006-10-10  Tom Tromey  <tromey@redhat.com>
668
669         * gcj/javaprims.h: Updated.
670         * sources.am, Makefile.in: Rebuilt.
671         * standard.omit.in: Removed process source files.
672         * scripts/makemake.tcl: Removed ConcreteProcess special case.
673         (emit_package_rule): Also special-case Process.
674         (emit_process_package_rule): New proc.
675         * Makefile.am (inner_nat_headers): Removed
676         PLATFORM_INNER_NAT_HDRS.
677         * configure: Rebuilt.
678         * configure.ac (PLATFORM_INNER_NAT_HDRS): Removed subst.
679         Don't create ConcreteProcess.java link.
680         (PLATFORM): New subst.
681         * java/lang/natWin32Process.cc: Updated.
682         * java/lang/natPosixProcess.cc: Updated.
683         * java/lang/natEcosProcess.cc: Updated.
684         * java/lang/Win32Process.java (Win32Process): Renamed from
685         ConcreteProcess.
686         * java/lang/EcosProcess.java (EcosProcess): Renamed from
687         ConcreteProcess.
688         * java/lang/PosixProcess.java (PosixProcess): Renamed from
689         ConcreteProcess.
690         * include/win32.h (_Jv_platform_process): New define.
691         * java/lang/natRuntime.cc (execInternal): Use
692         _Jv_platform_process.
693         * include/posix.h (_Jv_platform_process): New define.
694
695 2006-10-09  Andrew Haley  <aph@redhat.com>
696
697         * win32-threads.cc (_Jv_ThreadUnpark, _Jv_ThreadPark): New
698         functions.
699
700 2006-10-06  Tom Tromey  <tromey@redhat.com>
701
702         PR libgcj/29278:
703         * Makefile.in: Rebuilt.
704         * Makefile.am ($(generic_header_files)): Depend on gcjh.stamp.
705         (gcjh.stamp): New target.
706
707 2006-10-06  Andrew Haley  <aph@redhat.com>
708
709         * posix-threads.cc (_Jv_ThreadUnpark, _Jv_ThreadPark): Moved here
710         from sun/misc/natUnsafe.cc.
711         * sun/misc/natUnsafe.cc (class spinlock): New class.
712         (compareAndSwap): New methods.
713         (compareAndSwapInt, compareAndSwapLong, compareAndSwapObject) 
714         (putOrderedLong, putLongVolatile, putObjectVolatile, putLong) 
715         (getIntVolatile, getObjectVolatile, getLong, getLongVolatile):
716         Rewrite to use gcj's own atomic functions rather than gcc
717         builtins.
718         (unpark): Moved to posix-threads.cc
719         (park): Likewise.
720         * include/jvm.h (struct natThread::alive_flag): Moved here from
721         Thread.java.
722         (struct natThread): Likewise.
723         * include/posix-threads.h: (_Jv_ThreadUnpark, _Jv_ThreadPark):
724         moved here from sun/misc/natUnsafe.cc.
725         * java/lang/natThread.cc (initialize_native): Set alive_flag here.
726         (isAlive): Moved here from Thread.java.
727         (interrupt): alive_flag is now in the natThread structure.
728         (interrupt): Call _Jv_ThreadUnpark().
729         (finish_): parkPermit and alive_flag are now in the natThread
730         structure.
731         (start): LIkewise.
732         (_Jv_AttachCurrentThread): Likewise.
733         * java/lang/Thread.java (alive_flag): Remove.
734         (parkPermit): Likewise.
735         (Thread): Don't set alive_flag.
736         (isAlive): Make native.
737         
738 2006-09-13  Andrew Haley  <aph@redhat.com>
739
740         * Makefile.am: Add sun/reflect/natReflection.cc.
741         * Makefile.in: Rebuild.
742         * sun/reflect/natReflection.cc: New file.
743         * sun/reflect/Reflection.java (getCallerClass): Now native.
744         * stacktrace.cc (GetClassContext): Don't check the class if
745         checkClass is NULL.
746         
747 2006-09-12  Andrew Haley  <aph@redhat.com>
748
749         * java/lang/Thread.java (alive_flag): Make it a byte.
750         (THREAD_DEAD, THREAD_ALIVE, THREAD_SIGNALED): new constants.
751         (parkPermit): New variable.
752         (data): Now package private.
753         (Thread): Set alive_flag to THREAD_DEAD, not false.
754         (isAlive): Test against THREAD_DEAD.
755         * java/lang/natThread.cc (initialize_native): Initialize
756         park_mutex and park_cond.
757         (finish_): Set parkPermit THREAD_PARK_DEAD.
758         (interrupt): Rewrite.  Use an atomic update rather than a mutex to
759         access alive_flag.
760         If the thread is parked, unpark it.
761         (start): Set alive_flag to THREAD_ALIVE, not true.
762         (finalize_native): Destroy park_mutex and park_cond.
763         * sun/misc/natUnsafe.cc (unpark): New method.
764         (park): New method.
765         * include/jvm.h (struct natThread): Moved here.
766
767 2006-06-07  Andrew Haley  <aph@redhat.com>
768  
769         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
770         (_Jv_Linker::uaddr): New.
771         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
772         instead of an open-coded loop around search_method_in_class.
773         (search_method_in_class): Add a new arg, check_perms.
774         (search_method_in_superclasses): New.
775         (link_symbol_table): Call maybe_adjust_signature() to extract the
776         least significnt bit of the signature pointer.  Do this three
777         times, for instace method calls, static methods, and interfaces.
778         Call search_method_in_superclasses() instead of
779         _Jv_LookupDeclaredMethod.
780         (typedef uaddr): Delete.
781  
782 2006-09-11  Andrew Haley  <aph@redhat.com>
783
784         * gij.cc (main): Remove bogus code that sets LTDL_SHLIBPATH_VAR
785         and forks.
786
787 2006-06-16  Andrew Haley  <aph@redhat.com>
788
789         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
790         copy the whole Class instance from the initializer: instead, copy
791         everything but the first word (the vtable pointer).
792         Change prototype to (const char* class_initializer).
793         (_Jv_RegisterNewClasses): Change prototype to (const char**).
794         * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
795         (const char**).
796
797 2006-08-31  Tom Tromey  <tromey@redhat.com>
798
799         PR libgcj/28698:
800         * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
801         classes.
802
803 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
804
805         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
806         to GC.
807         (_Jv_DetachCurrentThread): Detach thread from GC.
808         * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
809         Declare.
810         * boehm.cc (_Jv_GCAttachThread): New function.
811         (_Jv_GCDetachThread): Likewise.
812
813 2006-08-16  Jakub Jelinek  <jakub@redhat.com>
814             Bryce McKinlay  <bryce@mckinlay.net.nz>
815
816         * configure, Makefile.in: Rebuilt.
817         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
818         (libgcj_bc_la_SOURCES): New variable.
819         (libgcj_bc_la_LDFLAGS): Likewise.
820         (libgcj_bc_la_LIBADD): Likewise.
821         (libgcj_bc_la_DEPENDENCIES): Likewise.
822         (libgcj_bc_la_LINK): Likewise.
823         (libgcj_bc_dummy_LINK): Likewise.
824         (libgcj_bc.la): New target.
825         (install-exec-hook): Likewise.
826         * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
827         * libgcj_bc.c: New file.
828         * configure.ac (LIBGCJ_SPEC): New subst.
829         * configure.host (use_libgcj_bc): New variable.
830
831 2006-08-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
832
833         * link.cc:
834         Increment loaded classes when printing verbose output.
835         * gnu/java/lang/management/natVMMemoryMXBeanImpl.cc:
836         Added comments.
837         * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc:
838         (getMemoryManagerNames(jstring)): Implemented.
839         (isValid(jstring)): Implemented.
840         * gnu/java/lang/management/natVMClassLoadingMXBeanImpl.cc:
841         (getLoadedClassCount()): Implemented.
842         (getUnloadedClassCount()): Likewise.
843         (isVerbose()): Likewise.
844         (setVerbose(jboolean)): Likewise.
845         * java/lang/management/natVMManagementFactory.cc:
846         (getMemoryPoolNames()): Implemented.
847         (getMemoryManagerNames()): Likewise.
848         (getGarbageCollectorNames()): Likewise.
849         * include/jvm.h:
850         Add loaded and unloaded class counts.
851         * defineclasses.c:
852         Increment loaded classes count.
853         * prims.cc:
854         Add loaded and unloaded class counts.
855         
856 2006-08-16  Tom Tromey  <tromey@redhat.com>
857
858         * include/posix-threads.h (_Jv_MutexLock): No longer inline.
859         * posix-threads.cc (_Jv_CondWait): Set thread's state.
860         * include/jvm.h (class JvSetThreadState): New class.
861         (JvThreadState): New enum.
862         * java/lang/Thread.java (state): New field.
863         * java/lang/natThread.cc (_Jv_ThreadRun): Use
864         getUncaughtExceptionHandler.
865         (start): Set state.
866         (_Jv_AttachCurrentThread): Likewise.
867         (finish_): Likewise.
868         (getState): Wrote.
869
870 2006-08-15  Tom Tromey  <tromey@redhat.com>
871
872         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Added missing
873         '::'.
874         * gnu/gcj/convert/natIconv.cc (init): Added missing '::'.
875         (read): Likewise.
876         * gnu/gcj/natCore.cc (create): Added missing '::'.
877         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
878         Added missing '::'
879
880 2006-08-14  Tom Tromey  <tromey@redhat.com>
881
882         * Makefile.in: Rebuilt.
883         * Makefile.am (libgcj_la_LIBADD): Add LIBMAGIC.
884         * java/net/natVMURLConnection.cc: Wrote, based on Classpath.
885         * configure, config.h.in: Rebuilt.
886         * configure.ac: Check for magic.h and -lmagic.
887
888 2006-08-14  Tom Tromey  <tromey@redhat.com>
889
890         * java/lang/natThread.cc (getId): Removed.
891         * java/lang/Thread.java (threadId): New field.
892         (totalThreadsCreated): Likewise.
893         (Thread): Set threadId.
894         (getId): No longer native.
895
896 2006-08-14  Tom Tromey  <tromey@redhat.com>
897
898         * sources.am, Makefile.in: Rebuilt.
899         * Makefile.am (nat_source_files): Added new .cc files.
900         (libgcj-$(gcc_version).jar): Include 'sun'.
901         (src.zip): Likewise.
902         * java/lang/natThread.cc (getId): New stub.
903         (getState): Likewise.
904         * scripts/makemake.tcl (emit_source_var): Use -decreasing when
905         sorting.
906         * gnu/java/lang/management/natVMMemoryMXBeanImpl.cc: New file.
907         * gnu/java/lang/management/natVMCompilationMXBeanImpl.cc: New file.
908         * gnu/java/lang/management/natVMGarbageCollectorMXBeanImpl.cc: New
909         file.
910         * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc: New file.
911         * gnu/java/lang/management/natVMMemoryManagerMXBeanImpl.cc: New file.
912         * gnu/java/lang/management/natVMClassLoadingMXBeanImpl.cc: New file.
913         * gnu/java/lang/management/natVMThreadMXBeanImpl.cc: New file.
914         * gnu/java/nio/natVMChannel.cc: New file.
915         * gcj/javaprims.h: Updated.
916         * sources.am: Likewise.
917         * java/lang/management/natVMManagementFactory.cc: New file.
918         * java/net/natVMURLConnection.cc: New file.
919         * java/util/concurrent/atomic/natAtomicLong.cc: New file.
920         * sun/misc/natUnsafe.cc: New file.
921
922 2006-08-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
923
924         * libjava/Makefile.in,
925         * libjava/sources.am:
926         Regenerated.
927         * libjava/scripts/makemake.tcl:
928         Added gconf and dnd peers as BC.
929
930 2006-08-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
931
932         * libjava/Makefile.in,
933         * libjava/sources.am:
934         Regenerated.
935         * libjava/scripts/makemake.tcl:
936         Added external/jsr166.
937         
938 2006-08-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
939
940         * libjava/configure,
941         * libjava/Makefile.in:
942         Regenerated.
943         * libjava/scripts/makemake.tcl:
944         Handle the Escher peers as we handle Qt.
945         * libjava/gcj/Makefile.in:
946         Regenerated.
947         * libjava/configure.ac:
948         Handle Escher peers and disable plugin when Gtk+ is not used.
949         * libjava/sources.am:
950         Regenerated.
951         * libjava/classpath/gnu/java/awt/peer/x/fonts.properties:
952         Removed (as recently on generics branch of Classpath).
953         * libjava/include/Makefile.in,
954         * libjava/testsuite/Makefile.in:
955         Regenerated.
956         
957 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
958
959         * libjava/Makefile.in:
960         Regenerated.
961         * libjava/scripts/classes.pl:
962         Ignore .svn directories.
963         * libjava/scripts/makemake.tcl:
964         Include sun directory.
965         * libjava/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
966         * libjava/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
967         * libjava/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
968         * libjava/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
969         * libjava/gnu/java/lang/management/VMThreadMXBeanImpl.java,
970         * libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
971         * libjava/gnu/java/lang/management/VMCompilationMXBeanImpl.java,
972         * libjava/gnu/java/nio/VMChannel.java:
973         Copied over from classpath/vm/reference.
974         * libjava/gnu/java/nio/channels/FileChannelImpl.java:
975         (getNativeFD()): Implemented.
976         * libjava/gcj/javaprims.h:
977         Updated for generics merge from 20060709.
978         * libjava/javax/naming/spi/NamingManager.java:
979         Copied over from classpath/vm/reference.
980         * libjava/sources.am:
981         Regenerated.
982         * libjava/java/lang/Thread.java:
983         (getId()): Implemented.
984         (getState()): Likewise.
985         (getAllStackTraces()): Likewise.
986         (getStackTrace()): Likewise.
987         * libjava/java/lang/management/VMManagementFactory.java,
988         * libjava/java/net/VMURLConnection.java:
989         Copied over from classpath/vm/reference.        
990         * libjava/classpath/vm/reference/java/lang/management/VMThreadInfo.java:
991         Removed.
992         * libjava/classpath/native/fdlibm/namespace.h:
993         Changed back to GCJ LOCAL version.
994         * libjava/sun/reflect/Reflection.java,
995         * libjava/sun/reflect/misc/ReflectUtil.java,
996         * libjava/sun/misc/Unsafe.java:
997         Copied over from classpath/vm/reference.
998
999 2006-07-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1000
1001         * sources.am, Makefile.in: Rebuilt.
1002         * gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
1003         * gnu/java/lang/management/natVMRuntimeMXBeanImpl.cc:
1004         New files.
1005         * include/jvm.h:
1006         Add new variables used in prims.cc.
1007         * Makefile.am:
1008         Add natVMRuntimeMXBeanImpl.cc.
1009         * prims.cc:
1010         (_Jv_CreateJavaVM): Retain start time and input
1011         arguments.
1012
1013 2006-07-21  Tom Tromey  <tromey@redhat.com>
1014
1015         PR libgcj/4105:
1016         * java/lang/natClass.cc (findInnerClassAttribute): New method.
1017         (findDeclaredClasses): Likewise.
1018         (getDeclaredClasses): Implemented.
1019         (getDeclaringClass): Likewise.
1020         (isAnonymousClass): Likewise.
1021         (isMemberClass): Likewise.
1022         (check_constant): Pass message in exception.  Allow resolved
1023         constants.
1024         (resolve_class_constant): New function.
1025         * defineclass.cc (read_one_class_attribute): Handle InnerClasses.
1026         * java/lang/Class.h (isAnonymousClass, isLocalClass,
1027         isMemberClass): Declare.
1028         * java/lang/Class.java (getSimpleName): Implemented.
1029         (isAnonymousClass, isLocalClass, isMemberClass): New methods.
1030
1031 2006-07-16  Tom Tromey  <tromey@redhat.com>
1032
1033         * configure: Rebuilt.
1034         * configure.ac (JV_API_VERSION, JV_VERSION): Claim 1.5.
1035
1036 2006-07-12  Andrew Haley  <aph@redhat.com>
1037
1038         * Makefile.am (java/lang/Object.lo): Add -fsource-filename.
1039         (java/lang/Class.lo): Likewise.
1040         * Makefile.in: Regenerate.
1041
1042 2006-07-07  Tom Tromey  <tromey@redhat.com>
1043
1044         * defineclass.cc (input_data, input_offset): New fields.
1045         (reflection_data, data_stream): Likewise.
1046         (get_reflection_stream): New method.
1047         (_Jv_ClassReader): Initialize new fields.
1048         (parse): Call finish_reflection_data.
1049         (finish_reflection_data): New method.
1050         (handleEnclosingMethod): Likewise.
1051         (handleGenericSignature): Likewise.
1052         (handleAnnotationElement): Likewise.
1053         (handleAnnotation): Likewise.
1054         (handleAnnotations): Likewise.
1055         (handleMemberAnnotations): Likewise.
1056         (handleAnnotationDefault): Likewise.
1057         (handleParameterAnnotations): Likewise.
1058         (read_one_field_attribute): Handle new attributes.
1059         (read_one_method_attribute): Likewise.
1060         (read_one_class_attribute): Likewise.
1061         * include/jvm.h (resolve_method_entry): New method.
1062         * java/lang/Class.h (jv_attr_type, jv_attr_kind): New enums.
1063         (Class): Updated for new methods.  Field, Method, Constructor now
1064         friends.
1065         (reflection_data): New field.
1066         * java/lang/Class.java (asSubclass, cast): New methods.
1067         (getEnclosingClass, getEnclosingConstructor): Now native.
1068         (getEnclosingMethod): Likewise.
1069         (getClassSignature): New method.
1070         (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
1071         Likewise.
1072         (Class): Implements AnnotatedElement.
1073         (getAnnotation, isAnnotationPresent, getAnnotations): New methods.
1074         (getDeclaredAnnotations): New method.
1075         (getDeclaredAnnotationsInternal): Likewise.
1076         * java/lang/reflect/natConstructor.cc (anno_a_t, anno_aa_t): New
1077         typedefs.
1078         (getSignature): New method.
1079         (getDeclaredAnnotationsInternal): Likewise.
1080         (getParameterAnnotationsInternal): Likewise.
1081         * java/lang/reflect/natField.cc (anno_a_t): New typedef.
1082         (getSignature): New method.
1083         (getDeclaredAnnotationsInternal): Likewise.
1084         * java/lang/reflect/natMethod.cc (anno_a_t, anno_aa_t): New
1085         typedefs.
1086         (getSignature): New method.
1087         (getDefaultValue): Likewise.
1088         (getDeclaredAnnotationsInternal): Likewise.
1089         (getParameterAnnotationsInternal): Likewise.
1090         * java/lang/reflect/Constructor.java (addTypeParameters):
1091         Genericized.
1092         (getSignature): Now native.
1093         (getDeclaredAnnotations, getDeclaredAnnotationsInternal,
1094         getParameterAnnotations, getParameterAnnotationsInternal): New
1095         methods.
1096         * java/lang/reflect/Field.java (getDeclaringClass, getType):
1097         Genericized.
1098         (getSignature): Now native.
1099         (getDeclaredAnnotations, getDeclaredAnnotationsInternal): New
1100         methods.
1101         * java/lang/reflect/Method.java (getReturnType): Genericized.
1102         (getParameterTypes, getExceptionTypes, getTypeParameters):
1103         Likewise.
1104         (getSignature): Now native.
1105         (getDefaultValue, getDeclaredAnnotations,
1106         getParameterAnnotations, getDeclaredAnnotationsInternal,
1107         getParameterAnnotationsInternal): New methods.
1108         * java/lang/natClass.cc (read_u1): New functions.
1109         (read_u2): Likewise.
1110         (read_4): New function.
1111         (getReflectionSignature): New methods.
1112         (getClassSignature): New method.
1113         (getEnclosingMethodData): Likewise.
1114         (getEnclosingClass): Likewise.
1115         (getEnclosingMethod): Likewise.
1116         (getEnclosingConstructor): Likewise.
1117         (check_constant): New function.
1118         (parseAnnotationElement): Likewise.
1119         (parseAnnotation): Likewise.
1120         (parseAnnotations): Likewise.
1121         (parseParameterAnnotations): Likewise.
1122         (getMethodDefaultValue): New method.
1123         (getDeclaredAnnotations): New methods.
1124         (getDeclaredAnnotationsInternal): New method.
1125         * boehm.cc (_Jv_MarkObj): Mark 'reflection_data' field.
1126         * link.cc (resolve_method_entry): New method.
1127         (resolve_pool_entry): Use it.
1128
1129 2006-07-07  Andrew Haley  <aph@redhat.com>
1130
1131         * Makefile.am: Use -fsource-filename when compiling libgcj.
1132         * Makefile.in: Regenerate.
1133
1134 2006-06-23  Tom Tromey  <tromey@redhat.com>
1135
1136         Merged in classpath-generics.
1137         * sources.am, Makefile.in: Rebuilt.
1138         * Makefile.am (generic_header_files): Don't filter out omitted
1139         headers.
1140         (generic_header_files): Rewrote.
1141         (MYGCJH): New variable.
1142         Removed all .h rules.
1143         * headers.txt: New file.
1144         * java/io/PrintStream.java (PrintStream): Implement Appendable.
1145         * java/lang/Class.java: Genericized.
1146         (getEnumConstants): New method.
1147         (isEnum): Likewise.
1148         (isSynthetic): Likewise.
1149         (isAnnotation): Likewise.
1150         * java/lang/reflect/Constructor.java (getDeclaringClass,
1151         getTypeParameters, declaringClass): Genericized.
1152         * java/lang/reflect/Method.java (invoke): Now varargs.
1153         * java/lang/ref/Reference.java (Reference): Imported genericized
1154         version from Classpath.
1155         (get): Now native.
1156         * java/lang/ref/natReference.cc (get): New method.
1157         * java/lang/ProcessBuilder.java: New file.
1158         * java/lang/System.java (environmentMap): New field.
1159         (clearProperty): New method.
1160         (getenv): Likewise.
1161         (EnvironmentCollection): New class.
1162         (EnvironmentMap): Likewise.
1163         (EnvironmentSet): Likewise.
1164         * java/lang/StringBuilder.java (StringBuilder): Implements
1165         Appendable.
1166         * gnu/classpath/SystemProperties.java (remove): New method.
1167
1168 2006-06-23  Tom Tromey  <tromey@redhat.com>
1169
1170         * testsuite/libjava.loader/TestLeak.java: Don't use wildcard
1171         import for java.lang.reflect.
1172
1173 2006-06-21  Tom Tromey  <tromey@redhat.com>
1174
1175         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1176         Set java.class.version to 49.
1177
1178 2006-06-21  Tom Tromey  <tromey@redhat.com>
1179
1180         * link.cc (resolve_pool_entry): Initialize field's declaring
1181         class, not its qualifying class.
1182
1183 2006-06-21  Tom Tromey  <tromey@redhat.com>
1184
1185         * testsuite/libjava.jacks/jacks.xfail: Updated for ecj.
1186
1187 2006-06-20  Tom Tromey  <tromey@redhat.com>
1188
1189         * testsuite/libjava.compile/Where.xfail: Now 'no-link'.
1190
1191 2006-06-19  Tom Tromey  <tromey@redhat.com>
1192
1193         * gnu/java/lang/natMainThread.cc (call_main): Link main class.
1194
1195 2006-06-19  Tom Tromey  <tromey@redhat.com>
1196
1197         * testsuite/lib/libjava.exp (test_libjava): Don't compile via
1198         bytecode.  Run BC compilations from source.
1199
1200 2006-06-19  Tom Tromey  <tromey@redhat.com>
1201
1202         * testsuite/libjava.lang/TestProxy.java: Don't use wildcard
1203         imports for java.lang.reflect.
1204
1205 2006-06-13  Tom Tromey  <tromey@redhat.com>
1206
1207         * testsuite/libjava.lang/stringconst.xfail: Removed.
1208         * testsuite/libjava.lang/ArrayStore2.xfail: Removed.
1209
1210 2006-06-08  Tom Tromey  <tromey@redhat.com>
1211
1212         * sources.am, Makefile.in: Rebuilt.
1213         * Makefile.am (libgcj_la_LIBADD): Add Object.lo and Class.lo.
1214         (java/lang/Object.lo): New target.
1215         (java/lang/Class.lo): Likewise.
1216         * scripts/makemake.tcl (emit_package_rule): Add special case for
1217         Object and Class.
1218
1219 2006-06-06  Tom Tromey  <tromey@redhat.com>
1220
1221         * Makefile.in: Rebuilt.
1222         * Makefile.am (gcj_dbtool_DEPENDENCIES): Add gcj_dbtool.lo.
1223
1224 2006-06-06  Tom Tromey  <tromey@redhat.com>
1225
1226         * Makefile.in: Rebuilt.
1227         * Makefile.am (nat_headers): Don't list Main.h.
1228         (generic_header_files): Likewise.
1229
1230 2006-06-05  Tom Tromey  <tromey@redhat.com>
1231
1232         * testsuite/libjava.loader/TestLeak.java (MyLoader): Now static.
1233         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Use -w.
1234         * testsuite/lib/libjava.exp (libjava_arguments): Add -w.
1235         * testsuite/libjava.compile/G19990210_2.java: Removed.
1236         * testsuite/libjava.compile/PR208.java: Removed.
1237         * testsuite/libjava.compile/PR208.xfail: Removed.
1238         * testsuite/libjava.compile/support/Case.java: Removed.
1239         * testsuite/libjava.compile/Case.java: Removed.
1240
1241 2006-06-04  Tom Tromey  <tromey@redhat.com>
1242
1243         * sources.am, Makefile.in: Rebuilt.
1244         * Makefile.am (gcj_dbtool_LDADD): Add
1245         gnu-gcj-tools-gcj_dbtool.lo.
1246         (gcj_dbtool_SOURCES): Updated.
1247         (EXTRA_libgcj_la_SOURCES): New macro.
1248         * scripts/makemake.tcl (emit_package_rule): Compile class files
1249         from the package.
1250         (gcj_dbtool/Main.java, Class.java, Object.java): Removed
1251         package_map settings.
1252         (emit_package_rule): Special case gnu.gcj.tools.gcj_dbtool.
1253
1254 2006-06-04  Tom Tromey  <tromey@redhat.com>
1255
1256         * java/lang/Class.java (getClassLoaderInternal): Now native.
1257
1258 2006-12-20  Adam Megacz <megacz@cs.berkeley.edu>
1259
1260        * configure.ac: add $built_gcc_dir to $GCJH and $GCJ when
1261        crossbuilding.
1262         * configure: Regenerate.
1263
1264 2006-12-18  Adam Megacz <megacz@cs.berkeley.edu>
1265
1266         * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes
1267         -I/usr/include to wind up in cross-builds
1268         * configure: Regenerate.
1269
1270 2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
1271
1272         * configure: Regenerate.
1273
1274 2006-11-27  Mike Stump  <mrs@apple.com>
1275
1276         * sysdep/x86-64/locks.h: Enable use of either file on either
1277         target to support multilibs from one to the other.
1278         * sysdep/i386/locks.h: Likewise.
1279
1280 2006-11-21  Gary Benson  <gbenson@redhat.com>
1281
1282         * java/security/Security.java: Merge with classpath.
1283         * java/lang/Package.java: Likewise.
1284         * java/lang/Class.java (getDeclaredAnnotations): New method.
1285
1286 2006-11-20  David Daney  <ddaney@avtrex.com>
1287
1288         * include/mips-signal.h (sys/syscall.h): Do not include.
1289         (sig_ucontext_t): Removed.
1290         (MAKE_THROW_FRAME): Changed to be a nop.
1291         (_INIT_SIG_HANDLER): New macro.
1292         (INIT_SEGV): Rewrote to use _INIT_SIG_HANDLER.
1293         (INIT_FPE): Same.
1294
1295 2006-11-20  David Daney  <ddaney@avtrex.com>
1296
1297         * testsuite/libjava.lang/Throw_3.java: New Test.
1298         * testsuite/libjava.lang/Throw_3.out: Its expected output.
1299
1300 2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
1301
1302         * configure: Regenerated.
1303
1304 2006-11-03  Gary Benson  <gbenson@redhat.com>
1305
1306         * java/net/InetAddress.java: Removed.
1307         * java/net/natInetAddressNoNet.cc: Likewise.
1308         * java/net/natInetAddressPosix.cc: Likewise.
1309         * java/net/natInetAddressWin32.cc: Likewise.
1310         * java/net/VMInetAddress.java (getLocalHostname,
1311         lookupInaddrAny, getHostByAddr, getHostByName,
1312         aton): Replace glue methods with native ones.
1313         * java/net/natVMInetAddressNoNet.cc: New file.
1314         * java/net/natVMInetAddressPosix.cc: Likewise.
1315         * java/net/natVMInetAddressWin32.cc: Likewise.
1316         * Makefile.am, configure.ac: Reflect the above.
1317         * sources.am, Makefile.in, configure: Rebuilt.
1318
1319         * java/net/natVMNetworkInterfaceWin32.cc
1320         (winsock2GetRealNetworkInterfaces): Create InetAddress
1321         objects using InetAddress.getByAddress.
1322         * gnu/java/net/natPlainSocketImplWin32.cc
1323         (accept, getOption): Likewise.
1324         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1325         (peekData, receive, getOption): Likewise.
1326
1327 2006-11-02  Keith Seitz  <keiths@redhat.com>
1328
1329         * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
1330
1331 2006-11-02  Keith Seitz  <keiths@redhat.com>
1332
1333         * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function.
1334         (_Jv_JVMTI_Interface): Define GetLineNumberTable.
1335
1336 2006-11-01  Keith Seitz  <keiths@redhat.com>
1337
1338         * gnu/gcj/jvmti/Location.java: New file.
1339         * gnu/gcj/jvmti/BreakpointManager.java: New file.
1340         * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
1341         (_Jv_JVMTI_ClearBreakpoint): New function.
1342         (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
1343         * sources.am: Regenerated.
1344         * Makefile.in: Regenerated.
1345
1346 2006-10-28  Keith Seitz  <keiths@redhat.com>
1347
1348         * Makefile.am (nat_source_files): Add natBreakpoint.cc.
1349         * sources.am: Regenerated.
1350         * Makefile.in: Regenerated.
1351         * gnu/gcj/jvmti/Breakpoint.java: New file.
1352         * gnu/gcj/jvmti/natBreakpoint.java: New file.
1353
1354 2006-10-27  Keith Seitz  <keiths@redhat.com>
1355
1356         * include/java-stack.h (ncodeMap): Declare.
1357         (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend.
1358         * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare.
1359         * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New
1360         function.
1361         * stacktrace.cc (ncodeMap): Redefine from file global to global
1362         for class _Jv_StackTrace.
1363         (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too,
1364         so that _Jv_GetMethodDeclaringClass can find them all.
1365         (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes.
1366         * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function.
1367         (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function.
1368
1369 2006-10-25  Andreas Tobler  <a.tobler@schweiz.org>
1370
1371         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
1372         formatting modifiers %p with %#llx and cast the arguments.
1373
1374 2006-10-20  Tom Tromey  <tromey@redhat.com>
1375
1376         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
1377         Correctly pass jvalues.
1378
1379 2006-10-18  Tom Tromey  <tromey@redhat.com>
1380             Bryce McKinlay  <mckinlay@redhat.com>
1381
1382         * testsuite/libjava.jni/register2.java: New file.
1383         * testsuite/libjava.jni/register2.out: New file.
1384         * testsuite/libjava.jni/register2.c: New file.
1385         * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
1386         * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
1387         * jni.cc (struct NativeMethodCacheEntry): New struct.
1388         (nathash): Changed type.
1389         (hash): Updated.
1390         (nathash_find_slot): Likewise.
1391         (nathash_find): Likewise.
1392         (natrehash): Likewise.
1393         (nathash_add): Likewise.
1394         (_Jv_JNI_RegisterNatives): Likewise.
1395         (_Jv_LookupJNIMethod): Likewise.
1396         Idea from Juerg Lehni <juerg@scratchdisk.com>
1397
1398 2006-10-16  Geoffrey Keating  <geoffk@apple.com>
1399
1400         * testsuite/libjava.jvmti/natevents.cc (env): Delete.
1401         (ExceptionCB): Fix types for printf arguments.
1402         (ExceptionCatchCB): Likewise.
1403         (SingleStepCB): Likewise.
1404         (BreakpointCB): Likewise.
1405         (FieldAccessCB): Likewise.
1406         (FieldModificationCB): Likewise.
1407         (CompiledMethodLoadCB): Likewise.
1408
1409 2006-10-14  Keith Seitz  <keiths@redhat.com>
1410
1411         * include/java-insns.h (enum java_code): Add op_breakpoint.
1412         * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
1413         [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
1414         [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
1415         (install_break): Declare.
1416         * interpret.cc (breakpoint_insn): Define breakpoint insn.
1417         (compile): Add op_breakpoint to "can't happen" cases.
1418         [INTERPRETER] Initialize breakpoint insn if necessary.
1419         (install_break): New method.
1420         * interpret-run.cc: Add op_breakpoint to insn_targets.
1421         Add insn_breakpoint label.
1422         * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
1423         opcodes section of switch statement.
1424         (verify_instructions_0): Likewise.
1425
1426 2006-10-12  Keith Seitz  <keiths@redhat.com>
1427
1428         * include/jvmti-int.h (JVMTI): Declare all members "extern".
1429         * jvmti.cc (JVMTI): Define.
1430
1431 2006-10-11  Tom Tromey  <tromey@redhat.com>
1432
1433         * Makefile.in: Rebuilt.
1434         * Makefile.am (install-data-local): Use mkinstalldirs.
1435
1436 2006-10-10  Tom Tromey  <tromey@redhat.com>
1437
1438         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1439         Removed obsolete comment.
1440
1441 2006-10-10  Keith Seitz  <keiths@redhat.com>
1442
1443         * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
1444         (_Jv_InterpMethod::set_insn): Declare.
1445         * interpret.cc (_Jv_InterpMethod::get_insn): New method.
1446         (_Jv_InterpMethod::get_insn): New method.
1447
1448 2006-10-10  Tom Tromey  <tromey@redhat.com>
1449
1450         * prims.cc (_Jv_PrependVersionedLibdir): Use
1451         _Jv_platform_path_separator.
1452
1453 2006-10-10  Tom Tromey  <tromey@redhat.com>
1454
1455         PR libgcj/29205:
1456         * Makefile.in: Rebuilt.
1457         * Makefile.am (install-data-local): Install the .pc file.
1458         (pkgconfig_DATA): Removed.
1459
1460 2006-10-03  Gary Benson  <gbenson@redhat.com>
1461
1462         * java/net/InetAddress.java
1463         (<clinit>): Reorder the static initializers.
1464
1465 2006-10-02  Gary Benson  <gbenson@redhat.com>
1466
1467         * java/net/InetAddress.java
1468         (checkConnect): Reinstated.
1469         (loopbackAddress): Ensure initialized from non-null object.
1470
1471 2006-09-30  Keith Seitz  <keiths@redhat.com>
1472
1473         * include/java-interp.h (prepared): Change type to pc_t.
1474         (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
1475         * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
1476         (insn_index): Implement for bytecode interpreter.
1477         * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
1478         qualifier to resolve_pool_entry.
1479         [!DIRECT_THREADED] (AVAL2U): Likewise.
1480         [!DIRECT_THREADED] bytecode() cannot be called without an object.
1481         Changed all typos.
1482         [!DIRECT_THREADED] Likewise for defining_class.
1483
1484 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
1485
1486         PR target/26792:
1487         * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
1488         if HAVE_GETIPINFO not defined.
1489         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
1490         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
1491         * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
1492         * aclocal.m4, configure, include/config.h.in, Makefile.in:
1493         Rebuilt.
1494
1495 2006-09-27  Tom Tromey  <tromey@redhat.com>
1496
1497         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
1498         * java/util/Locale.java (hashcode): No longer transient.
1499         (writeObject): Use ObjectOutputStream.PutField and
1500         defaultWriteObject.
1501         (readObject): Use defaultReadObject.
1502
1503 2006-09-25  Keith Seitz  <keiths@redhat.com>
1504
1505         * gnu/classpath/jdwp/VMVirtualMachine.java
1506         (_jdwp_suspend_counts): New private variable.
1507         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1508         (initialize): Initialize _jdwp_suspend_counts.
1509         (suspendThread): Implement.
1510         (resumeThread): Implement.
1511         (getSuspendCount): Implement.
1512
1513 2006-09-22  Marco Trudel  <mtrudel@gmx.ch>
1514
1515         * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.  Marked JNICALL.
1516
1517 2006-09-21  Keith Seitz  <keiths@redhat.com>
1518
1519         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
1520         events.
1521         (check_enabled_event): New function.
1522         (check_enabled_events): New function.
1523         (post_event): New function.
1524         (_Jv_JVMTI_SetEventNotificationMode): New function.
1525         (_Jv_JVMTI_SetEventCallbacks): New function.
1526         (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
1527         SetEventCallbacks members.
1528         * include/jvmti-int.h: New file.
1529         * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
1530         (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
1531         * testsuite/libjava.jvmti/events.java: New file.
1532         * testsuite/libjava.jvmti/events.out: New file.
1533         * testsuite/libjava.jvmti/natevents.cc: New file. 
1534
1535 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
1536
1537         * configure.ac: Don't use darwin-signal.h as signal handler for
1538         Darwin/i386.
1539         * configure.host: Enable Darwin/i386 as a supported host, with no
1540         signal unwinding.
1541
1542 2006-09-20  Keith Seitz  <keiths@redhat.com>
1543
1544         * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
1545         and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
1546         (_Jv_JVMTI_GetClassMethods): Likewise.
1547         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
1548         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
1549         (_Jv_JVMTI_GetSystemProperty): Likewise.
1550
1551 2006-09-20  Keith Seitz  <keiths@redhat.com>
1552
1553         * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
1554         (_Jv_JVMTI_Interface): Define GetErrorName member.
1555         * testsuite/libjava.jvmti/geterrorname.java: New file.
1556         * testsuite/libjava.jvmti/geterrorname.out: New file.
1557         * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
1558
1559 2006-09-20  Gary Benson  <gbenson@redhat.com>
1560
1561         * java/net/InetAddress.java: Mostly merged with Classpath.
1562         * java/net/VMInetAddress.java: New file.
1563         * sources.am, Makefile.in: Rebuilt.
1564
1565         * java/net/natVMNetworkInterfacePosix.cc
1566         (getInterfaces): Create InetAddress objects using
1567         InetAddress.getByAddress.
1568         * gnu/java/net/natPlainSocketImplPosix.cc
1569         (accept, getOption): Likewise.
1570         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1571         (peekData, receive, getLocalAddress): Likewise.
1572
1573 2006-09-19  Keith Seitz  <keiths@redhat.com>
1574
1575         * testsuite/libjava.jvmti/jvmti.exp: New file.
1576
1577 2006-09-19  Keith Seitz  <keiths@redhat.com>
1578
1579         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
1580         (THREAD_CHECK_VALID): Likewise.
1581         (THREAD_CHECK_ALIVE): Likewise.
1582         (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
1583         jthread.
1584         (_Jv_JVMTI_ResumeThread): Likewise.
1585         (_Jv_JVMTI_InterruptThread): Likewise.
1586
1587         (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
1588         that was just freed.
1589
1590 2006-09-19  Mark Wielaard  <mark@klomp.org>
1591
1592         Fixes bug #29137
1593         * java/util/logging/LogManager.java (addLogger): Always check for
1594         existing children of a new Logger.
1595
1596 2006-09-19  Tom Tromey  <tromey@redhat.com>
1597
1598         * java/util/logging/LogManager.java: Re-merged with Classpath.
1599
1600 2006-09-18  Tom Tromey  <tromey@redhat.com>
1601
1602         * configure: Rebuilt.
1603
1604 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
1605
1606         * configure.host: Handle kfreebsd.
1607
1608 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
1609
1610         * configure: Rebuilt.
1611         * shlibpath.m4: Handle GNU/kFreeBSD.
1612
1613 2006-09-14  Tom Tromey  <tromey@redhat.com>
1614
1615         PR boehm-gc/29068:
1616         * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
1617         (_Jv_GCDetachThread): Likewise.
1618
1619 2006-09-14  Andreas Schwab  <schwab@suse.de>
1620
1621         * posix-threads.cc: Include "posix.h".
1622
1623 2006-09-13  Geoffrey Keating  <geoffk@apple.com>
1624
1625         * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
1626         microseconds; use gettimeofday when available.
1627         * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
1628         timeout calculation.
1629         * testsuite/libjava.lang/Thread_Sleep_2.java: New.
1630         * testsuite/libjava.lang/Thread_Sleep_2.out: New.
1631         * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
1632
1633 2006-09-12  Tom Tromey  <tromey@redhat.com>
1634
1635         PR java/29013:
1636         * testsuite/libjava.lang/PR29013.out: Likewise.
1637         * testsuite/libjava.lang/PR29013.java: New file.
1638
1639 2006-09-12  Tom Tromey  <tromey@redhat.com>
1640
1641         * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
1642
1643 2006-09-07  Matthias Klose  <doko@debian.org>
1644
1645         * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
1646         * Makefile.in: Regenerate.
1647
1648 2006-09-06  Keith Seitz  <keiths@redhat.com>
1649
1650         * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
1651         to _Jv_MethodBase instead of _Jv_InterpMethod.
1652         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
1653         Do not check access flags.
1654         Fix some minor style anomalies.
1655         
1656 2006-09-01  Geoffrey Keating  <geoffk@apple.com>
1657
1658         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1659         Pass -lgcj to linker for C++ files on Darwin.
1660
1661 2006-09-01  Keith Seitz  <keiths@redhat.com>
1662
1663         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
1664         (THREAD_CHECK_VALID): Likewise.
1665         (THREAD_CHECK_IS_ALIVE): Likewise.
1666         (NULL_CHECK): Likewise.
1667         (ILLEGAL_ARGUMENT): Likewise.
1668
1669 2006-09-01  Keith Seitz  <keiths@redhat.com>
1670
1671         * include/jvm.h (_Jv_JVMTI_Init): Declare.
1672         * jvmti.cc (_Jv_JVMTI_Init): New function.
1673         * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
1674
1675         * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
1676         (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
1677
1678         * jvmti.cc (_jvmtiEnvironments): New linked list of
1679         JVMTI environments.
1680         (FOREACH_ENVIRONMENT): New macro.
1681         (_envListLock): New object to act as synchronization lock
1682         for _jvmtiEnvironments.
1683         (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
1684         Remove the environment from the list of known environments.
1685         (_Jv_GetJVMTIEnv): Add the new environment to the list
1686         of known environments.
1687
1688 2006-09-01  Gary Benson  <gbenson@redhat.com>
1689
1690         * java/net/InetAddress.java (getLocalHost): Refactor to avoid
1691         security check if getLocalHostname() fails and to provide more
1692         meaningful exceptions it the security check fails.
1693
1694 2006-09-01  Gary Benson  <gbenson@redhat.com>
1695
1696         * java/net/InetAddress.java (getByAddress): Create Inet4Address
1697         objects when passed IPv4-mapped IPv6 addresses.
1698         (getByName, getAllByName): Defer to the above to ensure that the
1699         correct Inet*Address objects are returned.
1700
1701 2006-09-01  Gary Benson  <gbenson@redhat.com>
1702
1703         * java/net/InetAddress.java (getByName, getAllByName):
1704         Only perform security check when DNS lookups are required.
1705
1706 2006-08-31  Keith Seitz  <keiths@redhat.com>
1707
1708         * include/jvmti_md.h: New file.
1709
1710         * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
1711         Pass millis to _Jv_CondWait.
1712
1713 2006-08-31  Tom Tromey  <tromey@redhat.com>
1714
1715         PR libgcj/28698:
1716         * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
1717         classes.
1718
1719 2006-08-24  Keith Seitz  <keiths@redhat.com>
1720
1721         * prims.cc (remoteDebug): New global.
1722         (jdwpOptions): New global.
1723         (parse_x_arg): Add processing for "X" options "debug" and
1724         "runjdwp:"
1725         (_Jv_RunMain): If debugging, start up JDWP backend.
1726         Send VM_INIT and VM_DEATH when appropriate.
1727
1728 2006-08-23  Keith Seitz  <keiths@redhat.com>
1729
1730         * gnu/classpath/jdwp/VMVirtualMachine.java
1731         (initialize): Declare.
1732         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1733         (initialize): Get and save JVMTI environment.
1734
1735 2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1736
1737         PR libgcj/27890
1738         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1739         Set gnu.classpath.home.url to TOOLEXECLIBDIR.
1740         * configure.ac: Do not add --with-native-libdir to
1741         ac_configure_args.
1742         * java/security/libgcj.security: Remove file.
1743         * java/util/logging/logging.properties: Likewise.
1744         * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
1745         * classpath/resource/Makefile.am (loggingdir): Define to
1746         toolexeclibdir.
1747         (securitydir): Likewise.
1748         * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
1749         Set default nativeexeclibdir using toolexeclibdir.
1750         * HACKING: Fix classpath aclocal arguments.
1751         * Makefile.am (secdir): Remove variable.
1752         (propdir): Likewise.
1753         (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
1754         definition.
1755         (all_property_files): Remove variable.
1756         (install-data-local): Do not install libgcj.security or
1757         logging.properties.
1758         * configure, Makefile.in, classpath/configure,
1759         classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
1760         classpath/native/jni/midi-alsa/Makefile.in,
1761         classpath/native/jni/classpath/Makefile.in,
1762         classpath/native/jni/midi-dssi/Makefile.in,
1763         classpath/native/jni/Makefile.in,
1764         classpath/native/jni/java-nio/Makefile.in,
1765         classpath/native/jni/java-net/Makefile.in,
1766         classpath/native/jni/gconf-peer/Makefile.in,
1767         classpath/native/jni/java-io/Makefile.in,
1768         classpath/native/jni/xmlj/Makefile.in,
1769         classpath/native/jni/java-util/Makefile.in,
1770         classpath/native/jni/qt-peer/Makefile.in,
1771         classpath/native/jni/gtk-peer/Makefile.in,
1772         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
1773         classpath/native/target/Linux/Makefile.in,
1774         classpath/native/target/Makefile.in,
1775         classpath/native/target/generic/Makefile.in,
1776         classpath/native/fdlibm/Makefile.in,
1777         classpath/native/plugin/Makefile.in,
1778         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1779         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
1780         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
1781         classpath/external/Makefile.in,
1782         classpath/external/sax/Makefile.in,
1783         classpath/external/w3c_dom/Makefile.in,
1784         classpath/external/relaxngDatatype/Makefile.in,
1785         classpath/include/Makefile.in, classpath/aclocal.m4,
1786         classpath/examples/Makefile.in, aclocal.m4: Regenerate.
1787
1788 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
1789
1790         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
1791         to GC.
1792         (_Jv_DetachCurrentThread): Detach thread from GC.
1793         * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
1794         Declare.
1795         * boehm.cc (_Jv_GCAttachThread): New function.
1796         (_Jv_GCDetachThread): Likewise.
1797
1798 2006-08-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
1799
1800         * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
1801         as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
1802         function prologue.
1803
1804 2006-08-17  H.J. Lu  <hongjiu.lu@intel.com>
1805
1806         * Makefile.am (install-exec-hook): Support $(DESTDIR).
1807         * Makefile.in: Regenerated.
1808
1809 2006-08-16  Tom Tromey  <tromey@redhat.com>
1810
1811         * libtool-version: Updated.
1812
1813 2006-08-16  Jakub Jelinek  <jakub@redhat.com>
1814             Bryce McKinlay  <bryce@mckinlay.net.nz>
1815
1816         * configure, Makefile.in: Rebuilt.
1817         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
1818         (libgcj_bc_la_SOURCES): New variable.
1819         (libgcj_bc_la_LDFLAGS): Likewise.
1820         (libgcj_bc_la_LIBADD): Likewise.
1821         (libgcj_bc_la_DEPENDENCIES): Likewise.
1822         (libgcj_bc_la_LINK): Likewise.
1823         (libgcj_bc_dummy_LINK): Likewise.
1824         (libgcj_bc.la): New target.
1825         (install-exec-hook): Likewise.
1826         * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
1827         * libgcj_bc.c: New file.
1828         * configure.ac (LIBGCJ_SPEC): New subst.
1829         * configure.host (use_libgcj_bc): New variable.
1830
1831 2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
1832
1833         * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
1834         * interpret.cc: Added placeholder for debug variable type info to STORE*
1835         macros.
1836         (_Jv_InterpMethod::run_debug): New method.
1837         (_Jv_InterpMethod::run_sync_object_debug): New method.
1838         (_Jv_InterpMethod::run_sync_class_debug): New method.
1839         (_Jv_InterpMethod::run_normal_debug): New method.
1840         (_Jv_InterpMethod::run_class_debug): New method.
1841         (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
1842         versions of these functions.
1843         * interpret-run.cc: New file, holds contents of old     
1844         _Jv_InterpMethod::run method.
1845         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
1846         appropriate function for debug or normal mode.
1847
1848 2006-08-14  Mark Wielaard  <mark@klomp.org>
1849
1850         Imported GNU Classpath 0.92
1851         * HACKING: Add more importing hints. Update automake version
1852         requirement.
1853
1854         * configure.ac (gconf-peer): New enable AC argument.
1855         Add --disable-gconf-peer and --enable-default-preferences-peer
1856         to classpath configure when gconf is disabled.
1857         * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
1858         gnu/java/awt/dnd/peer/gtk to bc. Classify
1859         gnu/java/security/Configuration.java as generated source file.
1860
1861         * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
1862         gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
1863         gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
1864         gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
1865         gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
1866         gnu/java/lang/management/VMThreadMXBeanImpl.java,
1867         gnu/java/lang/management/VMMemoryMXBeanImpl.java,
1868         gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
1869         classes.
1870         * java/lang/management/VMManagementFactory.java: Likewise.
1871         * java/net/VMURLConnection.java: Likewise.
1872         * gnu/java/nio/VMChannel.java: Likewise.
1873
1874         * java/lang/Thread.java (getState): Add stub implementation.
1875         * java/lang/Class.java (isEnum): Likewise.
1876         * java/lang/Class.h (isEnum): Likewise.
1877
1878         * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
1879
1880         * javax/naming/spi/NamingManager.java: New override for StackWalker
1881         functionality.
1882
1883         * configure, sources.am, Makefile.in, gcj/Makefile.in,
1884         include/Makefile.in, testsuite/Makefile.in: Regenerated.
1885
1886 2006-08-14  Gary Benson  <gbenson@redhat.com>
1887
1888         * java/lang/Thread.java (accessControlState): New field.
1889         * java/security/VMAccessControlState.java: New file.
1890         * java/security/natVMAccessControlState.cc: Likewise.
1891         * java/security/VMAccessController.java
1892         (contexts, inGetContext): Removed.
1893         (pushContext, popContext, getContext): Use VMAccessControlState.
1894         * Makefile.am (nat_source_files): Updated.
1895         * sources.am, Makefile.in: Rebuilt.
1896
1897 2006-08-10  Gary Benson  <gbenson@redhat.com>
1898
1899         * include/java-stack.h (GetAccessControlStack): Change return
1900         type.
1901         * stacktrace.cc (accesscontrol_trace_fn): Record the number of
1902         Java frames encountered.
1903         (GetAccessControlStack): Return a flag indicating whether a call to
1904         doPrivileged was encountered rather than an array of method names.
1905         * java/security/natVMAccessController.cc (getStack): Change return
1906         type.
1907         * java/security/VMAccessController.java (getStack): Likewise.
1908         (getContext): Change to reflect the above.
1909
1910 2006-08-09  Gary Benson  <gbenson@redhat.com>
1911
1912         * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
1913
1914 2006-08-09  Gary Benson  <gbenson@redhat.com>
1915
1916         * java/lang/System.java (setSecurityManager): Javadoc fix.
1917         * java/security/VMAccessController.java (getContext): Comment fix.
1918
1919 2006-08-09  Gary Benson  <gbenson@redhat.com>
1920
1921         * include/java-stack.h (accesscontrol_trace_fn): Declare.
1922         (GetAccessControlStack): Likewise.
1923         (GetClassMethodStack): Remove.
1924         * stacktrace.cc (accesscontrol_trace_fn): New method.
1925         (GetAccessControlStack): Likewise.
1926         (GetClassMethodStack): Remove.
1927         * java/security/natVMAccessController.cc (getStack): Use
1928         GetAccessControlStack.
1929
1930 2006-08-07  Gary Benson  <gbenson@redhat.com>
1931
1932         PR libgcj/28340:
1933         * java/lang/ClassLoader.java (clinit): Install a default
1934         security manager if java.security.manager is defined.
1935         (getParent, getSystemClassLoader): Use the correct stack
1936         frame during security checks.
1937         * java/net/URLClassLoader.java (findClass): Avoid calling
1938         this.toString() during VM initialization.
1939         (runtimeInitialized): New method.
1940         * java/net/natURLClassLoader.cc: New file.
1941         * Makefile.am (nat_source_files): Added the above.
1942         * Makefile.in: Rebuilt.
1943
1944 2006-08-07  Gary Benson  <gbenson@redhat.com>
1945             Casey Marshall <csm@gnu.org>
1946
1947         * java/lang/SecurityManager.java (getSecurityContext,
1948         checkPermission, checkAccess, checkRead, checkConnect,
1949         checkPackageAccess, checkPackageDefinition, checkPackageList):
1950         Merge with Classpath.
1951         (SecurityContext): Remove.
1952
1953 2006-08-07  Gary Benson  <gbenson@redhat.com>
1954
1955         * java/security/VMAccessController.java (pushContext, popContext,
1956         getContext): Use Thread.currentThread() to determine when we're
1957         bootstrapping.
1958         (runtimeInitialized): Remove.
1959         * java/security/natVMAccessController.cc (runtimeInitialized):
1960         Remove.
1961
1962 2006-08-06  Tom Tromey  <tromey@redhat.com>
1963
1964         PR libgcj/28491:
1965         * configure, include/config.h.in: Rebuilt.
1966         * configure.ac: Look for ifaddrs.h, getifaddrs.
1967         * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
1968         getifaddrs if available.
1969
1970 2006-08-06  Tom Tromey  <tromey@redhat.com>
1971
1972         PR libgcj/28576:
1973         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
1974         Implemented.
1975         (disconnect): Likewise.
1976         (send): Handle already-connected case.
1977
1978 2006-08-04  Mark Wielaard  <mark@klomp.org>
1979
1980         * jvmti.cc: Include gcj/method.h.
1981
1982 2006-08-04  Tom Tromey  <tromey@redhat.com>
1983
1984         * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
1985         (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
1986         result to _Jv_uintptr_t.
1987
1988 2006-08-01  Keith Seitz  <keiths@redhat.com>
1989
1990         * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
1991         * gnu/classpath/jdwp/VMIdManager.java: Likewise.
1992         * gnu/classpath/jdwp/VMMethod.java: Likewise.
1993         * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
1994         * gnu/classpath/jdwp/natVMFrame.java: New file.
1995         * gnu/classpath/jdwp/natVMMethod.java: New file.
1996         * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
1997         * Makefile.am (nat_source_files): Add new filles.
1998         * Makefile.in: Regenerated.
1999
2000 2006-08-03  Tom Tromey  <tromey@redhat.com>
2001
2002         * jvmti.cc (REQUIRE_PHASE): New macro.
2003         (_Jv_JVMTI_InterruptThread): New function.
2004         (_Jv_JVMTI_CreateRawMonitor): Likewise.
2005         (_Jv_JVMTI_DestroyRawMonitor): Likewise.
2006         (_Jv_JVMTI_RawMonitorEnter): Likewise.
2007         (_Jv_JVMTI_RawMonitorExit): Likewise.
2008         (_Jv_JVMTI_RawMonitorWait): Likewise.
2009         (_Jv_JVMTI_RawMonitorNotify): Likewise.
2010         (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
2011         (_Jv_JVMTI_Allocate): Likewise.
2012         (_Jv_JVMTI_Deallocate): Likewise.
2013         (_Jv_JVMTI_GetClassModifiers): Likewise.
2014         (_Jv_JVMTI_GetClassMethods): Likewise.
2015         (_Jv_JVMTI_IsInterface): Likewise.
2016         (_Jv_JVMTI_IsArrayClass): Likewise.
2017         (_Jv_JVMTI_GetClassLoader): Likewise.
2018         (_Jv_JVMTI_GetObjectHashCode): Likewise.
2019         (_Jv_JVMTI_GetFieldModifiers): Likewise.
2020         (_Jv_JVMTI_IsFieldSynthetic): Likewise.
2021         (_Jv_JVMTI_GetMethodModifiers): Likewise.
2022         (_Jv_JVMTI_IsMethodNative): Likewise.
2023         (_Jv_JVMTI_IsMethodSynthetic): Likewise.
2024         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
2025         (_Jv_JVMTI_ForceGarbageCollection): Likewise.
2026         (_Jv_JVMTI_GetSystemProperty): Likewise.
2027         (_Jv_JVMTI_SetSystemProperty): Likewise.
2028         (_Jv_JVMTI_GetTime): Likewise.
2029         (_Jv_JVMTI_GetAvailableProcessors): Likewise.
2030         (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
2031         (_Jv_JVMTI_SetVerboseFlag): Likewise.
2032         (_Jv_JVMTI_GetObjectSize): Likewise.
2033         (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
2034         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
2035         (_Jv_JVMTI_Interface): Updated.
2036         (NULL_CHECK): New macro.
2037
2038 2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
2039
2040         PR libgcj/28546
2041         * include/no-threads.h: Declare _Jv_Thread_t as empty class.
2042
2043 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
2044
2045         * gnu/classpath/natSystemProperties.cc: Add additional check for
2046         getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
2047         (SystemProperties::insertSystemProperties): Likewise.
2048         * java/io/natFilePosix.cc (File::performList): Add
2049         additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
2050         * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
2051         additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
2052
2053 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2054
2055         PR libgcj/28312
2056         * classpath/native/jni/midi-alsa/Makefile.am
2057         (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
2058         * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
2059         * classpath/native/jni/midi-dssi/Makefile.am
2060         (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
2061         * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
2062         * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
2063         sections.
2064         (libqtpeer_la_LDFLAGS): Add -avoid-version.
2065         * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
2066         * classpath/native/jni/gtk-peer/Makefile.am
2067         (libgtkpeer_la_LDFLAGS): Add -avoid-version.
2068         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
2069         * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
2070         -avoid-version.
2071         * classpath/native/jawt/Makefile.in: Regenerate.
2072         * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
2073         * Makefile.in: Regenerate.
2074
2075 2006-07-28  Andrew Haley  <aph@redhat.com>
2076
2077         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
2078         curLoader to VMClassLoader::bootLoader.
2079
2080 2006-07-28  Gary Benson  <gbenson@redhat.com>
2081             Casey Marshall <csm@gnu.org>
2082
2083         PR libgcj/13604:
2084         * include/java-stack.h (GetClassMethodStack): Declare.
2085         * stacktrace.cc (GetClassMethodStack): New method.
2086         * java/security/AccessController.java: Removed.
2087         * java/security/VMAccessController.java: New file.
2088         * java/security/natVMAccessController.cc: Likewise.
2089         * Makefile.am (nat_source_files): Added the above.
2090         * sources.am, Makefile.in: Rebuilt.
2091
2092 2006-07-28  Gary Benson  <gbenson@redhat.com>
2093
2094         * java/lang/SecurityManager.java (currentClassLoader,
2095         currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
2096         checkWrite, checkTopLevelWindow, checkPrintJobAccess,
2097         checkSystemClipboardAccess, checkAwtEventQueueAccess,
2098         checkPackageList): Remerged javadoc.
2099
2100 2006-07-28  Gary Benson  <gbenson@redhat.com>
2101
2102         * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
2103         from the start to the end of the function.  Remove references
2104         to VMThrowable.trace_enabled.
2105         * java/lang/natVMThrowable.cc (fillInStackTrace): Use
2106         runtimeInitialized rather than trace_enabled to decide
2107         whether to inhibit stack trace generation.
2108         * java/lang/VMThrowable.java (trace_enabled): Removed.
2109
2110 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
2111
2112         * include/win32-threads.h (_Jv_Thread_t): Explicitly
2113         name the struct.
2114
2115 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
2116
2117         * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
2118         attribute.
2119         (_Jv_JVMTI_ResumeThread): Likewise.
2120         (_Jv_JVMTI_DisposeEnvironment): Likewise.
2121
2122 2006-07-21  Mohan Embar  <gnustuff@thisiscool.com>
2123
2124         * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
2125         SockAddr before using - needed for OS X/PPC.
2126
2127 2006-07-21  Keith Seitz  <keiths@redhat.com>
2128
2129         * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
2130         just the contents.
2131         (_Jv_ResumeThread): Likewise.
2132         * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
2133         _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
2134         to JVMTI instead.
2135         * include/posix-threads.h: Likewise.
2136         * win32-threads.cc: Likewise.
2137         * include/win32-threads.h: Likewise.
2138         * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
2139         (_Jv_JVMTI_ResumeThread): New function.
2140         (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
2141
2142 2006-07-21  David Daney  <ddaney@avtrex.com>
2143
2144         PR libgcj/28426
2145         * configure: Regenerated.
2146
2147 2006-07-21  Mark Wielaard  <mark@klomp.org>
2148
2149         * java/io/OutputStreamWriter.java (flush): Create work if null.
2150
2151 2006-07-21  Keith Seitz  <keiths@redhat.com>
2152
2153         * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
2154         * Makefile.am (java/lang/Thread.h): Add friend function 
2155         _Jv_ThreadGetData.
2156         * Makefile.in: Regenerate.
2157
2158 2006-07-20  Keith Seitz  <keiths@redhat.com>
2159
2160         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
2161         (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
2162
2163 2006-07-20  Keith Seitz  <keiths@redhat.com>
2164
2165         * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
2166         * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
2167         * jvmti.cc: New file.
2168         * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
2169         * Makefile.in: Regenerate. 
2170
2171 2006-07-20  David Daney  <ddaney@avtrex.com>
2172
2173         * configure.host: Enable the interpreter for mipsel-* and mips-*.
2174
2175 2006-07-20  David Daney  <ddaney@avtrex.com>
2176
2177         * include/mips-signal.h: Update copyright.
2178         (struct kernel_sigaction): Removed.
2179         (SIGNAL_HANDLER): Changed prototype.
2180         (MAKE_THROW_FRAME): Added cast.
2181         (INIT_SEGV): Use sigaction instead of syscall.
2182         (INIT_FPE): Likewise.
2183
2184 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2185
2186         * configure: Regenerate.
2187
2188 2006-07-18  Gary Benson  <gbenson@redhat.com>
2189
2190         * java/io/File.java (deleteOnExit): Fix security check.
2191
2192 2006-07-14  Anthony Green  <green@redhat.com>
2193
2194         * java/io/natFilePosix.cc (performSetLastModified): Return true on
2195         success, false otherwise.
2196
2197 2006-07-14  Ranjit Mathew  <rmathew@gcc.gnu.org>
2198
2199         * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
2200         _Unwind_Backtrace().
2201         (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
2202         EH.
2203         (_Jv_StackTrace::GetClassContext): Unconditionally use
2204         _Unwind_Backtrace().
2205         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
2206         * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
2207         (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
2208         (_Unwind_GetRegionStart): Likewise.
2209         (_Unwind_Backtrace): Likewise.
2210         (fallback_backtrace): Accept additional unwind trace function
2211         argument.  Call it during unwinding.  Stop when any of _Jv_RunMain(),
2212         _Jv_ThreadStart() or main() is seen during unwinding.
2213         * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
2214         additional unwind trace function argument.
2215
2216 2006-07-14  Gary Benson  <gbenson@redhat.com>
2217
2218         * java/io/File.java (internalExists): New method.
2219         (exists): Use internalExists.
2220         (internalIsDirectory): New method.
2221         (isDirectory): Use internalIsDirectory.
2222         (createTempFile): Use internalExists and internalIsDirectory.
2223
2224 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
2225
2226         * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
2227
2228 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
2229
2230         * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
2231         (_Jv_InterpMethod::run): SAVE_PC before executing any instruction 
2232         using resolve_pool_entry, as it can throw. Likewise for div/rem ops
2233         that can throw ArithmeticException.
2234
2235 2006-07-12  Gary Benson  <gbenson@redhat.com>
2236
2237         * java/io/File.java (renameTo): Fix security checks.
2238
2239 2006-07-12  Bryce McKinlay  <mckinlay@redhat.com>
2240
2241         PR libgcj/28352
2242         * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
2243         looking up line number for interpreted frame.
2244
2245 2006-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2246             Geoffrey Keating <geoffk@apple.com>
2247
2248         * testsuite/libjava.lang/StackTrace2.java: Renamed from
2249         StackTrace.java. Changed class name.
2250         * testsuite/libjava.lang/StackTrace2.out: Renamed from
2251         StackTrace.out. Updated for new class name.
2252
2253 2006-07-07  Ranjit Mathew  <rmathew@gcc.gnu.org>
2254
2255         * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
2256         prologue to determine its beginning.  Stop unwinding when we reach
2257         JvRunMain().
2258
2259 2006-07-07  Gary Benson  <gbenson@redhat.com>
2260
2261         * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
2262         * Makefile.in: Regenerate.
2263
2264 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
2265
2266         * stacktrace.cc (ClassForFrame): Remove commented-out code.
2267         (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
2268         only when needed.
2269         (getLineNumberForFrame): Don't adjust IP here.
2270         * testsuite/libjava.lang/StackTrace.java: New test case.
2271         * testsuite/libjava.lang/StackTrace.out: Ditto.
2272
2273 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2274
2275         * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
2276         -fno-indirect-classes.
2277         * Makefile.in: Regenerate.
2278         * gcj/Makefile.in: Regenerate.
2279         * include/Makefile.in: Regenerate.
2280         * testsuite/Makefile.in: Regenerate.
2281
2282 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
2283
2284         * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
2285
2286 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2287
2288         * configure.ac (ac_configure_args): Add --with-native-libdir.
2289         * configure: Regenerate.
2290         * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
2291         sections.
2292         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
2293         * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
2294         * classpath/native/jawt/Makefile.in: Regenerate.
2295         * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
2296         * classpath/native/plugin/Makefile.in: Regenerate.
2297
2298 2006-07-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
2299             Danny Smith  <dannysmith@users.sourceforge.net>
2300
2301         * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
2302         startfile.
2303         * configure.ac: Allow targets to affect the spec for startfile
2304         by specifying a THREADSTARTFILESPEC variable.  Define this for
2305         the win32 threads package to include crtmt.o.
2306         * configure: Regenerate.
2307         * win32.cc (_CRT_MT): Remove definition.
2308         (__mingwthr_key_dtor): Likewise.
2309
2310 2006-07-04  Andreas Tobler  <a.tobler@schweiz.ch>
2311
2312         * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
2313         the -B$specdir.
2314
2315         PR libgcj/28226:
2316         * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
2317         * include/win32.h (_Jv_platform_dladdr): Likewise.
2318         * posix.cc (_Jv_platform_dladdr): Likewise.
2319         * win32.cc (_Jv_platform_dladdr): Likewise.
2320
2321         * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
2322         instead of libgcj-*.jar.
2323
2324 2006-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2325
2326         PR libgcj/28244:
2327         * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
2328         libgcj.spec.
2329         * Makefile.in: Regenerate.
2330
2331 2006-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2332
2333         * classpath/tools/Makefile.am: Comment out tools wrapper creation.
2334         (TOOLS_ZIP): Rename tools.zip tools.jar.
2335         (noinst_DATA): Do not install tools.jar.
2336         * classpath/tools/Makefile.in: Regenerate.
2337         * classpath/Makefile.am (SUBDIRS): Add tools.
2338         (DIST_SUBDIRS): Likewise.
2339         * classpath/Makefile.in: Regenerate.
2340         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
2341         (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
2342         (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
2343         Add build logic for libgcj-tools.la,
2344         libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
2345         gkeytool.
2346         * Makefile.in: Regenerate.
2347
2348 2006-06-29  Ranjit Mathew  <rmathew@gcc.gnu.org>
2349
2350         * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
2351         C99.
2352         * include/java-stack.h: Include stdlib.h.
2353         (_Jv_AddrInfo): New structure to hold address information.
2354         * include/posix.h (_Jv_platform_dladdr): Declare.
2355         * include/win32.h (_Jv_platform_dladdr): Declare.
2356         (backtrace): Remove declaration.
2357         * posix.cc: Include dlfcn.h if available.  Include java-stack.h.
2358         (_Jv_platform_dladdr): Define.
2359         * win32.cc: Include string.h.  Include java-stack.h.
2360         (backtrace): Remove.
2361         (_Jv_platform_dladdr): Define.
2362         * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
2363         frame pointer value is 32-bit word-aligned.  Use operand of the CALL
2364         instruction calling the current function to find its starting address.
2365         * stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
2366         (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
2367         instead of dladdr().
2368         (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
2369         (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
2370         targets with SJLJ exceptions instead of using _Unwind_Backtrace().
2371         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
2372
2373 2006-06-27  Tom Tromey  <tromey@redhat.com>
2374
2375         * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
2376         Set 'out.count' earlier.
2377         (close): Call setFinished on converter.
2378         (flush): Always write work buffer.
2379         * java/io/PrintStream.java (writeChars): Do 'do' loop.
2380         (close): Call setFinished on converter.  Write a 'flush' array.
2381         * java/lang/natString.cc (getBytes): Call setFinished on
2382         converter.
2383         * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
2384         field.
2385         (write): Set hasBytes.  Changed 'finished' logic.
2386         (havePendingBytes): Rewrote.
2387         (setFinished): New method.
2388         * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
2389         * testsuite/libjava.lang/RH194522.java: New file.
2390         * testsuite/libjava.lang/RH194522.out: New file.
2391
2392 2006-06-27  Marco Trudel  <mtrudel@gmx.ch>
2393
2394         * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
2395         conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
2396         !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
2397
2398 2006-06-27  Tom Tromey  <tromey@redhat.com>
2399
2400         PR libgcj/28178:
2401         * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
2402         (_Jv_JNI_DeleteGlobalRef): Likewise.
2403         * testsuite/libjava.jni/PR28178.java: New file.
2404         * testsuite/libjava.jni/PR28178.c: New file.
2405         * testsuite/libjava.jni/PR28178.out: New file.
2406
2407 2006-06-26  Keith Seitz  <keiths@redhat.com>
2408
2409         * include/posix-threads.h: Fix coding style aberrations from
2410         2006-06-19 check-in.
2411         * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
2412         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
2413         * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
2414
2415 2006-06-26  Keith Seitz  <keiths@redhat.com>
2416
2417         * include/no-gc.h (_Jv_SuspendThread): Declare.
2418         (_Jv_ResumeThread): Likewise.
2419         * include/boehm-gc.h (_Jv_SuspendThread): Declare.
2420         (_Jv_ResumeThread): Likewise.
2421         * nogc.cc (_Jv_SuspendThread): New function.
2422         (_Jv_ResumeThread): Likewise.
2423         * boehm.cc (_Jv_SuspendThread): New function.
2424         (_Jv_ResumeThread): Likewise.
2425
2426 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2427
2428         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
2429         Link against -ljvm, not -lgcj.
2430
2431 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2432
2433         * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
2434         toolexeclibdir.
2435         * Makefile.in: Regenerate.
2436
2437 2006-06-22  Tom Tromey  <tromey@redhat.com>
2438
2439         * java/lang/reflect/natField.cc (getAddr): Allow setting of final
2440         field when it is accessible.
2441
2442 2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>
2443
2444         * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef. 
2445         (_Jv_GetPlatformThreadID): New function.
2446         * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
2447         (_Jv_GetPlatformThreadID): New function.
2448
2449 2006-06-20  Bryce McKinlay  <mckinlay@redhat.com>
2450
2451         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
2452         Bump "java.class.version" to 48.0.
2453
2454 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
2455
2456         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
2457         "$(dbexecdir)".
2458         Build libjvm.la.
2459         * Makefile.in: Regenerate.
2460         * jni.cc (the_vm): Rename and export as ...
2461         (_Jv_the_vm): New exported symbol.
2462         (_Jv_JNI_AttachCurrentThread): Export.
2463         (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
2464         references.
2465         (_Jv_GetJavaVM): Likewise.
2466         (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
2467         JNI_GetCreatedJavaVMs): Move to ...
2468         * jni-libjvm.cc: New file.
2469
2470 2006-06-19  Andrew Haley  <aph@redhat.com>
2471
2472         * testsuite/libjava.lang/PR27908.out: New.
2473         * testsuite/libjava.lang/PR27908.java: New.
2474
2475 2006-06-19  Keith Seitz  <keiths@redhat.com>
2476
2477         * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
2478         (_Jv_ThreadDebugResume): Declare.
2479         (_Jv_ThreadDebugSuspendCount): Declare.
2480         * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
2481         (_Jv_ThreadDebugSuspendCount): New function.
2482         (_Jv_ThreadDebugResume): New function.
2483
2484         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
2485         (_Jv_ThreadDebugResume): Declare.
2486         (_Jv_ThreadDebugSuspendCount): Declare.
2487         * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
2488         (_Jv_ThreadDebugSuspendCount): New function.
2489         (_Jv_ThreadDebugResume): New function.
2490         
2491 2006-06-16  Andrew Haley  <aph@redhat.com>
2492
2493         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
2494         copy the whole Class instance from the initializer: instead, copy
2495         everything but the first word (the vtable pointer).
2496         Change prototype to (const char* class_initializer).
2497         (_Jv_RegisterNewClasses): Change prototype to (const char**).
2498         * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
2499         (const char**).
2500
2501 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2502
2503         * classpath/Makefile.am: Do not recurse into tools directory.
2504         * classpath/Makefile.in: Regenerate.
2505
2506 2006-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2507
2508         * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
2509         -I$(top_srcdir)/include.
2510         (gjarsigner_CFLAGS): Likewise.
2511         (gkeytool_CFLAGS): Likewise.
2512         * classpath/tools/Makefile.in: Regenerate.
2513
2514 2006-06-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2515
2516         * configure: Regenerate.
2517         * Makefile.in: Regenerate.
2518         * configure.ac (--enable-plugin): New option.
2519         (ac_configure_args): Add --enable-tool-wrappers.
2520         (ac_configure_args): Add --disable-plugin unless --enable-plugin
2521         was specified.
2522         * gcj/Makefile.in: Regenerate.
2523         * sources.am (gnu_java_net_source_files): Add
2524         classpath/gnu/java/net/IndexListParser.java.
2525         (property_files): Remove
2526         classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
2527         classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
2528         Add
2529         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
2530         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
2531         classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
2532         classpath/resource/gnu/classpath/tools/jar/messages.properties,
2533         classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
2534         classpath/resource/gnu/classpath/tools/keytool/messages.properties,
2535         classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
2536         classpath/resource/gnu/classpath/tools/serialver/messages.properties.
2537         * classpath/Makefile.in: Regenerate.
2538         * classpath/native/jni/gtk-peer/cairographics2d.h,
2539         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
2540         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
2541         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
2542         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
2543         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
2544         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
2545         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
2546         Merge from GNU Classpath.
2547         * classpath/native/Makefile.in: Regenerate.
2548         * classpath/native/jawt/Makefile.in: Regenerate.
2549         * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
2550         versioned library directory.
2551         * classpath/native/Makefile.am: Add plugin directory if
2552         --enable-plugin was specified.
2553         * classpath/native/plugin/Makefile.in: Regenerate.  *
2554         classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
2555         GCJ's versioned library directory.
2556         * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
2557         New file.
2558         * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
2559         Likewise.
2560         * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
2561         Likewise.
2562         * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
2563         Remove file.
2564         * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
2565         New file.
2566         * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
2567         Remove file.
2568         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
2569         New file.
2570         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
2571         Likewise.
2572         * classpath/resource/gnu/classpath/tools/jar/messages.properties:
2573         Likewise.
2574         * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
2575         Likewise.
2576         * classpath/gnu/java/net/IndexListParser.java:
2577         Likewise.
2578         * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
2579         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
2580         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
2581         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
2582         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2583         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
2584         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
2585         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
2586         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
2587         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
2588         classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
2589         classpath/gnu/java/awt/java2d/PolyEdge.java,
2590         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
2591         GNU Classpath.
2592         * classpath/tools/toolwrapper.c: Replace tools.zip reference with
2593         libgcj-tools-4.2.0.jar.
2594         * classpath/tools/Makefile.in: Regenerate.
2595         * classpath/tools/Makefile.am: Rename tools.zip to
2596         libgcj-tools-4.2.0.jar.  Install libgcj-tools-4.2.0.jar in
2597         $(datadir)/java.
2598         * classpath/javax/swing/JTabbedPane.java,
2599         classpath/javax/swing/text/DefaultStyledDocument.java,
2600         classpath/javax/swing/text/html/HTMLDocument.java,
2601         classpath/javax/swing/text/GapContent.java,
2602         classpath/javax/swing/JComponent.java,
2603         classpath/javax/swing/RepaintManager.java,
2604         classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2605         classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
2606         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2607         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
2608         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
2609         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
2610         classpath/java/text/Bidi.java,
2611         classpath/java/awt/image/BufferedImage.java,
2612         classpath/java/awt/datatransfer/DataFlavor.java,
2613         classpath/java/awt/geom/AffineTransform.java,
2614         classpath/java/awt/dnd/DropTargetDropEvent.java,
2615         classpath/java/awt/dnd/DropTargetContext.java,
2616         classpath/java/awt/font/TextLayout.java,
2617         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
2618         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
2619         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
2620         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
2621         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
2622         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
2623         GNU Classpath.
2624         * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
2625         classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
2626         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2627         classpath/native/jni/gtk-peer/gtkcairopeer.h,
2628         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
2629         Remove files.
2630         * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
2631         directory.
2632         * include/Makefile.in: Regenerate.
2633         * testsuite/Makefile.in: Regenerate.
2634
2635 2006-06-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2636
2637         * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
2638         to no.
2639
2640 2006-06-12  Andrew Haley  <aph@redhat.com>
2641
2642         * testsuite/libjava.lang/PR27908.out: Delete.
2643         * testsuite/libjava.lang/PR27908.java: Delete.
2644
2645 2006-06-12  Andrew Haley  <aph@redhat.com>
2646
2647         * testsuite/libjava.lang/PR27908.out: New.
2648         * testsuite/libjava.lang/PR27908.java: New.
2649
2650 2006-06-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
2651
2652         * configure.ac (ac_configure_args): Add --disable-plugin.
2653         (--enable-gtk-cairo): Remove option.
2654         * configure: Regenerate.
2655
2656 2006-06-09  Tom Tromey  <tromey@redhat.com>
2657
2658         PR libgcj/27730:
2659         * java/lang/Thread.java (threadId): New field.
2660         (nextThreadId): New static field.
2661         (Thread): Initialize new field.
2662         (getId): New method.
2663
2664 2006-06-09  Tom Tromey  <tromey@redhat.com>
2665
2666         * java/lang/Class.java (getClassLoaderInternal): Now native.
2667
2668 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
2669
2670         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2671         (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
2672         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
2673         Likewise.
2674         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
2675         Likewise.
2676
2677 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
2678
2679         * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
2680         classpath/native/jni/qt-peer/eventmethods.h,
2681         classpath/native/jni/qt-peer/qtmenupeer.cpp,
2682         classpath/native/jni/qt-peer/.cvsignore,
2683         classpath/native/jni/gtk-peer/gdkdisplay.h,
2684         classpath/native/jni/gtk-peer/cairographics2d.h,
2685         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
2686         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
2687         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
2688         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
2689         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
2690         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
2691         classpath/native/jni/gtk-peer/.cvsignore,
2692         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
2693         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
2694         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2695         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
2696         classpath/native/jni/gtk-peer/gtkpeer.h,
2697         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2698         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
2699         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
2700         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
2701         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
2702         classpath/native/jni/gtk-peer/Makefile.am,
2703         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2704         classpath/native/jawt/Makefile.am,
2705         classpath/native/jawt/.cvsignore,
2706         classpath/native/target/Linux/Makefile.in,
2707         classpath/native/plugin/gcjwebplugin.cc,
2708         classpath/native/plugin/Makefile.am,
2709         classpath/native/plugin/.cvsignore,
2710         classpath/resource/Makefile.in,
2711         classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
2712         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
2713         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
2714         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
2715         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2716         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
2717         classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2718         classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2719         classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
2720         classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2721         classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
2722         classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
2723         classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
2724         classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
2725         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
2726         classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
2727         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
2728         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
2729         classpath/gnu/java/awt/peer/gtk/GtkImage.java,
2730         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
2731         classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2732         classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
2733         classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
2734         classpath/gnu/java/awt/peer/swing/SwingComponent.java,
2735         classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
2736         classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
2737         classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
2738         classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
2739         classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
2740         classpath/gnu/java/awt/print/JavaPrinterJob.java,
2741         classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
2742         classpath/gnu/java/awt/print/SpooledDocument.java,
2743         classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
2744         classpath/gnu/java/awt/BitwiseXORComposite.java,
2745         classpath/gnu/java/awt/font/GNUGlyphVector.java,
2746         classpath/gnu/java/awt/font/opentype/NameDecoder.java,
2747         classpath/gnu/java/awt/java2d/RasterGraphics.java,
2748         classpath/gnu/java/awt/java2d/TexturePaintContext.java,
2749         classpath/gnu/java/awt/java2d/PolyEdge.java,
2750         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
2751         classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
2752         classpath/gnu/java/awt/java2d/ImagePaint.java,
2753         classpath/gnu/java/awt/Buffers.java,
2754         classpath/gnu/classpath/Configuration.java.in,
2755         classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
2756         classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
2757         classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2758         classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
2759         classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
2760         classpath/tools/toolwrapper.c,
2761         classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
2762         classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
2763         classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
2764         classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
2765         classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
2766         classpath/tools/gnu/classpath/tools/getopt/Messages.java,
2767         classpath/tools/gnu/classpath/tools/getopt/Option.java,
2768         classpath/tools/gnu/classpath/tools/getopt/Parser.java,
2769         classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
2770         classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
2771         classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
2772         classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
2773         classpath/tools/gnu/classpath/tools/jarsigner/package.html,
2774         classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
2775         classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
2776         classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
2777         classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
2778         classpath/tools/gnu/classpath/tools/keytool/Messages.java,
2779         classpath/tools/gnu/classpath/tools/keytool/package.html,
2780         classpath/tools/gnu/classpath/tools/keytool/Command.java,
2781         classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
2782         classpath/tools/gnu/classpath/tools/keytool/Main.java,
2783         classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
2784         classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
2785         classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
2786         classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
2787         classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
2788         classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
2789         classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
2790         classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
2791         classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
2792         classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
2793         classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
2794         classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
2795         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
2796         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
2797         classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
2798         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
2799         classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
2800         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
2801         classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
2802         classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
2803         classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
2804         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
2805         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
2806         classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
2807         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
2808         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
2809         classpath/tools/gnu/classpath/tools/serialver/Messages.java,
2810         classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
2811         classpath/tools/gnu/classpath/tools/jar/Creator.java,
2812         classpath/tools/gnu/classpath/tools/jar/Entry.java,
2813         classpath/tools/gnu/classpath/tools/jar/Lister.java,
2814         classpath/tools/gnu/classpath/tools/jar/Main.java,
2815         classpath/tools/gnu/classpath/tools/jar/Updater.java,
2816         classpath/tools/gnu/classpath/tools/jar/Messages.java,
2817         classpath/tools/gnu/classpath/tools/jar/Extractor.java,
2818         classpath/tools/gnu/classpath/tools/jar/Action.java,
2819         classpath/tools/gnu/classpath/tools/jar/Indexer.java,
2820         classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
2821         classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
2822         classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
2823         classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
2824         classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
2825         classpath/tools/keytool.in, classpath/tools/appletviewer.in,
2826         classpath/tools/.cvsignore, classpath/configure.ac,
2827         classpath/javax/swing/JTabbedPane.java,
2828         classpath/javax/swing/AbstractButton.java,
2829         classpath/javax/swing/JViewport.java,
2830         classpath/javax/swing/KeyboardManager.java,
2831         classpath/javax/swing/JMenuItem.java,
2832         classpath/javax/swing/JMenuBar.java,
2833         classpath/javax/swing/MenuSelectionManager.java,
2834         classpath/javax/swing/JOptionPane.java,
2835         classpath/javax/swing/JSpinner.java,
2836         classpath/javax/swing/JCheckBoxMenuItem.java,
2837         classpath/javax/swing/JEditorPane.java,
2838         classpath/javax/swing/JFormattedTextField.java,
2839         classpath/javax/swing/JTree.java,
2840         classpath/javax/swing/CellRendererPane.java,
2841         classpath/javax/swing/JScrollPane.java,
2842         classpath/javax/swing/tree/VariableHeightLayoutCache.java,
2843         classpath/javax/swing/tree/TreeNode.java,
2844         classpath/javax/swing/tree/FixedHeightLayoutCache.java,
2845         classpath/javax/swing/tree/DefaultTreeCellEditor.java,
2846         classpath/javax/swing/tree/TreePath.java,
2847         classpath/javax/swing/tree/RowMapper.java,
2848         classpath/javax/swing/tree/DefaultMutableTreeNode.java,
2849         classpath/javax/swing/tree/DefaultTreeModel.java,
2850         classpath/javax/swing/tree/AbstractLayoutCache.java,
2851         classpath/javax/swing/tree/TreeSelectionModel.java,
2852         classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
2853         classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
2854         classpath/javax/swing/tree/ExpandVetoException.java,
2855         classpath/javax/swing/JList.java,
2856         classpath/javax/swing/table/JTableHeader.java,
2857         classpath/javax/swing/table/AbstractTableModel.java,
2858         classpath/javax/swing/table/DefaultTableModel.java,
2859         classpath/javax/swing/table/TableCellEditor.java,
2860         classpath/javax/swing/table/TableCellRenderer.java,
2861         classpath/javax/swing/ProgressMonitor.java,
2862         classpath/javax/swing/JToolBar.java,
2863         classpath/javax/swing/TransferHandler.java,
2864         classpath/javax/swing/DefaultCellEditor.java,
2865         classpath/javax/swing/DefaultButtonModel.java,
2866         classpath/javax/swing/JLayeredPane.java,
2867         classpath/javax/swing/text/DefaultEditorKit.java,
2868         classpath/javax/swing/text/DefaultCaret.java,
2869         classpath/javax/swing/text/FieldView.java,
2870         classpath/javax/swing/text/JTextComponent.java,
2871         classpath/javax/swing/text/TextAction.java,
2872         classpath/javax/swing/text/StyleContext.java,
2873         classpath/javax/swing/text/html/HTMLDocument.java,
2874         classpath/javax/swing/text/html/MinimalHTMLWriter.java,
2875         classpath/javax/swing/text/html/ImageView.java,
2876         classpath/javax/swing/text/html/HTMLEditorKit.java,
2877         classpath/javax/swing/text/AbstractWriter.java,
2878         classpath/javax/swing/text/GapContent.java,
2879         classpath/javax/swing/text/Utilities.java,
2880         classpath/javax/swing/text/PlainView.java,
2881         classpath/javax/swing/UIManager.java,
2882         classpath/javax/swing/JSplitPane.java,
2883         classpath/javax/swing/JComponent.java,
2884         classpath/javax/swing/SwingUtilities.java,
2885         classpath/javax/swing/border/AbstractBorder.java,
2886         classpath/javax/swing/border/CompoundBorder.java,
2887         classpath/javax/swing/border/TitledBorder.java,
2888         classpath/javax/swing/border/MatteBorder.java,
2889         classpath/javax/swing/border/BevelBorder.java,
2890         classpath/javax/swing/RepaintManager.java,
2891         classpath/javax/swing/JTable.java,
2892         classpath/javax/swing/UIDefaults.java,
2893         classpath/javax/swing/DefaultDesktopManager.java,
2894         classpath/javax/swing/JMenu.java,
2895         classpath/javax/swing/JLabel.java,
2896         classpath/javax/swing/JSlider.java,
2897         classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
2898         classpath/javax/swing/plaf/basic/BasicButtonUI.java,
2899         classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
2900         classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
2901         classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
2902         classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
2903         classpath/javax/swing/plaf/basic/BasicSliderUI.java,
2904         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2905         classpath/javax/swing/plaf/basic/BasicComboPopup.java,
2906         classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
2907         classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
2908         classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
2909         classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
2910         classpath/javax/swing/plaf/basic/BasicPanelUI.java,
2911         classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
2912         classpath/javax/swing/plaf/basic/BasicTreeUI.java,
2913         classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
2914         classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
2915         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
2916         classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
2917         classpath/javax/swing/plaf/basic/BasicListUI.java,
2918         classpath/javax/swing/plaf/basic/BasicIconFactory.java,
2919         classpath/javax/swing/plaf/basic/BasicTextUI.java,
2920         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
2921         classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
2922         classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
2923         classpath/javax/swing/plaf/basic/BasicTableUI.java,
2924         classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
2925         classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
2926         classpath/javax/swing/plaf/multi/MultiListUI.java,
2927         classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
2928         classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
2929         classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
2930         classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
2931         classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
2932         classpath/javax/swing/plaf/metal/MetalSliderUI.java,
2933         classpath/javax/swing/plaf/metal/MetalIconFactory.java,
2934         classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
2935         classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
2936         classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
2937         classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
2938         classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
2939         classpath/javax/swing/plaf/metal/MetalBorders.java,
2940         classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
2941         classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
2942         classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
2943         classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
2944         classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
2945         classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
2946         classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
2947         classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
2948         classpath/javax/swing/plaf/metal/MetalUtils.java,
2949         classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
2950         classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
2951         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
2952         classpath/javax/swing/JPopupMenu.java,
2953         classpath/javax/swing/JProgressBar.java,
2954         classpath/javax/swing/WindowConstants.java,
2955         classpath/javax/swing/JFrame.java,
2956         classpath/javax/swing/JFileChooser.java,
2957         classpath/javax/swing/JComboBox.java,
2958         classpath/javax/swing/event/EventListenerList.java,
2959         classpath/javax/swing/ListSelectionModel.java,
2960         classpath/javax/swing/JScrollBar.java,
2961         classpath/java/text/SimpleDateFormat.java,
2962         classpath/java/text/NumberFormat.java,
2963         classpath/java/text/class-dependencies.conf,
2964         classpath/java/awt/image/ColorModel.java,
2965         classpath/java/awt/image/BufferedImage.java,
2966         classpath/java/awt/Window.java,
2967         classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
2968         classpath/java/awt/LightweightDispatcher.java,
2969         classpath/java/awt/EventDispatchThread.java,
2970         classpath/java/awt/BasicStroke.java,
2971         classpath/java/awt/ColorPaintContext.java,
2972         classpath/java/awt/Container.java,
2973         classpath/java/awt/TexturePaint.java,
2974         classpath/java/awt/Component.java, classpath/java/awt/Font.java,
2975         classpath/java/awt/GraphicsConfiguration.java,
2976         classpath/java/awt/DefaultKeyboardFocusManager.java,
2977         classpath/java/awt/print/PrinterJob.java,
2978         classpath/java/awt/im/InputContext.java,
2979         classpath/java/awt/dnd/DragGestureRecognizer.java,
2980         classpath/java/awt/Toolkit.java,
2981         classpath/java/awt/font/GraphicAttribute.java,
2982         classpath/java/awt/font/ImageGraphicAttribute.java,
2983         classpath/java/awt/font/GlyphVector.java,
2984         classpath/java/awt/font/GlyphMetrics.java,
2985         classpath/java/awt/font/ShapeGraphicAttribute.java,
2986         classpath/java/awt/Graphics2D.java,
2987         classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
2988         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
2989         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
2990         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
2991         classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
2992         classpath/include/config.h.in,
2993         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
2994         classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
2995         classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
2996         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
2997         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
2998         classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
2999         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
3000         classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
3001         Merge from GNU Classpath HEAD.
3002
3003 2006-06-08  Tom Tromey  <tromey@redhat.com>
3004
3005         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
3006         Set gnu.gcj.user.realname.
3007
3008 2006-06-09  Andreas Tobler  <a.tobler@schweiz.ch>
3009
3010         * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
3011
3012 2006-06-07  Andrew Haley  <aph@redhat.com>
3013
3014         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
3015         (_Jv_Linker::uaddr): New.
3016         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
3017         instead of an open-coded loop around search_method_in_class.
3018         (search_method_in_class): Add a new arg, check_perms.
3019         (search_method_in_superclasses): New.
3020         (link_symbol_table): Call maybe_adjust_signature() to extract the
3021         least significnt bit of the signature pointer.  Do this three
3022         times, for instace method calls, static methods, and interfaces.
3023         Call search_method_in_superclasses() instead of
3024         _Jv_LookupDeclaredMethod.
3025         (typedef uaddr): Delete.
3026         
3027 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3028
3029         * scripts/makemake.tcl (emit_bc_rule): Do not skip
3030         gnu-java-awt-peer-qt.lo.
3031         * configure.ac (QT_AWT): Remove conditional.
3032         Do not add gnu/java/awt/peer/qt to standard.omit.
3033         * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
3034         in GCJ's versioned library directory.
3035         * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
3036         Load libqtpeer.so unconditionally.
3037         * gij.cc (main): Do not re-exec gij.
3038         * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
3039         (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
3040         when linking gij.
3041
3042 2006-06-06  David Daney  <ddaney@avtrex.com>
3043
3044         * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
3045         (showRaw): New method.
3046         * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
3047         (getLineNumberForFrame): Show IP offset in trace if line number
3048         not available and show_raw true.
3049
3050 2006-06-06  Gary Benson  <gbenson@redhat.com>
3051
3052         * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
3053         * configure.ac: Remove realpath check and add checks for
3054         lstat and readlink.
3055         * configure: Rebuilt.
3056         * include/config.h.in: Likewise.
3057         * java/io/File.java: Javadoc fix.
3058
3059 2006-06-05  Andreas Schwab  <schwab@suse.de>
3060
3061         PR libgcj/27860
3062         * link.cc: Check for closure support in libffi with FFI_CLOSURES.
3063
3064 2006-06-05  Tom Tromey  <tromey@redhat.com>
3065
3066         PR libgcj/27892:
3067         * gij.cc (main): Use putenv.
3068
3069 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
3070
3071         * scripts/jar.in: Ensure return with argument has non-empty argument.
3072
3073 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
3074
3075         * configure.ac (ZIP, UNZIP): New programs.
3076         (JAR): Fall back to bash script.  Generate it.
3077         (BASH_JAR): New conditional.
3078         * Makefile.am (bin_SCRIPTS): New.
3079         * scripts/jar.in: New file.
3080
3081 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
3082
3083         * gnu/java/lang/MainThread (run): Revert exception chaining change.
3084
3085 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
3086
3087         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
3088         name, not Latin1.
3089         * gnu/java/lang/MainThread.java (run): Allow file separator char to
3090         be used in place of '.' as class-name separator. Don't chain
3091         ClassNotFoundException.
3092
3093 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3094
3095         * java/lang/VMClassLoader.java (initialize): Set default library
3096         control to LIB_NEVER.
3097
3098 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
3099
3100         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
3101         interpreted classes.
3102
3103 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3104
3105         * scripts/makemake.tcl (emit_bc_rule): Do not skip
3106         gnu-java-awt-peer-gtk.lo.
3107         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
3108         ABI for gnu/java/awt/peer/gtk package.
3109         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
3110         New function.
3111         (insertSystemProperties): Only set java.ext.dirs if it is not
3112         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
3113         path where necessary.
3114         * configure.ac (GTK_AWT): Remove automake conditional.
3115         Do not add gnu/java/awt/peer/gtk to standard.omit.
3116         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
3117         declaration.
3118         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
3119         and re-exec self.
3120         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
3121         PATH_SEPARATOR macros.
3122         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
3123         * prims.cc (_Jv_PrependVersionedLibdir): New function.
3124
3125 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3126
3127         * java/lang/natThread.cc (countStackFrames): Do not throw
3128         UnsupportedOperationException.
3129         (resume): Likewise.
3130         (stop): Likewise.
3131         (suspend): Likewise.
3132
3133 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3134
3135         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
3136         * configure: Rebuilt.
3137         * include/config.h.in: Likewise.
3138         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
3139         <sys/rw_lock.h>.
3140
3141 2006-05-24  Tom Tromey  <tromey@redhat.com>
3142
3143         PR libgcj/27024:
3144         * sources.am, Makefile.in: Rebuilt.
3145         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
3146         * java/net/URLConnection.java: Removed.
3147
3148 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
3149
3150         * Makefile.am: Add install-html target. Add install-html to .PHONY
3151         * Makefile.in: Regenerate.
3152         * aclocal.m4: Regenerate.
3153         * gcj/Makefile.in: Regenerate.
3154         * include/Makefile.in: Regenerate.
3155         * testsuite/Makefile.in: Regenerate.
3156
3157 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
3158
3159         * testsuite/libjava.lang/stacktrace.java: New file.
3160         * testsuite/libjava.lang/stacktrace.out: Likewise.
3161
3162 2006-05-24  Tom Tromey  <tromey@redhat.com>
3163
3164         * sources.am, Makefile.in: Rebuilt.
3165         * scripts/makemake.tcl: Accept -verbose command-line option.
3166         (is_verbose): New global.
3167         (verbose): Use it.
3168         (classify_source_file): Don't special case '.' for 'package'
3169         type.
3170
3171 2006-05-24  Tom Tromey  <tromey@redhat.com>
3172
3173         PR libgcj/27729:
3174         * java/lang/reflect/natField.cc (getAddr): Added parens.
3175         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
3176         Renamed.  Don't mask flags.
3177         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
3178         constant.
3179         (getModifiersInternal): Renamed.
3180         (getModifiers): Rewrote.
3181         (isSynthetic, isVarArgs): New methods.
3182         (hashCode): Rewrote.
3183         (addTypeParameters, toGenericString): New methods.
3184         (getTypeParameters): Rewrote.
3185         (getSignature): New method.
3186         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
3187         * java/lang/reflect/natMethod.cc (getModifiersInternal):
3188         Renamed.  Don't mask flags.
3189         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
3190         Don't mask flags.
3191         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
3192         ENUM): New constants.
3193         (INVISIBLE): Changed value.
3194         * java/lang/reflect/Method.java: Mostly merged with Classpath.
3195         (getModifiersInternal): Renamed.
3196         (getModifiers): Rewrote.
3197         (isBridge, isSynthetic, isVarArgs): New methods.
3198         (toGenericString): Likewise.
3199         (getTypeParameters): Likewise.
3200         (getSignature): Likewise.
3201         (getGenericExceptionTypes, getGenericParameterTypes,
3202         getGenericReturnType): Likewise.
3203         (METHOD_MODIFIERS): New constant.
3204         * java/lang/reflect/Field.java: Mostly merged with Classpath.
3205         Added javadoc everywhere.
3206         (getModifiersInternal): Renamed.
3207         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
3208         (toGenericString): New method.
3209         (getGenericType, getSignature): Likewise.
3210         (FIELD_MODIFIERS): New constant.
3211
3212 2006-05-24  Tom Tromey  <tromey@redhat.com>
3213
3214         PR libgcj/27731:
3215         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
3216         tanh): New methods.
3217         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
3218         tanh): Declare.
3219
3220 2006-05-22  Mark Wielaard  <mark@klomp.org>
3221
3222         * HACKING: Update GNU Classpath import instructions.
3223
3224 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
3225
3226         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
3227         signature as MAYBE_UNUSED for HAVE_TLS == 0.
3228         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
3229         HAVE_TLS == 0.
3230
3231 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
3232             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3233
3234         * configure.ac: Add the POSIX thread libs to the HP-UX PA
3235         configuration. Add signal specification for HP-UX PA.
3236         * configure: Rebuilt.
3237         * configure.host: Add defaults for the HP-UX PA architecture.
3238         Add descriptor files for HP-UX PA 32-bit and 64-bit.
3239         * include/hppa-signal.h: New file.
3240         * include/posix.h: Add shared library suffix for HP-UX.
3241         * sysdep/pa/descriptor-pa32-hpux.h: New file.
3242         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
3243
3244 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
3245
3246         * ChangeLog: Correct incorrect GNU Classpath version in the
3247         entry for the latest import.
3248
3249 2006-05-18  Tom Tromey  <tromey@redhat.com>
3250
3251         * source.am, Makefile.in: Rebuilt.
3252         * Makefile.am (property_files): Removed.
3253         * scripts/makemake.tcl (properties_map): New global.
3254         (properties_files): Likewise.
3255         (emit_property_files): New proc.
3256         (scan_packages): Scan META-INF.
3257         Print property_files variable.  Scan classpath/resource.
3258
3259 2006-05-18  Tom Tromey  <tromey@redhat.com>
3260
3261         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
3262         Renamed.
3263         (gcj_write_and_byte_compile): New proc.
3264         (gcj_special_lazy_illegal_access): Likewise.
3265
3266 2006-05-18  Mark Wielaard  <mark@klomp.org>
3267
3268         Imported GNU Classpath 0.91
3269         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
3270
3271         * sources.am: Regenerated.
3272         * gcj/javaprims.h: Regenerated.
3273         * Makefile.in: Regenerated.
3274         * gcj/Makefile.in: Regenerated.
3275         * include/Makefile.in: Regenerated.
3276         * testsuite/Makefile.in: Regenerated.
3277
3278         * gnu/java/lang/VMInstrumentationImpl.java: New override.
3279         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
3280         * gnu/classpath/jdwp/VMMethod.java: Likewise.
3281         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
3282         interface.
3283         * java/lang/Thread.java: Add UncaughtExceptionHandler.
3284         * java/lang/reflect/Method.java: Implements GenericDeclaration and
3285         isSynthetic(),
3286         * java/lang/reflect/Field.java: Likewise.
3287         * java/lang/reflect/Constructor.java
3288         * java/lang/Class.java: Implements Type, GenericDeclaration,
3289         getSimpleName() and getEnclosing*() methods.
3290         * java/lang/Class.h: Add new public methods.
3291         * java/lang/Math.java: Add signum(), ulp() and log10().
3292         * java/lang/natMath.cc (log10): New function.
3293         * java/security/VMSecureRandom.java: New override.
3294         * java/util/logging/Logger.java: Updated to latest classpath
3295         version.
3296         * java/util/logging/LogManager.java: New override.
3297
3298 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
3299
3300         PR libgcj/27352
3301         * java/lang/Class.java (getClassLoaderInternal): New method.
3302         (forName (String, Class)): Use getClassLoaderInternal.
3303         (getPackage): Likewise.
3304         (getResource): Likewise.
3305         (getResourceAsStream): Likewise.
3306         (desiredAssertionStatus): Likewise.
3307
3308 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
3309
3310         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
3311         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
3312         klass->methods[j].ncode.
3313
3314 2006-05-13  Tom Tromey  <tromey@redhat.com>
3315
3316         * sources.am, Makefile.in: Rebuilt.
3317         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
3318         natChannels.cc.
3319         * java/nio/channels/natVMChannels.cc: Renamed from
3320         natChannels.cc.
3321         * java/nio/channels/Channels.java: Removed.
3322         * java/nio/channels/natChannels.cc: Removed.
3323         * java/nio/channels/VMChannels.java: New file.
3324
3325 2006-05-13  Tom Tromey  <tromey@redhat.com>
3326
3327         * sources.am, Makefile.in: Rebuilt.
3328         * java/text/DateFormat.java: Removed.
3329
3330 2006-05-13  Tom Tromey  <tromey@redhat.com>
3331
3332         * sources.am, Makefile.in: Rebuilt.
3333         * gnu/java/net/protocol/jar/Connection.java: Removed.
3334         * java/net/JarURLConnection.java: Removed.
3335
3336 2006-05-13  Tom Tromey  <tromey@redhat.com>
3337
3338         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
3339         declaration.
3340
3341 2006-05-12  Tom Tromey  <tromey@redhat.com>
3342
3343         * sources.am, Makefile.in: Rebuilt.
3344         * java/util/logging/LogManager.java: Removed.
3345         * java/util/logging/Logger.java (resetLogger): New method, from
3346         Classpath.
3347         * java/io/RandomAccessFile.java: Removed.
3348         * gnu/java/nio/channels/FileChannelImpl.java (create): New
3349         method.
3350         (FileChannelImpl): Now private.
3351         * java/io/FileInputStream.java: Removed.
3352         * java/io/FileOutputStream.java: Removed.
3353         * java/security/AccessControlContext.java: Removed.
3354         * java/lang/ThreadLocal.java: Removed.
3355         * java/lang/InheritableThreadLocal.java: Removed.
3356         * java/lang/Thread.java (locals): New field.
3357         (getThreadLocals): New method.
3358         * java/lang/natThread.cc (finish_): Clear 'locals'.
3359
3360 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
3361
3362         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
3363         fails, don't try again.
3364         (use_addr2line): Field no longer final.
3365
3366 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
3367
3368         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
3369         (lookup): If addr2line fails to find an address, flag the binary as
3370         having no debug info and avoid calling addr2line on it again.
3371
3372 2006-05-11  David Daney  <ddaney@avtrex.com>
3373
3374         * testsuite/libjava.compile/PR20418.java: New.
3375         * testsuite/libjava.compile/PR20418.xfail: New.
3376
3377 2006-05-11  Andrew Haley  <aph@redhat.com>
3378
3379         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
3380         line.
3381
3382 2006-05-10  Andrew Haley  <aph@redhat.com>
3383
3384         * java/lang/natClassLoader.cc: Add comments.
3385
3386 2006-05-09  Andrew Haley  <aph@redhat.com>
3387
3388         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
3389         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
3390         Remove body.
3391         (_Jv_CompiledEngine::allocate_field_initializers): New.
3392         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
3393         allocate_field_initializers.
3394         (class _Jv_IndirectCompiledClass): New.
3395         (struct _Jv_IndirectCompiledEngine): New.
3396         * java/lang/Class.h: (IndirectCompiledEngine): New.
3397         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
3398         engine to _Jv_soleIndirectCompiledEngine
3399         * link.cc (ensure_fields_laid_out): Call
3400         engine->allocate_field_initializers().
3401
3402 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
3403
3404         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
3405         HP-UX and add appropriate extension for shared libraries, sl.
3406         (gcj_jni_test_one): Likewise.
3407
3408         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
3409         library extensions.
3410
3411 2006-05-05  Tom Tromey  <tromey@redhat.com>
3412
3413         PR libgcj/27294:
3414         * java/lang/natVMClassLoader.cc (defineClass): Throw
3415         VirtualMachineError if no interpreter configured.
3416
3417 2006-05-03  Andrew Haley  <aph@redhat.com>
3418
3419         PR libgcj/27352
3420         * java/lang/Class.java (getClassLoader(Class)): New.
3421         forName(String, Class): New.
3422         * java/lang/natClass.cc (getClassLoader(Class)): New.
3423
3424 2006-05-02  Andrew Haley  <aph@redhat.com>
3425
3426         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
3427
3428 2006-05-04  Tom Tromey  <tromey@redhat.com>
3429
3430         PR libgcj/26861: