OSDN Git Service

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