1 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
3 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
4 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
5 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
6 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
7 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
8 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
10 2007-02-21 Gary Benson <gbenson@redhat.com>
12 * java/util/GregorianCalendar.java: Removed.
13 * sources.am, Makefile.in: Rebuilt.
15 2007-02-20 Keith Seitz <keiths@redhat.com>
17 * gnu/classpath/jdwp/natVMVirtualMachine.cc
18 (jdwpClassPrepareCB): Move class status stuff to ...
19 (getClassStatus): ... here.
21 2007-02-20 Gary Benson <gbenson@redhat.com>
23 * gnu/awt/xlib/XEventLoop.h: Regenerated.
24 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
25 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
27 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
28 * java/lang/SecurityManager.h: Likewise.
29 * java/lang/Thread.h: Likewise.
30 * java/security/VMSecureRandom$Spinner.h: Likewise.
31 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
32 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
33 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
34 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
35 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
36 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
37 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
38 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
39 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
40 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
41 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
42 * java/util/concurrent/Exchanger.h: Likewise.
43 * java/util/concurrent/Exchanger$Node.h: Likewise.
44 * java/util/concurrent/FutureTask$Sync.h: Likewise.
45 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
46 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
48 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
50 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
51 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
53 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
54 * java/util/concurrent/SynchronousQueue.h: Likewise.
55 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
56 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
58 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
59 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
61 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
62 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
63 * java/util/logging/ErrorManager.h: Likewise.
64 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
65 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
67 2007-02-16 Keith Seitz <keiths@redhat.com>
69 * gnu/classpath/jdwp/natVMVirtualMachine.cc
70 (get_line_table): New function.
71 (handle_single_step): New function.
72 (jdwpSingleStepCB): New function.
73 (jdwpVMInitCB): Define a JVMTI single step
74 callback, but don't enable it until needed.
76 2007-02-16 David Daney <ddaney@avtrex.com>
78 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
79 new parameter constructor.
80 (Thread(ThreadGroup, Runnable, String, long)): Same.
81 (Thread(String, boolean)): New constructor.
82 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
83 noInheritableThreadLocal, don't call
84 InheritableThreadLocal.newChildThread if set.
85 * java/lang/PosixProcess.java(ProcessManager()): Set
86 noInheritableThreadLocal in super.
87 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
88 parameter to Thread constructor.
89 (_Jv_AttachCurrentThreadAsDaemon): Same.
90 * java/lang/Thread.h: Regenerate.
91 * classpath/lib/java/lang/Thread.class: Same.
92 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
93 * classpath/lib/java/lang/PosixProcess.class: Same.
94 * classpath/lib/java/lang/Thread$State.class: Same.
95 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
97 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
99 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
100 variables to maintain type info.
101 * interpret-run.cc: Add local variable info to frame in the debug
103 * jvmti.cc (getLocalFrame): New method.
104 (_Jv_JVMTI_GetLocalObject): New method.
105 (_Jv_JVMTI_GetLocallInt): New method.
106 (_Jv_JVMTI_GetLocalFloat): New method.
107 (_Jv_JVMTI_GetLocalLong): New method.
108 (_Jv_JVMTI_GetLocalDouble): New method.
109 (_Jv_JVMTI_SetLocalObject): New method.
110 (_Jv_JVMTI_SetLocalInt): New method.
111 (_Jv_JVMTI_SetLocalFloat): New method.
112 (_Jv_JVMTI_SetLocalLong): New method.
113 (_Jv_JVMTI_SetLocalDouble): New method.
115 2007-02-16 Gary Benson <gbenson@redhat.com>
117 * gnu/gcj/tools/gcj_dbtool/Main.java
118 (bytesToString): Don't lose zeros from within the digest.
120 2007-02-15 Andrew Haley <aph@redhat.com>
122 * Makefile.am (nat_source_files): Remove
123 java/lang/management/natVMManagementFactory.cc.
124 * java/lang/Thread.java (getStackTrace): Use reflection to call
125 the ManagementFactory.
126 * java/lang/management/VMManagementFactory.java: Remove native
128 * java/lang/management/natVMManagementFactory.cc: Deleted.
129 * sources.am: Regnerate.
130 * scripts/makemake.tcl: Add new "bcheaders" type.
131 Move java/lang/management and gnu/classpath/management to "bc".
132 Move gnu/java/lang/management to "bcheaders".
134 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
136 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
137 * interpret-run.cc: Change the catch section to report exception
138 events and to use the new check_handler method.
139 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
140 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
141 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
142 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
143 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
145 * sources.am: Added ExceptionEvent.java.
146 * Makefile.am: Added natExceptionEvent.cc
147 * Makefile.in: Regenerated.
148 * include/Makefile.in: Regenerated.
149 * gcj/Makefile.in: Regenerated.
151 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
152 David Daney <ddaney@avtrex.com>
154 * configure.ac: Create vm-tools-packages file. Add
155 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
156 Check for /proc/self/maps.
157 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
158 (gc_analyze_SOURCES): New.
159 (gc_analyze_LDFLAGS): New.
160 (gc_analyze_LINK): New.
161 (gc_analyze_LDADD): New.
162 (gc_analyze_DEPENDENCIES): New.
163 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
164 * Makefile.in: Regenerated.
165 * configure: Regenerated.
166 * include/config.h.in: Regenerated.
167 * sources.am: Regenerated.
168 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
169 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
170 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
171 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
172 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
173 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
174 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
175 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
176 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
177 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
178 * gnu/gcj/util/GCInfo.java: New.
179 * gnu/gcj/util/GCInfo.h: New.
180 * gnu/gcj/util/natGCInfo.cc: New.
181 * gnu/gcj/util/UtilPermission.java: New.
182 * gnu/gcj/util/UtilPermission.h: New.
183 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
184 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
185 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
186 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
187 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
188 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
189 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
190 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
191 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
192 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
193 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
194 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
195 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
196 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
197 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
198 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
199 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
200 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
201 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
202 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
203 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
204 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
205 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
207 2007-02-15 David Daney <ddaney@avtrex.com>
209 * gnu/java/net/PlainSocketImpl.h: Regenerate.
210 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
211 * gnu/classpath/jdwp/VMFrame.h: Same.
212 * java/net/Socket.h: Same.
213 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
215 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
217 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
218 Added LocalVariableTable attribute handling.
219 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
220 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
221 * include/java-interp.h: Added local_var_table and
222 local_var_table_len fields to _Jv_InterpMethod.
223 (_Jv_InterpMethod::get_local_var_table): New method.
224 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
225 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
226 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
228 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
229 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
231 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
233 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
235 2007-02-13 Keith Seitz <keiths@redhat.com>
237 * gnu/classpath/jdwp/natVMVirtualMachine.cc
238 (jdwpBreakpointCB): New function.
239 (jdwpVMInitCB): Define and enable the breakpoint
242 2007-02-13 Andrew Haley <aph@redhat.com>
244 * testsuite/libjava.lang/Divide_2.out
245 * testsuite/libjava.lang/Divide_2.java: New test.
247 2007-02-12 Keith Seitz <keiths@redhat.com>
249 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
250 from jthread to Thread *; it is no longer needed.
251 (_Jv_JVMTI_GetFrameCount): Likewise.
252 Fix small formatting typo.
254 2007-02-12 Tom Tromey <tromey@redhat.com>
256 * sources.am, Makefile.in: Rebuilt.
257 * java/lang/Socket.java: Removed override.
258 * java/lang/DatagramSocket.java: Removed override.
259 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
261 (getLocalAddress): New method.
262 * gnu/java/net/PlainDatagramSocketImpl.java
263 (PlainDatagramSocketImpl): Throws IOException.
264 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
268 2007-02-09 Jakub Jelinek <jakub@redhat.com>
270 * java/util/VMTimeZone.java: Rewrite to handle both the old
271 'TZif\0' format and the new one.
273 2007-02-10 Andrew Haley <aph@redhat.com>
276 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
277 (getCallingClass): Call GET_CALLING_CLASS.
278 (getCallingClassLoader): Likewise.
280 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
282 * configure: Rebuilt.
283 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
285 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
287 * Makefile.in: Rebuilt.
288 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
289 the host's ecj1 executable.
291 2007-02-09 Richard Henderson <rth@redhat.com>
293 * sysdep/alpha/locks.h (read_barrier): New.
295 2007-02-09 Keith Seitz <keiths@redhat.com>
297 * gnu/classpath/jdwp/VMVirtualMachine.java
298 (_stepping_threads): New member.
299 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
301 * gnu/classpath/jdwp/VMVirtualMachine.h:
303 * gnu/claspath/jdwp/natVMVirtualMachine.cc
304 (get_request_step_filter): New function.
305 (DISABLE_EVENT): New macro.
306 (initialize): Initialize _stepping_threads.
307 (registerEvent): Implement EVENT_SINGLE_STEP.
308 (unregisterEvent): Likewise.
310 2007-02-08 Keith Seitz <keiths@redhat.com>
312 * sources.am: Regenerate.
313 * Makefile.in: Regenerate.
314 * testsuite/Makefile.in: Regenerate.
315 * gcj/Makefile.in: Regenerate.
316 * include/Makefile.in: Regenerate.
318 * classpath/lib/javax/management/MBeanServerFactory.class:
321 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
323 * classpath/gnu/classpath/jdwp/processor/
324 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
326 (executeSetValues): Ditto.
327 (executeThisObject): Ditto.
328 * classpath/gnu/classpath/jdwp/processor/
329 StackFrameCommandSet.class: Rebuilt.
330 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
332 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
333 * classpath/lib/gnu/classpath/jdwp/exception/
334 InvalidFrameException.java: New file.
335 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
337 (Constructor): New method.
338 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
339 * gnu/classpath/jdwp/VMVirtualMachine.java
340 (getFrame): Changed ByteBuffer to jlong.
341 * gnu/classpath/jdwp/natVMVirtualMachine.cc
342 (getFrame): Implement.
343 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
345 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
347 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
348 to hold "this" pointer for frame.
349 (_Jv_InterpFrame::get_this_ptr): New method.
350 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
352 2007-02-07 Keith Seitz <keiths@redhat.com>
354 * include/java-interp.h (_Jv_Frame::depth):
356 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
358 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
360 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
361 (_Jv_JVMTI_GetMaxLocals): New method.
362 * include/java-interp.h
363 (_Jv_InterpMethod::get_max_locals): New method.
365 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
367 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
369 2007-02-07 Tom Tromey <tromey@redhat.com>
371 * testsuite/libjava.jni/init.c: New file.
372 * testsuite/libjava.jni/init.java: New file.
373 * testsuite/libjava.jni/init.out: New file.
374 * testsuite/libjava.jni/init.jar: New file.
375 * testsuite/libjava.jni/init.h: New file.
376 * testsuite/libjava.jni/init$NativeClass.h: New file.
378 2007-02-07 Jakub Jelinek <jakub@redhat.com>
381 * configure: Regenerate.
383 2007-02-06 Andrew Haley <aph@redhat.com>
385 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
386 * sources.am: Rebuild.
388 2007-02-05 Keith Seitz <keiths@redhat.com>
390 * jvmti.cc (_envListLock): Change type to
391 ReentrantReadWriteLock.
392 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
394 (check_enabled_event): Likewise.
395 (_Jv_GetJVMTIEnv): Likewise.
396 (_Jv_JVMTI_Init): Likewise.
397 (_Jv_JVMTI_PostEvent): Likewise.
399 2007-02-05 Keith Seitz <keiths@redhat.com>
401 * gnu/classpath/jdwp/natVMVirtualMachine.cc
402 (registerEvent): Implement EVENT_BREAKPOINT.
403 (unregisterEvent): Likewise.
404 (get_request_location): New function.
406 2007-02-05 Matthias Klose <doko@debian.org>
408 testsuite/Makefile.am (compile-tests): Fix typo.
409 testsuite/Makefile.in: Regenerate.
411 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
413 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
416 2007-02-02 Jakub Jelinek <jakub@redhat.com>
418 * configure.ac (libjava_cv_anon_version_script): New test.
419 (ANONVERSCRIPT): New AM_CONDITIONAL.
420 * configure: Rebuilt.
421 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
423 * Makefile.in: Rebuilt.
424 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
425 * libgcj.ver: New file.
427 2007-02-01 David Daney <ddaney@avtrex.com>
429 * scripts/makemake.tcl: Replace gnu/xml build with build of all
431 * sources.am: Regenerate.
432 * Makefile.in: Regenerate.
434 2007-02-01 Tom Tromey <tromey@redhat.com>
436 * java/lang/ClassLoader.java (getResources): No longer final.
438 2007-02-01 Tom Tromey <tromey@redhat.com>
440 * java/util/logging/LogManager.java (loggers): Genericized.
442 (findAncestor): Likewise.
443 (getLogger): Likewise.
444 (getLoggerNames): Genericized.
446 (getLevelProperty): Likewise.
447 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
448 * java/lang/reflect/Constructor.java (getParameterTypes):
450 (getExceptionTypes): Likewise.
451 (newInstance): Likewise.
452 * java/lang/reflect/Array.java (newInstance): Genericized.
453 * java/lang/Object.java (getClass): Genericized.
454 * java/nio/charset/spi/CharsetProvider.java (charsets):
456 * java/text/Collator.java: Implement Comparable<Object>.
458 2007-02-01 Tom Tromey <tromey@redhat.com>
460 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
462 (clear): Call complete.
463 (setTimeZone): Call computeTime, computeFields.
464 (compareTo): New method.
465 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
466 (availableCharsets): Genericized.
468 (compareTo): Changed argument type.
469 * java/lang/ClassLoader.java (loadClass): Genericized.
470 (findClass): Likewise.
471 (defineClass): Likewise.
472 (resolveClass): Likewise.
473 (findSystemClass): Likewise.
474 (setSigners): Likewise.
475 (findLoadedClass): Likewise.
476 (getResources): Likewise.
477 (findResources): Likewise.
478 (getSystemResources): Likewise.
479 (checkInitialized): New method.
480 * java/lang/Class.java (getCanonicalName): New method.
482 2007-01-31 Keith Seitz <keiths@redhat.com>
484 * include/jvmti-int.h (JVMTI): Declare member "enabled".
485 * jvmti.cc (JVMTI): Add member "enabled".
486 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
487 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
488 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
489 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
490 instead of run to compile the method.
492 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
495 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
497 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
498 -shared-libgcc to the cxxflaglist for Darwin.
500 2007-01-31 Tom Tromey <tromey@redhat.com>
502 * scripts.am, Makefile.in: Rebuilt.
503 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
505 (emit_ordinary_rule): New proc.
507 2007-01-31 Keith Seitz <keiths@redhat.com>
509 * testsuite/libjava.jvmti/getmethodname.h: New file.
510 * testsuite/libjava.jvmti/getmethodname.jar: New file.
512 2007-01-31 Andrew Haley <aph@redhat.com>
514 * prims.cc (_Jv_Abort): fflush (stderr).
515 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
517 2007-01-31 Tom Tromey <tromey@redhat.com>
519 * configure, Makefile.in: Rebuilt.
520 * configure.ac (JAR): Check for -@ feature.
521 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
523 2007-01-31 Tom Tromey <tromey@redhat.com>
526 * configure, include/config.h.in: Rebuilt.
527 * configure.ac: Check for magic_t in magic.h.
528 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
530 2007-01-30 Tom Tromey <tromey@redhat.com>
532 * Makefile.in: Rebuilt.
533 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
535 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
537 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
538 cast to print it right.
540 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
543 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
546 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
548 * include/java-interp.h: Added _Jv_Frame class and its two
549 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
550 _Jv_FrameType from java-stack.h.
551 * include/java-stack.h: Removed _Jv_FrameType.
552 * java/lang/Thread.java: Added frame member to hold new
553 composite frame stack.
554 * java/lang/Thread.h: Regenerated.
555 * java/lang/Thread.class: Rebuilt.
556 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
557 calling a JNI method.
558 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
559 (_Jv_JVMTI_GetFrameCount): New method.
560 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
562 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
563 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
564 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
565 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
566 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
569 2007-01-29 Tom Tromey <tromey@redhat.com>
571 * interpret.cc (run_debug): Remove comment.
578 (run_normal_debug): Likewise.
579 (run_synch_object_debug): Likewise.
580 (run_class_debug): Likewise.
581 (run_synch_class_debug): Likewise.
586 (NULLARRAYCHECK): Likewise.
587 (ARRAYBOUNDSCHECK): Likewise.
588 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
590 2007-01-29 Tom Tromey <tromey@redhat.com>
592 * configure, Makefile.in: Rebuilt.
593 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
594 * configure.ac (BASH_JAR): Removed conditional.
595 (JAR): Prefer the jar found by AC_CHECK_PROGS.
597 2007-01-29 Tom Tromey <tromey@redhat.com>
599 * Makefile.in: Rebuilt.
600 * Makefile.am (interpret.lo): New target. Add -fwrap to
603 2007-01-29 Keith Seitz <keiths@redhat.com>
605 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
607 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
608 gcj. All jvmti object types now are defined to be their
609 corresponding java classes.
610 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
612 (_Jv_JVMTI_ResumeThread): Likewise.
613 (_Jv_JVMTI_InterruptThread): Likewise.
614 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
615 * gnu/classpath/jdwp/natVMVirtualMachine.cc
616 (jdwpClassPrepareCB): Likewise.
617 (jdwpThreadEndCB): Likewise.
618 (jdwpThreadStartCB): Likewise.
619 (jdwpVMInitCB): Likewise.
621 2007-01-28 Michele Sandri <gpointorama@gmail.com>
623 * gnu/java/nio/channels/natFileChannelWin32.cc
625 (unlock): Implemented.
627 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
630 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
631 libgcj_flags to undefine 'sun' at compile time.
632 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
634 (write_barrier): Likewise.
636 2007-01-27 Keith Seitz <keiths@redhat.com>
638 * gnu/classpath/jdwp/natVMVirtualMachine.cc
639 (getAllClassMethods): Move error handling to ...
640 (throw_jvmti_error): ... here.
641 (jdwpClassPrepareCB): New function.
642 (jdwpThreadEndCB): New function.
643 (jdwpThreadStartCB): New function.
644 (jdwpVMDeathCB): New function.
645 (jdwpVMInitCB): Define and enable callbacks for
646 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
648 2007-01-27 Jakub Jelinek <jakub@redhat.com>
650 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
651 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
652 (MYGCJH): New variable.
653 (compile-tests): New goal.
654 * Makefile.in: Rebuilt.
655 * testsuite/Makefile.in: Rebuilt.
657 2007-01-26 Andrew Haley <aph@redhat.com>
659 * java/lang/natClass.cc (initializeClass): Re-throw
661 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
662 * java/lang/ClassLoader.java: (loadClass): Likewise.
664 2007-01-26 Tom Tromey <tromey@redhat.com>
668 2007-01-25 Tom Tromey <tromey@redhat.com>
671 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
672 input or output encodings. Removed unused local variables.
674 2007-01-25 Keith Seitz <keiths@redhat.com>
676 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
677 * gnu/classpath/jdwp/natVMVirtualMachine.cc
678 (_Jv_GetJDWP_JVMTIEnv): New function.
679 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
680 (getSignature): Implement.
681 (getModifiers): Implement.
683 2007-01-25 Andrew Haley <aph@redhat.com>
685 * configure, Makefile.in, include/config.h.in: Rebuilt.
686 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
687 * configure.ac: Don't check for libmagic.
688 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
689 p_magic_close, p_magic_buffer): New globals.
690 (init): Look up 'magic' functions.
691 (guessContentTypeFromBuffer): Updated.
693 2007-01-25 Keith Seitz <keiths@redhat.com>
695 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
696 (_Jv_JVMTI_Interface): Define GetMethodName.
697 * testsuite/libjava.jvmti/getmethodname.java: New file.
698 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
699 * testsuite/libjava.jvmti/getmethodname.out: New file.
701 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
703 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
704 * libjava/testsuite/libjava.jvmti/interp: New folder.
705 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
707 2007-01-24 Keith Seitz <keiths@redhat.com>
709 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
710 CLASS_PREPARE notification.
712 2007-01-24 Keith Seitz <keiths@redhat.com>
714 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
715 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
716 * interpret-run.cc: Implement insn_breakpoint.
718 2007-01-24 Keith Seitz <keiths@redhat.com>
720 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
721 for VM_INIT and VM_DEATH instead of the JDWP notifications.
723 2007-01-24 Keith Seitz <keiths@redhat.com>
725 * gnu/classpath/jdwp/natVMVirtualMachine.cc
726 (getAllClassMethods): Implement.
728 2007-01-24 Andrew Haley <aph@redhat.com>
730 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
731 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
732 from being sibcalled.
734 2007-01-24 Andrew Haley <aph@redhat.com>
736 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
737 * sources.am: Rebuild.
739 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
741 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
742 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
744 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
747 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
748 * Makefile.in: Regenerated.
750 2007-01-22 Keith Seitz <keiths@redhat.com>
752 * gnu/classpath/jdwp/natVMVirtualMachine.cc
753 (getClassMethod): Implement.
755 2007-01-22 Keith Seitz <keiths@redhat.com>
757 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
758 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
759 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
760 (_Jv_JVMTI_Interface): Define GetClassStatus.
762 2007-01-22 Tom Tromey <tromey@redhat.com>
764 * configure: Rebuilt.
765 * configure.ac (GCJ): Reverted patch of 2006-12-20.
767 2007-01-22 Tom Tromey <tromey@redhat.com>
770 * testsuite/libjava.jni/pr29812.java: New file.
771 * testsuite/libjava.jni/pr29812_injar.java: New file.
772 * testsuite/libjava.jni/pr29812_injar.jar: New file.
773 * testsuite/libjava.jni/pr29812.out: New file.
774 * testsuite/libjava.jni/pr29812_injar.c: New file.
775 * testsuite/libjava.jni/pr29812_injar.h: New file.
776 * testsuite/libjava.jni/pr29812.jar: New file.
777 * testsuite/libjava.jni/pr29812.c: New file.
778 * testsuite/libjava.jni/pr29812.h: New file.
779 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
781 (gcj_jni_invocation_test_one): Use it.
782 (gcj_jni_pr29812): New proc.
783 (gcj_jni_run): Use it.
784 * java/lang/natRuntime.cc (_load): Push a new system frame before
786 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
787 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
788 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
789 <allocated_p>: Now bool.
791 (_Jv_JNI_EnsureLocalCapacity): Updated.
792 (_Jv_JNI_NewLocalRef): Likewise.
793 (_Jv_JNI_NewLocalRef): Likewise.
794 (_Jv_JNI_PopLocalFrame): Likewise.
795 (_Jv_JNI_FindClass): Likewise.
796 (_Jv_GetJNIEnvNewFrame): Likewise.
797 (_Jv_JNI_AttachCurrentThread): Likewise.
798 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
799 (_Jv_GetJNIEnvNewFrame): Use it.
800 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
802 2007-01-22 Tom Tromey <tromey@redhat.com>
804 * libtool-version: Bump current to 9.
806 2007-01-22 Andrew Haley <aph@redhat.com>
808 * sysdep/alpha/locks.h (write_barrier): New.
810 2007-01-21 Matthias Klose <doko@debian.org>
812 * Makefile.am (install-exec-hook): Use transformed name.
813 * Makefile.in: Regenerate.
815 2007-01-19 Keith Seitz <keiths@redhat.com>
817 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
818 in methods and reformat.
820 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
823 2007-01-18 Keith Seitz <keiths@redhat.com>
825 From Macro Trudel <mtrudel@gmx.ch>:
826 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
829 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
831 * jni.cc (_Jv_JNI_FindClass): Initialize class.
832 * testsuite/libjava.jni/findclass2.jar: New file.
833 * testsuite/libjava.jni/findclass2.h: New file.
834 * testsuite/libjava.jni/findclass2.java: New file
835 * testsuite/libjava.jni/findclass2.c: New file.
836 * testsuite/libjava.jni/findclass2.out: New file.
838 2007-01-18 Tom Tromey <tromey@redhat.com>
840 * configure: Rebuilt.
841 * configure.ac: Use multi_basedir instead of libgcj_basedir.
843 2007-01-18 Gary Benson <gbenson@redhat.com>
845 * gnu/java/nio/natVMPipeEcos.cc:
846 Renamed from gnu/java/nio/natPipeImplEcos.cc.
847 * gnu/java/nio/natVMPipePosix.cc:
848 Renamed from gnu/java/nio/natPipeImplPosix.cc.
849 * gnu/java/nio/natVMPipeWin32.cc:
850 Renamed from gnu/java/nio/natPipeImplWin32.cc.
851 * gnu/java/nio/natVMSelectorEcos.cc:
852 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
853 * gnu/java/nio/natVMSelectorPosix.cc:
854 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
855 * gnu/java/nio/natVMSelectorWin32.cc:
856 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
857 * java/io/natVMObjectInputStream.cc:
858 Renamed from java/io/natObjectInputStream.cc.
859 * java/lang/natVMDouble.cc:
860 Renamed from java/lang/natDouble.cc.
861 * java/lang/natVMFloat.cc:
862 Renamed from java/lang/natFloat.cc.
863 * Makefile.am, configure.ac: Reflect the above.
864 * Makefile.in, configure: Rebuilt.
866 2007-01-17 Andrew Haley <aph@redhat.com>
868 * Makefile.in: Rebuilt.
869 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
871 2007-01-17 Keith Seitz <keiths@redhat.com>
873 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
874 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
876 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
878 * configure.ac: Use multi.m4 from aclocal rather than custom
879 code. Use multi_basedir instead libgcj_basedir. Test for
880 /proc/self/exe when not cross-compiling.
881 * aclocal.m4: Regenerate.
882 * configure: Regenerate.
883 * Makefile.in: Regenerate.
885 2007-01-17 Gary Benson <gbenson@redhat.com>
887 * java/nio/natVMDirectByteBufferImpl.cc:
888 Renamed from java/nio/natDirectByteBufferImpl.cc.
889 * Makefile.am: Reflect the above.
890 * Makefile.in: Rebuilt.
892 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
894 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
895 Fixed indentation. Removed unused variable.
897 2007-01-16 Tom Tromey <tromey@redhat.com>
899 * java/lang/natThread.cc (finalize_native): Remove cast.
900 (_Jv_GetCurrentJNIEnv): Likewise.
901 * include/jvm.h (struct natThread) <jni_env>: Declare as
904 2007-01-16 Keith Seitz <keiths@redhat.com>
906 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
907 %#llx instead of %d for new_value.
908 * testsuite/libjava.jvmti/events.out: Update expected output.
909 * testsuite/libjava.jvmti/events.jar: Regenerate.
911 2007-01-16 Keith Seitz <keiths@redhat.com>
913 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
915 (ENABLE_EVENT): New macro.
916 (initialize): Define and enable JVMTI VM_INIT callback.
917 (jdwpVMInitCB): New function.
919 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
921 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
922 * testsuite/libjava.jvmti/getallthreads.java: New test.
923 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
924 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
925 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
926 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
928 2007-01-15 Keith Seitz <keiths@redhat.com>
930 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
931 java.lang.StringBuilder instead of java.lang.StringBuffer.
932 (resumeThread): Likewise.
934 2007-01-15 Gary Benson <gbenson@redhat.com>
936 * java/nio/MappedByteBuffer.java: Removed.
937 * sources.am, Makefile.in: Rebuilt.
939 2007-01-15 Gary Benson <gbenson@redhat.com>
941 * java/net/URLClassLoader.java: Removed.
942 * gnu/java/net/loader/Load_gcjlib.java: New file.
943 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
944 URL handler is present in static executables.
945 * sources.am, Makefile.in: Rebuilt.
947 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
949 * Makefile.am (libgcj_la_LDFLAGS): Add
950 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
951 (libgcj_tools_la_LDFLAGS): Likewise.
952 (libgcj_bc_la_LDFLAGS): Likewise.
953 * Makefile.in: Regenerated.
955 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
956 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
957 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
958 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
959 * configure: Regenerated.
960 * aclocal.m4: Likewise.
961 * gcj/Makefile.in: Likewise.
962 * include/Makefile.in: Likewise.
963 * testsuite/Makefile.in: Likewise.
965 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
967 * sysdep/sh/locks.h (read_barrier): New.
968 (write_barrier): Likewise.
970 2007-01-12 Andrew Haley <aph@redhat.com>
972 * include/i386-signal.h: Rewrite to use rt_sigaction.
974 2007-01-11 Andrew Haley <aph@redhat.com>
976 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
978 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
981 2007-01-10 Tom Tromey <tromey@redhat.com>
983 * gnu/gcj/xlib/*.h: New files.
984 * gnu/awt/xlib/*.h: Likewise.
985 * classpath/lib/gnu/gcj/xlib: New class files.
986 * classpath/lib/gnu/awt/xlib: Likewise.
988 2007-01-10 Tom Tromey <tromey@redhat.com>
990 * HACKING: Various updates.
992 2007-01-10 Tom Tromey <tromey@redhat.com>
994 * java/lang/natDouble.cc (toString): Added parens.
995 * gnu/gcj/io/shs.h (PROTO): Define.
996 * link.cc (resolve_pool_entry): Added missing braces.
998 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1001 * sysdep/ia64/locks.h (read_barrier): New.
1002 (write_barrier): New.
1004 2007-01-10 Gary Benson <gbenson@redhat.com>
1006 * java/net/URL.java: Removed.
1007 * sources.am, Makefile.in: Rebuilt.
1009 2007-01-10 Matthias Klose <doko@debian.org>
1011 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1012 * Makefile.in: Regenerated.
1014 2007-01-05 Tom Tromey <tromey@redhat.com>
1016 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1017 dummy.class in srcdir.
1019 2007-01-03 Tom Tromey <tromey@redhat.com>
1021 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1024 2007-01-03 Tom Tromey <tromey@redhat.com>
1026 * testsuite/*: Added many .jar and .h files.
1027 * testsuite/libjava.special/special.exp
1028 (gcj_special_try_compiler): New proc.
1029 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1030 bytecompile source. Search for .jar files.
1031 (gcj_loader_test_one): Don't look for MyLoader.java.
1032 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1033 bytecompile sources or build headers.
1034 (gcj_jvmti_run): Look for .jar files.
1035 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1037 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1038 Set classpath when invoking gij.
1039 (gcj_jni_invocation_test_one): Likewise.
1040 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1041 headers or bytecompile sources.
1042 (gcj_cni_run): Use .jar files, not .java files.
1043 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1045 2007-01-02 Tom Tromey <tromey@redhat.com>
1047 * configure: Rebuilt.
1048 * configure.ac: Check for gjar.
1050 2007-01-02 Tom Tromey <tromey@redhat.com>
1052 * testsuite/libjava.jacks/jacks.exp: Removed.
1053 * testsuite/libjava.jacks/jacks.xfail: Removed.