1 2007-03-06 Tom Tromey <tromey@redhat.com>
3 * Makefile.in: Rebuilt.
4 * Makefile.am (bin_PROGRAMS): Added gcjh.
5 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
6 gcjh_DEPENDENCIES): New variables.
8 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
10 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
11 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
12 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
14 2007-03-05 Matthias Klose <doko@debian.org>
16 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
17 * Makefile.in: Regnerate.
19 2007-03-05 Mark Wielaard <mark@klomp.org>
21 * java/lang/Character.java: Re-merged with Classpath.
22 * java/lang/natString.cc (nativeCompareTo): Renamed from
24 * java/lang/StringBuilder.java: Re-merged with Classpath.
25 * java/lang/String.java: Re-merged with Classpath.
26 (nativeCompareTo): Renamed from compareTo.
27 * java/lang/StringBuffer.java: Re-merged with Classpath.
28 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
30 2007-03-05 Andrew Haley <aph@redhat.com>
32 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
33 (generateProxyClass): Don't pass method to ncode.
34 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
35 * java/lang/reflect/Method.h: Rebuild.
36 * java/lang/reflect/Method.java (internalGetParameterTypes,
37 internalGetExceptionTypes): New methods.
38 * headers.txt (class java/lang/reflect/Method): Declare
39 _Jv_GetReflectedMethod. Be its friend.
40 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
41 * java/lang/Class.h: Declare it. Be its friend.
43 2007-03-05 Tom Tromey <tromey@redhat.com>
45 * sources.am, Makefile.in: Rebuilt.
46 * scripts/makemake.tcl (emit_package_rule): Don't omit
48 * Makefile.am (nat_source_files): Added natVMProcess.cc.
49 (inner_nat_headers): Added ImmediateEOFInputStream.h.
50 * gcj/javaprims.h: Regenerated.
51 * java/lang/System.java (EnvironmentMap): Now package-private.
52 (EnvironmentMap(Map)): New constructor.
53 (EnvironmentMap.put): New method.
54 * java/lang/natWin32Process.cc (startProcess): Update.
55 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
57 (startProcess): Likewise.
58 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
60 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
61 * java/lang/PosixProcess.java (redirect): New field.
62 (PosixProcess): Added 'redirect' argument.
63 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
64 argument to Process creation.
65 * java/lang/natVMProcess.cc: New file.
66 * java/lang/ProcessBuilder.java: Removed.
67 * java/lang/VMProcess.java: New file.
69 2007-03-03 Andrew Haley <aph@redhat.com>
71 * java/lang/natClass.cc (parseAnnotationElement): Correct long
72 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
74 2007-03-02 Andrew Haley <aph@redhat.com>
76 * sun/reflect/annotation/AnnotationInvocationHandler.java:
77 Generify in a few places.
78 (equals): Rewrite to use invoke on local proxy.
79 (deepToString): Remove most of it.
80 (toString): Make nonstatic.
83 (invoke): Rewrite to handle gcj's structures correctly.
84 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
86 * sources.am: Regenerate.
87 * Makefile.am: Likewise.
89 2007-03-02 Andrew Haley <aph@redhat.com>
91 * sun/reflect/annotation/AnnotationInvocationHandler.java:
92 Whitespace only changes.
94 2007-03-02 Andrew Haley <aph@redhat.com>
96 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
97 from Classpath to libgcj local.
99 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
101 * Makefile.am: Add dummy install-pdf target.
102 * Makefile.in: Regenerate
103 * include/Makefile.in: Regenerate
104 * testsuite/Makefile.in: Regenerate
105 * gcj/Makefile.in: Regenerate
107 2007-02-23 Gary Benson <gbenson@redhat.com>
109 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
111 2007-02-23 Gary Benson <gbenson@redhat.com>
113 * java/lang/VMCompiler.java
114 (compileClass): Don't lose zeros from within the digest.
116 2007-02-22 Jakub Jelinek <jakub@redhat.com>
120 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
121 /etc/localtime, use ZoneInfo.readTZFile instead of
122 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
123 either if it is a symlink or through /etc/sysconfig/clock.
124 (readSysconfigClockFile): New static method.
125 (readtzFile): Removed.
126 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
127 * posix.cc (_Jv_platform_initProperties): Set
128 gnu.java.util.zoneinfo.dir.
129 * sources.am (gnu_java_util_source_files): Add
130 classpath/gnu/java/util/ZoneInfo.java.
131 * Makefile.in: Regenerated.
132 * java/util/VMTimeZone.h: Regenerated.
133 * java/util/TimeZone.h: Regenerated.
134 * gnu/java/util/ZoneInfo.h: Generated.
136 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
138 * include/win32-threads.h: Added #undef OUT.
140 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
142 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
143 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
144 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
145 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
146 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
147 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
149 2007-02-21 Gary Benson <gbenson@redhat.com>
151 * java/util/GregorianCalendar.java: Removed.
152 * sources.am, Makefile.in: Rebuilt.
154 2007-02-20 Keith Seitz <keiths@redhat.com>
156 * gnu/classpath/jdwp/natVMVirtualMachine.cc
157 (jdwpClassPrepareCB): Move class status stuff to ...
158 (getClassStatus): ... here.
160 2007-02-20 Gary Benson <gbenson@redhat.com>
162 * gnu/awt/xlib/XEventLoop.h: Regenerated.
163 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
164 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
166 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
167 * java/lang/SecurityManager.h: Likewise.
168 * java/lang/Thread.h: Likewise.
169 * java/security/VMSecureRandom$Spinner.h: Likewise.
170 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
171 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
172 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
173 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
174 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
175 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
176 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
177 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
178 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
179 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
180 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
181 * java/util/concurrent/Exchanger.h: Likewise.
182 * java/util/concurrent/Exchanger$Node.h: Likewise.
183 * java/util/concurrent/FutureTask$Sync.h: Likewise.
184 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
185 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
187 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
189 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
190 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
192 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
193 * java/util/concurrent/SynchronousQueue.h: Likewise.
194 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
195 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
197 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
198 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
200 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
201 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
202 * java/util/logging/ErrorManager.h: Likewise.
203 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
204 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
206 2007-02-16 Keith Seitz <keiths@redhat.com>
208 * gnu/classpath/jdwp/natVMVirtualMachine.cc
209 (get_line_table): New function.
210 (handle_single_step): New function.
211 (jdwpSingleStepCB): New function.
212 (jdwpVMInitCB): Define a JVMTI single step
213 callback, but don't enable it until needed.
215 2007-02-16 David Daney <ddaney@avtrex.com>
217 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
218 new parameter constructor.
219 (Thread(ThreadGroup, Runnable, String, long)): Same.
220 (Thread(String, boolean)): New constructor.
221 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
222 noInheritableThreadLocal, don't call
223 InheritableThreadLocal.newChildThread if set.
224 * java/lang/PosixProcess.java(ProcessManager()): Set
225 noInheritableThreadLocal in super.
226 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
227 parameter to Thread constructor.
228 (_Jv_AttachCurrentThreadAsDaemon): Same.
229 * java/lang/Thread.h: Regenerate.
230 * classpath/lib/java/lang/Thread.class: Same.
231 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
232 * classpath/lib/java/lang/PosixProcess.class: Same.
233 * classpath/lib/java/lang/Thread$State.class: Same.
234 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
236 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
238 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
239 variables to maintain type info.
240 * interpret-run.cc: Add local variable info to frame in the debug
242 * jvmti.cc (getLocalFrame): New method.
243 (_Jv_JVMTI_GetLocalObject): New method.
244 (_Jv_JVMTI_GetLocallInt): New method.
245 (_Jv_JVMTI_GetLocalFloat): New method.
246 (_Jv_JVMTI_GetLocalLong): New method.
247 (_Jv_JVMTI_GetLocalDouble): New method.
248 (_Jv_JVMTI_SetLocalObject): New method.
249 (_Jv_JVMTI_SetLocalInt): New method.
250 (_Jv_JVMTI_SetLocalFloat): New method.
251 (_Jv_JVMTI_SetLocalLong): New method.
252 (_Jv_JVMTI_SetLocalDouble): New method.
254 2007-02-16 Gary Benson <gbenson@redhat.com>
256 * gnu/gcj/tools/gcj_dbtool/Main.java
257 (bytesToString): Don't lose zeros from within the digest.
259 2007-02-15 Andrew Haley <aph@redhat.com>
261 * Makefile.am (nat_source_files): Remove
262 java/lang/management/natVMManagementFactory.cc.
263 * java/lang/Thread.java (getStackTrace): Use reflection to call
264 the ManagementFactory.
265 * java/lang/management/VMManagementFactory.java: Remove native
267 * java/lang/management/natVMManagementFactory.cc: Deleted.
268 * sources.am: Regnerate.
269 * scripts/makemake.tcl: Add new "bcheaders" type.
270 Move java/lang/management and gnu/classpath/management to "bc".
271 Move gnu/java/lang/management to "bcheaders".
273 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
275 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
276 * interpret-run.cc: Change the catch section to report exception
277 events and to use the new check_handler method.
278 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
279 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
280 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
281 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
282 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
284 * sources.am: Added ExceptionEvent.java.
285 * Makefile.am: Added natExceptionEvent.cc
286 * Makefile.in: Regenerated.
287 * include/Makefile.in: Regenerated.
288 * gcj/Makefile.in: Regenerated.
290 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
291 David Daney <ddaney@avtrex.com>
293 * configure.ac: Create vm-tools-packages file. Add
294 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
295 Check for /proc/self/maps.
296 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
297 (gc_analyze_SOURCES): New.
298 (gc_analyze_LDFLAGS): New.
299 (gc_analyze_LINK): New.
300 (gc_analyze_LDADD): New.
301 (gc_analyze_DEPENDENCIES): New.
302 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
303 * Makefile.in: Regenerated.
304 * configure: Regenerated.
305 * include/config.h.in: Regenerated.
306 * sources.am: Regenerated.
307 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
308 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
309 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
310 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
311 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
312 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
313 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
314 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
315 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
316 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
317 * gnu/gcj/util/GCInfo.java: New.
318 * gnu/gcj/util/GCInfo.h: New.
319 * gnu/gcj/util/natGCInfo.cc: New.
320 * gnu/gcj/util/UtilPermission.java: New.
321 * gnu/gcj/util/UtilPermission.h: New.
322 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
323 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
324 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
325 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
326 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
327 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
328 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
329 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
330 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
331 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
332 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
333 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
334 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
335 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
336 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
337 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
338 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
339 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
340 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
341 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
342 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
343 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
344 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
346 2007-02-15 David Daney <ddaney@avtrex.com>
348 * gnu/java/net/PlainSocketImpl.h: Regenerate.
349 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
350 * gnu/classpath/jdwp/VMFrame.h: Same.
351 * java/net/Socket.h: Same.
352 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
354 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
356 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
357 Added LocalVariableTable attribute handling.
358 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
359 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
360 * include/java-interp.h: Added local_var_table and
361 local_var_table_len fields to _Jv_InterpMethod.
362 (_Jv_InterpMethod::get_local_var_table): New method.
363 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
364 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
365 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
367 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
368 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
370 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
372 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
374 2007-02-13 Keith Seitz <keiths@redhat.com>
376 * gnu/classpath/jdwp/natVMVirtualMachine.cc
377 (jdwpBreakpointCB): New function.
378 (jdwpVMInitCB): Define and enable the breakpoint
381 2007-02-13 Andrew Haley <aph@redhat.com>
383 * testsuite/libjava.lang/Divide_2.out
384 * testsuite/libjava.lang/Divide_2.java: New test.
386 2007-02-12 Keith Seitz <keiths@redhat.com>
388 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
389 from jthread to Thread *; it is no longer needed.
390 (_Jv_JVMTI_GetFrameCount): Likewise.
391 Fix small formatting typo.
393 2007-02-12 Tom Tromey <tromey@redhat.com>
395 * sources.am, Makefile.in: Rebuilt.
396 * java/lang/Socket.java: Removed override.
397 * java/lang/DatagramSocket.java: Removed override.
398 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
400 (getLocalAddress): New method.
401 * gnu/java/net/PlainDatagramSocketImpl.java
402 (PlainDatagramSocketImpl): Throws IOException.
403 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
407 2007-02-09 Jakub Jelinek <jakub@redhat.com>
409 * java/util/VMTimeZone.java: Rewrite to handle both the old
410 'TZif\0' format and the new one.
412 2007-02-10 Andrew Haley <aph@redhat.com>
415 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
416 (getCallingClass): Call GET_CALLING_CLASS.
417 (getCallingClassLoader): Likewise.
419 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
421 * configure: Rebuilt.
422 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
424 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
426 * Makefile.in: Rebuilt.
427 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
428 the host's ecj1 executable.
430 2007-02-09 Richard Henderson <rth@redhat.com>
432 * sysdep/alpha/locks.h (read_barrier): New.
434 2007-02-09 Keith Seitz <keiths@redhat.com>
436 * gnu/classpath/jdwp/VMVirtualMachine.java
437 (_stepping_threads): New member.
438 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
440 * gnu/classpath/jdwp/VMVirtualMachine.h:
442 * gnu/claspath/jdwp/natVMVirtualMachine.cc
443 (get_request_step_filter): New function.
444 (DISABLE_EVENT): New macro.
445 (initialize): Initialize _stepping_threads.
446 (registerEvent): Implement EVENT_SINGLE_STEP.
447 (unregisterEvent): Likewise.
449 2007-02-08 Keith Seitz <keiths@redhat.com>
451 * sources.am: Regenerate.
452 * Makefile.in: Regenerate.
453 * testsuite/Makefile.in: Regenerate.
454 * gcj/Makefile.in: Regenerate.
455 * include/Makefile.in: Regenerate.
457 * classpath/lib/javax/management/MBeanServerFactory.class:
460 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
462 * classpath/gnu/classpath/jdwp/processor/
463 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
465 (executeSetValues): Ditto.
466 (executeThisObject): Ditto.
467 * classpath/gnu/classpath/jdwp/processor/
468 StackFrameCommandSet.class: Rebuilt.
469 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
471 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
472 * classpath/lib/gnu/classpath/jdwp/exception/
473 InvalidFrameException.java: New file.
474 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
476 (Constructor): New method.
477 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
478 * gnu/classpath/jdwp/VMVirtualMachine.java
479 (getFrame): Changed ByteBuffer to jlong.
480 * gnu/classpath/jdwp/natVMVirtualMachine.cc
481 (getFrame): Implement.
482 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
484 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
486 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
487 to hold "this" pointer for frame.
488 (_Jv_InterpFrame::get_this_ptr): New method.
489 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
491 2007-02-07 Keith Seitz <keiths@redhat.com>
493 * include/java-interp.h (_Jv_Frame::depth):
495 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
497 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
499 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
500 (_Jv_JVMTI_GetMaxLocals): New method.
501 * include/java-interp.h
502 (_Jv_InterpMethod::get_max_locals): New method.
504 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
506 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
508 2007-02-07 Tom Tromey <tromey@redhat.com>
510 * testsuite/libjava.jni/init.c: New file.
511 * testsuite/libjava.jni/init.java: New file.
512 * testsuite/libjava.jni/init.out: New file.
513 * testsuite/libjava.jni/init.jar: New file.
514 * testsuite/libjava.jni/init.h: New file.
515 * testsuite/libjava.jni/init$NativeClass.h: New file.
517 2007-02-07 Jakub Jelinek <jakub@redhat.com>
520 * configure: Regenerate.
522 2007-02-06 Andrew Haley <aph@redhat.com>
524 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
525 * sources.am: Rebuild.
527 2007-02-05 Keith Seitz <keiths@redhat.com>
529 * jvmti.cc (_envListLock): Change type to
530 ReentrantReadWriteLock.
531 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
533 (check_enabled_event): Likewise.
534 (_Jv_GetJVMTIEnv): Likewise.
535 (_Jv_JVMTI_Init): Likewise.
536 (_Jv_JVMTI_PostEvent): Likewise.
538 2007-02-05 Keith Seitz <keiths@redhat.com>
540 * gnu/classpath/jdwp/natVMVirtualMachine.cc
541 (registerEvent): Implement EVENT_BREAKPOINT.
542 (unregisterEvent): Likewise.
543 (get_request_location): New function.
545 2007-02-05 Matthias Klose <doko@debian.org>
547 testsuite/Makefile.am (compile-tests): Fix typo.
548 testsuite/Makefile.in: Regenerate.
550 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
552 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
555 2007-02-02 Jakub Jelinek <jakub@redhat.com>
557 * configure.ac (libjava_cv_anon_version_script): New test.
558 (ANONVERSCRIPT): New AM_CONDITIONAL.
559 * configure: Rebuilt.
560 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
562 * Makefile.in: Rebuilt.
563 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
564 * libgcj.ver: New file.
566 2007-02-01 David Daney <ddaney@avtrex.com>
568 * scripts/makemake.tcl: Replace gnu/xml build with build of all
570 * sources.am: Regenerate.
571 * Makefile.in: Regenerate.
573 2007-02-01 Tom Tromey <tromey@redhat.com>
575 * java/lang/ClassLoader.java (getResources): No longer final.
577 2007-02-01 Tom Tromey <tromey@redhat.com>
579 * java/util/logging/LogManager.java (loggers): Genericized.
581 (findAncestor): Likewise.
582 (getLogger): Likewise.
583 (getLoggerNames): Genericized.
585 (getLevelProperty): Likewise.
586 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
587 * java/lang/reflect/Constructor.java (getParameterTypes):
589 (getExceptionTypes): Likewise.
590 (newInstance): Likewise.
591 * java/lang/reflect/Array.java (newInstance): Genericized.
592 * java/lang/Object.java (getClass): Genericized.
593 * java/nio/charset/spi/CharsetProvider.java (charsets):
595 * java/text/Collator.java: Implement Comparable<Object>.
597 2007-02-01 Tom Tromey <tromey@redhat.com>
599 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
601 (clear): Call complete.
602 (setTimeZone): Call computeTime, computeFields.
603 (compareTo): New method.
604 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
605 (availableCharsets): Genericized.
607 (compareTo): Changed argument type.
608 * java/lang/ClassLoader.java (loadClass): Genericized.
609 (findClass): Likewise.
610 (defineClass): Likewise.
611 (resolveClass): Likewise.
612 (findSystemClass): Likewise.
613 (setSigners): Likewise.
614 (findLoadedClass): Likewise.
615 (getResources): Likewise.
616 (findResources): Likewise.
617 (getSystemResources): Likewise.
618 (checkInitialized): New method.
619 * java/lang/Class.java (getCanonicalName): New method.
621 2007-01-31 Keith Seitz <keiths@redhat.com>
623 * include/jvmti-int.h (JVMTI): Declare member "enabled".
624 * jvmti.cc (JVMTI): Add member "enabled".
625 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
626 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
627 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
628 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
629 instead of run to compile the method.
631 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
634 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
636 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
637 -shared-libgcc to the cxxflaglist for Darwin.
639 2007-01-31 Tom Tromey <tromey@redhat.com>
641 * scripts.am, Makefile.in: Rebuilt.
642 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
644 (emit_ordinary_rule): New proc.
646 2007-01-31 Keith Seitz <keiths@redhat.com>
648 * testsuite/libjava.jvmti/getmethodname.h: New file.
649 * testsuite/libjava.jvmti/getmethodname.jar: New file.
651 2007-01-31 Andrew Haley <aph@redhat.com>
653 * prims.cc (_Jv_Abort): fflush (stderr).
654 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
656 2007-01-31 Tom Tromey <tromey@redhat.com>
658 * configure, Makefile.in: Rebuilt.
659 * configure.ac (JAR): Check for -@ feature.
660 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
662 2007-01-31 Tom Tromey <tromey@redhat.com>
665 * configure, include/config.h.in: Rebuilt.
666 * configure.ac: Check for magic_t in magic.h.
667 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
669 2007-01-30 Tom Tromey <tromey@redhat.com>
671 * Makefile.in: Rebuilt.
672 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
674 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
676 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
677 cast to print it right.
679 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
682 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
685 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
687 * include/java-interp.h: Added _Jv_Frame class and its two
688 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
689 _Jv_FrameType from java-stack.h.
690 * include/java-stack.h: Removed _Jv_FrameType.
691 * java/lang/Thread.java: Added frame member to hold new
692 composite frame stack.
693 * java/lang/Thread.h: Regenerated.
694 * java/lang/Thread.class: Rebuilt.
695 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
696 calling a JNI method.
697 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
698 (_Jv_JVMTI_GetFrameCount): New method.
699 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
701 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
702 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
703 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
704 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
705 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
708 2007-01-29 Tom Tromey <tromey@redhat.com>
710 * interpret.cc (run_debug): Remove comment.
717 (run_normal_debug): Likewise.
718 (run_synch_object_debug): Likewise.
719 (run_class_debug): Likewise.
720 (run_synch_class_debug): Likewise.
725 (NULLARRAYCHECK): Likewise.
726 (ARRAYBOUNDSCHECK): Likewise.
727 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
729 2007-01-29 Tom Tromey <tromey@redhat.com>
731 * configure, Makefile.in: Rebuilt.
732 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
733 * configure.ac (BASH_JAR): Removed conditional.
734 (JAR): Prefer the jar found by AC_CHECK_PROGS.
736 2007-01-29 Tom Tromey <tromey@redhat.com>
738 * Makefile.in: Rebuilt.
739 * Makefile.am (interpret.lo): New target. Add -fwrap to
742 2007-01-29 Keith Seitz <keiths@redhat.com>
744 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
746 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
747 gcj. All jvmti object types now are defined to be their
748 corresponding java classes.
749 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
751 (_Jv_JVMTI_ResumeThread): Likewise.
752 (_Jv_JVMTI_InterruptThread): Likewise.
753 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
754 * gnu/classpath/jdwp/natVMVirtualMachine.cc
755 (jdwpClassPrepareCB): Likewise.
756 (jdwpThreadEndCB): Likewise.
757 (jdwpThreadStartCB): Likewise.
758 (jdwpVMInitCB): Likewise.
760 2007-01-28 Michele Sandri <gpointorama@gmail.com>
762 * gnu/java/nio/channels/natFileChannelWin32.cc
764 (unlock): Implemented.
766 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
769 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
770 libgcj_flags to undefine 'sun' at compile time.
771 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
773 (write_barrier): Likewise.
775 2007-01-27 Keith Seitz <keiths@redhat.com>
777 * gnu/classpath/jdwp/natVMVirtualMachine.cc
778 (getAllClassMethods): Move error handling to ...
779 (throw_jvmti_error): ... here.
780 (jdwpClassPrepareCB): New function.
781 (jdwpThreadEndCB): New function.
782 (jdwpThreadStartCB): New function.
783 (jdwpVMDeathCB): New function.
784 (jdwpVMInitCB): Define and enable callbacks for
785 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
787 2007-01-27 Jakub Jelinek <jakub@redhat.com>
789 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
790 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
791 (MYGCJH): New variable.
792 (compile-tests): New goal.
793 * Makefile.in: Rebuilt.
794 * testsuite/Makefile.in: Rebuilt.
796 2007-01-26 Andrew Haley <aph@redhat.com>
798 * java/lang/natClass.cc (initializeClass): Re-throw
800 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
801 * java/lang/ClassLoader.java: (loadClass): Likewise.
803 2007-01-26 Tom Tromey <tromey@redhat.com>
807 2007-01-25 Tom Tromey <tromey@redhat.com>
810 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
811 input or output encodings. Removed unused local variables.
813 2007-01-25 Keith Seitz <keiths@redhat.com>
815 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
816 * gnu/classpath/jdwp/natVMVirtualMachine.cc
817 (_Jv_GetJDWP_JVMTIEnv): New function.
818 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
819 (getSignature): Implement.
820 (getModifiers): Implement.
822 2007-01-25 Andrew Haley <aph@redhat.com>
824 * configure, Makefile.in, include/config.h.in: Rebuilt.
825 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
826 * configure.ac: Don't check for libmagic.
827 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
828 p_magic_close, p_magic_buffer): New globals.
829 (init): Look up 'magic' functions.
830 (guessContentTypeFromBuffer): Updated.
832 2007-01-25 Keith Seitz <keiths@redhat.com>
834 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
835 (_Jv_JVMTI_Interface): Define GetMethodName.
836 * testsuite/libjava.jvmti/getmethodname.java: New file.
837 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
838 * testsuite/libjava.jvmti/getmethodname.out: New file.
840 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
842 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
843 * libjava/testsuite/libjava.jvmti/interp: New folder.
844 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
846 2007-01-24 Keith Seitz <keiths@redhat.com>
848 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
849 CLASS_PREPARE notification.
851 2007-01-24 Keith Seitz <keiths@redhat.com>
853 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
854 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
855 * interpret-run.cc: Implement insn_breakpoint.
857 2007-01-24 Keith Seitz <keiths@redhat.com>
859 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
860 for VM_INIT and VM_DEATH instead of the JDWP notifications.
862 2007-01-24 Keith Seitz <keiths@redhat.com>
864 * gnu/classpath/jdwp/natVMVirtualMachine.cc
865 (getAllClassMethods): Implement.
867 2007-01-24 Andrew Haley <aph@redhat.com>
869 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
870 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
871 from being sibcalled.
873 2007-01-24 Andrew Haley <aph@redhat.com>
875 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
876 * sources.am: Rebuild.
878 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
880 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
881 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
883 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
886 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
887 * Makefile.in: Regenerated.
889 2007-01-22 Keith Seitz <keiths@redhat.com>
891 * gnu/classpath/jdwp/natVMVirtualMachine.cc
892 (getClassMethod): Implement.
894 2007-01-22 Keith Seitz <keiths@redhat.com>
896 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
897 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
898 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
899 (_Jv_JVMTI_Interface): Define GetClassStatus.
901 2007-01-22 Tom Tromey <tromey@redhat.com>
903 * configure: Rebuilt.
904 * configure.ac (GCJ): Reverted patch of 2006-12-20.
906 2007-01-22 Tom Tromey <tromey@redhat.com>
909 * testsuite/libjava.jni/pr29812.java: New file.
910 * testsuite/libjava.jni/pr29812_injar.java: New file.
911 * testsuite/libjava.jni/pr29812_injar.jar: New file.
912 * testsuite/libjava.jni/pr29812.out: New file.
913 * testsuite/libjava.jni/pr29812_injar.c: New file.
914 * testsuite/libjava.jni/pr29812_injar.h: New file.
915 * testsuite/libjava.jni/pr29812.jar: New file.
916 * testsuite/libjava.jni/pr29812.c: New file.
917 * testsuite/libjava.jni/pr29812.h: New file.
918 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
920 (gcj_jni_invocation_test_one): Use it.
921 (gcj_jni_pr29812): New proc.
922 (gcj_jni_run): Use it.
923 * java/lang/natRuntime.cc (_load): Push a new system frame before
925 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
926 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
927 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
928 <allocated_p>: Now bool.
930 (_Jv_JNI_EnsureLocalCapacity): Updated.
931 (_Jv_JNI_NewLocalRef): Likewise.
932 (_Jv_JNI_NewLocalRef): Likewise.
933 (_Jv_JNI_PopLocalFrame): Likewise.
934 (_Jv_JNI_FindClass): Likewise.
935 (_Jv_GetJNIEnvNewFrame): Likewise.
936 (_Jv_JNI_AttachCurrentThread): Likewise.
937 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
938 (_Jv_GetJNIEnvNewFrame): Use it.
939 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
941 2007-01-22 Tom Tromey <tromey@redhat.com>
943 * libtool-version: Bump current to 9.
945 2007-01-22 Andrew Haley <aph@redhat.com>
947 * sysdep/alpha/locks.h (write_barrier): New.
949 2007-01-21 Matthias Klose <doko@debian.org>
951 * Makefile.am (install-exec-hook): Use transformed name.
952 * Makefile.in: Regenerate.
954 2007-01-19 Keith Seitz <keiths@redhat.com>
956 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
957 in methods and reformat.
959 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
962 2007-01-18 Keith Seitz <keiths@redhat.com>
964 From Macro Trudel <mtrudel@gmx.ch>:
965 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
968 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
970 * jni.cc (_Jv_JNI_FindClass): Initialize class.
971 * testsuite/libjava.jni/findclass2.jar: New file.
972 * testsuite/libjava.jni/findclass2.h: New file.
973 * testsuite/libjava.jni/findclass2.java: New file
974 * testsuite/libjava.jni/findclass2.c: New file.
975 * testsuite/libjava.jni/findclass2.out: New file.
977 2007-01-18 Tom Tromey <tromey@redhat.com>
979 * configure: Rebuilt.
980 * configure.ac: Use multi_basedir instead of libgcj_basedir.
982 2007-01-18 Gary Benson <gbenson@redhat.com>
984 * gnu/java/nio/natVMPipeEcos.cc:
985 Renamed from gnu/java/nio/natPipeImplEcos.cc.
986 * gnu/java/nio/natVMPipePosix.cc:
987 Renamed from gnu/java/nio/natPipeImplPosix.cc.
988 * gnu/java/nio/natVMPipeWin32.cc:
989 Renamed from gnu/java/nio/natPipeImplWin32.cc.
990 * gnu/java/nio/natVMSelectorEcos.cc:
991 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
992 * gnu/java/nio/natVMSelectorPosix.cc:
993 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
994 * gnu/java/nio/natVMSelectorWin32.cc:
995 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
996 * java/io/natVMObjectInputStream.cc:
997 Renamed from java/io/natObjectInputStream.cc.
998 * java/lang/natVMDouble.cc:
999 Renamed from java/lang/natDouble.cc.
1000 * java/lang/natVMFloat.cc:
1001 Renamed from java/lang/natFloat.cc.
1002 * Makefile.am, configure.ac: Reflect the above.
1003 * Makefile.in, configure: Rebuilt.
1005 2007-01-17 Andrew Haley <aph@redhat.com>
1007 * Makefile.in: Rebuilt.
1008 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1010 2007-01-17 Keith Seitz <keiths@redhat.com>
1012 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1013 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1015 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1017 * configure.ac: Use multi.m4 from aclocal rather than custom
1018 code. Use multi_basedir instead libgcj_basedir. Test for
1019 /proc/self/exe when not cross-compiling.
1020 * aclocal.m4: Regenerate.
1021 * configure: Regenerate.
1022 * Makefile.in: Regenerate.
1024 2007-01-17 Gary Benson <gbenson@redhat.com>
1026 * java/nio/natVMDirectByteBufferImpl.cc:
1027 Renamed from java/nio/natDirectByteBufferImpl.cc.
1028 * Makefile.am: Reflect the above.
1029 * Makefile.in: Rebuilt.
1031 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1033 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1034 Fixed indentation. Removed unused variable.
1036 2007-01-16 Tom Tromey <tromey@redhat.com>
1038 * java/lang/natThread.cc (finalize_native): Remove cast.
1039 (_Jv_GetCurrentJNIEnv): Likewise.
1040 * include/jvm.h (struct natThread) <jni_env>: Declare as
1043 2007-01-16 Keith Seitz <keiths@redhat.com>
1045 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1046 %#llx instead of %d for new_value.
1047 * testsuite/libjava.jvmti/events.out: Update expected output.
1048 * testsuite/libjava.jvmti/events.jar: Regenerate.
1050 2007-01-16 Keith Seitz <keiths@redhat.com>
1052 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1054 (ENABLE_EVENT): New macro.
1055 (initialize): Define and enable JVMTI VM_INIT callback.
1056 (jdwpVMInitCB): New function.
1058 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1060 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1061 * testsuite/libjava.jvmti/getallthreads.java: New test.
1062 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1063 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1064 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1065 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1067 2007-01-15 Keith Seitz <keiths@redhat.com>
1069 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1070 java.lang.StringBuilder instead of java.lang.StringBuffer.
1071 (resumeThread): Likewise.
1073 2007-01-15 Gary Benson <gbenson@redhat.com>
1075 * java/nio/MappedByteBuffer.java: Removed.
1076 * sources.am, Makefile.in: Rebuilt.
1078 2007-01-15 Gary Benson <gbenson@redhat.com>
1080 * java/net/URLClassLoader.java: Removed.
1081 * gnu/java/net/loader/Load_gcjlib.java: New file.
1082 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1083 URL handler is present in static executables.
1084 * sources.am, Makefile.in: Rebuilt.
1086 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1088 * Makefile.am (libgcj_la_LDFLAGS): Add
1089 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1090 (libgcj_tools_la_LDFLAGS): Likewise.
1091 (libgcj_bc_la_LDFLAGS): Likewise.
1092 * Makefile.in: Regenerated.
1094 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1095 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1096 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1097 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1098 * configure: Regenerated.
1099 * aclocal.m4: Likewise.
1100 * gcj/Makefile.in: Likewise.
1101 * include/Makefile.in: Likewise.
1102 * testsuite/Makefile.in: Likewise.
1104 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1106 * sysdep/sh/locks.h (read_barrier): New.
1107 (write_barrier): Likewise.
1109 2007-01-12 Andrew Haley <aph@redhat.com>
1111 * include/i386-signal.h: Rewrite to use rt_sigaction.
1113 2007-01-11 Andrew Haley <aph@redhat.com>
1115 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1117 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1120 2007-01-10 Tom Tromey <tromey@redhat.com>
1122 * gnu/gcj/xlib/*.h: New files.
1123 * gnu/awt/xlib/*.h: Likewise.
1124 * classpath/lib/gnu/gcj/xlib: New class files.
1125 * classpath/lib/gnu/awt/xlib: Likewise.
1127 2007-01-10 Tom Tromey <tromey@redhat.com>
1129 * HACKING: Various updates.
1131 2007-01-10 Tom Tromey <tromey@redhat.com>
1133 * java/lang/natDouble.cc (toString): Added parens.
1134 * gnu/gcj/io/shs.h (PROTO): Define.
1135 * link.cc (resolve_pool_entry): Added missing braces.
1137 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1140 * sysdep/ia64/locks.h (read_barrier): New.
1141 (write_barrier): New.
1143 2007-01-10 Gary Benson <gbenson@redhat.com>
1145 * java/net/URL.java: Removed.
1146 * sources.am, Makefile.in: Rebuilt.
1148 2007-01-10 Matthias Klose <doko@debian.org>
1150 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1151 * Makefile.in: Regenerated.
1153 2007-01-05 Tom Tromey <tromey@redhat.com>
1155 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1156 dummy.class in srcdir.
1158 2007-01-03 Tom Tromey <tromey@redhat.com>
1160 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1163 2007-01-03 Tom Tromey <tromey@redhat.com>
1165 * testsuite/*: Added many .jar and .h files.
1166 * testsuite/libjava.special/special.exp
1167 (gcj_special_try_compiler): New proc.
1168 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1169 bytecompile source. Search for .jar files.
1170 (gcj_loader_test_one): Don't look for MyLoader.java.
1171 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1172 bytecompile sources or build headers.
1173 (gcj_jvmti_run): Look for .jar files.
1174 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1176 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1177 Set classpath when invoking gij.
1178 (gcj_jni_invocation_test_one): Likewise.
1179 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1180 headers or bytecompile sources.
1181 (gcj_cni_run): Use .jar files, not .java files.
1182 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1184 2007-01-02 Tom Tromey <tromey@redhat.com>
1186 * configure: Rebuilt.
1187 * configure.ac: Check for gjar.
1189 2007-01-02 Tom Tromey <tromey@redhat.com>
1191 * testsuite/libjava.jacks/jacks.exp: Removed.
1192 * testsuite/libjava.jacks/jacks.xfail: Removed.