1 2007-03-07 Tom Tromey <tromey@redhat.com>
4 * configure.ac: Clear vm-tools-packages.
6 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
8 * java/lang/Win32Process.java: Added nested class EOFInputStream.
9 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
10 enum and implementation.
11 (startProcess): Use redirect flag.
12 * classpath/lib/java/lang/Win32Process.class: Regenerated.
13 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
14 * gcj/javaprims.h: Regenerated.
15 * java/lang/Win32Process$EOFInputStream.h: New.
17 2007-03-07 Andrew Haley <aph@redhat.com>
19 * libgcj_bc.c (JvRunMainName): Declare.
21 2007-03-07 Gary Benson <gbenson@redhat.com>
23 * sources.am, Makefile.in: Rebuilt.
25 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
27 * gcj/javaprims.h: Regenerated.
29 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
31 * include/jvm.h (_Jv_ClosureListFinalizer): New.
32 (_Jv_Linker::create_error_method): Adjust.
33 * boehm.cc (_Jv_ClosureListFinalizer): New.
34 * nogc.cc (_Jv_ClosureListFinalizer): New.
35 * java/lang/Class.h (class _Jv_ClosureList): New.
36 (class java::lang::Class): Declare it as friend.
37 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
38 (_Jv_ClosureList::registerClousure): New.
39 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
40 (_Jv_CompiledEngine::do_get_closure_list): New.
41 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
42 (_Jv_IndirectCompiledClass): Add closures.
43 (_Jv_IndirectCompiledEngine::get_aux_info): New.
44 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
46 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
47 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
48 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
49 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
50 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
51 (node_closure): Add closure list.
52 (_Jv_InterpMethod::ncode): Add jclass argument. Use
53 ffi_closure_alloc and the separate code pointer. Register the
54 closure for finalization.
55 (_Jv_JNIMethod::ncode): Likewise.
56 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
57 (_Jv_InterpreterEngine::do_get_closure_list): New.
58 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
59 (_Jv_InterpClass): Add closures field.
60 (_Jv_JNIMethod::ncode): Adjust.
61 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
62 (_Jv_ClassReader::handleMethodsEnd): Likewise.
63 * link.cc (struct method_closure): Add closure list.
64 (_Jv_Linker::create_error_method): Add jclass argument. Use
65 ffi_closure_alloc and the separate code pointer. Register the
66 closure for finalization.
67 (_Jv_Linker::link_symbol_table): Remove outdated comment about
68 sharing of otable and atable. Adjust.
69 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
71 (ncode): Add jclass argument. Use ffi_closure_alloc and the
72 separate code pointer. Register the closure for finalization.
73 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
74 * testsuite/libjava.jar/TestClosureGC.java: New.
75 * testsuite/libjava.jar/TestClosureGC.out: New.
76 * testsuite/libjava.jar/TestClosureGC.xfail: New.
77 * testsuite/libjava.jar/TestClosureGC.jar: New.
79 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
81 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
82 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
83 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
84 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
85 (VMMethod::getLineTable): Use new macro.
86 (VMMethod::getVariableTable): Implement.
87 * sources.am: Regenerated.
90 2007-03-06 Tom Tromey <tromey@redhat.com>
92 * Makefile.in: Rebuilt.
93 * Makefile.am (bin_PROGRAMS): Added gcjh.
94 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
95 gcjh_DEPENDENCIES): New variables.
97 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
99 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
100 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
101 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
103 2007-03-05 Matthias Klose <doko@debian.org>
105 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
106 * Makefile.in: Regnerate.
108 2007-03-05 Mark Wielaard <mark@klomp.org>
110 * java/lang/Character.java: Re-merged with Classpath.
111 * java/lang/natString.cc (nativeCompareTo): Renamed from
113 * java/lang/StringBuilder.java: Re-merged with Classpath.
114 * java/lang/String.java: Re-merged with Classpath.
115 (nativeCompareTo): Renamed from compareTo.
116 * java/lang/StringBuffer.java: Re-merged with Classpath.
117 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
119 2007-03-05 Andrew Haley <aph@redhat.com>
121 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
122 (generateProxyClass): Don't pass method to ncode.
123 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
124 * java/lang/reflect/Method.h: Rebuild.
125 * java/lang/reflect/Method.java (internalGetParameterTypes,
126 internalGetExceptionTypes): New methods.
127 * headers.txt (class java/lang/reflect/Method): Declare
128 _Jv_GetReflectedMethod. Be its friend.
129 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
130 * java/lang/Class.h: Declare it. Be its friend.
132 2007-03-05 Tom Tromey <tromey@redhat.com>
134 * sources.am, Makefile.in: Rebuilt.
135 * scripts/makemake.tcl (emit_package_rule): Don't omit
137 * Makefile.am (nat_source_files): Added natVMProcess.cc.
138 (inner_nat_headers): Added ImmediateEOFInputStream.h.
139 * gcj/javaprims.h: Regenerated.
140 * java/lang/System.java (EnvironmentMap): Now package-private.
141 (EnvironmentMap(Map)): New constructor.
142 (EnvironmentMap.put): New method.
143 * java/lang/natWin32Process.cc (startProcess): Update.
144 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
146 (startProcess): Likewise.
147 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
149 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
150 * java/lang/PosixProcess.java (redirect): New field.
151 (PosixProcess): Added 'redirect' argument.
152 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
153 argument to Process creation.
154 * java/lang/natVMProcess.cc: New file.
155 * java/lang/ProcessBuilder.java: Removed.
156 * java/lang/VMProcess.java: New file.
158 2007-03-03 Andrew Haley <aph@redhat.com>
160 * java/lang/natClass.cc (parseAnnotationElement): Correct long
161 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
163 2007-03-02 Andrew Haley <aph@redhat.com>
165 * sun/reflect/annotation/AnnotationInvocationHandler.java:
166 Generify in a few places.
167 (equals): Rewrite to use invoke on local proxy.
168 (deepToString): Remove most of it.
169 (toString): Make nonstatic.
170 (arrayClone): Delete.
171 (coerce): New method.
172 (invoke): Rewrite to handle gcj's structures correctly.
173 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
175 * sources.am: Regenerate.
176 * Makefile.am: Likewise.
178 2007-03-02 Andrew Haley <aph@redhat.com>
180 * sun/reflect/annotation/AnnotationInvocationHandler.java:
181 Whitespace only changes.
183 2007-03-02 Andrew Haley <aph@redhat.com>
185 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
186 from Classpath to libgcj local.
188 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
190 * Makefile.am: Add dummy install-pdf target.
191 * Makefile.in: Regenerate
192 * include/Makefile.in: Regenerate
193 * testsuite/Makefile.in: Regenerate
194 * gcj/Makefile.in: Regenerate
196 2007-02-23 Gary Benson <gbenson@redhat.com>
198 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
200 2007-02-23 Gary Benson <gbenson@redhat.com>
202 * java/lang/VMCompiler.java
203 (compileClass): Don't lose zeros from within the digest.
205 2007-02-22 Jakub Jelinek <jakub@redhat.com>
209 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
210 /etc/localtime, use ZoneInfo.readTZFile instead of
211 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
212 either if it is a symlink or through /etc/sysconfig/clock.
213 (readSysconfigClockFile): New static method.
214 (readtzFile): Removed.
215 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
216 * posix.cc (_Jv_platform_initProperties): Set
217 gnu.java.util.zoneinfo.dir.
218 * sources.am (gnu_java_util_source_files): Add
219 classpath/gnu/java/util/ZoneInfo.java.
220 * Makefile.in: Regenerated.
221 * java/util/VMTimeZone.h: Regenerated.
222 * java/util/TimeZone.h: Regenerated.
223 * gnu/java/util/ZoneInfo.h: Generated.
225 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
227 * include/win32-threads.h: Added #undef OUT.
229 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
231 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
232 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
233 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
234 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
235 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
236 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
238 2007-02-21 Gary Benson <gbenson@redhat.com>
240 * java/util/GregorianCalendar.java: Removed.
241 * sources.am, Makefile.in: Rebuilt.
243 2007-02-20 Keith Seitz <keiths@redhat.com>
245 * gnu/classpath/jdwp/natVMVirtualMachine.cc
246 (jdwpClassPrepareCB): Move class status stuff to ...
247 (getClassStatus): ... here.
249 2007-02-20 Gary Benson <gbenson@redhat.com>
251 * gnu/awt/xlib/XEventLoop.h: Regenerated.
252 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
253 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
255 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
256 * java/lang/SecurityManager.h: Likewise.
257 * java/lang/Thread.h: Likewise.
258 * java/security/VMSecureRandom$Spinner.h: Likewise.
259 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
260 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
261 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
262 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
263 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
264 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
265 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
266 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
267 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
268 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
269 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
270 * java/util/concurrent/Exchanger.h: Likewise.
271 * java/util/concurrent/Exchanger$Node.h: Likewise.
272 * java/util/concurrent/FutureTask$Sync.h: Likewise.
273 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
274 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
276 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
278 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
279 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
281 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
282 * java/util/concurrent/SynchronousQueue.h: Likewise.
283 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
284 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
286 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
287 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
289 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
290 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
291 * java/util/logging/ErrorManager.h: Likewise.
292 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
293 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
295 2007-02-16 Keith Seitz <keiths@redhat.com>
297 * gnu/classpath/jdwp/natVMVirtualMachine.cc
298 (get_line_table): New function.
299 (handle_single_step): New function.
300 (jdwpSingleStepCB): New function.
301 (jdwpVMInitCB): Define a JVMTI single step
302 callback, but don't enable it until needed.
304 2007-02-16 David Daney <ddaney@avtrex.com>
306 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
307 new parameter constructor.
308 (Thread(ThreadGroup, Runnable, String, long)): Same.
309 (Thread(String, boolean)): New constructor.
310 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
311 noInheritableThreadLocal, don't call
312 InheritableThreadLocal.newChildThread if set.
313 * java/lang/PosixProcess.java(ProcessManager()): Set
314 noInheritableThreadLocal in super.
315 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
316 parameter to Thread constructor.
317 (_Jv_AttachCurrentThreadAsDaemon): Same.
318 * java/lang/Thread.h: Regenerate.
319 * classpath/lib/java/lang/Thread.class: Same.
320 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
321 * classpath/lib/java/lang/PosixProcess.class: Same.
322 * classpath/lib/java/lang/Thread$State.class: Same.
323 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
325 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
327 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
328 variables to maintain type info.
329 * interpret-run.cc: Add local variable info to frame in the debug
331 * jvmti.cc (getLocalFrame): New method.
332 (_Jv_JVMTI_GetLocalObject): New method.
333 (_Jv_JVMTI_GetLocallInt): New method.
334 (_Jv_JVMTI_GetLocalFloat): New method.
335 (_Jv_JVMTI_GetLocalLong): New method.
336 (_Jv_JVMTI_GetLocalDouble): New method.
337 (_Jv_JVMTI_SetLocalObject): New method.
338 (_Jv_JVMTI_SetLocalInt): New method.
339 (_Jv_JVMTI_SetLocalFloat): New method.
340 (_Jv_JVMTI_SetLocalLong): New method.
341 (_Jv_JVMTI_SetLocalDouble): New method.
343 2007-02-16 Gary Benson <gbenson@redhat.com>
345 * gnu/gcj/tools/gcj_dbtool/Main.java
346 (bytesToString): Don't lose zeros from within the digest.
348 2007-02-15 Andrew Haley <aph@redhat.com>
350 * Makefile.am (nat_source_files): Remove
351 java/lang/management/natVMManagementFactory.cc.
352 * java/lang/Thread.java (getStackTrace): Use reflection to call
353 the ManagementFactory.
354 * java/lang/management/VMManagementFactory.java: Remove native
356 * java/lang/management/natVMManagementFactory.cc: Deleted.
357 * sources.am: Regnerate.
358 * scripts/makemake.tcl: Add new "bcheaders" type.
359 Move java/lang/management and gnu/classpath/management to "bc".
360 Move gnu/java/lang/management to "bcheaders".
362 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
364 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
365 * interpret-run.cc: Change the catch section to report exception
366 events and to use the new check_handler method.
367 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
368 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
369 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
370 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
371 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
373 * sources.am: Added ExceptionEvent.java.
374 * Makefile.am: Added natExceptionEvent.cc
375 * Makefile.in: Regenerated.
376 * include/Makefile.in: Regenerated.
377 * gcj/Makefile.in: Regenerated.
379 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
380 David Daney <ddaney@avtrex.com>
382 * configure.ac: Create vm-tools-packages file. Add
383 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
384 Check for /proc/self/maps.
385 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
386 (gc_analyze_SOURCES): New.
387 (gc_analyze_LDFLAGS): New.
388 (gc_analyze_LINK): New.
389 (gc_analyze_LDADD): New.
390 (gc_analyze_DEPENDENCIES): New.
391 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
392 * Makefile.in: Regenerated.
393 * configure: Regenerated.
394 * include/config.h.in: Regenerated.
395 * sources.am: Regenerated.
396 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
397 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
398 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
399 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
400 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
401 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
402 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
403 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
404 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
405 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
406 * gnu/gcj/util/GCInfo.java: New.
407 * gnu/gcj/util/GCInfo.h: New.
408 * gnu/gcj/util/natGCInfo.cc: New.
409 * gnu/gcj/util/UtilPermission.java: New.
410 * gnu/gcj/util/UtilPermission.h: New.
411 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
412 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
413 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
414 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
415 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
416 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
417 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
418 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
419 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
420 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
421 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
422 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
423 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
424 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
425 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
426 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
427 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
428 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
429 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
430 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
431 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
432 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
433 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
435 2007-02-15 David Daney <ddaney@avtrex.com>
437 * gnu/java/net/PlainSocketImpl.h: Regenerate.
438 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
439 * gnu/classpath/jdwp/VMFrame.h: Same.
440 * java/net/Socket.h: Same.
441 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
443 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
445 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
446 Added LocalVariableTable attribute handling.
447 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
448 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
449 * include/java-interp.h: Added local_var_table and
450 local_var_table_len fields to _Jv_InterpMethod.
451 (_Jv_InterpMethod::get_local_var_table): New method.
452 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
453 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
454 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
456 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
457 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
459 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
461 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
463 2007-02-13 Keith Seitz <keiths@redhat.com>
465 * gnu/classpath/jdwp/natVMVirtualMachine.cc
466 (jdwpBreakpointCB): New function.
467 (jdwpVMInitCB): Define and enable the breakpoint
470 2007-02-13 Andrew Haley <aph@redhat.com>
472 * testsuite/libjava.lang/Divide_2.out
473 * testsuite/libjava.lang/Divide_2.java: New test.
475 2007-02-12 Keith Seitz <keiths@redhat.com>
477 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
478 from jthread to Thread *; it is no longer needed.
479 (_Jv_JVMTI_GetFrameCount): Likewise.
480 Fix small formatting typo.
482 2007-02-12 Tom Tromey <tromey@redhat.com>
484 * sources.am, Makefile.in: Rebuilt.
485 * java/lang/Socket.java: Removed override.
486 * java/lang/DatagramSocket.java: Removed override.
487 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
489 (getLocalAddress): New method.
490 * gnu/java/net/PlainDatagramSocketImpl.java
491 (PlainDatagramSocketImpl): Throws IOException.
492 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
496 2007-02-09 Jakub Jelinek <jakub@redhat.com>
498 * java/util/VMTimeZone.java: Rewrite to handle both the old
499 'TZif\0' format and the new one.
501 2007-02-10 Andrew Haley <aph@redhat.com>
504 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
505 (getCallingClass): Call GET_CALLING_CLASS.
506 (getCallingClassLoader): Likewise.
508 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
510 * configure: Rebuilt.
511 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
513 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
515 * Makefile.in: Rebuilt.
516 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
517 the host's ecj1 executable.
519 2007-02-09 Richard Henderson <rth@redhat.com>
521 * sysdep/alpha/locks.h (read_barrier): New.
523 2007-02-09 Keith Seitz <keiths@redhat.com>
525 * gnu/classpath/jdwp/VMVirtualMachine.java
526 (_stepping_threads): New member.
527 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
529 * gnu/classpath/jdwp/VMVirtualMachine.h:
531 * gnu/claspath/jdwp/natVMVirtualMachine.cc
532 (get_request_step_filter): New function.
533 (DISABLE_EVENT): New macro.
534 (initialize): Initialize _stepping_threads.
535 (registerEvent): Implement EVENT_SINGLE_STEP.
536 (unregisterEvent): Likewise.
538 2007-02-08 Keith Seitz <keiths@redhat.com>
540 * sources.am: Regenerate.
541 * Makefile.in: Regenerate.
542 * testsuite/Makefile.in: Regenerate.
543 * gcj/Makefile.in: Regenerate.
544 * include/Makefile.in: Regenerate.
546 * classpath/lib/javax/management/MBeanServerFactory.class:
549 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
551 * classpath/gnu/classpath/jdwp/processor/
552 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
554 (executeSetValues): Ditto.
555 (executeThisObject): Ditto.
556 * classpath/gnu/classpath/jdwp/processor/
557 StackFrameCommandSet.class: Rebuilt.
558 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
560 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
561 * classpath/lib/gnu/classpath/jdwp/exception/
562 InvalidFrameException.java: New file.
563 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
565 (Constructor): New method.
566 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
567 * gnu/classpath/jdwp/VMVirtualMachine.java
568 (getFrame): Changed ByteBuffer to jlong.
569 * gnu/classpath/jdwp/natVMVirtualMachine.cc
570 (getFrame): Implement.
571 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
573 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
575 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
576 to hold "this" pointer for frame.
577 (_Jv_InterpFrame::get_this_ptr): New method.
578 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
580 2007-02-07 Keith Seitz <keiths@redhat.com>
582 * include/java-interp.h (_Jv_Frame::depth):
584 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
586 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
588 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
589 (_Jv_JVMTI_GetMaxLocals): New method.
590 * include/java-interp.h
591 (_Jv_InterpMethod::get_max_locals): New method.
593 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
595 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
597 2007-02-07 Tom Tromey <tromey@redhat.com>
599 * testsuite/libjava.jni/init.c: New file.
600 * testsuite/libjava.jni/init.java: New file.
601 * testsuite/libjava.jni/init.out: New file.
602 * testsuite/libjava.jni/init.jar: New file.
603 * testsuite/libjava.jni/init.h: New file.
604 * testsuite/libjava.jni/init$NativeClass.h: New file.
606 2007-02-07 Jakub Jelinek <jakub@redhat.com>
609 * configure: Regenerate.
611 2007-02-06 Andrew Haley <aph@redhat.com>
613 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
614 * sources.am: Rebuild.
616 2007-02-05 Keith Seitz <keiths@redhat.com>
618 * jvmti.cc (_envListLock): Change type to
619 ReentrantReadWriteLock.
620 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
622 (check_enabled_event): Likewise.
623 (_Jv_GetJVMTIEnv): Likewise.
624 (_Jv_JVMTI_Init): Likewise.
625 (_Jv_JVMTI_PostEvent): Likewise.
627 2007-02-05 Keith Seitz <keiths@redhat.com>
629 * gnu/classpath/jdwp/natVMVirtualMachine.cc
630 (registerEvent): Implement EVENT_BREAKPOINT.
631 (unregisterEvent): Likewise.
632 (get_request_location): New function.
634 2007-02-05 Matthias Klose <doko@debian.org>
636 testsuite/Makefile.am (compile-tests): Fix typo.
637 testsuite/Makefile.in: Regenerate.
639 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
641 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
644 2007-02-02 Jakub Jelinek <jakub@redhat.com>
646 * configure.ac (libjava_cv_anon_version_script): New test.
647 (ANONVERSCRIPT): New AM_CONDITIONAL.
648 * configure: Rebuilt.
649 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
651 * Makefile.in: Rebuilt.
652 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
653 * libgcj.ver: New file.
655 2007-02-01 David Daney <ddaney@avtrex.com>
657 * scripts/makemake.tcl: Replace gnu/xml build with build of all
659 * sources.am: Regenerate.
660 * Makefile.in: Regenerate.
662 2007-02-01 Tom Tromey <tromey@redhat.com>
664 * java/lang/ClassLoader.java (getResources): No longer final.
666 2007-02-01 Tom Tromey <tromey@redhat.com>
668 * java/util/logging/LogManager.java (loggers): Genericized.
670 (findAncestor): Likewise.
671 (getLogger): Likewise.
672 (getLoggerNames): Genericized.
674 (getLevelProperty): Likewise.
675 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
676 * java/lang/reflect/Constructor.java (getParameterTypes):
678 (getExceptionTypes): Likewise.
679 (newInstance): Likewise.
680 * java/lang/reflect/Array.java (newInstance): Genericized.
681 * java/lang/Object.java (getClass): Genericized.
682 * java/nio/charset/spi/CharsetProvider.java (charsets):
684 * java/text/Collator.java: Implement Comparable<Object>.
686 2007-02-01 Tom Tromey <tromey@redhat.com>
688 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
690 (clear): Call complete.
691 (setTimeZone): Call computeTime, computeFields.
692 (compareTo): New method.
693 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
694 (availableCharsets): Genericized.
696 (compareTo): Changed argument type.
697 * java/lang/ClassLoader.java (loadClass): Genericized.
698 (findClass): Likewise.
699 (defineClass): Likewise.
700 (resolveClass): Likewise.
701 (findSystemClass): Likewise.
702 (setSigners): Likewise.
703 (findLoadedClass): Likewise.
704 (getResources): Likewise.
705 (findResources): Likewise.
706 (getSystemResources): Likewise.
707 (checkInitialized): New method.
708 * java/lang/Class.java (getCanonicalName): New method.
710 2007-01-31 Keith Seitz <keiths@redhat.com>
712 * include/jvmti-int.h (JVMTI): Declare member "enabled".
713 * jvmti.cc (JVMTI): Add member "enabled".
714 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
715 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
716 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
717 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
718 instead of run to compile the method.
720 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
723 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
725 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
726 -shared-libgcc to the cxxflaglist for Darwin.
728 2007-01-31 Tom Tromey <tromey@redhat.com>
730 * scripts.am, Makefile.in: Rebuilt.
731 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
733 (emit_ordinary_rule): New proc.
735 2007-01-31 Keith Seitz <keiths@redhat.com>
737 * testsuite/libjava.jvmti/getmethodname.h: New file.
738 * testsuite/libjava.jvmti/getmethodname.jar: New file.
740 2007-01-31 Andrew Haley <aph@redhat.com>
742 * prims.cc (_Jv_Abort): fflush (stderr).
743 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
745 2007-01-31 Tom Tromey <tromey@redhat.com>
747 * configure, Makefile.in: Rebuilt.
748 * configure.ac (JAR): Check for -@ feature.
749 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
751 2007-01-31 Tom Tromey <tromey@redhat.com>
754 * configure, include/config.h.in: Rebuilt.
755 * configure.ac: Check for magic_t in magic.h.
756 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
758 2007-01-30 Tom Tromey <tromey@redhat.com>
760 * Makefile.in: Rebuilt.
761 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
763 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
765 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
766 cast to print it right.
768 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
771 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
774 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
776 * include/java-interp.h: Added _Jv_Frame class and its two
777 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
778 _Jv_FrameType from java-stack.h.
779 * include/java-stack.h: Removed _Jv_FrameType.
780 * java/lang/Thread.java: Added frame member to hold new
781 composite frame stack.
782 * java/lang/Thread.h: Regenerated.
783 * java/lang/Thread.class: Rebuilt.
784 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
785 calling a JNI method.
786 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
787 (_Jv_JVMTI_GetFrameCount): New method.
788 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
790 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
791 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
792 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
793 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
794 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
797 2007-01-29 Tom Tromey <tromey@redhat.com>
799 * interpret.cc (run_debug): Remove comment.
806 (run_normal_debug): Likewise.
807 (run_synch_object_debug): Likewise.
808 (run_class_debug): Likewise.
809 (run_synch_class_debug): Likewise.
814 (NULLARRAYCHECK): Likewise.
815 (ARRAYBOUNDSCHECK): Likewise.
816 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
818 2007-01-29 Tom Tromey <tromey@redhat.com>
820 * configure, Makefile.in: Rebuilt.
821 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
822 * configure.ac (BASH_JAR): Removed conditional.
823 (JAR): Prefer the jar found by AC_CHECK_PROGS.
825 2007-01-29 Tom Tromey <tromey@redhat.com>
827 * Makefile.in: Rebuilt.
828 * Makefile.am (interpret.lo): New target. Add -fwrap to
831 2007-01-29 Keith Seitz <keiths@redhat.com>
833 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
835 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
836 gcj. All jvmti object types now are defined to be their
837 corresponding java classes.
838 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
840 (_Jv_JVMTI_ResumeThread): Likewise.
841 (_Jv_JVMTI_InterruptThread): Likewise.
842 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
843 * gnu/classpath/jdwp/natVMVirtualMachine.cc
844 (jdwpClassPrepareCB): Likewise.
845 (jdwpThreadEndCB): Likewise.
846 (jdwpThreadStartCB): Likewise.
847 (jdwpVMInitCB): Likewise.
849 2007-01-28 Michele Sandri <gpointorama@gmail.com>
851 * gnu/java/nio/channels/natFileChannelWin32.cc
853 (unlock): Implemented.
855 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
858 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
859 libgcj_flags to undefine 'sun' at compile time.
860 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
862 (write_barrier): Likewise.
864 2007-01-27 Keith Seitz <keiths@redhat.com>
866 * gnu/classpath/jdwp/natVMVirtualMachine.cc
867 (getAllClassMethods): Move error handling to ...
868 (throw_jvmti_error): ... here.
869 (jdwpClassPrepareCB): New function.
870 (jdwpThreadEndCB): New function.
871 (jdwpThreadStartCB): New function.
872 (jdwpVMDeathCB): New function.
873 (jdwpVMInitCB): Define and enable callbacks for
874 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
876 2007-01-27 Jakub Jelinek <jakub@redhat.com>
878 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
879 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
880 (MYGCJH): New variable.
881 (compile-tests): New goal.
882 * Makefile.in: Rebuilt.
883 * testsuite/Makefile.in: Rebuilt.
885 2007-01-26 Andrew Haley <aph@redhat.com>
887 * java/lang/natClass.cc (initializeClass): Re-throw
889 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
890 * java/lang/ClassLoader.java: (loadClass): Likewise.
892 2007-01-26 Tom Tromey <tromey@redhat.com>
896 2007-01-25 Tom Tromey <tromey@redhat.com>
899 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
900 input or output encodings. Removed unused local variables.
902 2007-01-25 Keith Seitz <keiths@redhat.com>
904 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
905 * gnu/classpath/jdwp/natVMVirtualMachine.cc
906 (_Jv_GetJDWP_JVMTIEnv): New function.
907 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
908 (getSignature): Implement.
909 (getModifiers): Implement.
911 2007-01-25 Andrew Haley <aph@redhat.com>
913 * configure, Makefile.in, include/config.h.in: Rebuilt.
914 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
915 * configure.ac: Don't check for libmagic.
916 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
917 p_magic_close, p_magic_buffer): New globals.
918 (init): Look up 'magic' functions.
919 (guessContentTypeFromBuffer): Updated.
921 2007-01-25 Keith Seitz <keiths@redhat.com>
923 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
924 (_Jv_JVMTI_Interface): Define GetMethodName.
925 * testsuite/libjava.jvmti/getmethodname.java: New file.
926 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
927 * testsuite/libjava.jvmti/getmethodname.out: New file.
929 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
931 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
932 * libjava/testsuite/libjava.jvmti/interp: New folder.
933 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
935 2007-01-24 Keith Seitz <keiths@redhat.com>
937 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
938 CLASS_PREPARE notification.
940 2007-01-24 Keith Seitz <keiths@redhat.com>
942 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
943 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
944 * interpret-run.cc: Implement insn_breakpoint.
946 2007-01-24 Keith Seitz <keiths@redhat.com>
948 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
949 for VM_INIT and VM_DEATH instead of the JDWP notifications.
951 2007-01-24 Keith Seitz <keiths@redhat.com>
953 * gnu/classpath/jdwp/natVMVirtualMachine.cc
954 (getAllClassMethods): Implement.
956 2007-01-24 Andrew Haley <aph@redhat.com>
958 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
959 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
960 from being sibcalled.
962 2007-01-24 Andrew Haley <aph@redhat.com>
964 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
965 * sources.am: Rebuild.
967 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
969 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
970 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
972 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
975 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
976 * Makefile.in: Regenerated.
978 2007-01-22 Keith Seitz <keiths@redhat.com>
980 * gnu/classpath/jdwp/natVMVirtualMachine.cc
981 (getClassMethod): Implement.
983 2007-01-22 Keith Seitz <keiths@redhat.com>
985 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
986 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
987 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
988 (_Jv_JVMTI_Interface): Define GetClassStatus.
990 2007-01-22 Tom Tromey <tromey@redhat.com>
992 * configure: Rebuilt.
993 * configure.ac (GCJ): Reverted patch of 2006-12-20.
995 2007-01-22 Tom Tromey <tromey@redhat.com>
998 * testsuite/libjava.jni/pr29812.java: New file.
999 * testsuite/libjava.jni/pr29812_injar.java: New file.
1000 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1001 * testsuite/libjava.jni/pr29812.out: New file.
1002 * testsuite/libjava.jni/pr29812_injar.c: New file.
1003 * testsuite/libjava.jni/pr29812_injar.h: New file.
1004 * testsuite/libjava.jni/pr29812.jar: New file.
1005 * testsuite/libjava.jni/pr29812.c: New file.
1006 * testsuite/libjava.jni/pr29812.h: New file.
1007 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1009 (gcj_jni_invocation_test_one): Use it.
1010 (gcj_jni_pr29812): New proc.
1011 (gcj_jni_run): Use it.
1012 * java/lang/natRuntime.cc (_load): Push a new system frame before
1014 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1015 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1016 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1017 <allocated_p>: Now bool.
1018 <loader>: New field.
1019 (_Jv_JNI_EnsureLocalCapacity): Updated.
1020 (_Jv_JNI_NewLocalRef): Likewise.
1021 (_Jv_JNI_NewLocalRef): Likewise.
1022 (_Jv_JNI_PopLocalFrame): Likewise.
1023 (_Jv_JNI_FindClass): Likewise.
1024 (_Jv_GetJNIEnvNewFrame): Likewise.
1025 (_Jv_JNI_AttachCurrentThread): Likewise.
1026 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1027 (_Jv_GetJNIEnvNewFrame): Use it.
1028 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1030 2007-01-22 Tom Tromey <tromey@redhat.com>
1032 * libtool-version: Bump current to 9.
1034 2007-01-22 Andrew Haley <aph@redhat.com>
1036 * sysdep/alpha/locks.h (write_barrier): New.
1038 2007-01-21 Matthias Klose <doko@debian.org>
1040 * Makefile.am (install-exec-hook): Use transformed name.
1041 * Makefile.in: Regenerate.
1043 2007-01-19 Keith Seitz <keiths@redhat.com>
1045 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1046 in methods and reformat.
1048 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1051 2007-01-18 Keith Seitz <keiths@redhat.com>
1053 From Macro Trudel <mtrudel@gmx.ch>:
1054 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1057 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1059 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1060 * testsuite/libjava.jni/findclass2.jar: New file.
1061 * testsuite/libjava.jni/findclass2.h: New file.
1062 * testsuite/libjava.jni/findclass2.java: New file
1063 * testsuite/libjava.jni/findclass2.c: New file.
1064 * testsuite/libjava.jni/findclass2.out: New file.
1066 2007-01-18 Tom Tromey <tromey@redhat.com>
1068 * configure: Rebuilt.
1069 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1071 2007-01-18 Gary Benson <gbenson@redhat.com>
1073 * gnu/java/nio/natVMPipeEcos.cc:
1074 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1075 * gnu/java/nio/natVMPipePosix.cc:
1076 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1077 * gnu/java/nio/natVMPipeWin32.cc:
1078 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1079 * gnu/java/nio/natVMSelectorEcos.cc:
1080 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1081 * gnu/java/nio/natVMSelectorPosix.cc:
1082 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1083 * gnu/java/nio/natVMSelectorWin32.cc:
1084 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1085 * java/io/natVMObjectInputStream.cc:
1086 Renamed from java/io/natObjectInputStream.cc.
1087 * java/lang/natVMDouble.cc:
1088 Renamed from java/lang/natDouble.cc.
1089 * java/lang/natVMFloat.cc:
1090 Renamed from java/lang/natFloat.cc.
1091 * Makefile.am, configure.ac: Reflect the above.
1092 * Makefile.in, configure: Rebuilt.
1094 2007-01-17 Andrew Haley <aph@redhat.com>
1096 * Makefile.in: Rebuilt.
1097 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1099 2007-01-17 Keith Seitz <keiths@redhat.com>
1101 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1102 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1104 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1106 * configure.ac: Use multi.m4 from aclocal rather than custom
1107 code. Use multi_basedir instead libgcj_basedir. Test for
1108 /proc/self/exe when not cross-compiling.
1109 * aclocal.m4: Regenerate.
1110 * configure: Regenerate.
1111 * Makefile.in: Regenerate.
1113 2007-01-17 Gary Benson <gbenson@redhat.com>
1115 * java/nio/natVMDirectByteBufferImpl.cc:
1116 Renamed from java/nio/natDirectByteBufferImpl.cc.
1117 * Makefile.am: Reflect the above.
1118 * Makefile.in: Rebuilt.
1120 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1122 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1123 Fixed indentation. Removed unused variable.
1125 2007-01-16 Tom Tromey <tromey@redhat.com>
1127 * java/lang/natThread.cc (finalize_native): Remove cast.
1128 (_Jv_GetCurrentJNIEnv): Likewise.
1129 * include/jvm.h (struct natThread) <jni_env>: Declare as
1132 2007-01-16 Keith Seitz <keiths@redhat.com>
1134 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1135 %#llx instead of %d for new_value.
1136 * testsuite/libjava.jvmti/events.out: Update expected output.
1137 * testsuite/libjava.jvmti/events.jar: Regenerate.
1139 2007-01-16 Keith Seitz <keiths@redhat.com>
1141 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1143 (ENABLE_EVENT): New macro.
1144 (initialize): Define and enable JVMTI VM_INIT callback.
1145 (jdwpVMInitCB): New function.
1147 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1149 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1150 * testsuite/libjava.jvmti/getallthreads.java: New test.
1151 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1152 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1153 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1154 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1156 2007-01-15 Keith Seitz <keiths@redhat.com>
1158 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1159 java.lang.StringBuilder instead of java.lang.StringBuffer.
1160 (resumeThread): Likewise.
1162 2007-01-15 Gary Benson <gbenson@redhat.com>
1164 * java/nio/MappedByteBuffer.java: Removed.
1165 * sources.am, Makefile.in: Rebuilt.
1167 2007-01-15 Gary Benson <gbenson@redhat.com>
1169 * java/net/URLClassLoader.java: Removed.
1170 * gnu/java/net/loader/Load_gcjlib.java: New file.
1171 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1172 URL handler is present in static executables.
1173 * sources.am, Makefile.in: Rebuilt.
1175 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1177 * Makefile.am (libgcj_la_LDFLAGS): Add
1178 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1179 (libgcj_tools_la_LDFLAGS): Likewise.
1180 (libgcj_bc_la_LDFLAGS): Likewise.
1181 * Makefile.in: Regenerated.
1183 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1184 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1185 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1186 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1187 * configure: Regenerated.
1188 * aclocal.m4: Likewise.
1189 * gcj/Makefile.in: Likewise.
1190 * include/Makefile.in: Likewise.
1191 * testsuite/Makefile.in: Likewise.
1193 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1195 * sysdep/sh/locks.h (read_barrier): New.
1196 (write_barrier): Likewise.
1198 2007-01-12 Andrew Haley <aph@redhat.com>
1200 * include/i386-signal.h: Rewrite to use rt_sigaction.
1202 2007-01-11 Andrew Haley <aph@redhat.com>
1204 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1206 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1209 2007-01-10 Tom Tromey <tromey@redhat.com>
1211 * gnu/gcj/xlib/*.h: New files.
1212 * gnu/awt/xlib/*.h: Likewise.
1213 * classpath/lib/gnu/gcj/xlib: New class files.
1214 * classpath/lib/gnu/awt/xlib: Likewise.
1216 2007-01-10 Tom Tromey <tromey@redhat.com>
1218 * HACKING: Various updates.
1220 2007-01-10 Tom Tromey <tromey@redhat.com>
1222 * java/lang/natDouble.cc (toString): Added parens.
1223 * gnu/gcj/io/shs.h (PROTO): Define.
1224 * link.cc (resolve_pool_entry): Added missing braces.
1226 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1229 * sysdep/ia64/locks.h (read_barrier): New.
1230 (write_barrier): New.
1232 2007-01-10 Gary Benson <gbenson@redhat.com>
1234 * java/net/URL.java: Removed.
1235 * sources.am, Makefile.in: Rebuilt.
1237 2007-01-10 Matthias Klose <doko@debian.org>
1239 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1240 * Makefile.in: Regenerated.
1242 2007-01-05 Tom Tromey <tromey@redhat.com>
1244 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1245 dummy.class in srcdir.
1247 2007-01-03 Tom Tromey <tromey@redhat.com>
1249 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1252 2007-01-03 Tom Tromey <tromey@redhat.com>
1254 * testsuite/*: Added many .jar and .h files.
1255 * testsuite/libjava.special/special.exp
1256 (gcj_special_try_compiler): New proc.
1257 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1258 bytecompile source. Search for .jar files.
1259 (gcj_loader_test_one): Don't look for MyLoader.java.
1260 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1261 bytecompile sources or build headers.
1262 (gcj_jvmti_run): Look for .jar files.
1263 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1265 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1266 Set classpath when invoking gij.
1267 (gcj_jni_invocation_test_one): Likewise.
1268 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1269 headers or bytecompile sources.
1270 (gcj_cni_run): Use .jar files, not .java files.
1271 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1273 2007-01-02 Tom Tromey <tromey@redhat.com>
1275 * configure: Rebuilt.
1276 * configure.ac: Check for gjar.
1278 2007-01-02 Tom Tromey <tromey@redhat.com>
1280 * testsuite/libjava.jacks/jacks.exp: Removed.
1281 * testsuite/libjava.jacks/jacks.xfail: Removed.