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