OSDN Git Service

PR libgcj/31228
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-03-22  David Daney  <ddaney@avtrex.com>
2
3         PR libgcj/31228
4         * configure.ac: Add checks for getrlimit and sys/resource.h.
5         * include/posix.h (_Jv_platform_close_on_exec): Remove.
6         * include/config.h.in: Regenerate.
7         * configure: Regenerate.
8         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
9         _Jv_platform_close_on_exec;
10         * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
11         (accept): Likewise.
12         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
13         * java/lang/natPosixProcess.cc: Include sys/resource.h.
14         (nativeSpawn): Close all file descriptors.  Don't set FD_CLOEXEC on
15         pipes.
16
17 2007-03-20  Andrew Haley  <aph@redhat.com>
18
19         * testsuite/libjava.lang/PR31264.java: New test.
20
21 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
22
23         * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
24         * Makefile.in: Rebuilt.
25
26 2007-03-13  Keith Seitz  <keiths@redhat.com>
27
28         * include/java-interp.h (_Jv_InterpClass): Declare
29         friend function _Jv_GetInterpClassSourceFile.
30         * java/lang/Class.h (Class): Likewise.
31         * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
32         New function.
33         * gnu/classpath/jdwp/natVMVirtualMachine.cc
34         (getSourceFile): Implement.
35
36 2007-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
37
38         * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
39         * classpath/configure.ac: Add --with-ecj-jar configure option.
40         * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
41         field.
42         * classpath/INSTALL: Document --with-ecj-jar configure option and
43         ecj jar requirement for com.sun.tools.javac support.
44         * classpath/tools/Makefile.am: Build decendents of com and sun
45         directories.
46         * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
47         * gnu/classpath/Configuration.java,
48         gnu/classpath/natConfiguration.cc (ecj): New method.
49         (ECJ_JAR): New field.
50         * scripts/makemake.tcl (scan_packages): Add com directory.
51         * sources.am (property_files): Add
52         classpath/resource/sun/rmi/rmic/messages.properties and
53         classpath/resource/com/sun/tools/javac/messages.properties.
54         * classpath/resource/com, classpath/resource/com/sun,
55         classpath/resource/com/sun/tools,
56         classpath/resource/com/sun/tools/javac, classpath/resource/sun,
57         classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
58         classpath/tools/classes/com, classpath/tools/classes/com/sun,
59         classpath/tools/classes/com/sun/javadoc,
60         classpath/tools/classes/com/sun/tools,
61         classpath/tools/classes/com/sun/tools/doclets,
62         classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
63         classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
64         classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
65         classpath/tools/com/sun/tools,
66         classpath/tools/com/sun/tools/doclets,
67         classpath/tools/com/sun/tools/javac, classpath/tools/sun,
68         classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
69         directories.
70         * classpath/resource/com/sun/tools/javac/messages.properties,
71         classpath/resource/sun/rmi/rmic/messages.properties,
72         classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
73         classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
74         classpath/tools/classes/com/sun/javadoc/Doc.class,
75         classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
76         classpath/tools/classes/com/sun/javadoc/Doclet.class,
77         classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
78         classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
79         classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
80         classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
81         classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
82         classpath/tools/classes/com/sun/javadoc/ParamTag.class,
83         classpath/tools/classes/com/sun/javadoc/Parameter.class,
84         classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
85         classpath/tools/classes/com/sun/javadoc/RootDoc.class,
86         classpath/tools/classes/com/sun/javadoc/SeeTag.class,
87         classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
88         classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
89         classpath/tools/classes/com/sun/javadoc/Tag.class,
90         classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
91         classpath/tools/classes/com/sun/javadoc/Type.class,
92         classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
93         classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
94         classpath/tools/classes/sun/rmi/rmic/Main.class,
95         classpath/tools/classes/sun/rmi/rmic/Messages.class,
96         classpath/tools/com/sun/javadoc/ClassDoc.java,
97         classpath/tools/com/sun/javadoc/ConstructorDoc.java,
98         classpath/tools/com/sun/javadoc/Doc.java,
99         classpath/tools/com/sun/javadoc/DocErrorReporter.java,
100         classpath/tools/com/sun/javadoc/Doclet.java,
101         classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
102         classpath/tools/com/sun/javadoc/FieldDoc.java,
103         classpath/tools/com/sun/javadoc/MemberDoc.java,
104         classpath/tools/com/sun/javadoc/MethodDoc.java,
105         classpath/tools/com/sun/javadoc/PackageDoc.java,
106         classpath/tools/com/sun/javadoc/ParamTag.java,
107         classpath/tools/com/sun/javadoc/Parameter.java,
108         classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
109         classpath/tools/com/sun/javadoc/RootDoc.java,
110         classpath/tools/com/sun/javadoc/SeeTag.java,
111         classpath/tools/com/sun/javadoc/SerialFieldTag.java,
112         classpath/tools/com/sun/javadoc/SourcePosition.java,
113         classpath/tools/com/sun/javadoc/Tag.java,
114         classpath/tools/com/sun/javadoc/ThrowsTag.java,
115         classpath/tools/com/sun/javadoc/Type.java,
116         classpath/tools/com/sun/javadoc/TypeVariable.java,
117         classpath/tools/com/sun/tools/doclets/Taglet.java,
118         classpath/tools/com/sun/tools/javac/Main.java,
119         classpath/tools/com/sun/tools/javac/Messages.java,
120         classpath/tools/sun/rmi/rmic/Main.java,
121         classpath/tools/sun/rmi/rmic/Messages.java: New files.
122         * Makefile.in, classpath/Makefile.in, classpath/configure,
123         classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
124         classpath/examples/Makefile.in, classpath/external/Makefile.in,
125         classpath/external/jsr166/Makefile.in,
126         classpath/external/relaxngDatatype/Makefile.in,
127         classpath/external/sax/Makefile.in,
128         classpath/external/w3c_dom/Makefile.in,
129         classpath/include/Makefile.in, classpath/include/config.h.in,
130         classpath/lib/Makefile.in,
131         classpath/lib/gnu/classpath/Configuration.class,
132         classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
133         classpath/native/jawt/Makefile.in,
134         classpath/native/jni/Makefile.in,
135         classpath/native/jni/classpath/Makefile.in,
136         classpath/native/jni/gconf-peer/Makefile.in,
137         classpath/native/jni/gtk-peer/Makefile.in,
138         classpath/native/jni/java-io/Makefile.in,
139         classpath/native/jni/java-lang/Makefile.in,
140         classpath/native/jni/java-net/Makefile.in,
141         classpath/native/jni/java-nio/Makefile.in,
142         classpath/native/jni/java-util/Makefile.in,
143         classpath/native/jni/midi-alsa/Makefile.in,
144         classpath/native/jni/midi-dssi/Makefile.in,
145         classpath/native/jni/native-lib/Makefile.in,
146         classpath/native/jni/qt-peer/Makefile.in,
147         classpath/native/jni/xmlj/Makefile.in,
148         classpath/native/plugin/Makefile.in,
149         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
150         classpath/tools/Makefile.in, configure,
151         gnu/classpath/Configuration.h: Regenerate.
152
153 2007-03-12  Kyle Galloway  <kgallowa@redhat.com>
154
155         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
156         as a sigle slot.
157
158 2007-03-12  Marco Trudel  <mtrudel@gmx.ch>
159
160         * java/lang/natString.cc (getBytes (jstring enc)):
161         Fixed the loop for multiple cycles, Code cleanup
162
163 2007-03-09  Tom Tromey  <tromey@redhat.com>
164
165         * sources.am, Makefile.in: Rebuilt.
166         * scripts/makemake.tcl (scan_directory): Allow service files to be
167         omitted.
168         Omit all XML-related service files.
169
170 2007-03-07  Tom Tromey  <tromey@redhat.com>
171
172         * configure: Rebuilt.
173         * configure.ac: Clear vm-tools-packages.
174
175 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
176
177         * java/lang/Win32Process.java: Added nested class EOFInputStream.
178         * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
179         enum and implementation.
180         (startProcess): Use redirect flag.
181         * classpath/lib/java/lang/Win32Process.class: Regenerated.
182         * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
183         * gcj/javaprims.h: Regenerated.
184         * java/lang/Win32Process$EOFInputStream.h: New.
185
186 2007-03-07  Andrew Haley  <aph@redhat.com>
187
188         * libgcj_bc.c (JvRunMainName): Declare.
189
190 2007-03-07  Gary Benson  <gbenson@redhat.com>
191
192         * sources.am, Makefile.in: Rebuilt.
193
194 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
195
196         * gcj/javaprims.h: Regenerated.
197
198 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
199
200         * include/jvm.h (_Jv_ClosureListFinalizer): New.
201         (_Jv_Linker::create_error_method): Adjust.
202         * boehm.cc (_Jv_ClosureListFinalizer): New.
203         * nogc.cc (_Jv_ClosureListFinalizer): New.
204         * java/lang/Class.h (class _Jv_ClosureList): New.
205         (class java::lang::Class): Declare it as friend.
206         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
207         (_Jv_ClosureList::registerClousure): New.
208         * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
209         (_Jv_CompiledEngine::do_get_closure_list): New.
210         (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
211         (_Jv_IndirectCompiledClass): Add closures.
212         (_Jv_IndirectCompiledEngine::get_aux_info): New.
213         (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
214         it.
215         (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
216         (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
217         (_Jv_InterpreterEngine::do_get_closure_list): Declare.
218         (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
219         * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
220         (node_closure): Add closure list.
221         (_Jv_InterpMethod::ncode): Add jclass argument.  Use
222         ffi_closure_alloc and the separate code pointer.  Register the
223         closure for finalization.
224         (_Jv_JNIMethod::ncode): Likewise.
225         (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
226         (_Jv_InterpreterEngine::do_get_closure_list): New.
227         * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
228         (_Jv_InterpClass): Add closures field.
229         (_Jv_JNIMethod::ncode): Adjust.
230         * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
231         (_Jv_ClassReader::handleMethodsEnd): Likewise.
232         * link.cc (struct method_closure): Add closure list.
233         (_Jv_Linker::create_error_method): Add jclass argument.  Use
234         ffi_closure_alloc and the separate code pointer.  Register the
235         closure for finalization.
236         (_Jv_Linker::link_symbol_table): Remove outdated comment about
237         sharing of otable and atable.  Adjust.
238         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
239         list.
240         (ncode): Add jclass argument.  Use ffi_closure_alloc and the
241         separate code pointer.  Register the closure for finalization.
242         (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
243         * testsuite/libjava.jar/TestClosureGC.java: New.
244         * testsuite/libjava.jar/TestClosureGC.out: New.
245         * testsuite/libjava.jar/TestClosureGC.xfail: New.
246         * testsuite/libjava.jar/TestClosureGC.jar: New.
247
248 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
249
250         * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
251         * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
252         * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
253         * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
254         (VMMethod::getLineTable): Use new macro.
255         (VMMethod::getVariableTable): Implement.
256         * sources.am: Regenerated.
257         * Makefile.in: Ditto.
258
259 2007-03-06  Tom Tromey  <tromey@redhat.com>
260
261         * Makefile.in: Rebuilt.
262         * Makefile.am (bin_PROGRAMS): Added gcjh.
263         (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
264         gcjh_DEPENDENCIES): New variables.
265
266 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
267
268         * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
269         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
270         (do_getlocalvartable_tests): Add Deallocate calls to free strings.
271
272 2007-03-05  Matthias Klose  <doko@debian.org>
273
274         * Makefile.am (gij_LDFLAGS): Use dbexecdir.
275         * Makefile.in: Regnerate.
276
277 2007-03-05  Mark Wielaard  <mark@klomp.org>
278
279         * java/lang/Character.java: Re-merged with Classpath.
280         * java/lang/natString.cc (nativeCompareTo): Renamed from
281         compareTo.
282         * java/lang/StringBuilder.java: Re-merged with Classpath.
283         * java/lang/String.java: Re-merged with Classpath.
284         (nativeCompareTo): Renamed from compareTo.
285         * java/lang/StringBuffer.java: Re-merged with Classpath.
286         * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
287
288 2007-03-05  Andrew Haley  <aph@redhat.com>
289
290         * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
291         (generateProxyClass): Don't pass method to ncode.
292         (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
293         * java/lang/reflect/Method.h: Rebuild.
294         * java/lang/reflect/Method.java (internalGetParameterTypes,
295         internalGetExceptionTypes): New methods.
296         * headers.txt (class java/lang/reflect/Method): Declare
297         _Jv_GetReflectedMethod.  Be its friend.
298         * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
299         * java/lang/Class.h: Declare it.  Be its friend.
300
301 2007-03-05  Tom Tromey  <tromey@redhat.com>
302
303         * sources.am, Makefile.in: Rebuilt.
304         * scripts/makemake.tcl (emit_package_rule): Don't omit
305         VMProcess.java.
306         * Makefile.am (nat_source_files): Added natVMProcess.cc.
307         (inner_nat_headers): Added ImmediateEOFInputStream.h.
308         * gcj/javaprims.h: Regenerated.
309         * java/lang/System.java (EnvironmentMap): Now package-private.
310         (EnvironmentMap(Map)): New constructor.
311         (EnvironmentMap.put): New method.
312         * java/lang/natWin32Process.cc (startProcess): Update.
313         * java/lang/Win32Process.java (Win32Process): Added 'redirect'
314         argument.
315         (startProcess): Likewise.
316         * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
317         argument.
318         * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
319         * java/lang/PosixProcess.java (redirect): New field.
320         (PosixProcess): Added 'redirect' argument.
321         * java/lang/natRuntime.cc (execInternal): Added 'redirect'
322         argument to Process creation.
323         * java/lang/natVMProcess.cc: New file.
324         * java/lang/ProcessBuilder.java: Removed.
325         * java/lang/VMProcess.java: New file.
326
327 2007-03-03  Andrew Haley  <aph@redhat.com>
328
329         * java/lang/natClass.cc (parseAnnotationElement): Correct long
330         annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
331
332 2007-03-02  Andrew Haley  <aph@redhat.com>
333
334         * sun/reflect/annotation/AnnotationInvocationHandler.java:
335         Generify in a few places.
336         (equals): Rewrite to use invoke on local proxy.
337         (deepToString): Remove most of it.
338         (toString): Make nonstatic.
339         (arrayClone): Delete.
340         (coerce): New method.
341         (invoke): Rewrite to handle gcj's structures correctly.
342         * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
343         null loader.
344         * sources.am: Regenerate.
345         * Makefile.am: Likewise.        
346
347 2007-03-02  Andrew Haley  <aph@redhat.com>
348
349         * sun/reflect/annotation/AnnotationInvocationHandler.java:
350         Whitespace only changes.
351
352 2007-03-02  Andrew Haley  <aph@redhat.com>
353
354         * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
355         from Classpath to libgcj local.
356
357 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
358
359         * Makefile.am: Add dummy install-pdf target.
360         * Makefile.in: Regenerate
361         * include/Makefile.in: Regenerate
362         * testsuite/Makefile.in: Regenerate
363         * gcj/Makefile.in: Regenerate
364
365 2007-02-23  Gary Benson  <gbenson@redhat.com>
366
367         * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
368
369 2007-02-23  Gary Benson  <gbenson@redhat.com>
370
371         * java/lang/VMCompiler.java
372         (compileClass): Don't lose zeros from within the digest.
373
374 2007-02-22  Jakub Jelinek  <jakub@redhat.com>
375
376         PR libgcj/17002
377         PR classpath/28550
378         * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
379         /etc/localtime, use ZoneInfo.readTZFile instead of
380         VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
381         either if it is a symlink or through /etc/sysconfig/clock.
382         (readSysconfigClockFile): New static method.
383         (readtzFile): Removed.
384         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
385         * posix.cc (_Jv_platform_initProperties): Set
386         gnu.java.util.zoneinfo.dir.
387         * sources.am (gnu_java_util_source_files): Add
388         classpath/gnu/java/util/ZoneInfo.java.
389         * Makefile.in: Regenerated.
390         * java/util/VMTimeZone.h: Regenerated.
391         * java/util/TimeZone.h: Regenerated.
392         * gnu/java/util/ZoneInfo.h: Generated.
393
394 2007-02-22  Mohan Embar  <gnustuff@thisiscool.com>
395
396         * include/win32-threads.h: Added #undef OUT.
397
398 2007-02-21  Kyle Galloway  <kgallowa@redhat.com>
399
400         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
401         * testsuite/libjava.jvmti/interp/getargssize.java: New test.
402         * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
403         * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
404         * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
405         * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
406
407 2007-02-21  Gary Benson  <gbenson@redhat.com>
408
409         * java/util/GregorianCalendar.java: Removed.
410         * sources.am, Makefile.in: Rebuilt.
411
412 2007-02-20  Keith Seitz  <keiths@redhat.com>
413
414         * gnu/classpath/jdwp/natVMVirtualMachine.cc
415         (jdwpClassPrepareCB): Move class status stuff to ...
416         (getClassStatus): ... here.
417
418 2007-02-20  Gary Benson  <gbenson@redhat.com>
419
420         * gnu/awt/xlib/XEventLoop.h: Regenerated.
421         * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
422         * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
423         Likewise.
424         * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
425         * java/lang/SecurityManager.h: Likewise.
426         * java/lang/Thread.h: Likewise.
427         * java/security/VMSecureRandom$Spinner.h: Likewise.
428         * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
429         * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
430         * java/util/concurrent/atomic/AtomicLong.h: Likewise.
431         * java/util/concurrent/atomic/AtomicReference.h: Likewise.
432         * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
433         * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
434         * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
435         * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
436         * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
437         * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
438         * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
439         * java/util/concurrent/Exchanger.h: Likewise.
440         * java/util/concurrent/Exchanger$Node.h: Likewise.
441         * java/util/concurrent/FutureTask$Sync.h: Likewise.
442         * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
443         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
444         Likewise.
445         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: 
446         Likewise.
447         * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
448         * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
449         Likewise.
450         * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
451         * java/util/concurrent/SynchronousQueue.h: Likewise.
452         * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
453         * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
454         Likewise.
455         * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
456         * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
457         Likewise.
458         * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
459         * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
460         * java/util/logging/ErrorManager.h: Likewise.
461         * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
462         * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
463
464 2007-02-16  Keith Seitz  <keiths@redhat.com>
465
466         * gnu/classpath/jdwp/natVMVirtualMachine.cc
467         (get_line_table): New function.
468         (handle_single_step): New function.
469         (jdwpSingleStepCB): New function.
470         (jdwpVMInitCB): Define a JVMTI single step
471         callback, but don't enable it until needed.
472
473 2007-02-16  David Daney  <ddaney@avtrex.com>
474
475         * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
476         new parameter constructor.
477         (Thread(ThreadGroup, Runnable, String, long)): Same.
478         (Thread(String, boolean)): New constructor.
479         (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
480         noInheritableThreadLocal, don't call
481         InheritableThreadLocal.newChildThread if set.
482         * java/lang/PosixProcess.java(ProcessManager()): Set
483         noInheritableThreadLocal in super.
484         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
485         parameter to Thread constructor.
486         (_Jv_AttachCurrentThreadAsDaemon): Same.
487         * java/lang/Thread.h: Regenerate.
488         * classpath/lib/java/lang/Thread.class: Same.
489         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
490         * classpath/lib/java/lang/PosixProcess.class: Same.
491         * classpath/lib/java/lang/Thread$State.class: Same.
492         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
493
494 2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
495
496         * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
497         variables to maintain type info.
498         * interpret-run.cc: Add local variable info to frame in the debug
499         interpreter.
500         * jvmti.cc (getLocalFrame): New method.
501         (_Jv_JVMTI_GetLocalObject): New method.
502         (_Jv_JVMTI_GetLocallInt): New method.
503         (_Jv_JVMTI_GetLocalFloat): New method.
504         (_Jv_JVMTI_GetLocalLong): New method.
505         (_Jv_JVMTI_GetLocalDouble): New method.
506         (_Jv_JVMTI_SetLocalObject): New method.
507         (_Jv_JVMTI_SetLocalInt): New method.
508         (_Jv_JVMTI_SetLocalFloat): New method.
509         (_Jv_JVMTI_SetLocalLong): New method.
510         (_Jv_JVMTI_SetLocalDouble): New method.
511
512 2007-02-16  Gary Benson  <gbenson@redhat.com>
513
514         * gnu/gcj/tools/gcj_dbtool/Main.java
515         (bytesToString): Don't lose zeros from within the digest.
516
517 2007-02-15  Andrew Haley  <aph@redhat.com>
518
519         * Makefile.am (nat_source_files): Remove
520         java/lang/management/natVMManagementFactory.cc.
521         * java/lang/Thread.java (getStackTrace): Use reflection to call
522         the ManagementFactory.
523         * java/lang/management/VMManagementFactory.java: Remove native
524         methods.
525         * java/lang/management/natVMManagementFactory.cc: Deleted.
526         * sources.am: Regnerate.
527         * scripts/makemake.tcl: Add new "bcheaders" type.
528         Move java/lang/management and gnu/classpath/management to "bc".
529         Move gnu/java/lang/management to "bcheaders".
530         
531 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
532         
533         * interpret.cc (_Jv_InterpMethod::check_handler): New method.
534         * interpret-run.cc: Change the catch section to report exception
535         events and to use the new check_handler method.
536         * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
537         * gnu/gcj/jvmti/ExceptionEvent.java: New file.
538         * gnu/gcj/jvmti/ExceptionEvent.h: New file.
539         * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
540         * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
541         file.
542         * sources.am: Added ExceptionEvent.java.
543         * Makefile.am: Added natExceptionEvent.cc
544         * Makefile.in: Regenerated.
545         * include/Makefile.in: Regenerated.
546         * gcj/Makefile.in: Regenerated.
547
548 2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
549         David Daney  <ddaney@avtrex.com>
550
551         * configure.ac: Create vm-tools-packages file.  Add 
552         gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
553         Check for /proc/self/maps.
554         * Makefile.am (bin_PROGRAMS): Added gc-analyze.
555         (gc_analyze_SOURCES): New.
556         (gc_analyze_LDFLAGS): New.
557         (gc_analyze_LINK): New.
558         (gc_analyze_LDADD): New.
559         (gc_analyze_DEPENDENCIES): New.
560         (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
561         * Makefile.in: Regenerated.
562         * configure: Regenerated.
563         * include/config.h.in: Regenerated.
564         * sources.am: Regenerated.
565         * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
566         * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
567         * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
568         * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
569         * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
570         * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
571         * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
572         * gnu/gcj/tools/gc_analyze/ItemList.java: New.
573         * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
574         * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
575         * gnu/gcj/util/GCInfo.java: New.
576         * gnu/gcj/util/GCInfo.h: New.
577         * gnu/gcj/util/natGCInfo.cc: New.
578         * gnu/gcj/util/UtilPermission.java: New.
579         * gnu/gcj/util/UtilPermission.h: New.
580         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
581         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
582         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
583         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
584         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
585         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
586         * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
587         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
588         * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
589         * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
590         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
591         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
592         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
593         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
594         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
595         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
596         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
597         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
598         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
599         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
600         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
601         * classpath/lib/gnu/gcj/util/GCInfo.class: New.
602         * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
603
604 2007-02-15  David Daney  <ddaney@avtrex.com>
605
606         * gnu/java/net/PlainSocketImpl.h: Regenerate.
607         * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
608         * gnu/classpath/jdwp/VMFrame.h: Same.
609         * java/net/Socket.h: Same.
610         * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
611
612 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
613
614         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
615         Added LocalVariableTable attribute handling.
616         (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
617         * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
618         * include/java-interp.h: Added local_var_table and 
619         local_var_table_len fields to _Jv_InterpMethod.
620         (_Jv_InterpMethod::get_local_var_table): New method.
621         * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
622         * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
623         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
624         for new test.
625         * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
626         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
627
628 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
629
630         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
631
632 2007-02-13  Keith Seitz  <keiths@redhat.com>
633
634         * gnu/classpath/jdwp/natVMVirtualMachine.cc
635         (jdwpBreakpointCB): New function.
636         (jdwpVMInitCB): Define and enable the breakpoint
637         callback.
638
639 2007-02-13  Andrew Haley  <aph@redhat.com>
640
641         * testsuite/libjava.lang/Divide_2.out
642         * testsuite/libjava.lang/Divide_2.java: New test.
643
644 2007-02-12  Keith Seitz  <keiths@redhat.com>
645
646         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
647         from jthread to Thread *; it is no longer needed.
648         (_Jv_JVMTI_GetFrameCount): Likewise.
649         Fix small formatting typo.
650
651 2007-02-12  Tom Tromey  <tromey@redhat.com>
652
653         * sources.am, Makefile.in: Rebuilt.
654         * java/lang/Socket.java: Removed override.
655         * java/lang/DatagramSocket.java: Removed override.
656         * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
657         field.
658         (getLocalAddress): New method.
659         * gnu/java/net/PlainDatagramSocketImpl.java
660         (PlainDatagramSocketImpl): Throws IOException.
661         * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
662         'sizeof'.
663         (read): Likewise.
664
665 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
666
667         * java/util/VMTimeZone.java: Rewrite to handle both the old
668         'TZif\0' format and the new one.
669         
670 2007-02-10  Andrew Haley  <aph@redhat.com>
671
672         PR java/30742
673         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
674         (getCallingClass): Call GET_CALLING_CLASS.
675         (getCallingClassLoader): Likewise.
676
677 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
678
679         * configure: Rebuilt.
680         * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
681
682 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
683
684         * Makefile.in: Rebuilt.
685         * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
686         the host's ecj1 executable.
687
688 2007-02-09  Richard Henderson  <rth@redhat.com>
689
690         * sysdep/alpha/locks.h (read_barrier): New.
691
692 2007-02-09  Keith Seitz  <keiths@redhat.com>
693
694         * gnu/classpath/jdwp/VMVirtualMachine.java
695         (_stepping_threads): New member.
696         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
697         Regenerated.
698         * gnu/classpath/jdwp/VMVirtualMachine.h:
699         Regenerated.
700         * gnu/claspath/jdwp/natVMVirtualMachine.cc
701         (get_request_step_filter): New function.
702         (DISABLE_EVENT): New macro.
703         (initialize): Initialize _stepping_threads.
704         (registerEvent): Implement EVENT_SINGLE_STEP.
705         (unregisterEvent): Likewise.
706
707 2007-02-08  Keith Seitz  <keiths@redhat.com>
708
709         * sources.am: Regenerate.
710         * Makefile.in: Regenerate.
711         * testsuite/Makefile.in: Regenerate.
712         * gcj/Makefile.in: Regenerate.
713         * include/Makefile.in: Regenerate.
714
715         * classpath/lib/javax/management/MBeanServerFactory.class:
716         Regenerate.
717
718 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
719
720         * classpath/gnu/classpath/jdwp/processor/
721         StackFrameCommandSet.java (executeGetValues): Pass jlong instead
722         of ByteBuffer.
723         (executeSetValues): Ditto.
724         (executeThisObject): Ditto.
725         * classpath/gnu/classpath/jdwp/processor/
726         StackFrameCommandSet.class: Rebuilt.
727         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
728         Rebuilt.
729         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
730         * classpath/lib/gnu/classpath/jdwp/exception/
731         InvalidFrameException.java: New file.
732         * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
733         frame.
734         (Constructor): New method.
735         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
736         * gnu/classpath/jdwp/VMVirtualMachine.java
737         (getFrame): Changed ByteBuffer to jlong.
738         * gnu/classpath/jdwp/natVMVirtualMachine.cc
739         (getFrame): Implement.
740         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
741
742 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
743
744         * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
745         to hold "this" pointer for frame.
746         (_Jv_InterpFrame::get_this_ptr): New method.
747         * interpret-run.cc: Copy the "this" pointer into obj_ptr.
748
749 2007-02-07  Keith Seitz  <keiths@redhat.com>
750
751         * include/java-interp.h (_Jv_Frame::depth):
752         New function.
753         * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
754
755 2007-02-07  Kyle Galloway  <kgallowa@redhat.com>
756
757         * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
758         (_Jv_JVMTI_GetMaxLocals): New method.
759         * include/java-interp.h
760         (_Jv_InterpMethod::get_max_locals): New method.
761
762 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
763
764         * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
765
766 2007-02-07  Tom Tromey  <tromey@redhat.com>
767
768         * testsuite/libjava.jni/init.c: New file.
769         * testsuite/libjava.jni/init.java: New file.
770         * testsuite/libjava.jni/init.out: New file.
771         * testsuite/libjava.jni/init.jar: New file.
772         * testsuite/libjava.jni/init.h: New file.
773         * testsuite/libjava.jni/init$NativeClass.h: New file.
774
775 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
776
777         PR libgomp/28468
778         * configure: Regenerate.
779
780 2007-02-06  Andrew Haley  <aph@redhat.com>
781
782         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
783         * sources.am: Rebuild.
784
785 2007-02-05  Keith Seitz  <keiths@redhat.com>
786
787         * jvmti.cc (_envListLock): Change type to
788         ReentrantReadWriteLock.
789         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
790         lock.
791         (check_enabled_event): Likewise.
792         (_Jv_GetJVMTIEnv): Likewise.
793         (_Jv_JVMTI_Init): Likewise.
794         (_Jv_JVMTI_PostEvent): Likewise. 
795
796 2007-02-05  Keith Seitz  <keiths@redhat.com>
797
798         * gnu/classpath/jdwp/natVMVirtualMachine.cc
799         (registerEvent): Implement EVENT_BREAKPOINT.
800         (unregisterEvent): Likewise.
801         (get_request_location): New function.
802
803 2007-02-05  Matthias Klose  <doko@debian.org>
804
805         testsuite/Makefile.am (compile-tests): Fix typo.
806         testsuite/Makefile.in: Regenerate.
807
808 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
809
810         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
811         Implment.
812
813 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
814
815         * configure.ac (libjava_cv_anon_version_script): New test.
816         (ANONVERSCRIPT): New AM_CONDITIONAL.
817         * configure: Rebuilt.
818         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
819         if ANONVERSCRIPT.
820         * Makefile.in: Rebuilt.
821         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
822         * libgcj.ver: New file.
823
824 2007-02-01  David Daney  <ddaney@avtrex.com>
825
826         * scripts/makemake.tcl: Replace gnu/xml build with build of all
827         its subpackages.
828         * sources.am: Regenerate.
829         * Makefile.in: Regenerate.
830
831 2007-02-01  Tom Tromey  <tromey@redhat.com>
832
833         * java/lang/ClassLoader.java (getResources): No longer final.
834
835 2007-02-01  Tom Tromey  <tromey@redhat.com>
836
837         * java/util/logging/LogManager.java (loggers): Genericized.
838         (addLogger): Merged.
839         (findAncestor): Likewise.
840         (getLogger): Likewise.
841         (getLoggerNames): Genericized.
842         (reset): Merged.
843         (getLevelProperty): Likewise.
844         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
845         * java/lang/reflect/Constructor.java (getParameterTypes):
846         Genericized.
847         (getExceptionTypes): Likewise.
848         (newInstance): Likewise.
849         * java/lang/reflect/Array.java (newInstance): Genericized.
850         * java/lang/Object.java (getClass): Genericized.
851         * java/nio/charset/spi/CharsetProvider.java (charsets):
852         Genericized.
853         * java/text/Collator.java: Implement Comparable<Object>.
854
855 2007-02-01  Tom Tromey  <tromey@redhat.com>
856
857         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
858         comments.
859         (clear): Call complete.
860         (setTimeZone): Call computeTime, computeFields.
861         (compareTo): New method.
862         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
863         (availableCharsets): Genericized.
864         (aliases): Likewise.
865         (compareTo): Changed argument type.
866         * java/lang/ClassLoader.java (loadClass): Genericized.
867         (findClass): Likewise.
868         (defineClass): Likewise.
869         (resolveClass): Likewise.
870         (findSystemClass): Likewise.
871         (setSigners): Likewise.
872         (findLoadedClass): Likewise.
873         (getResources): Likewise.
874         (findResources): Likewise.
875         (getSystemResources): Likewise.
876         (checkInitialized): New method.
877         * java/lang/Class.java (getCanonicalName): New method.
878
879 2007-01-31  Keith Seitz  <keiths@redhat.com>
880
881         * include/jvmti-int.h (JVMTI): Declare member "enabled".
882         * jvmti.cc (JVMTI): Add member "enabled".
883         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
884         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
885         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
886         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
887         instead of run to compile the method.
888
889         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
890         notification.
891
892 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
893
894         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
895         -shared-libgcc to the cxxflaglist for Darwin.
896
897 2007-01-31  Tom Tromey  <tromey@redhat.com>
898
899         * scripts.am, Makefile.in: Rebuilt.
900         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
901         as 'ordinary'.
902         (emit_ordinary_rule): New proc.
903
904 2007-01-31  Keith Seitz  <keiths@redhat.com>
905
906         * testsuite/libjava.jvmti/getmethodname.h: New file.
907         * testsuite/libjava.jvmti/getmethodname.jar: New file.
908
909 2007-01-31  Andrew Haley  <aph@redhat.com>
910
911         * prims.cc (_Jv_Abort): fflush (stderr).
912         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
913
914 2007-01-31  Tom Tromey  <tromey@redhat.com>
915
916         * configure, Makefile.in: Rebuilt.
917         * configure.ac (JAR): Check for -@ feature.
918         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
919
920 2007-01-31  Tom Tromey  <tromey@redhat.com>
921
922         PR libgcj/30606:
923         * configure, include/config.h.in: Rebuilt.
924         * configure.ac: Check for magic_t in magic.h.
925         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
926
927 2007-01-30  Tom Tromey  <tromey@redhat.com>
928
929         * Makefile.in: Rebuilt.
930         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
931
932 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
933
934         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
935         cast to print it right.
936
937 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
938
939         PR libgcj/30600:
940         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
941         'limit'.
942
943 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
944
945         * include/java-interp.h:  Added _Jv_Frame class and its two
946         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
947         _Jv_FrameType from java-stack.h.
948         * include/java-stack.h: Removed _Jv_FrameType.
949         * java/lang/Thread.java: Added frame member to hold new
950         composite frame stack.
951         * java/lang/Thread.h: Regenerated.
952         * java/lang/Thread.class: Rebuilt.
953         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
954         calling a JNI method.
955         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
956         (_Jv_JVMTI_GetFrameCount): New method.
957         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
958         classes.
959         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
960         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
961         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
962         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
963         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
964         for test. 
965
966 2007-01-29  Tom Tromey  <tromey@redhat.com>
967
968         * interpret.cc (run_debug): Remove comment.
969         (STOREA): Reformat.
970         (STOREI): Likewise.
971         (STOREF): Likewise.
972         (STOREL): Likewise.
973         (STORED): Likewise.
974         (POKEI): Likewise.
975         (run_normal_debug): Likewise.
976         (run_synch_object_debug): Likewise.
977         (run_class_debug): Likewise.
978         (run_synch_class_debug): Likewise.
979         (get1s): Likewise.
980         (get1u): Likewise.
981         (get2u): Likewise.
982         (get4): Likewise.
983         (NULLARRAYCHECK): Likewise.
984         (ARRAYBOUNDSCHECK): Likewise.
985         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
986
987 2007-01-29  Tom Tromey  <tromey@redhat.com>
988
989         * configure, Makefile.in: Rebuilt.
990         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
991         * configure.ac (BASH_JAR): Removed conditional.
992         (JAR): Prefer the jar found by AC_CHECK_PROGS.
993
994 2007-01-29  Tom Tromey  <tromey@redhat.com>
995
996         * Makefile.in: Rebuilt.
997         * Makefile.am (interpret.lo): New target.  Add -fwrap to
998         AM_CXXFLAGS.
999
1000 2007-01-29  Keith Seitz  <keiths@redhat.com>
1001
1002         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1003         Define.
1004         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1005         gcj. All jvmti object types now are defined to be their
1006         corresponding java classes.
1007         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1008         jthread to Thread*.
1009         (_Jv_JVMTI_ResumeThread): Likewise.
1010         (_Jv_JVMTI_InterruptThread): Likewise.
1011         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1012         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1013         (jdwpClassPrepareCB): Likewise.
1014         (jdwpThreadEndCB): Likewise.
1015         (jdwpThreadStartCB): Likewise.
1016         (jdwpVMInitCB): Likewise.
1017  
1018 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
1019
1020         * gnu/java/nio/channels/natFileChannelWin32.cc
1021         (lock): Implemented.
1022         (unlock): Implemented.
1023
1024 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
1025
1026         PR libgcj/30513
1027         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1028         libgcj_flags to undefine 'sun' at compile time.
1029         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1030         Sparc.
1031         (write_barrier): Likewise.
1032
1033 2007-01-27  Keith Seitz  <keiths@redhat.com>
1034
1035         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1036         (getAllClassMethods): Move error handling to ...
1037         (throw_jvmti_error): ... here.
1038         (jdwpClassPrepareCB): New function.
1039         (jdwpThreadEndCB): New function.
1040         (jdwpThreadStartCB): New function.
1041         (jdwpVMDeathCB): New function.
1042         (jdwpVMInitCB): Define and enable callbacks for
1043         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1044
1045 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
1046
1047         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1048         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1049         (MYGCJH): New variable.
1050         (compile-tests): New goal.
1051         * Makefile.in: Rebuilt.
1052         * testsuite/Makefile.in: Rebuilt.
1053
1054 2007-01-26  Andrew Haley  <aph@redhat.com>
1055
1056         * java/lang/natClass.cc (initializeClass): Re-throw
1057         SecurityExceptions.
1058         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1059         * java/lang/ClassLoader.java: (loadClass): Likewise.
1060
1061 2007-01-26  Tom Tromey  <tromey@redhat.com>
1062
1063         * Updated headers.
1064
1065 2007-01-25  Tom Tromey  <tromey@redhat.com>
1066
1067         PR libgcj/29594:
1068         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1069         input or output encodings.  Removed unused local variables.
1070
1071 2007-01-25  Keith Seitz  <keiths@redhat.com>
1072
1073         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1074         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1075         (_Jv_GetJDWP_JVMTIEnv): New function.
1076         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1077         (getSignature): Implement.
1078         (getModifiers): Implement.
1079
1080 2007-01-25  Andrew Haley  <aph@redhat.com>
1081
1082         * configure, Makefile.in, include/config.h.in: Rebuilt.
1083         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1084         * configure.ac: Don't check for libmagic.
1085         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1086         p_magic_close, p_magic_buffer): New globals.
1087         (init): Look up 'magic' functions.
1088         (guessContentTypeFromBuffer): Updated.
1089
1090 2007-01-25  Keith Seitz  <keiths@redhat.com>
1091
1092         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1093         (_Jv_JVMTI_Interface): Define GetMethodName.
1094         * testsuite/libjava.jvmti/getmethodname.java: New file.
1095         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1096         * testsuite/libjava.jvmti/getmethodname.out: New file. 
1097
1098 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
1099
1100         * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1101         * libjava/testsuite/libjava.jvmti/interp: New folder.
1102         * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1103
1104 2007-01-24  Keith Seitz  <keiths@redhat.com>
1105
1106         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1107         CLASS_PREPARE notification.
1108
1109 2007-01-24  Keith Seitz  <keiths@redhat.com>
1110
1111         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1112         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1113         * interpret-run.cc: Implement insn_breakpoint.
1114
1115 2007-01-24  Keith Seitz  <keiths@redhat.com>
1116
1117         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1118         for VM_INIT and VM_DEATH instead of the JDWP notifications.
1119
1120 2007-01-24  Keith Seitz  <keiths@redhat.com>
1121
1122         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1123         (getAllClassMethods): Implement.
1124
1125 2007-01-24  Andrew Haley  <aph@redhat.com>
1126
1127         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1128         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1129         from being sibcalled.
1130
1131 2007-01-24  Andrew Haley  <aph@redhat.com>
1132
1133         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1134         * sources.am: Rebuild.
1135
1136 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
1137
1138         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1139         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1140
1141 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1142
1143         PR libgcj/30550
1144         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1145         * Makefile.in: Regenerated.
1146
1147 2007-01-22  Keith Seitz  <keiths@redhat.com>
1148
1149         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1150         (getClassMethod): Implement.
1151
1152 2007-01-22  Keith  Seitz  <keiths@redhat.com>
1153
1154         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1155         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1156         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1157         (_Jv_JVMTI_Interface): Define GetClassStatus.
1158
1159 2007-01-22  Tom Tromey  <tromey@redhat.com>
1160
1161         * configure: Rebuilt.
1162         * configure.ac (GCJ): Reverted patch of 2006-12-20.
1163
1164 2007-01-22  Tom Tromey  <tromey@redhat.com>
1165
1166         PR java/29812:
1167         * testsuite/libjava.jni/pr29812.java: New file.
1168         * testsuite/libjava.jni/pr29812_injar.java: New file.
1169         * testsuite/libjava.jni/pr29812_injar.jar: New file.
1170         * testsuite/libjava.jni/pr29812.out: New file.
1171         * testsuite/libjava.jni/pr29812_injar.c: New file.
1172         * testsuite/libjava.jni/pr29812_injar.h: New file.
1173         * testsuite/libjava.jni/pr29812.jar: New file.
1174         * testsuite/libjava.jni/pr29812.c: New file.
1175         * testsuite/libjava.jni/pr29812.h: New file.
1176         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1177         New proc.
1178         (gcj_jni_invocation_test_one): Use it.
1179         (gcj_jni_pr29812): New proc.
1180         (gcj_jni_run): Use it.
1181         * java/lang/natRuntime.cc (_load): Push a new system frame before
1182         calling JNI_OnLoad.
1183         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1184         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1185         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1186         <allocated_p>: Now bool.
1187         <loader>: New field.
1188         (_Jv_JNI_EnsureLocalCapacity): Updated.
1189         (_Jv_JNI_NewLocalRef): Likewise.
1190         (_Jv_JNI_NewLocalRef): Likewise.
1191         (_Jv_JNI_PopLocalFrame): Likewise.
1192         (_Jv_JNI_FindClass): Likewise.
1193         (_Jv_GetJNIEnvNewFrame): Likewise.
1194         (_Jv_JNI_AttachCurrentThread): Likewise.
1195         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1196         (_Jv_GetJNIEnvNewFrame): Use it.
1197         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1198
1199 2007-01-22  Tom Tromey  <tromey@redhat.com>
1200
1201         * libtool-version: Bump current to 9.
1202
1203 2007-01-22  Andrew Haley  <aph@redhat.com>
1204
1205         * sysdep/alpha/locks.h (write_barrier): New.
1206
1207 2007-01-21  Matthias Klose  <doko@debian.org>
1208
1209         * Makefile.am (install-exec-hook): Use transformed name.
1210         * Makefile.in: Regenerate.
1211
1212 2007-01-19  Keith Seitz  <keiths@redhat.com>
1213
1214         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1215         in methods and reformat.
1216
1217         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1218         MAYBE_UNUSED.
1219
1220 2007-01-18  Keith Seitz  <keiths@redhat.com>
1221
1222         From Macro Trudel <mtrudel@gmx.ch>:
1223         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1224         Use JNICALL.
1225
1226 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
1227
1228         * jni.cc (_Jv_JNI_FindClass): Initialize class.
1229         * testsuite/libjava.jni/findclass2.jar: New file.
1230         * testsuite/libjava.jni/findclass2.h: New file.
1231         * testsuite/libjava.jni/findclass2.java: New file
1232         * testsuite/libjava.jni/findclass2.c: New file.
1233         * testsuite/libjava.jni/findclass2.out: New file.
1234
1235 2007-01-18  Tom Tromey  <tromey@redhat.com>
1236
1237         * configure: Rebuilt.
1238         * configure.ac: Use multi_basedir instead of libgcj_basedir.
1239
1240 2007-01-18  Gary Benson  <gbenson@redhat.com>
1241
1242         * gnu/java/nio/natVMPipeEcos.cc:
1243         Renamed from gnu/java/nio/natPipeImplEcos.cc.
1244         * gnu/java/nio/natVMPipePosix.cc:
1245         Renamed from gnu/java/nio/natPipeImplPosix.cc.
1246         * gnu/java/nio/natVMPipeWin32.cc:
1247         Renamed from gnu/java/nio/natPipeImplWin32.cc.
1248         * gnu/java/nio/natVMSelectorEcos.cc:
1249         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1250         * gnu/java/nio/natVMSelectorPosix.cc:
1251         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1252         * gnu/java/nio/natVMSelectorWin32.cc:
1253         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1254         * java/io/natVMObjectInputStream.cc:
1255         Renamed from java/io/natObjectInputStream.cc.
1256         * java/lang/natVMDouble.cc:
1257         Renamed from java/lang/natDouble.cc.
1258         * java/lang/natVMFloat.cc:
1259         Renamed from java/lang/natFloat.cc.     
1260         * Makefile.am, configure.ac: Reflect the above.
1261         * Makefile.in, configure: Rebuilt.
1262
1263 2007-01-17  Andrew Haley  <aph@redhat.com>
1264
1265         * Makefile.in: Rebuilt.
1266         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1267
1268 2007-01-17  Keith Seitz  <keiths@redhat.com>
1269
1270         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1271         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1272
1273 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
1274
1275         * configure.ac: Use multi.m4 from aclocal rather than custom
1276         code.  Use multi_basedir instead libgcj_basedir.  Test for
1277         /proc/self/exe when not cross-compiling.
1278         * aclocal.m4: Regenerate.
1279         * configure: Regenerate.
1280         * Makefile.in: Regenerate.
1281
1282 2007-01-17  Gary Benson  <gbenson@redhat.com>
1283
1284         * java/nio/natVMDirectByteBufferImpl.cc:
1285         Renamed from java/nio/natDirectByteBufferImpl.cc.
1286         * Makefile.am: Reflect the above.
1287         * Makefile.in: Rebuilt.
1288         
1289 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
1290
1291         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
1292         Fixed indentation.  Removed unused variable.
1293
1294 2007-01-16  Tom Tromey  <tromey@redhat.com>
1295
1296         * java/lang/natThread.cc (finalize_native): Remove cast.
1297         (_Jv_GetCurrentJNIEnv): Likewise.
1298         * include/jvm.h (struct natThread) <jni_env>: Declare as
1299         _Jv_JNIEnv*.
1300
1301 2007-01-16  Keith Seitz  <keiths@redhat.com>
1302
1303         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1304         %#llx instead of %d for new_value.
1305         * testsuite/libjava.jvmti/events.out: Update expected output.
1306         * testsuite/libjava.jvmti/events.jar: Regenerate.
1307
1308 2007-01-16  Keith Seitz  <keiths@redhat.com>
1309
1310         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1311         New macro.
1312         (ENABLE_EVENT): New macro.
1313         (initialize): Define and enable JVMTI VM_INIT callback.
1314         (jdwpVMInitCB): New function.
1315
1316 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
1317
1318         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1319         * testsuite/libjava.jvmti/getallthreads.java: New test.
1320         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1321         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1322         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1323         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
1324
1325 2007-01-15  Keith Seitz  <keiths@redhat.com>
1326
1327         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1328         java.lang.StringBuilder instead of java.lang.StringBuffer.
1329         (resumeThread): Likewise.
1330
1331 2007-01-15  Gary Benson  <gbenson@redhat.com>
1332
1333         * java/nio/MappedByteBuffer.java: Removed.
1334         * sources.am, Makefile.in: Rebuilt.
1335
1336 2007-01-15  Gary Benson  <gbenson@redhat.com>
1337
1338         * java/net/URLClassLoader.java: Removed.
1339         * gnu/java/net/loader/Load_gcjlib.java: New file.
1340         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1341         URL handler is present in static executables.
1342         * sources.am, Makefile.in: Rebuilt.
1343
1344 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1345
1346         * Makefile.am (libgcj_la_LDFLAGS): Add
1347         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1348         (libgcj_tools_la_LDFLAGS): Likewise.
1349         (libgcj_bc_la_LDFLAGS): Likewise.
1350         * Makefile.in: Regenerated.
1351
1352         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
1353         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
1354         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1355         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1356         * configure: Regenerated.
1357         * aclocal.m4: Likewise.
1358         * gcj/Makefile.in: Likewise.
1359         * include/Makefile.in: Likewise.
1360         * testsuite/Makefile.in: Likewise.
1361
1362 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1363
1364         * sysdep/sh/locks.h (read_barrier): New.
1365         (write_barrier): Likewise.
1366
1367 2007-01-12  Andrew Haley  <aph@redhat.com>
1368
1369         * include/i386-signal.h: Rewrite to use rt_sigaction.
1370
1371 2007-01-11  Andrew Haley  <aph@redhat.com>
1372
1373         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1374         to char*.
1375         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1376         aliasing violation.
1377
1378 2007-01-10  Tom Tromey  <tromey@redhat.com>
1379
1380         * gnu/gcj/xlib/*.h: New files.
1381         * gnu/awt/xlib/*.h: Likewise.
1382         * classpath/lib/gnu/gcj/xlib: New class files.
1383         * classpath/lib/gnu/awt/xlib: Likewise.
1384
1385 2007-01-10  Tom Tromey  <tromey@redhat.com>
1386
1387         * HACKING: Various updates.
1388
1389 2007-01-10  Tom Tromey  <tromey@redhat.com>
1390
1391         * java/lang/natDouble.cc (toString): Added parens.
1392         * gnu/gcj/io/shs.h (PROTO): Define.
1393         * link.cc (resolve_pool_entry): Added missing braces.
1394
1395 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1396
1397         PR libgcj/30424
1398         * sysdep/ia64/locks.h (read_barrier): New.
1399         (write_barrier): New.
1400
1401 2007-01-10  Gary Benson  <gbenson@redhat.com>
1402
1403         * java/net/URL.java: Removed.
1404         * sources.am, Makefile.in: Rebuilt.
1405
1406 2007-01-10  Matthias Klose  <doko@debian.org>
1407
1408         * Makefile.am (install-exec-hook): Support $(DESTDIR).
1409         * Makefile.in: Regenerated.
1410
1411 2007-01-05  Tom Tromey  <tromey@redhat.com>
1412
1413         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1414         dummy.class in srcdir.
1415
1416 2007-01-03  Tom Tromey  <tromey@redhat.com>
1417
1418         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1419         for srcdir.
1420
1421 2007-01-03  Tom Tromey  <tromey@redhat.com>
1422
1423         * testsuite/*: Added many .jar and .h files.
1424         * testsuite/libjava.special/special.exp
1425         (gcj_special_try_compiler): New proc.
1426         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1427         bytecompile source.  Search for .jar files.
1428         (gcj_loader_test_one): Don't look for MyLoader.java.
1429         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1430         bytecompile sources or build headers.
1431         (gcj_jvmti_run): Look for .jar files.
1432         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1433         files.
1434         (gcj_jni_test_one): Don't bytecompile sources or build headers.
1435         Set classpath when invoking gij.
1436         (gcj_jni_invocation_test_one): Likewise.
1437         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1438         headers or bytecompile sources.
1439         (gcj_cni_run): Use .jar files, not .java files.
1440         * testsuite/libjava.lang/lang.exp: Compile .jar files.
1441
1442 2007-01-02  Tom Tromey  <tromey@redhat.com>
1443
1444         * configure: Rebuilt.
1445         * configure.ac: Check for gjar.
1446
1447 2007-01-02  Tom Tromey  <tromey@redhat.com>
1448
1449         * testsuite/libjava.jacks/jacks.exp: Removed.
1450         * testsuite/libjava.jacks/jacks.xfail: Removed.
1451