OSDN Git Service

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