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