OSDN Git Service

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