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