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