OSDN Git Service

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