1 2007-02-16 David Daney <ddaney@avtrex.com>
3 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
4 new parameter constructor.
5 (Thread(ThreadGroup, Runnable, String, long)): Same.
6 (Thread(String, boolean)): New constructor.
7 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
8 noInheritableThreadLocal, don't call
9 InheritableThreadLocal.newChildThread if set.
10 * java/lang/PosixProcess.java(ProcessManager()): Set
11 noInheritableThreadLocal in super.
12 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
13 parameter to Thread constructor.
14 (_Jv_AttachCurrentThreadAsDaemon): Same.
15 * java/lang/Thread.h: Regenerate.
16 * classpath/lib/java/lang/Thread.class: Same.
17 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
18 * classpath/lib/java/lang/PosixProcess.class: Same.
19 * classpath/lib/java/lang/Thread$State.class: Same.
20 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
22 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
24 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
25 variables to maintain type info.
26 * interpret-run.cc: Add local variable info to frame in the debug
28 * jvmti.cc (getLocalFrame): New method.
29 (_Jv_JVMTI_GetLocalObject): New method.
30 (_Jv_JVMTI_GetLocallInt): New method.
31 (_Jv_JVMTI_GetLocalFloat): New method.
32 (_Jv_JVMTI_GetLocalLong): New method.
33 (_Jv_JVMTI_GetLocalDouble): New method.
34 (_Jv_JVMTI_SetLocalObject): New method.
35 (_Jv_JVMTI_SetLocalInt): New method.
36 (_Jv_JVMTI_SetLocalFloat): New method.
37 (_Jv_JVMTI_SetLocalLong): New method.
38 (_Jv_JVMTI_SetLocalDouble): New method.
40 2007-02-16 Gary Benson <gbenson@redhat.com>
42 * gnu/gcj/tools/gcj_dbtool/Main.java
43 (bytesToString): Don't lose zeros from within the digest.
45 2007-02-15 Andrew Haley <aph@redhat.com>
47 * Makefile.am (nat_source_files): Remove
48 java/lang/management/natVMManagementFactory.cc.
49 * java/lang/Thread.java (getStackTrace): Use reflection to call
50 the ManagementFactory.
51 * java/lang/management/VMManagementFactory.java: Remove native
53 * java/lang/management/natVMManagementFactory.cc: Deleted.
54 * sources.am: Regnerate.
55 * scripts/makemake.tcl: Add new "bcheaders" type.
56 Move java/lang/management and gnu/classpath/management to "bc".
57 Move gnu/java/lang/management to "bcheaders".
59 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
61 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
62 * interpret-run.cc: Change the catch section to report exception
63 events and to use the new check_handler method.
64 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
65 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
66 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
67 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
68 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
70 * sources.am: Added ExceptionEvent.java.
71 * Makefile.am: Added natExceptionEvent.cc
72 * Makefile.in: Regenerated.
73 * include/Makefile.in: Regenerated.
74 * gcj/Makefile.in: Regenerated.
76 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
77 David Daney <ddaney@avtrex.com>
79 * configure.ac: Create vm-tools-packages file. Add
80 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
81 Check for /proc/self/maps.
82 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
83 (gc_analyze_SOURCES): New.
84 (gc_analyze_LDFLAGS): New.
85 (gc_analyze_LINK): New.
86 (gc_analyze_LDADD): New.
87 (gc_analyze_DEPENDENCIES): New.
88 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
89 * Makefile.in: Regenerated.
90 * configure: Regenerated.
91 * include/config.h.in: Regenerated.
92 * sources.am: Regenerated.
93 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
94 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
95 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
96 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
97 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
98 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
99 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
100 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
101 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
102 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
103 * gnu/gcj/util/GCInfo.java: New.
104 * gnu/gcj/util/GCInfo.h: New.
105 * gnu/gcj/util/natGCInfo.cc: New.
106 * gnu/gcj/util/UtilPermission.java: New.
107 * gnu/gcj/util/UtilPermission.h: New.
108 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
109 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
110 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
111 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
112 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
113 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
114 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
115 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
116 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
117 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
118 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
119 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
120 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
121 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
122 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
123 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
124 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
125 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
126 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
127 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
128 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
129 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
130 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
132 2007-02-15 David Daney <ddaney@avtrex.com>
134 * gnu/java/net/PlainSocketImpl.h: Regenerate.
135 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
136 * gnu/classpath/jdwp/VMFrame.h: Same.
137 * java/net/Socket.h: Same.
138 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
140 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
142 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
143 Added LocalVariableTable attribute handling.
144 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
145 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
146 * include/java-interp.h: Added local_var_table and
147 local_var_table_len fields to _Jv_InterpMethod.
148 (_Jv_InterpMethod::get_local_var_table): New method.
149 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
150 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
151 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
153 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
154 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
156 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
158 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
160 2007-02-13 Keith Seitz <keiths@redhat.com>
162 * gnu/classpath/jdwp/natVMVirtualMachine.cc
163 (jdwpBreakpointCB): New function.
164 (jdwpVMInitCB): Define and enable the breakpoint
167 2007-02-13 Andrew Haley <aph@redhat.com>
169 * testsuite/libjava.lang/Divide_2.out
170 * testsuite/libjava.lang/Divide_2.java: New test.
172 2007-02-12 Keith Seitz <keiths@redhat.com>
174 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
175 from jthread to Thread *; it is no longer needed.
176 (_Jv_JVMTI_GetFrameCount): Likewise.
177 Fix small formatting typo.
179 2007-02-12 Tom Tromey <tromey@redhat.com>
181 * sources.am, Makefile.in: Rebuilt.
182 * java/lang/Socket.java: Removed override.
183 * java/lang/DatagramSocket.java: Removed override.
184 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
186 (getLocalAddress): New method.
187 * gnu/java/net/PlainDatagramSocketImpl.java
188 (PlainDatagramSocketImpl): Throws IOException.
189 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
193 2007-02-09 Jakub Jelinek <jakub@redhat.com>
195 * java/util/VMTimeZone.java: Rewrite to handle both the old
196 'TZif\0' format and the new one.
198 2007-02-10 Andrew Haley <aph@redhat.com>
201 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
202 (getCallingClass): Call GET_CALLING_CLASS.
203 (getCallingClassLoader): Likewise.
205 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
207 * configure: Rebuilt.
208 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
210 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
212 * Makefile.in: Rebuilt.
213 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
214 the host's ecj1 executable.
216 2007-02-09 Richard Henderson <rth@redhat.com>
218 * sysdep/alpha/locks.h (read_barrier): New.
220 2007-02-09 Keith Seitz <keiths@redhat.com>
222 * gnu/classpath/jdwp/VMVirtualMachine.java
223 (_stepping_threads): New member.
224 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
226 * gnu/classpath/jdwp/VMVirtualMachine.h:
228 * gnu/claspath/jdwp/natVMVirtualMachine.cc
229 (get_request_step_filter): New function.
230 (DISABLE_EVENT): New macro.
231 (initialize): Initialize _stepping_threads.
232 (registerEvent): Implement EVENT_SINGLE_STEP.
233 (unregisterEvent): Likewise.
235 2007-02-08 Keith Seitz <keiths@redhat.com>
237 * sources.am: Regenerate.
238 * Makefile.in: Regenerate.
239 * testsuite/Makefile.in: Regenerate.
240 * gcj/Makefile.in: Regenerate.
241 * include/Makefile.in: Regenerate.
243 * classpath/lib/javax/management/MBeanServerFactory.class:
246 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
248 * classpath/gnu/classpath/jdwp/processor/
249 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
251 (executeSetValues): Ditto.
252 (executeThisObject): Ditto.
253 * classpath/gnu/classpath/jdwp/processor/
254 StackFrameCommandSet.class: Rebuilt.
255 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
257 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
258 * classpath/lib/gnu/classpath/jdwp/exception/
259 InvalidFrameException.java: New file.
260 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
262 (Constructor): New method.
263 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
264 * gnu/classpath/jdwp/VMVirtualMachine.java
265 (getFrame): Changed ByteBuffer to jlong.
266 * gnu/classpath/jdwp/natVMVirtualMachine.cc
267 (getFrame): Implement.
268 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
270 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
272 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
273 to hold "this" pointer for frame.
274 (_Jv_InterpFrame::get_this_ptr): New method.
275 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
277 2007-02-07 Keith Seitz <keiths@redhat.com>
279 * include/java-interp.h (_Jv_Frame::depth):
281 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
283 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
285 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
286 (_Jv_JVMTI_GetMaxLocals): New method.
287 * include/java-interp.h
288 (_Jv_InterpMethod::get_max_locals): New method.
290 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
292 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
294 2007-02-07 Tom Tromey <tromey@redhat.com>
296 * testsuite/libjava.jni/init.c: New file.
297 * testsuite/libjava.jni/init.java: New file.
298 * testsuite/libjava.jni/init.out: New file.
299 * testsuite/libjava.jni/init.jar: New file.
300 * testsuite/libjava.jni/init.h: New file.
301 * testsuite/libjava.jni/init$NativeClass.h: New file.
303 2007-02-07 Jakub Jelinek <jakub@redhat.com>
306 * configure: Regenerate.
308 2007-02-06 Andrew Haley <aph@redhat.com>
310 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
311 * sources.am: Rebuild.
313 2007-02-05 Keith Seitz <keiths@redhat.com>
315 * jvmti.cc (_envListLock): Change type to
316 ReentrantReadWriteLock.
317 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
319 (check_enabled_event): Likewise.
320 (_Jv_GetJVMTIEnv): Likewise.
321 (_Jv_JVMTI_Init): Likewise.
322 (_Jv_JVMTI_PostEvent): Likewise.
324 2007-02-05 Keith Seitz <keiths@redhat.com>
326 * gnu/classpath/jdwp/natVMVirtualMachine.cc
327 (registerEvent): Implement EVENT_BREAKPOINT.
328 (unregisterEvent): Likewise.
329 (get_request_location): New function.
331 2007-02-05 Matthias Klose <doko@debian.org>
333 testsuite/Makefile.am (compile-tests): Fix typo.
334 testsuite/Makefile.in: Regenerate.
336 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
338 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
341 2007-02-02 Jakub Jelinek <jakub@redhat.com>
343 * configure.ac (libjava_cv_anon_version_script): New test.
344 (ANONVERSCRIPT): New AM_CONDITIONAL.
345 * configure: Rebuilt.
346 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
348 * Makefile.in: Rebuilt.
349 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
350 * libgcj.ver: New file.
352 2007-02-01 David Daney <ddaney@avtrex.com>
354 * scripts/makemake.tcl: Replace gnu/xml build with build of all
356 * sources.am: Regenerate.
357 * Makefile.in: Regenerate.
359 2007-02-01 Tom Tromey <tromey@redhat.com>
361 * java/lang/ClassLoader.java (getResources): No longer final.
363 2007-02-01 Tom Tromey <tromey@redhat.com>
365 * java/util/logging/LogManager.java (loggers): Genericized.
367 (findAncestor): Likewise.
368 (getLogger): Likewise.
369 (getLoggerNames): Genericized.
371 (getLevelProperty): Likewise.
372 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
373 * java/lang/reflect/Constructor.java (getParameterTypes):
375 (getExceptionTypes): Likewise.
376 (newInstance): Likewise.
377 * java/lang/reflect/Array.java (newInstance): Genericized.
378 * java/lang/Object.java (getClass): Genericized.
379 * java/nio/charset/spi/CharsetProvider.java (charsets):
381 * java/text/Collator.java: Implement Comparable<Object>.
383 2007-02-01 Tom Tromey <tromey@redhat.com>
385 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
387 (clear): Call complete.
388 (setTimeZone): Call computeTime, computeFields.
389 (compareTo): New method.
390 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
391 (availableCharsets): Genericized.
393 (compareTo): Changed argument type.
394 * java/lang/ClassLoader.java (loadClass): Genericized.
395 (findClass): Likewise.
396 (defineClass): Likewise.
397 (resolveClass): Likewise.
398 (findSystemClass): Likewise.
399 (setSigners): Likewise.
400 (findLoadedClass): Likewise.
401 (getResources): Likewise.
402 (findResources): Likewise.
403 (getSystemResources): Likewise.
404 (checkInitialized): New method.
405 * java/lang/Class.java (getCanonicalName): New method.
407 2007-01-31 Keith Seitz <keiths@redhat.com>
409 * include/jvmti-int.h (JVMTI): Declare member "enabled".
410 * jvmti.cc (JVMTI): Add member "enabled".
411 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
412 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
413 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
414 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
415 instead of run to compile the method.
417 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
420 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
422 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
423 -shared-libgcc to the cxxflaglist for Darwin.
425 2007-01-31 Tom Tromey <tromey@redhat.com>
427 * scripts.am, Makefile.in: Rebuilt.
428 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
430 (emit_ordinary_rule): New proc.
432 2007-01-31 Keith Seitz <keiths@redhat.com>
434 * testsuite/libjava.jvmti/getmethodname.h: New file.
435 * testsuite/libjava.jvmti/getmethodname.jar: New file.
437 2007-01-31 Andrew Haley <aph@redhat.com>
439 * prims.cc (_Jv_Abort): fflush (stderr).
440 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
442 2007-01-31 Tom Tromey <tromey@redhat.com>
444 * configure, Makefile.in: Rebuilt.
445 * configure.ac (JAR): Check for -@ feature.
446 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
448 2007-01-31 Tom Tromey <tromey@redhat.com>
451 * configure, include/config.h.in: Rebuilt.
452 * configure.ac: Check for magic_t in magic.h.
453 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
455 2007-01-30 Tom Tromey <tromey@redhat.com>
457 * Makefile.in: Rebuilt.
458 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
460 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
462 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
463 cast to print it right.
465 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
468 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
471 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
473 * include/java-interp.h: Added _Jv_Frame class and its two
474 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
475 _Jv_FrameType from java-stack.h.
476 * include/java-stack.h: Removed _Jv_FrameType.
477 * java/lang/Thread.java: Added frame member to hold new
478 composite frame stack.
479 * java/lang/Thread.h: Regenerated.
480 * java/lang/Thread.class: Rebuilt.
481 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
482 calling a JNI method.
483 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
484 (_Jv_JVMTI_GetFrameCount): New method.
485 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
487 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
488 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
489 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
490 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
491 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
494 2007-01-29 Tom Tromey <tromey@redhat.com>
496 * interpret.cc (run_debug): Remove comment.
503 (run_normal_debug): Likewise.
504 (run_synch_object_debug): Likewise.
505 (run_class_debug): Likewise.
506 (run_synch_class_debug): Likewise.
511 (NULLARRAYCHECK): Likewise.
512 (ARRAYBOUNDSCHECK): Likewise.
513 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
515 2007-01-29 Tom Tromey <tromey@redhat.com>
517 * configure, Makefile.in: Rebuilt.
518 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
519 * configure.ac (BASH_JAR): Removed conditional.
520 (JAR): Prefer the jar found by AC_CHECK_PROGS.
522 2007-01-29 Tom Tromey <tromey@redhat.com>
524 * Makefile.in: Rebuilt.
525 * Makefile.am (interpret.lo): New target. Add -fwrap to
528 2007-01-29 Keith Seitz <keiths@redhat.com>
530 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
532 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
533 gcj. All jvmti object types now are defined to be their
534 corresponding java classes.
535 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
537 (_Jv_JVMTI_ResumeThread): Likewise.
538 (_Jv_JVMTI_InterruptThread): Likewise.
539 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
540 * gnu/classpath/jdwp/natVMVirtualMachine.cc
541 (jdwpClassPrepareCB): Likewise.
542 (jdwpThreadEndCB): Likewise.
543 (jdwpThreadStartCB): Likewise.
544 (jdwpVMInitCB): Likewise.
546 2007-01-28 Michele Sandri <gpointorama@gmail.com>
548 * gnu/java/nio/channels/natFileChannelWin32.cc
550 (unlock): Implemented.
552 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
555 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
556 libgcj_flags to undefine 'sun' at compile time.
557 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
559 (write_barrier): Likewise.
561 2007-01-27 Keith Seitz <keiths@redhat.com>
563 * gnu/classpath/jdwp/natVMVirtualMachine.cc
564 (getAllClassMethods): Move error handling to ...
565 (throw_jvmti_error): ... here.
566 (jdwpClassPrepareCB): New function.
567 (jdwpThreadEndCB): New function.
568 (jdwpThreadStartCB): New function.
569 (jdwpVMDeathCB): New function.
570 (jdwpVMInitCB): Define and enable callbacks for
571 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
573 2007-01-27 Jakub Jelinek <jakub@redhat.com>
575 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
576 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
577 (MYGCJH): New variable.
578 (compile-tests): New goal.
579 * Makefile.in: Rebuilt.
580 * testsuite/Makefile.in: Rebuilt.
582 2007-01-26 Andrew Haley <aph@redhat.com>
584 * java/lang/natClass.cc (initializeClass): Re-throw
586 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
587 * java/lang/ClassLoader.java: (loadClass): Likewise.
589 2007-01-26 Tom Tromey <tromey@redhat.com>
593 2007-01-25 Tom Tromey <tromey@redhat.com>
596 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
597 input or output encodings. Removed unused local variables.
599 2007-01-25 Keith Seitz <keiths@redhat.com>
601 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
602 * gnu/classpath/jdwp/natVMVirtualMachine.cc
603 (_Jv_GetJDWP_JVMTIEnv): New function.
604 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
605 (getSignature): Implement.
606 (getModifiers): Implement.
608 2007-01-25 Andrew Haley <aph@redhat.com>
610 * configure, Makefile.in, include/config.h.in: Rebuilt.
611 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
612 * configure.ac: Don't check for libmagic.
613 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
614 p_magic_close, p_magic_buffer): New globals.
615 (init): Look up 'magic' functions.
616 (guessContentTypeFromBuffer): Updated.
618 2007-01-25 Keith Seitz <keiths@redhat.com>
620 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
621 (_Jv_JVMTI_Interface): Define GetMethodName.
622 * testsuite/libjava.jvmti/getmethodname.java: New file.
623 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
624 * testsuite/libjava.jvmti/getmethodname.out: New file.
626 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
628 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
629 * libjava/testsuite/libjava.jvmti/interp: New folder.
630 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
632 2007-01-24 Keith Seitz <keiths@redhat.com>
634 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
635 CLASS_PREPARE notification.
637 2007-01-24 Keith Seitz <keiths@redhat.com>
639 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
640 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
641 * interpret-run.cc: Implement insn_breakpoint.
643 2007-01-24 Keith Seitz <keiths@redhat.com>
645 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
646 for VM_INIT and VM_DEATH instead of the JDWP notifications.
648 2007-01-24 Keith Seitz <keiths@redhat.com>
650 * gnu/classpath/jdwp/natVMVirtualMachine.cc
651 (getAllClassMethods): Implement.
653 2007-01-24 Andrew Haley <aph@redhat.com>
655 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
656 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
657 from being sibcalled.
659 2007-01-24 Andrew Haley <aph@redhat.com>
661 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
662 * sources.am: Rebuild.
664 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
666 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
667 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
669 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
672 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
673 * Makefile.in: Regenerated.
675 2007-01-22 Keith Seitz <keiths@redhat.com>
677 * gnu/classpath/jdwp/natVMVirtualMachine.cc
678 (getClassMethod): Implement.
680 2007-01-22 Keith Seitz <keiths@redhat.com>
682 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
683 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
684 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
685 (_Jv_JVMTI_Interface): Define GetClassStatus.
687 2007-01-22 Tom Tromey <tromey@redhat.com>
689 * configure: Rebuilt.
690 * configure.ac (GCJ): Reverted patch of 2006-12-20.
692 2007-01-22 Tom Tromey <tromey@redhat.com>
695 * testsuite/libjava.jni/pr29812.java: New file.
696 * testsuite/libjava.jni/pr29812_injar.java: New file.
697 * testsuite/libjava.jni/pr29812_injar.jar: New file.
698 * testsuite/libjava.jni/pr29812.out: New file.
699 * testsuite/libjava.jni/pr29812_injar.c: New file.
700 * testsuite/libjava.jni/pr29812_injar.h: New file.
701 * testsuite/libjava.jni/pr29812.jar: New file.
702 * testsuite/libjava.jni/pr29812.c: New file.
703 * testsuite/libjava.jni/pr29812.h: New file.
704 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
706 (gcj_jni_invocation_test_one): Use it.
707 (gcj_jni_pr29812): New proc.
708 (gcj_jni_run): Use it.
709 * java/lang/natRuntime.cc (_load): Push a new system frame before
711 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
712 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
713 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
714 <allocated_p>: Now bool.
716 (_Jv_JNI_EnsureLocalCapacity): Updated.
717 (_Jv_JNI_NewLocalRef): Likewise.
718 (_Jv_JNI_NewLocalRef): Likewise.
719 (_Jv_JNI_PopLocalFrame): Likewise.
720 (_Jv_JNI_FindClass): Likewise.
721 (_Jv_GetJNIEnvNewFrame): Likewise.
722 (_Jv_JNI_AttachCurrentThread): Likewise.
723 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
724 (_Jv_GetJNIEnvNewFrame): Use it.
725 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
727 2007-01-22 Tom Tromey <tromey@redhat.com>
729 * libtool-version: Bump current to 9.
731 2007-01-22 Andrew Haley <aph@redhat.com>
733 * sysdep/alpha/locks.h (write_barrier): New.
735 2007-01-21 Matthias Klose <doko@debian.org>
737 * Makefile.am (install-exec-hook): Use transformed name.
738 * Makefile.in: Regenerate.
740 2007-01-19 Keith Seitz <keiths@redhat.com>
742 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
743 in methods and reformat.
745 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
748 2007-01-18 Keith Seitz <keiths@redhat.com>
750 From Macro Trudel <mtrudel@gmx.ch>:
751 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
754 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
756 * jni.cc (_Jv_JNI_FindClass): Initialize class.
757 * testsuite/libjava.jni/findclass2.jar: New file.
758 * testsuite/libjava.jni/findclass2.h: New file.
759 * testsuite/libjava.jni/findclass2.java: New file
760 * testsuite/libjava.jni/findclass2.c: New file.
761 * testsuite/libjava.jni/findclass2.out: New file.
763 2007-01-18 Tom Tromey <tromey@redhat.com>
765 * configure: Rebuilt.
766 * configure.ac: Use multi_basedir instead of libgcj_basedir.
768 2007-01-18 Gary Benson <gbenson@redhat.com>
770 * gnu/java/nio/natVMPipeEcos.cc:
771 Renamed from gnu/java/nio/natPipeImplEcos.cc.
772 * gnu/java/nio/natVMPipePosix.cc:
773 Renamed from gnu/java/nio/natPipeImplPosix.cc.
774 * gnu/java/nio/natVMPipeWin32.cc:
775 Renamed from gnu/java/nio/natPipeImplWin32.cc.
776 * gnu/java/nio/natVMSelectorEcos.cc:
777 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
778 * gnu/java/nio/natVMSelectorPosix.cc:
779 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
780 * gnu/java/nio/natVMSelectorWin32.cc:
781 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
782 * java/io/natVMObjectInputStream.cc:
783 Renamed from java/io/natObjectInputStream.cc.
784 * java/lang/natVMDouble.cc:
785 Renamed from java/lang/natDouble.cc.
786 * java/lang/natVMFloat.cc:
787 Renamed from java/lang/natFloat.cc.
788 * Makefile.am, configure.ac: Reflect the above.
789 * Makefile.in, configure: Rebuilt.
791 2007-01-17 Andrew Haley <aph@redhat.com>
793 * Makefile.in: Rebuilt.
794 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
796 2007-01-17 Keith Seitz <keiths@redhat.com>
798 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
799 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
801 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
803 * configure.ac: Use multi.m4 from aclocal rather than custom
804 code. Use multi_basedir instead libgcj_basedir. Test for
805 /proc/self/exe when not cross-compiling.
806 * aclocal.m4: Regenerate.
807 * configure: Regenerate.
808 * Makefile.in: Regenerate.
810 2007-01-17 Gary Benson <gbenson@redhat.com>
812 * java/nio/natVMDirectByteBufferImpl.cc:
813 Renamed from java/nio/natDirectByteBufferImpl.cc.
814 * Makefile.am: Reflect the above.
815 * Makefile.in: Rebuilt.
817 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
819 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
820 Fixed indentation. Removed unused variable.
822 2007-01-16 Tom Tromey <tromey@redhat.com>
824 * java/lang/natThread.cc (finalize_native): Remove cast.
825 (_Jv_GetCurrentJNIEnv): Likewise.
826 * include/jvm.h (struct natThread) <jni_env>: Declare as
829 2007-01-16 Keith Seitz <keiths@redhat.com>
831 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
832 %#llx instead of %d for new_value.
833 * testsuite/libjava.jvmti/events.out: Update expected output.
834 * testsuite/libjava.jvmti/events.jar: Regenerate.
836 2007-01-16 Keith Seitz <keiths@redhat.com>
838 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
840 (ENABLE_EVENT): New macro.
841 (initialize): Define and enable JVMTI VM_INIT callback.
842 (jdwpVMInitCB): New function.
844 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
846 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
847 * testsuite/libjava.jvmti/getallthreads.java: New test.
848 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
849 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
850 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
851 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
853 2007-01-15 Keith Seitz <keiths@redhat.com>
855 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
856 java.lang.StringBuilder instead of java.lang.StringBuffer.
857 (resumeThread): Likewise.
859 2007-01-15 Gary Benson <gbenson@redhat.com>
861 * java/nio/MappedByteBuffer.java: Removed.
862 * sources.am, Makefile.in: Rebuilt.
864 2007-01-15 Gary Benson <gbenson@redhat.com>
866 * java/net/URLClassLoader.java: Removed.
867 * gnu/java/net/loader/Load_gcjlib.java: New file.
868 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
869 URL handler is present in static executables.
870 * sources.am, Makefile.in: Rebuilt.
872 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
874 * Makefile.am (libgcj_la_LDFLAGS): Add
875 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
876 (libgcj_tools_la_LDFLAGS): Likewise.
877 (libgcj_bc_la_LDFLAGS): Likewise.
878 * Makefile.in: Regenerated.
880 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
881 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
882 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
883 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
884 * configure: Regenerated.
885 * aclocal.m4: Likewise.
886 * gcj/Makefile.in: Likewise.
887 * include/Makefile.in: Likewise.
888 * testsuite/Makefile.in: Likewise.
890 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
892 * sysdep/sh/locks.h (read_barrier): New.
893 (write_barrier): Likewise.
895 2007-01-12 Andrew Haley <aph@redhat.com>
897 * include/i386-signal.h: Rewrite to use rt_sigaction.
899 2007-01-11 Andrew Haley <aph@redhat.com>
901 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
903 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
906 2007-01-10 Tom Tromey <tromey@redhat.com>
908 * gnu/gcj/xlib/*.h: New files.
909 * gnu/awt/xlib/*.h: Likewise.
910 * classpath/lib/gnu/gcj/xlib: New class files.
911 * classpath/lib/gnu/awt/xlib: Likewise.
913 2007-01-10 Tom Tromey <tromey@redhat.com>
915 * HACKING: Various updates.
917 2007-01-10 Tom Tromey <tromey@redhat.com>
919 * java/lang/natDouble.cc (toString): Added parens.
920 * gnu/gcj/io/shs.h (PROTO): Define.
921 * link.cc (resolve_pool_entry): Added missing braces.
923 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
926 * sysdep/ia64/locks.h (read_barrier): New.
927 (write_barrier): New.
929 2007-01-10 Gary Benson <gbenson@redhat.com>
931 * java/net/URL.java: Removed.
932 * sources.am, Makefile.in: Rebuilt.
934 2007-01-10 Matthias Klose <doko@debian.org>
936 * Makefile.am (install-exec-hook): Support $(DESTDIR).
937 * Makefile.in: Regenerated.
939 2007-01-05 Tom Tromey <tromey@redhat.com>
941 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
942 dummy.class in srcdir.
944 2007-01-03 Tom Tromey <tromey@redhat.com>
946 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
949 2007-01-03 Tom Tromey <tromey@redhat.com>
951 * testsuite/*: Added many .jar and .h files.
952 * testsuite/libjava.special/special.exp
953 (gcj_special_try_compiler): New proc.
954 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
955 bytecompile source. Search for .jar files.
956 (gcj_loader_test_one): Don't look for MyLoader.java.
957 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
958 bytecompile sources or build headers.
959 (gcj_jvmti_run): Look for .jar files.
960 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
962 (gcj_jni_test_one): Don't bytecompile sources or build headers.
963 Set classpath when invoking gij.
964 (gcj_jni_invocation_test_one): Likewise.
965 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
966 headers or bytecompile sources.
967 (gcj_cni_run): Use .jar files, not .java files.
968 * testsuite/libjava.lang/lang.exp: Compile .jar files.
970 2007-01-02 Tom Tromey <tromey@redhat.com>
972 * configure: Rebuilt.
973 * configure.ac: Check for gjar.
975 2007-01-02 Tom Tromey <tromey@redhat.com>
977 * testsuite/libjava.jacks/jacks.exp: Removed.
978 * testsuite/libjava.jacks/jacks.xfail: Removed.