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