OSDN Git Service

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