1 2007-08-04 Matthias Klose <doko@ubuntu.com>
3 Import GNU Classpath (libgcj-import-20070727).
5 * Regenerate class and header files.
6 * Regenerate auto* files.
9 * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
10 * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
11 * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
12 _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
13 _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
14 _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
16 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
18 * java/lang/VMFloat.java (toString, parseFloat): New.
20 * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
21 isModalExclusionTypeSupported): New (stub only).
22 * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
23 * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
24 updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
25 setAlwaysOnTop): Likewise.
26 * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
28 * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
29 ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
31 * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
33 2007-07-31 David Daney <ddaney@avtrex.com>
35 * HACKING: Document regenerating configure and aclocal.m4.
37 2007-07-31 David Daney <ddaney@avtrex.com>
39 * configure.ac (INTERPRETER): New AM_CONDITIONAL.
40 * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
41 as being for interpreter only. Place interpreter related files in
42 'if INTERPRETER' block.
43 (interpreter_package_files): New list.
44 (interpreter_header_vars): Ditto.
45 (emit_package_rule_to_list): Renamed from emit_package_rule with
46 new target list parameter.
47 (emit_package_rule): Rewritten to call emit_package_rule_to_list.
48 (emit_interpreter_rule): New function.
49 (emit_source_var): Place interpreter related files in
50 interpreter_header_vars.
51 * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
52 (libgcj_interpret_source_files): New variable.
53 (libgcj_la_SOURCES): Move jvmti.cc and interpret.cc to
54 libgcj_interpret_source_files and include
55 libgcj_interpret_source_files.
56 (nat_jdwp_source_files): New variable.
57 (nat_jvmti_source_files): Ditto.
58 (nat_source_files): Move jdwp and jvmti related files to
59 nat_jdwp_source_files and nat_jvmti_source_files and include
60 nat_jdwp_source_files and nat_jvmti_source_files.
61 * Makefile.in: Regenerate.
62 * include/Makefile.in: Ditto.
63 * testsuite/Makefile.in: Ditto.
64 * gcj/Makefile.in: Ditto.
67 * include/config.h.in: Ditto.
68 * interpret.cc: Remove #ifdef INTERPRETER block.
69 * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
71 * include/java-interp.h (_Jv_FrameType): Move outside of
72 #ifdef INTERPRETER block.
73 * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
74 _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
75 #ifdef INTERPRETER block.
76 * jni.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
78 (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
79 if INTERPRETER is defined.
80 * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h): Only
81 include if INTERPRETER is defined.
82 (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
83 jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
84 jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
86 (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
87 (parse_init_args): Only process jvmti related options if
88 INTERPRETER is defined.
89 (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
91 (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
93 * link.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
95 (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
96 Define if if INTERPRETER is not defined.
97 (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
98 INTERPRETER is defined.
99 * boehm.cc (closure_list_pointer, finalize_closure_list,
100 _Jv_ClosureListFinalizer): Only define if INTERPRETER is
102 * java/lang/natThread.cc (jvmti.h, jvmti-int.h): Only include if
103 INTERPRETER is defined.
104 (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
105 INTERPRETER is defined.
106 * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
107 and friend declaration inside #ifdef INTERPRETER block.
108 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
109 _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
110 Only define if INTERPRETER is defined.
111 * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
113 (generateProxyClass): Throw UnsupportedOperationException unless
114 INTERPRETER is defined.
116 2007-07-29 Matthias Klose <doko@ubuntu.com>
118 * HACKING: Document regenerating configure.
120 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
123 * aclocal.m4: Regenerated.
124 * configure: Likewise.
126 2007-07-28 Matthias Klose <doko@ubuntu.com>
128 * configure.ac: Encode the libgcj soversion in dbexecdir,
129 pass --with-native-libdir to classpath configure.
130 * configure: Regenerate.
132 2007-07-28 Matthias Klose <doko@ubuntu.com>
134 * classpath/jvmti.h: Remove.
136 2007-07-27 Tom Tromey <tromey@redhat.com>
138 * Rebuild .class files with new ecj.
140 2007-07-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
142 * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
143 * configure: Regenerate.
145 2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
148 * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
149 new sysdeps/arm directory.
151 2007-07-15 Tom Tromey <tromey@redhat.com>
153 * java/io/File.java: Implement Comparable<File>.
154 (compareTo): Removed.
155 * java/io/File.h: Rebuilt.
156 * classpath/lib/java/io/File.class: Rebuilt.
158 2007-07-14 Tom Tromey <tromey@redhat.com>
160 * Rebuilt .class files.
162 2007-07-15 Andrew Haley <aph@redhat.com>
165 arm*-linux-gnu -> arm*-linux*.
167 2007-07-14 Krister Walfridsson <cato@df.lth.se>
169 * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
170 * configure.ac: Remove check for strerror, add check for strerror_r.
171 * configure: Regenerate.
172 * include/config.h.in: Regenerate.
174 2007-07-13 Andrew Haley <aph@redhat.com>
176 * libgcj.ver: Add __gcj_personality_sj0.
178 * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
179 * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
180 * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
181 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
183 * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
185 * java/lang/reflect/natField.cc (getAddr): Call
186 _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
187 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
188 _Jv_getFieldInternal to get field proxyClass.m.
189 (_Jv_getFieldInternal): New function.
191 2007-07-11 Andrew Haley <aph@redhat.com>
193 * configure.host (arm*-linux-gnu): New.
194 * sysdep/arm/locks.h: New.
196 2007-07-13 Roger Sayle <roger@eyesopen.com>
198 * java/lang/natPosixProcess.cc: Include <sys/time.h> before
199 <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
201 2007-07-12 Matthias Klose <doko@ubuntu.com>
203 * gnu/classpath/jdwp/util/MethodResult.h,
204 gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
206 2007-07-11 Keith Seitz <keiths@redhat.com>
208 * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
210 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
211 for compiled methods.
213 2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
216 * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
219 2007-07-05 Andreas Tobler <a.tobler@schweiz.org>
221 * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
222 on hppa2.0w-hp-hpux11.11.
223 Remove include of <gcj/cni.h>.
225 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
227 * aclocal.m4: Regenerated.
229 2007-07-03 Andreas Tobler <a.tobler@schweiz.org>
231 * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
233 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
236 * configure.host (i[3-6]86-*): Undef sun.
238 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
240 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
243 2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net>
246 * jni_md.h: Add the possibility to compile jni code with.
247 -fvisibility=hidden. This causes all symbols to be hidden
248 except the JNI functions which need to be exported.
250 2007-06-28 Andreas Tobler <a.tobler@schweiz.org>
252 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
253 the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
255 2007-07-21 Keith Seitz <keiths@redhat.com>
257 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
259 2007-07-20 Keith Seitz <keiths@redhat.com>
261 * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
264 2007-07-20 Keith Seitz <keiths@redhat.com>
266 * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
267 Update from reference implementation.
268 * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
269 Update parameter list to match new VMVirtualMachine interface.
270 * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
272 * classpath/lib/gnu/classpath/jdwp/processor/
273 ObjectReferenceCommandSet.class: Regenerate.
274 * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
275 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
276 * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
278 2007-06-18 Keith Seitz <keiths@redhat.com>
280 * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
281 (method): Change from private to protected.
282 (location): Likewise.
283 (Breakpoint): Change argument list to take only integer type.
284 Add default constructor.
285 (initialize_native): Renamed to ...
286 (_save_insn): ... this to make function more explicit.
287 (execute): New method.
288 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
289 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
290 (_save_insn): ... this.
291 (install): Save the original instruction.
292 * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
293 * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
294 * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
295 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
296 Instantiate a NormalBreakpoint instead of Breakpoint.
297 * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
298 and call Breakpoint.execute to do them.
299 * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
300 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
301 * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
302 * sources.am: Regenerate.
303 * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
304 * Makefile.in: Regenerated.
306 2007-06-14 Keith Seitz <keiths@redhat.com>
308 * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
309 for bytecode_pc and direct-threaded pc.
310 Add field descriptions inline.
311 * defineclass.cc (read_one_code_attribute): Change from
312 bytecode_start_pc to bytecode_pc.
313 Remove unused variable "len".
314 * interpret.cc (compile): Remap the variable table, too.
315 (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
316 start location to map from pc_t to code index.
318 2007-06-09 Keith Seitz <keiths@redhat.com>
320 * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
321 Add missing return value.
323 2007-06-03 Matthias Klose <doko@ubuntu.com>
325 * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
326 _access: Handle EXEC query, stub only.
328 2007-06-03 Matthias Klose <doko@ubuntu.com>
330 Merged from classpath:
331 * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
332 * java/lang/System.java(inheritedChannel): New.
333 * java/lang/Character.java: Remove stray`;'.
334 * java/net/MulticastSocket.java: Merged.
335 * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
336 * java/text/Collator.java(getInstance): Merged.
337 * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
338 getDisplayName, getDisplayNames: New.
339 * java/util/logging/Logger.java: Merged.
340 * Regenerate .class and .h files.
342 2007-06-03 Matthias Klose <doko@ubuntu.com>
344 * java/io/File.java: Merge with classpath-0.95, new method
345 setFilePermissions, new attribute EXEC.
346 * java/io/natFilePosix.cc (setFilePermissions): New.
347 _access: Handle EXEC query.
348 * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
350 2007-06-03 Matthias Klose <doko@ubuntu.com>
352 Imported GNU Classpath 0.95.
354 * classpath/Makefile.in,
355 classpath/native/jni/midi-dssi/Makefile.in,
356 classpath/native/jni/classpath/Makefile.in,
357 classpath/native/jni/Makefile.in,
358 classpath/native/jni/gconf-peer/Makefile.in,
359 classpath/native/jni/java-io/Makefile.in,
360 classpath/native/jni/native-lib/Makefile.in,
361 classpath/native/jni/java-util/Makefile.in,
362 classpath/native/jni/midi-alsa/Makefile.in,
363 classpath/native/jni/java-lang/Makefile.in,
364 classpath/native/jni/java-nio/Makefile.in,
365 classpath/native/jni/java-net/Makefile.in,
366 classpath/native/jni/xmlj/Makefile.in,
367 classpath/native/jni/qt-peer/Makefile.in,
368 classpath/native/jni/gtk-peer/Makefile.in,
369 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
370 classpath/native/fdlibm/Makefile.in,
371 classpath/native/plugin/Makefile.in,
372 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
373 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
374 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
375 classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
376 classpath/external/sax/Makefile.in,
377 classpath/external/w3c_dom/Makefile.in,
378 classpath/external/relaxngDatatype/Makefile.in,
379 classpath/include/Makefile.in,
380 classpath/examples/Makefile.in: Regenerate.
381 * classpath/config.guess, classpath/config.sub,
382 classpath/ltmain.sh : Update.
383 * classpath/configure, classpath/depcomp, classpath/missing,
384 classpath/aclocal.m4, classpath/install-sh: Regenerate.
386 * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
387 * sources.am: Regenerate.
388 * Makefile.in: Regenerate.
390 * Update the .class files and generated CNI header files, add new
391 .class and generated CNI header files.
392 * Remove generated files for removed java source files:
393 classpath/gnu/java/net/BASE64.java,
394 classpath/gnu/java/security/util/Base64.java,
395 classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
396 classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
397 classpath/gnu/java/awt/font/autofit/Scaler.java,
398 classpath/gnu/classpath/jdwp/util/Value.java,
399 classpath/gnu/javax/net/ssl/Base64.java.
400 * Remove empty directories.
402 * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
403 * java/lang/Class.java(setAccessible): Merge from classpath.
404 * java/util/Locale.java: Remove.
405 * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
406 gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
407 * gcj/javaprims.h: Update class declarations.
408 * scripts/classes.pl: Update usage.
409 * HACKING: Mention to build all peers.
411 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
413 * configure: Regenerate.
415 2007-05-31 Andrew Haley <aph@redhat.com>
417 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
418 INTERPRETED access modifier.
420 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
423 * configure: Regenerated.
424 * aclocal.m4: Regenerated.
426 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
429 * configure: Regenerated.
431 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
433 * configure.ac: Don't include ../config/confsubdir.m4.
434 * aclocal.m4: Regenerated.
435 * configure: Likewise.
437 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
440 * configure.ac: Include confsubdir.m4.
441 * configure: Regenerate.
443 2007-05-24 Keith Seitz <keiths@redhat.com>
445 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
446 one when pc_ptr is non-NULL.
448 * prims.cc (parse_init_args): Enable JVMTI with agentlib
449 and agentpath options.
451 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
453 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
454 Pass '-agentlib:dummyagent' when executing gij.
455 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
456 and remove it when finished.
457 * testsuite/libjava.jvmti/dummyagent.c: New file.
459 2007-05-23 Steve Ellcey <sje@cup.hp.com>
461 * Makefile.in: Regenerate.
462 * configure: Regenerate.
463 * aclocal.m4: Regenerate.
464 * gcj/Makefile.in: Regenerate.
465 * include/Makefile.in: Regenerate.
466 * testsuite/Makefile.in: Regenerate.
468 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
470 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
471 (executeMethods): Remove cast to ClassReferenceTypeId.
472 * classpath/lib/gnu/classpath/jdwp/processor/
473 ReferenceTypeCommandSet.class: Rebuilt.
475 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
477 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
478 classes and mark methods as native appropriately.
480 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
482 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
484 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
485 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
486 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
489 2007-05-16 David Daney <ddaney@avtrex.com>
491 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
492 (_Jv_StackFrame): Remove commented out code.
493 (_Jv_UnwindState): Remove superfluous 'typedef'.
494 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
496 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
497 (getCollectionUsage): Don't declare unused parameter n.
498 (getMemoryManagerNames): Same.
499 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
502 2007-05-16 Keith Seitz <keiths@redhat.com>
504 * include/java-interp.h (breakpoint_at): Declare.
505 * interpret.cc (breakpoint_at): New function.
506 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
508 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
509 Initialize _event_list.
510 (handle_single_step): If there is a breakpoint at the
511 location at which we are stopping, do not send the notification.
512 Instead add the event to a list of events that occur at this
514 (jdwpBreakpointCB): If the event list is not empty, send
515 whatever events are in it and the breakpoint event in a single
517 Mark parameter jni_env as MAYBE_UNUSED.
518 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
520 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
522 2007-05-15 David Daney <ddaney@avtrex.com>
524 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
525 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
527 2007-05-15 Keith Seitz <keiths@redhat.com>
529 * interpret.cc (STOREA): Rewrite using temporary variable to
530 avoid double-macro expansion side-effects.
533 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
534 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
535 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
536 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
539 2007-05-12 David Daney <ddaney@avtrex.com>
542 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
543 (_Jv_UnBlockSigchld): Same.
544 * posix-threads.cc: Include posix-threads.h.
545 (block_sigchld) Rename to...
546 (_Jv_BlockSigchld) ... this.
547 (_Jv_UnBlockSigchld): New function.
548 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
549 (_Jv_ThreadStart): Same.
550 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
551 * java/lang/PosixProcess.java: Clean up imports.
552 (ProcessManager): Make final.
553 (ProcessManager.queue): Genericise and make private.
554 (ProcessManager.pidToProcess): Remove.
555 (ProcessManager.liveProcesses): New field.
556 (ProcessManager.reaperPID): Remove.
557 (ProcessManager.nativeData): New field.
558 (ProcessManager.removeProcessFromMap): Remove.
559 (ProcessManager.addProcessToMap):Remove.
560 (ProcessManager.addToLiveProcesses): New method.
561 (ProcessManager.run): Rewritten.
562 (ProcessManager.reap): Change method signature,
563 (getErrorStream): Correct formatting.
564 (getInputStream): Same.
565 (spawn): Add process to liveProcesses list.
566 (pid): Make package private.
567 * java/lang/PosixProcess.h: Regenerate.
568 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
569 Add useing namespace java::lang.
570 (ProcessManagerInternal): New struct.
571 (sigchld_handler): Rewritten.
573 (waitForSignal): Same.
575 (signalReaper): Same.
576 (nativeDestroy): Call kill as ::kill.
577 (nativeSpawn): Correct formatting.
578 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
579 * classpath/lib/java/lang/PosixProcess.class: Same.
580 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
582 2007-05-07 Ian Lance Taylor <iant@google.com>
585 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
588 2007-05-07 Keith Seitz <keiths@redhat.com>
590 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
591 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
592 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
594 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
596 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
597 * gnu/classpath/jdwp/event/Event.h: Regenerate.
598 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
600 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
602 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
605 2007-05-03 Keith Seitz <keiths@redhat.com>
607 * interpret.cc: Don't include ExceptionEvent.h.
608 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
609 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
610 * Makefile.in: Regenerated.
612 2007-05-03 Keith Seitz <keiths@redhat.com>
614 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
616 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
617 (find_catch_location): New function.
618 (REPORT_EXCEPTION): New macro.
619 (throw_internal_error): Use REPORT_EXCEPTION.
620 (throw_incompatible_class_change_error): Likewise.
621 (throw_null_pointer_exception): Likewise.
622 (throw_class_format_error): Likewise.
623 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
625 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
626 (insn_new): Use INTERP_REPORT_EXCEPTION.
627 (insn_athrow): Likewise.
628 Remove previous JVMTI exception notifications.
629 Add JVMTI ExceptionCatch notificatin.
630 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
632 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
633 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
634 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
635 * gnu/classpath/jdwp/natVMVirtualMachine.cc
636 (jdwpExceptionCB): New function.
637 (jdwpVMInitCB): Set Exception event handler and enable.
638 * sources.am: Regenerated.
639 * Makefile.in: Regenerated.
641 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
643 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
644 * Makefile.in: Regenerate.
645 * scripts/makemake.tcl (scan_directory): Treat default.css as a
647 * classpath/javax/swing/text/html/default.css: Move to...
648 * classpath/resource/javax/swing/text/html/default.css: New file.
649 * classpath/javax/swing/text/html/HTMLEditorKit.java
650 (getStyleSheet): Throw RuntimeException when style loading fails.
651 * sources.am (property_files): Add
652 classpath/resource/javax/swing/text/html/default.css.
654 2007-05-02 Tom Tromey <tromey@redhat.com>
656 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
657 * java/lang/natCharacter.cc (Character::getType): Handle negative
659 (Character::toLowerCase): Likewise.
660 (Character::toUpperCase): Likewise.
661 (Character::digit): Likewise.
662 (Character::getNumericValue): Likewise.
663 (Character::getDirectionality): Likewise.
664 (Character::toTitleCase): Likewise.
666 2007-04-30 Keith Seitz <keiths@redhat.com>
668 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
669 executing the instruction.
670 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
671 one insn from the frame's PC. _Jv_InterpMethod::run et al
672 will advance the PC before executing the instruction.
674 2007-04-27 Keith Seitz <keiths@redhat.com>
676 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
677 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
679 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
681 2007-04-27 Keith Seitz <keiths@redhat.com>
683 * classpath/lib/gnu/classpath/jdwp/event/filters/
684 LocationOnlyFilter.class: Regenerated;
685 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
687 * gnu/classpath/jdwp/VMMethod.java
688 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
690 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
691 * gnu/classpath/jdwp/util/Location.h: Regenerated.
693 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
695 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
696 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
698 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
700 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
702 (get): Deal with ObjectId of 0.
704 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
707 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
709 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
711 * gnu/classpath/jdwp/natVMVirtualMachine.java
712 (getThreadStatus): Implement.
714 2007-04-24 Keith Seitz <keiths@redhat.com>
716 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
717 Add _Jv_RewriteBreakpointInsn friend declaration.
718 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
719 [DIRECT_THREADED]: New function.
720 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
721 * interpret-run.cc: Define new REWRITE_INSN macro.
722 Changed all occurrences of insn rewriting to call REWRITE_INSN.
724 2007-04-23 Keith Seitz <keiths@redhat.com>
726 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
727 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
728 * boehm.cc (_Jv_IsThreadSuspended): New function.
729 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
730 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
731 (_Jv_JVMTI_Interface): Define GetThreadState.
733 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
735 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
737 (<init>): Add a pointer to the interpreter PC as a parameter with
739 (get_pc): New method.
740 * interpret-run.cc: If debugging, pass a pointer to the PC when
741 creating the stack frame.
742 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
745 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
747 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
748 for null source file and throw an exception indicating this.
750 2007-04-20 Keith Seitz <keiths@redhat.com>
752 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
753 Install the new breakpoint into the bytecode.
754 (deleteBreakpoint): Remove the breakpoint from the bytecode.
755 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
757 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
758 Don't install the breakpoint here.
760 2007-04-19 Keith Seitz <keiths@redhat.com>
762 * interpret-run.cc [insn_breakpoint]: Save the original
763 insn for the breakpoint before posting the JVMTI notification.
765 2007-04-19 Tom Tromey <tromey@redhat.com>
767 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
769 2007-04-18 Tom Tromey <tromey@redhat.com>
771 * Regenerated headers with new gjavah.
773 2007-04-18 Andrew Haley <aph@redhat.com>
775 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
777 (generateProxyClass): Add field $Proxy0.m. Store methods array in
779 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
780 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
781 * java/lang/natClass.cc: Likewise.
782 * headers.txt: Likewise.
783 * java/lang/reflect/Method.h: Likewise.
785 2007-04-16 Andrew Haley <aph@redhat.com>
787 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
789 (bootGetResource): Use getBootURLLoader() to load resources.
790 (bootGetResources): Likewise.
792 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
793 check that the method's declaring class is accessible.
795 2007-04-10 Keith Seitz <keiths@redhat.com>
797 * sources.am: Regenerate.
798 * Makefile.in: Likewise.
800 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
802 * interpret-run.cc: If debugging, check if args is NULL before
803 getting the "this" pointer.
805 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
807 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
808 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
809 * gnu/classpath/jdwp/ArrayValue.h: New file.
810 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
813 2007-04-09 David Daney <ddaney@avtrex.com>
816 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
817 environment before the fork.
818 * testsuite/libjava.lang/Process_7.java: New test.
819 * testsuite/libjava.lang/Process_7.out: Its expected results.
820 * testsuite/libjava.lang/Process_7.jar: Generated file.
822 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
824 * prims.cc (load_jvmti_agent): Add the missing `,'.
826 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
828 * gij.cc (main): Accept -agentlib and -agentpath options.
829 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
830 (load_jvmti_agent): New function.
832 2007-04-04 Tania Bento <tbento@redhat.com>
834 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
835 Copyright information and introduced new variable, currency.
836 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
837 to "XXX", currencySymbol to "?" and localCurrency appropriately.
838 (getCurrency): Fixed documentation and return the value of currency.
839 (setCurrency): Fixed documentation and update the value of currency.
840 (setInternationalCurrencySymbol): Fixed documentation and update the
842 * java/util/Currency.java: Introduced two new variables, properties
843 and fractionDigits. In the static block, a properties object is
844 created and the currency resource is loaded.
845 (Currency(Locale)): fractionDigits is defined.
846 (Currency(String)): New method.
847 (getDefaultFractionDigits): Return the value of fractionDigits.
848 (getInstance(String)): Check if String is equal to "XXX".
850 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
852 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
853 to ints for argCnt and slots.
854 (write): Replace writeLong with writeInt for the above.
856 2007-04-03 Andrew Haley <aph@redhat.com>
858 * testsuite/libjava.lang/ProxyTest.java: New test.
860 2007-04-02 Tom Tromey <tromey@redhat.com>
862 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
863 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
864 file, when writing, if it is too short.
866 2007-04-02 Tom Tromey <tromey@redhat.com>
868 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
869 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
871 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
872 where localport is -1.
873 (create): Now public.
874 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
875 'create' on the socket.
877 2007-04-02 Andrew Haley <aph@redhat.com>
879 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
880 _Jv_LookupProxyMethod to find the Method.
881 If parameter_types->length == 0, pass a null paramameter list,
882 not a zero-length parameter list.
883 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
884 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
886 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
888 * interpret-run.cc: Add code to properly set up variable slots
890 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
891 (getObjectJVMTI): New function.
892 (setObjectJVMTI): New function.
893 (getIntJVMTI): New function.
894 (setIntJVMTI): New function.
895 (getLongJVMTI): New function.
896 (setLongJVMTI): New function.
897 (getFloatJVMTI): New function.
898 (setFloatJVMTI): New function.
899 (getDoubleJVMTI): New function.
900 (setDoubleJVMTI): New function.
901 (getFrameDepth): New function.
902 (getValue): Implement.
903 (setValue): Implement.
905 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
907 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
908 (executeResume): Call VMVirtualMachine.resumeThread.
910 2007-03-29 Tom Tromey <tromey@redhat.com>
913 * java/util/logging/LogManager.java (readConfiguration): Handle
914 comma-separated 'handlers'. Don't try to add a non-existing
917 2007-03-27 Tom Tromey <tromey@redhat.com>
919 * sources.am, Makefile.in: Rebuilt.
920 * scripts/mime.types: Removed.
921 * scripts/MakeDefaultMimeTypes.java: Removed.
922 * gnu/gcj/io/MimeTypes.java: Removed.
923 * gnu/gcj/io/MimeTypes.h: Removed.
924 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
925 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
927 2007-03-27 Keith Seitz <keiths@redhat.com>
929 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
931 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
932 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
933 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
934 (initialize): Fix compiler type-punning warning.
935 (getAllLoadedClasses): Return empty list instead of NULL.
936 (getLoadRequests): Likewise.
937 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
938 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
939 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
940 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
941 * gnu/classpath/jdwp/value/CharValue.h: New file.
942 * gnu/classpath/jdwp/value/LongValue.h: New file.
943 * gnu/classpath/jdwp/value/ShortValue.h: New file.
944 * gnu/classpath/jdwp/value/Value.h: New file.
945 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
946 * gnu/classpath/jdwp/value/VoidValue.h: New file.
947 * gnu/classpath/jdwp/value/ByteValue.h: New file.
948 * gnu/classpath/jdwp/value/FloatValue.h: New file.
949 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
950 * gnu/classpath/jdwp/value/StringValue.h: New file.
951 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
952 * gnu/classpath/jdwp/value/IntValue.h: New file.
953 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
954 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
955 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
956 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
957 * gnu/classpath/jdwp/util/NullObject.h: New file.
958 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
959 * Makefile.in: Rebuilt.
960 * sources.am: Rebuilt.
962 2006-03-26 David Daney <ddaney@avtrex.com>
964 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
965 fork, execvp, execinfo.h, pthread_mutexattr_settype,
966 pthread_mutexattr_setkind_np and sys/wait.h.
967 * Makefile.in: Regenerate.
968 * include/Makefile.in: Regenerate.
969 * include/config.h.in: Regenerate.
970 * testsuite/Makefile.in: Regenerate.
971 * configure: Regenerate.
972 * gcj/Makefile.in: Regenerate.
974 2007-03-23 Gary Benson <gbenson@redhat.com>
976 * link.cc (_Jv_Linker::resolve_method_entry):
977 Ensure that the argument types and the return type of the
978 found method match those expected by the calling method.
980 2007-03-22 David Daney <ddaney@avtrex.com>
983 * configure.ac: Add checks for getrlimit and sys/resource.h.
984 * include/posix.h (_Jv_platform_close_on_exec): Remove.
985 * include/config.h.in: Regenerate.
986 * configure: Regenerate.
987 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
988 _Jv_platform_close_on_exec;
989 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
991 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
992 * java/lang/natPosixProcess.cc: Include sys/resource.h.
993 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
996 2007-03-20 Andrew Haley <aph@redhat.com>
998 * testsuite/libjava.lang/PR31264.java: New test.
1000 2007-03-14 Jakub Jelinek <jakub@redhat.com>
1002 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
1003 * Makefile.in: Rebuilt.
1005 2007-03-13 Keith Seitz <keiths@redhat.com>
1007 * include/java-interp.h (_Jv_InterpClass): Declare
1008 friend function _Jv_GetInterpClassSourceFile.
1009 * java/lang/Class.h (Class): Likewise.
1010 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
1012 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1013 (getSourceFile): Implement.
1015 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1017 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
1018 * classpath/configure.ac: Add --with-ecj-jar configure option.
1019 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
1021 * classpath/INSTALL: Document --with-ecj-jar configure option and
1022 ecj jar requirement for com.sun.tools.javac support.
1023 * classpath/tools/Makefile.am: Build decendents of com and sun
1025 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
1026 * gnu/classpath/Configuration.java,
1027 gnu/classpath/natConfiguration.cc (ecj): New method.
1028 (ECJ_JAR): New field.
1029 * scripts/makemake.tcl (scan_packages): Add com directory.
1030 * sources.am (property_files): Add
1031 classpath/resource/sun/rmi/rmic/messages.properties and
1032 classpath/resource/com/sun/tools/javac/messages.properties.
1033 * classpath/resource/com, classpath/resource/com/sun,
1034 classpath/resource/com/sun/tools,
1035 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
1036 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
1037 classpath/tools/classes/com, classpath/tools/classes/com/sun,
1038 classpath/tools/classes/com/sun/javadoc,
1039 classpath/tools/classes/com/sun/tools,
1040 classpath/tools/classes/com/sun/tools/doclets,
1041 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
1042 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
1043 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
1044 classpath/tools/com/sun/tools,
1045 classpath/tools/com/sun/tools/doclets,
1046 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
1047 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
1049 * classpath/resource/com/sun/tools/javac/messages.properties,
1050 classpath/resource/sun/rmi/rmic/messages.properties,
1051 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
1052 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
1053 classpath/tools/classes/com/sun/javadoc/Doc.class,
1054 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
1055 classpath/tools/classes/com/sun/javadoc/Doclet.class,
1056 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
1057 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
1058 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
1059 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
1060 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
1061 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
1062 classpath/tools/classes/com/sun/javadoc/Parameter.class,
1063 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
1064 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
1065 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
1066 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
1067 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
1068 classpath/tools/classes/com/sun/javadoc/Tag.class,
1069 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
1070 classpath/tools/classes/com/sun/javadoc/Type.class,
1071 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
1072 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
1073 classpath/tools/classes/sun/rmi/rmic/Main.class,
1074 classpath/tools/classes/sun/rmi/rmic/Messages.class,
1075 classpath/tools/com/sun/javadoc/ClassDoc.java,
1076 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
1077 classpath/tools/com/sun/javadoc/Doc.java,
1078 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
1079 classpath/tools/com/sun/javadoc/Doclet.java,
1080 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
1081 classpath/tools/com/sun/javadoc/FieldDoc.java,
1082 classpath/tools/com/sun/javadoc/MemberDoc.java,
1083 classpath/tools/com/sun/javadoc/MethodDoc.java,
1084 classpath/tools/com/sun/javadoc/PackageDoc.java,
1085 classpath/tools/com/sun/javadoc/ParamTag.java,
1086 classpath/tools/com/sun/javadoc/Parameter.java,
1087 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
1088 classpath/tools/com/sun/javadoc/RootDoc.java,
1089 classpath/tools/com/sun/javadoc/SeeTag.java,
1090 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
1091 classpath/tools/com/sun/javadoc/SourcePosition.java,
1092 classpath/tools/com/sun/javadoc/Tag.java,
1093 classpath/tools/com/sun/javadoc/ThrowsTag.java,
1094 classpath/tools/com/sun/javadoc/Type.java,
1095 classpath/tools/com/sun/javadoc/TypeVariable.java,
1096 classpath/tools/com/sun/tools/doclets/Taglet.java,
1097 classpath/tools/com/sun/tools/javac/Main.java,
1098 classpath/tools/com/sun/tools/javac/Messages.java,
1099 classpath/tools/sun/rmi/rmic/Main.java,
1100 classpath/tools/sun/rmi/rmic/Messages.java: New files.
1101 * Makefile.in, classpath/Makefile.in, classpath/configure,
1102 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
1103 classpath/examples/Makefile.in, classpath/external/Makefile.in,
1104 classpath/external/jsr166/Makefile.in,
1105 classpath/external/relaxngDatatype/Makefile.in,
1106 classpath/external/sax/Makefile.in,
1107 classpath/external/w3c_dom/Makefile.in,
1108 classpath/include/Makefile.in, classpath/include/config.h.in,
1109 classpath/lib/Makefile.in,
1110 classpath/lib/gnu/classpath/Configuration.class,
1111 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
1112 classpath/native/jawt/Makefile.in,
1113 classpath/native/jni/Makefile.in,
1114 classpath/native/jni/classpath/Makefile.in,
1115 classpath/native/jni/gconf-peer/Makefile.in,
1116 classpath/native/jni/gtk-peer/Makefile.in,
1117 classpath/native/jni/java-io/Makefile.in,
1118 classpath/native/jni/java-lang/Makefile.in,
1119 classpath/native/jni/java-net/Makefile.in,
1120 classpath/native/jni/java-nio/Makefile.in,
1121 classpath/native/jni/java-util/Makefile.in,
1122 classpath/native/jni/midi-alsa/Makefile.in,
1123 classpath/native/jni/midi-dssi/Makefile.in,
1124 classpath/native/jni/native-lib/Makefile.in,
1125 classpath/native/jni/qt-peer/Makefile.in,
1126 classpath/native/jni/xmlj/Makefile.in,
1127 classpath/native/plugin/Makefile.in,
1128 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1129 classpath/tools/Makefile.in, configure,
1130 gnu/classpath/Configuration.h: Regenerate.
1132 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
1134 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
1137 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
1139 * java/lang/natString.cc (getBytes (jstring enc)):
1140 Fixed the loop for multiple cycles, Code cleanup
1142 2007-03-09 Tom Tromey <tromey@redhat.com>
1144 * sources.am, Makefile.in: Rebuilt.
1145 * scripts/makemake.tcl (scan_directory): Allow service files to be
1147 Omit all XML-related service files.
1149 2007-03-07 Tom Tromey <tromey@redhat.com>
1151 * configure: Rebuilt.
1152 * configure.ac: Clear vm-tools-packages.
1154 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
1156 * java/lang/Win32Process.java: Added nested class EOFInputStream.
1157 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
1158 enum and implementation.
1159 (startProcess): Use redirect flag.
1160 * classpath/lib/java/lang/Win32Process.class: Regenerated.
1161 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
1162 * gcj/javaprims.h: Regenerated.
1163 * java/lang/Win32Process$EOFInputStream.h: New.
1165 2007-03-07 Andrew Haley <aph@redhat.com>
1167 * libgcj_bc.c (JvRunMainName): Declare.
1169 2007-03-07 Gary Benson <gbenson@redhat.com>
1171 * sources.am, Makefile.in: Rebuilt.
1173 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
1175 * gcj/javaprims.h: Regenerated.
1177 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
1179 * include/jvm.h (_Jv_ClosureListFinalizer): New.
1180 (_Jv_Linker::create_error_method): Adjust.
1181 * boehm.cc (_Jv_ClosureListFinalizer): New.
1182 * nogc.cc (_Jv_ClosureListFinalizer): New.
1183 * java/lang/Class.h (class _Jv_ClosureList): New.
1184 (class java::lang::Class): Declare it as friend.
1185 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
1186 (_Jv_ClosureList::registerClousure): New.
1187 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
1188 (_Jv_CompiledEngine::do_get_closure_list): New.
1189 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
1190 (_Jv_IndirectCompiledClass): Add closures.
1191 (_Jv_IndirectCompiledEngine::get_aux_info): New.
1192 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
1194 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
1195 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
1196 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
1197 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
1198 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
1199 (node_closure): Add closure list.
1200 (_Jv_InterpMethod::ncode): Add jclass argument. Use
1201 ffi_closure_alloc and the separate code pointer. Register the
1202 closure for finalization.
1203 (_Jv_JNIMethod::ncode): Likewise.
1204 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
1205 (_Jv_InterpreterEngine::do_get_closure_list): New.
1206 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
1207 (_Jv_InterpClass): Add closures field.
1208 (_Jv_JNIMethod::ncode): Adjust.
1209 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
1210 (_Jv_ClassReader::handleMethodsEnd): Likewise.
1211 * link.cc (struct method_closure): Add closure list.
1212 (_Jv_Linker::create_error_method): Add jclass argument. Use
1213 ffi_closure_alloc and the separate code pointer. Register the
1214 closure for finalization.
1215 (_Jv_Linker::link_symbol_table): Remove outdated comment about
1216 sharing of otable and atable. Adjust.
1217 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
1219 (ncode): Add jclass argument. Use ffi_closure_alloc and the
1220 separate code pointer. Register the closure for finalization.
1221 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
1222 * testsuite/libjava.jar/TestClosureGC.java: New.
1223 * testsuite/libjava.jar/TestClosureGC.out: New.
1224 * testsuite/libjava.jar/TestClosureGC.xfail: New.
1225 * testsuite/libjava.jar/TestClosureGC.jar: New.
1227 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1229 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1230 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1231 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1232 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1233 (VMMethod::getLineTable): Use new macro.
1234 (VMMethod::getVariableTable): Implement.
1235 * sources.am: Regenerated.
1236 * Makefile.in: Ditto.
1238 2007-03-06 Tom Tromey <tromey@redhat.com>
1240 * Makefile.in: Rebuilt.
1241 * Makefile.am (bin_PROGRAMS): Added gcjh.
1242 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1243 gcjh_DEPENDENCIES): New variables.
1245 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1247 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1248 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1249 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1251 2007-03-05 Matthias Klose <doko@debian.org>
1253 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1254 * Makefile.in: Regnerate.
1256 2007-03-05 Mark Wielaard <mark@klomp.org>
1258 * java/lang/Character.java: Re-merged with Classpath.
1259 * java/lang/natString.cc (nativeCompareTo): Renamed from
1261 * java/lang/StringBuilder.java: Re-merged with Classpath.
1262 * java/lang/String.java: Re-merged with Classpath.
1263 (nativeCompareTo): Renamed from compareTo.
1264 * java/lang/StringBuffer.java: Re-merged with Classpath.
1265 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1267 2007-03-05 Andrew Haley <aph@redhat.com>
1269 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1270 (generateProxyClass): Don't pass method to ncode.
1271 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1272 * java/lang/reflect/Method.h: Rebuild.
1273 * java/lang/reflect/Method.java (internalGetParameterTypes,
1274 internalGetExceptionTypes): New methods.
1275 * headers.txt (class java/lang/reflect/Method): Declare
1276 _Jv_GetReflectedMethod. Be its friend.
1277 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1278 * java/lang/Class.h: Declare it. Be its friend.
1280 2007-03-05 Tom Tromey <tromey@redhat.com>
1282 * sources.am, Makefile.in: Rebuilt.
1283 * scripts/makemake.tcl (emit_package_rule): Don't omit
1285 * Makefile.am (nat_source_files): Added natVMProcess.cc.
1286 (inner_nat_headers): Added ImmediateEOFInputStream.h.
1287 * gcj/javaprims.h: Regenerated.
1288 * java/lang/System.java (EnvironmentMap): Now package-private.
1289 (EnvironmentMap(Map)): New constructor.
1290 (EnvironmentMap.put): New method.
1291 * java/lang/natWin32Process.cc (startProcess): Update.
1292 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1294 (startProcess): Likewise.
1295 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1297 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1298 * java/lang/PosixProcess.java (redirect): New field.
1299 (PosixProcess): Added 'redirect' argument.
1300 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1301 argument to Process creation.
1302 * java/lang/natVMProcess.cc: New file.
1303 * java/lang/ProcessBuilder.java: Removed.
1304 * java/lang/VMProcess.java: New file.
1306 2007-03-03 Andrew Haley <aph@redhat.com>
1308 * java/lang/natClass.cc (parseAnnotationElement): Correct long
1309 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1311 2007-03-02 Andrew Haley <aph@redhat.com>
1313 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1314 Generify in a few places.
1315 (equals): Rewrite to use invoke on local proxy.
1316 (deepToString): Remove most of it.
1317 (toString): Make nonstatic.
1318 (arrayClone): Delete.
1319 (coerce): New method.
1320 (invoke): Rewrite to handle gcj's structures correctly.
1321 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1323 * sources.am: Regenerate.
1324 * Makefile.am: Likewise.
1326 2007-03-02 Andrew Haley <aph@redhat.com>
1328 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1329 Whitespace only changes.
1331 2007-03-02 Andrew Haley <aph@redhat.com>
1333 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1334 from Classpath to libgcj local.
1336 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1338 * Makefile.am: Add dummy install-pdf target.
1339 * Makefile.in: Regenerate
1340 * include/Makefile.in: Regenerate
1341 * testsuite/Makefile.in: Regenerate
1342 * gcj/Makefile.in: Regenerate
1344 2007-02-23 Gary Benson <gbenson@redhat.com>
1346 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1348 2007-02-23 Gary Benson <gbenson@redhat.com>
1350 * java/lang/VMCompiler.java
1351 (compileClass): Don't lose zeros from within the digest.
1353 2007-02-22 Jakub Jelinek <jakub@redhat.com>
1357 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1358 /etc/localtime, use ZoneInfo.readTZFile instead of
1359 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
1360 either if it is a symlink or through /etc/sysconfig/clock.
1361 (readSysconfigClockFile): New static method.
1362 (readtzFile): Removed.
1363 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1364 * posix.cc (_Jv_platform_initProperties): Set
1365 gnu.java.util.zoneinfo.dir.
1366 * sources.am (gnu_java_util_source_files): Add
1367 classpath/gnu/java/util/ZoneInfo.java.
1368 * Makefile.in: Regenerated.
1369 * java/util/VMTimeZone.h: Regenerated.
1370 * java/util/TimeZone.h: Regenerated.
1371 * gnu/java/util/ZoneInfo.h: Generated.
1373 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
1375 * include/win32-threads.h: Added #undef OUT.
1377 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
1379 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1380 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1381 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1382 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1383 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1384 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1386 2007-02-21 Gary Benson <gbenson@redhat.com>
1388 * java/util/GregorianCalendar.java: Removed.
1389 * sources.am, Makefile.in: Rebuilt.
1391 2007-02-20 Keith Seitz <keiths@redhat.com>
1393 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1394 (jdwpClassPrepareCB): Move class status stuff to ...
1395 (getClassStatus): ... here.
1397 2007-02-20 Gary Benson <gbenson@redhat.com>
1399 * gnu/awt/xlib/XEventLoop.h: Regenerated.
1400 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1401 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1403 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1404 * java/lang/SecurityManager.h: Likewise.
1405 * java/lang/Thread.h: Likewise.
1406 * java/security/VMSecureRandom$Spinner.h: Likewise.
1407 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1408 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1409 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1410 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1411 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1412 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1413 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1414 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1415 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1416 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1417 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1418 * java/util/concurrent/Exchanger.h: Likewise.
1419 * java/util/concurrent/Exchanger$Node.h: Likewise.
1420 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1421 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1422 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1424 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1426 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1427 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1429 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1430 * java/util/concurrent/SynchronousQueue.h: Likewise.
1431 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1432 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1434 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1435 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1437 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1438 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1439 * java/util/logging/ErrorManager.h: Likewise.
1440 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1441 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1443 2007-02-16 Keith Seitz <keiths@redhat.com>
1445 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1446 (get_line_table): New function.
1447 (handle_single_step): New function.
1448 (jdwpSingleStepCB): New function.
1449 (jdwpVMInitCB): Define a JVMTI single step
1450 callback, but don't enable it until needed.
1452 2007-02-16 David Daney <ddaney@avtrex.com>
1454 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1455 new parameter constructor.
1456 (Thread(ThreadGroup, Runnable, String, long)): Same.
1457 (Thread(String, boolean)): New constructor.
1458 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1459 noInheritableThreadLocal, don't call
1460 InheritableThreadLocal.newChildThread if set.
1461 * java/lang/PosixProcess.java(ProcessManager()): Set
1462 noInheritableThreadLocal in super.
1463 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1464 parameter to Thread constructor.
1465 (_Jv_AttachCurrentThreadAsDaemon): Same.
1466 * java/lang/Thread.h: Regenerate.
1467 * classpath/lib/java/lang/Thread.class: Same.
1468 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1469 * classpath/lib/java/lang/PosixProcess.class: Same.
1470 * classpath/lib/java/lang/Thread$State.class: Same.
1471 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1473 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1475 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1476 variables to maintain type info.
1477 * interpret-run.cc: Add local variable info to frame in the debug
1479 * jvmti.cc (getLocalFrame): New method.
1480 (_Jv_JVMTI_GetLocalObject): New method.
1481 (_Jv_JVMTI_GetLocallInt): New method.
1482 (_Jv_JVMTI_GetLocalFloat): New method.
1483 (_Jv_JVMTI_GetLocalLong): New method.
1484 (_Jv_JVMTI_GetLocalDouble): New method.
1485 (_Jv_JVMTI_SetLocalObject): New method.
1486 (_Jv_JVMTI_SetLocalInt): New method.
1487 (_Jv_JVMTI_SetLocalFloat): New method.
1488 (_Jv_JVMTI_SetLocalLong): New method.
1489 (_Jv_JVMTI_SetLocalDouble): New method.
1491 2007-02-16 Gary Benson <gbenson@redhat.com>
1493 * gnu/gcj/tools/gcj_dbtool/Main.java
1494 (bytesToString): Don't lose zeros from within the digest.
1496 2007-02-15 Andrew Haley <aph@redhat.com>
1498 * Makefile.am (nat_source_files): Remove
1499 java/lang/management/natVMManagementFactory.cc.
1500 * java/lang/Thread.java (getStackTrace): Use reflection to call
1501 the ManagementFactory.
1502 * java/lang/management/VMManagementFactory.java: Remove native
1504 * java/lang/management/natVMManagementFactory.cc: Deleted.
1505 * sources.am: Regnerate.
1506 * scripts/makemake.tcl: Add new "bcheaders" type.
1507 Move java/lang/management and gnu/classpath/management to "bc".
1508 Move gnu/java/lang/management to "bcheaders".
1510 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1512 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1513 * interpret-run.cc: Change the catch section to report exception
1514 events and to use the new check_handler method.
1515 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1516 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1517 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1518 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1519 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1521 * sources.am: Added ExceptionEvent.java.
1522 * Makefile.am: Added natExceptionEvent.cc
1523 * Makefile.in: Regenerated.
1524 * include/Makefile.in: Regenerated.
1525 * gcj/Makefile.in: Regenerated.
1527 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1528 David Daney <ddaney@avtrex.com>
1530 * configure.ac: Create vm-tools-packages file. Add
1531 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1532 Check for /proc/self/maps.
1533 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1534 (gc_analyze_SOURCES): New.
1535 (gc_analyze_LDFLAGS): New.
1536 (gc_analyze_LINK): New.
1537 (gc_analyze_LDADD): New.
1538 (gc_analyze_DEPENDENCIES): New.
1539 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1540 * Makefile.in: Regenerated.
1541 * configure: Regenerated.
1542 * include/config.h.in: Regenerated.
1543 * sources.am: Regenerated.
1544 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1545 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1546 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1547 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1548 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1549 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1550 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1551 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1552 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1553 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1554 * gnu/gcj/util/GCInfo.java: New.
1555 * gnu/gcj/util/GCInfo.h: New.
1556 * gnu/gcj/util/natGCInfo.cc: New.
1557 * gnu/gcj/util/UtilPermission.java: New.
1558 * gnu/gcj/util/UtilPermission.h: New.
1559 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1560 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1561 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1562 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1563 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1564 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1565 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1566 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1567 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1568 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1569 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1570 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1571 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1572 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1573 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1574 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1575 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1576 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1577 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1578 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1579 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1580 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1581 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1583 2007-02-15 David Daney <ddaney@avtrex.com>
1585 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1586 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1587 * gnu/classpath/jdwp/VMFrame.h: Same.
1588 * java/net/Socket.h: Same.
1589 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1591 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1593 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1594 Added LocalVariableTable attribute handling.
1595 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1596 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1597 * include/java-interp.h: Added local_var_table and
1598 local_var_table_len fields to _Jv_InterpMethod.
1599 (_Jv_InterpMethod::get_local_var_table): New method.
1600 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1601 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1602 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1604 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1605 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1607 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1609 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1611 2007-02-13 Keith Seitz <keiths@redhat.com>
1613 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1614 (jdwpBreakpointCB): New function.
1615 (jdwpVMInitCB): Define and enable the breakpoint
1618 2007-02-13 Andrew Haley <aph@redhat.com>
1620 * testsuite/libjava.lang/Divide_2.out
1621 * testsuite/libjava.lang/Divide_2.java: New test.
1623 2007-02-12 Keith Seitz <keiths@redhat.com>
1625 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1626 from jthread to Thread *; it is no longer needed.
1627 (_Jv_JVMTI_GetFrameCount): Likewise.
1628 Fix small formatting typo.
1630 2007-02-12 Tom Tromey <tromey@redhat.com>
1632 * sources.am, Makefile.in: Rebuilt.
1633 * java/lang/Socket.java: Removed override.
1634 * java/lang/DatagramSocket.java: Removed override.
1635 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1637 (getLocalAddress): New method.
1638 * gnu/java/net/PlainDatagramSocketImpl.java
1639 (PlainDatagramSocketImpl): Throws IOException.
1640 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1644 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1646 * java/util/VMTimeZone.java: Rewrite to handle both the old
1647 'TZif\0' format and the new one.
1649 2007-02-10 Andrew Haley <aph@redhat.com>
1652 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1653 (getCallingClass): Call GET_CALLING_CLASS.
1654 (getCallingClassLoader): Likewise.
1656 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1658 * configure: Rebuilt.
1659 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1661 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1663 * Makefile.in: Rebuilt.
1664 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1665 the host's ecj1 executable.
1667 2007-02-09 Richard Henderson <rth@redhat.com>
1669 * sysdep/alpha/locks.h (read_barrier): New.
1671 2007-02-09 Keith Seitz <keiths@redhat.com>
1673 * gnu/classpath/jdwp/VMVirtualMachine.java
1674 (_stepping_threads): New member.
1675 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1677 * gnu/classpath/jdwp/VMVirtualMachine.h:
1679 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1680 (get_request_step_filter): New function.
1681 (DISABLE_EVENT): New macro.
1682 (initialize): Initialize _stepping_threads.
1683 (registerEvent): Implement EVENT_SINGLE_STEP.
1684 (unregisterEvent): Likewise.
1686 2007-02-08 Keith Seitz <keiths@redhat.com>
1688 * sources.am: Regenerate.
1689 * Makefile.in: Regenerate.
1690 * testsuite/Makefile.in: Regenerate.
1691 * gcj/Makefile.in: Regenerate.
1692 * include/Makefile.in: Regenerate.
1694 * classpath/lib/javax/management/MBeanServerFactory.class:
1697 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1699 * classpath/gnu/classpath/jdwp/processor/
1700 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1702 (executeSetValues): Ditto.
1703 (executeThisObject): Ditto.
1704 * classpath/gnu/classpath/jdwp/processor/
1705 StackFrameCommandSet.class: Rebuilt.
1706 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1708 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1709 * classpath/lib/gnu/classpath/jdwp/exception/
1710 InvalidFrameException.java: New file.
1711 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1713 (Constructor): New method.
1714 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1715 * gnu/classpath/jdwp/VMVirtualMachine.java
1716 (getFrame): Changed ByteBuffer to jlong.
1717 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1718 (getFrame): Implement.
1719 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1721 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1723 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1724 to hold "this" pointer for frame.
1725 (_Jv_InterpFrame::get_this_ptr): New method.
1726 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1728 2007-02-07 Keith Seitz <keiths@redhat.com>
1730 * include/java-interp.h (_Jv_Frame::depth):
1732 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1734 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1736 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1737 (_Jv_JVMTI_GetMaxLocals): New method.
1738 * include/java-interp.h
1739 (_Jv_InterpMethod::get_max_locals): New method.
1741 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1743 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1745 2007-02-07 Tom Tromey <tromey@redhat.com>
1747 * testsuite/libjava.jni/init.c: New file.
1748 * testsuite/libjava.jni/init.java: New file.
1749 * testsuite/libjava.jni/init.out: New file.
1750 * testsuite/libjava.jni/init.jar: New file.
1751 * testsuite/libjava.jni/init.h: New file.
1752 * testsuite/libjava.jni/init$NativeClass.h: New file.
1754 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1757 * configure: Regenerate.
1759 2007-02-06 Andrew Haley <aph@redhat.com>
1761 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1762 * sources.am: Rebuild.
1764 2007-02-05 Keith Seitz <keiths@redhat.com>
1766 * jvmti.cc (_envListLock): Change type to
1767 ReentrantReadWriteLock.
1768 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1770 (check_enabled_event): Likewise.
1771 (_Jv_GetJVMTIEnv): Likewise.
1772 (_Jv_JVMTI_Init): Likewise.
1773 (_Jv_JVMTI_PostEvent): Likewise.
1775 2007-02-05 Keith Seitz <keiths@redhat.com>
1777 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1778 (registerEvent): Implement EVENT_BREAKPOINT.
1779 (unregisterEvent): Likewise.
1780 (get_request_location): New function.
1782 2007-02-05 Matthias Klose <doko@debian.org>
1784 testsuite/Makefile.am (compile-tests): Fix typo.
1785 testsuite/Makefile.in: Regenerate.
1787 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1789 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1792 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1794 * configure.ac (libjava_cv_anon_version_script): New test.
1795 (ANONVERSCRIPT): New AM_CONDITIONAL.
1796 * configure: Rebuilt.
1797 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1799 * Makefile.in: Rebuilt.
1800 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1801 * libgcj.ver: New file.
1803 2007-02-01 David Daney <ddaney@avtrex.com>
1805 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1807 * sources.am: Regenerate.
1808 * Makefile.in: Regenerate.
1810 2007-02-01 Tom Tromey <tromey@redhat.com>
1812 * java/lang/ClassLoader.java (getResources): No longer final.
1814 2007-02-01 Tom Tromey <tromey@redhat.com>
1816 * java/util/logging/LogManager.java (loggers): Genericized.
1817 (addLogger): Merged.
1818 (findAncestor): Likewise.
1819 (getLogger): Likewise.
1820 (getLoggerNames): Genericized.
1822 (getLevelProperty): Likewise.
1823 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1824 * java/lang/reflect/Constructor.java (getParameterTypes):
1826 (getExceptionTypes): Likewise.
1827 (newInstance): Likewise.
1828 * java/lang/reflect/Array.java (newInstance): Genericized.
1829 * java/lang/Object.java (getClass): Genericized.
1830 * java/nio/charset/spi/CharsetProvider.java (charsets):
1832 * java/text/Collator.java: Implement Comparable<Object>.
1834 2007-02-01 Tom Tromey <tromey@redhat.com>
1836 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1838 (clear): Call complete.
1839 (setTimeZone): Call computeTime, computeFields.
1840 (compareTo): New method.
1841 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1842 (availableCharsets): Genericized.
1843 (aliases): Likewise.
1844 (compareTo): Changed argument type.
1845 * java/lang/ClassLoader.java (loadClass): Genericized.
1846 (findClass): Likewise.
1847 (defineClass): Likewise.
1848 (resolveClass): Likewise.
1849 (findSystemClass): Likewise.
1850 (setSigners): Likewise.
1851 (findLoadedClass): Likewise.
1852 (getResources): Likewise.
1853 (findResources): Likewise.
1854 (getSystemResources): Likewise.
1855 (checkInitialized): New method.
1856 * java/lang/Class.java (getCanonicalName): New method.
1858 2007-01-31 Keith Seitz <keiths@redhat.com>
1860 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1861 * jvmti.cc (JVMTI): Add member "enabled".
1862 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1863 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1864 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1865 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1866 instead of run to compile the method.
1868 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1871 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1873 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1874 -shared-libgcc to the cxxflaglist for Darwin.
1876 2007-01-31 Tom Tromey <tromey@redhat.com>
1878 * scripts.am, Makefile.in: Rebuilt.
1879 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1881 (emit_ordinary_rule): New proc.
1883 2007-01-31 Keith Seitz <keiths@redhat.com>
1885 * testsuite/libjava.jvmti/getmethodname.h: New file.
1886 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1888 2007-01-31 Andrew Haley <aph@redhat.com>
1890 * prims.cc (_Jv_Abort): fflush (stderr).
1891 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1893 2007-01-31 Tom Tromey <tromey@redhat.com>
1895 * configure, Makefile.in: Rebuilt.
1896 * configure.ac (JAR): Check for -@ feature.
1897 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1899 2007-01-31 Tom Tromey <tromey@redhat.com>
1902 * configure, include/config.h.in: Rebuilt.
1903 * configure.ac: Check for magic_t in magic.h.
1904 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1906 2007-01-30 Tom Tromey <tromey@redhat.com>
1908 * Makefile.in: Rebuilt.
1909 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1911 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1913 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1914 cast to print it right.
1916 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1919 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1922 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1924 * include/java-interp.h: Added _Jv_Frame class and its two
1925 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1926 _Jv_FrameType from java-stack.h.
1927 * include/java-stack.h: Removed _Jv_FrameType.
1928 * java/lang/Thread.java: Added frame member to hold new
1929 composite frame stack.
1930 * java/lang/Thread.h: Regenerated.
1931 * java/lang/Thread.class: Rebuilt.
1932 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1933 calling a JNI method.
1934 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1935 (_Jv_JVMTI_GetFrameCount): New method.
1936 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1938 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1939 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1940 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1941 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1942 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1945 2007-01-29 Tom Tromey <tromey@redhat.com>
1947 * interpret.cc (run_debug): Remove comment.
1954 (run_normal_debug): Likewise.
1955 (run_synch_object_debug): Likewise.
1956 (run_class_debug): Likewise.
1957 (run_synch_class_debug): Likewise.
1962 (NULLARRAYCHECK): Likewise.
1963 (ARRAYBOUNDSCHECK): Likewise.
1964 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1966 2007-01-29 Tom Tromey <tromey@redhat.com>
1968 * configure, Makefile.in: Rebuilt.
1969 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1970 * configure.ac (BASH_JAR): Removed conditional.
1971 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1973 2007-01-29 Tom Tromey <tromey@redhat.com>
1975 * Makefile.in: Rebuilt.
1976 * Makefile.am (interpret.lo): New target. Add -fwrap to
1979 2007-01-29 Keith Seitz <keiths@redhat.com>
1981 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1983 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1984 gcj. All jvmti object types now are defined to be their
1985 corresponding java classes.
1986 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1988 (_Jv_JVMTI_ResumeThread): Likewise.
1989 (_Jv_JVMTI_InterruptThread): Likewise.
1990 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1991 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1992 (jdwpClassPrepareCB): Likewise.
1993 (jdwpThreadEndCB): Likewise.
1994 (jdwpThreadStartCB): Likewise.
1995 (jdwpVMInitCB): Likewise.
1997 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1999 * gnu/java/nio/channels/natFileChannelWin32.cc
2000 (lock): Implemented.
2001 (unlock): Implemented.
2003 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
2006 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
2007 libgcj_flags to undefine 'sun' at compile time.
2008 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
2010 (write_barrier): Likewise.
2012 2007-01-27 Keith Seitz <keiths@redhat.com>
2014 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2015 (getAllClassMethods): Move error handling to ...
2016 (throw_jvmti_error): ... here.
2017 (jdwpClassPrepareCB): New function.
2018 (jdwpThreadEndCB): New function.
2019 (jdwpThreadStartCB): New function.
2020 (jdwpVMDeathCB): New function.
2021 (jdwpVMInitCB): Define and enable callbacks for
2022 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
2024 2007-01-27 Jakub Jelinek <jakub@redhat.com>
2026 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
2027 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
2028 (MYGCJH): New variable.
2029 (compile-tests): New goal.
2030 * Makefile.in: Rebuilt.
2031 * testsuite/Makefile.in: Rebuilt.
2033 2007-01-26 Andrew Haley <aph@redhat.com>
2035 * java/lang/natClass.cc (initializeClass): Re-throw
2037 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
2038 * java/lang/ClassLoader.java: (loadClass): Likewise.
2040 2007-01-26 Tom Tromey <tromey@redhat.com>
2044 2007-01-25 Tom Tromey <tromey@redhat.com>
2047 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
2048 input or output encodings. Removed unused local variables.
2050 2007-01-25 Keith Seitz <keiths@redhat.com>
2052 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
2053 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2054 (_Jv_GetJDWP_JVMTIEnv): New function.
2055 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
2056 (getSignature): Implement.
2057 (getModifiers): Implement.
2059 2007-01-25 Andrew Haley <aph@redhat.com>
2061 * configure, Makefile.in, include/config.h.in: Rebuilt.
2062 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
2063 * configure.ac: Don't check for libmagic.
2064 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
2065 p_magic_close, p_magic_buffer): New globals.
2066 (init): Look up 'magic' functions.
2067 (guessContentTypeFromBuffer): Updated.
2069 2007-01-25 Keith Seitz <keiths@redhat.com>
2071 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
2072 (_Jv_JVMTI_Interface): Define GetMethodName.
2073 * testsuite/libjava.jvmti/getmethodname.java: New file.
2074 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
2075 * testsuite/libjava.jvmti/getmethodname.out: New file.
2077 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
2079 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
2080 * libjava/testsuite/libjava.jvmti/interp: New folder.
2081 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
2083 2007-01-24 Keith Seitz <keiths@redhat.com>
2085 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
2086 CLASS_PREPARE notification.
2088 2007-01-24 Keith Seitz <keiths@redhat.com>
2090 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
2091 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
2092 * interpret-run.cc: Implement insn_breakpoint.
2094 2007-01-24 Keith Seitz <keiths@redhat.com>
2096 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
2097 for VM_INIT and VM_DEATH instead of the JDWP notifications.
2099 2007-01-24 Keith Seitz <keiths@redhat.com>
2101 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2102 (getAllClassMethods): Implement.
2104 2007-01-24 Andrew Haley <aph@redhat.com>
2106 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
2107 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
2108 from being sibcalled.
2110 2007-01-24 Andrew Haley <aph@redhat.com>
2112 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2113 * sources.am: Rebuild.
2115 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
2117 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
2118 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2120 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
2123 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
2124 * Makefile.in: Regenerated.
2126 2007-01-22 Keith Seitz <keiths@redhat.com>
2128 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2129 (getClassMethod): Implement.
2131 2007-01-22 Keith Seitz <keiths@redhat.com>
2133 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
2134 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
2135 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
2136 (_Jv_JVMTI_Interface): Define GetClassStatus.
2138 2007-01-22 Tom Tromey <tromey@redhat.com>
2140 * configure: Rebuilt.
2141 * configure.ac (GCJ): Reverted patch of 2006-12-20.
2143 2007-01-22 Tom Tromey <tromey@redhat.com>
2146 * testsuite/libjava.jni/pr29812.java: New file.
2147 * testsuite/libjava.jni/pr29812_injar.java: New file.
2148 * testsuite/libjava.jni/pr29812_injar.jar: New file.
2149 * testsuite/libjava.jni/pr29812.out: New file.
2150 * testsuite/libjava.jni/pr29812_injar.c: New file.
2151 * testsuite/libjava.jni/pr29812_injar.h: New file.
2152 * testsuite/libjava.jni/pr29812.jar: New file.
2153 * testsuite/libjava.jni/pr29812.c: New file.
2154 * testsuite/libjava.jni/pr29812.h: New file.
2155 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
2157 (gcj_jni_invocation_test_one): Use it.
2158 (gcj_jni_pr29812): New proc.
2159 (gcj_jni_run): Use it.
2160 * java/lang/natRuntime.cc (_load): Push a new system frame before
2162 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
2163 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
2164 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
2165 <allocated_p>: Now bool.
2166 <loader>: New field.
2167 (_Jv_JNI_EnsureLocalCapacity): Updated.
2168 (_Jv_JNI_NewLocalRef): Likewise.
2169 (_Jv_JNI_NewLocalRef): Likewise.
2170 (_Jv_JNI_PopLocalFrame): Likewise.
2171 (_Jv_JNI_FindClass): Likewise.
2172 (_Jv_GetJNIEnvNewFrame): Likewise.
2173 (_Jv_JNI_AttachCurrentThread): Likewise.
2174 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
2175 (_Jv_GetJNIEnvNewFrame): Use it.
2176 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
2178 2007-01-22 Tom Tromey <tromey@redhat.com>
2180 * libtool-version: Bump current to 9.
2182 2007-01-22 Andrew Haley <aph@redhat.com>
2184 * sysdep/alpha/locks.h (write_barrier): New.
2186 2007-01-21 Matthias Klose <doko@debian.org>
2188 * Makefile.am (install-exec-hook): Use transformed name.
2189 * Makefile.in: Regenerate.
2191 2007-01-19 Keith Seitz <keiths@redhat.com>
2193 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
2194 in methods and reformat.
2196 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
2199 2007-01-18 Keith Seitz <keiths@redhat.com>
2201 From Macro Trudel <mtrudel@gmx.ch>:
2202 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
2205 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
2207 * jni.cc (_Jv_JNI_FindClass): Initialize class.
2208 * testsuite/libjava.jni/findclass2.jar: New file.
2209 * testsuite/libjava.jni/findclass2.h: New file.
2210 * testsuite/libjava.jni/findclass2.java: New file
2211 * testsuite/libjava.jni/findclass2.c: New file.
2212 * testsuite/libjava.jni/findclass2.out: New file.
2214 2007-01-18 Tom Tromey <tromey@redhat.com>
2216 * configure: Rebuilt.
2217 * configure.ac: Use multi_basedir instead of libgcj_basedir.
2219 2007-01-18 Gary Benson <gbenson@redhat.com>
2221 * gnu/java/nio/natVMPipeEcos.cc:
2222 Renamed from gnu/java/nio/natPipeImplEcos.cc.
2223 * gnu/java/nio/natVMPipePosix.cc:
2224 Renamed from gnu/java/nio/natPipeImplPosix.cc.
2225 * gnu/java/nio/natVMPipeWin32.cc:
2226 Renamed from gnu/java/nio/natPipeImplWin32.cc.
2227 * gnu/java/nio/natVMSelectorEcos.cc:
2228 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2229 * gnu/java/nio/natVMSelectorPosix.cc:
2230 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2231 * gnu/java/nio/natVMSelectorWin32.cc:
2232 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2233 * java/io/natVMObjectInputStream.cc:
2234 Renamed from java/io/natObjectInputStream.cc.
2235 * java/lang/natVMDouble.cc:
2236 Renamed from java/lang/natDouble.cc.
2237 * java/lang/natVMFloat.cc:
2238 Renamed from java/lang/natFloat.cc.
2239 * Makefile.am, configure.ac: Reflect the above.
2240 * Makefile.in, configure: Rebuilt.
2242 2007-01-17 Andrew Haley <aph@redhat.com>
2244 * Makefile.in: Rebuilt.
2245 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2247 2007-01-17 Keith Seitz <keiths@redhat.com>
2249 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2250 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2252 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
2254 * configure.ac: Use multi.m4 from aclocal rather than custom
2255 code. Use multi_basedir instead libgcj_basedir. Test for
2256 /proc/self/exe when not cross-compiling.
2257 * aclocal.m4: Regenerate.
2258 * configure: Regenerate.
2259 * Makefile.in: Regenerate.
2261 2007-01-17 Gary Benson <gbenson@redhat.com>
2263 * java/nio/natVMDirectByteBufferImpl.cc:
2264 Renamed from java/nio/natDirectByteBufferImpl.cc.
2265 * Makefile.am: Reflect the above.
2266 * Makefile.in: Rebuilt.
2268 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
2270 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
2271 Fixed indentation. Removed unused variable.
2273 2007-01-16 Tom Tromey <tromey@redhat.com>
2275 * java/lang/natThread.cc (finalize_native): Remove cast.
2276 (_Jv_GetCurrentJNIEnv): Likewise.
2277 * include/jvm.h (struct natThread) <jni_env>: Declare as
2280 2007-01-16 Keith Seitz <keiths@redhat.com>
2282 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2283 %#llx instead of %d for new_value.
2284 * testsuite/libjava.jvmti/events.out: Update expected output.
2285 * testsuite/libjava.jvmti/events.jar: Regenerate.
2287 2007-01-16 Keith Seitz <keiths@redhat.com>
2289 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2291 (ENABLE_EVENT): New macro.
2292 (initialize): Define and enable JVMTI VM_INIT callback.
2293 (jdwpVMInitCB): New function.
2295 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
2297 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2298 * testsuite/libjava.jvmti/getallthreads.java: New test.
2299 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2300 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2301 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2302 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
2304 2007-01-15 Keith Seitz <keiths@redhat.com>
2306 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2307 java.lang.StringBuilder instead of java.lang.StringBuffer.
2308 (resumeThread): Likewise.
2310 2007-01-15 Gary Benson <gbenson@redhat.com>
2312 * java/nio/MappedByteBuffer.java: Removed.
2313 * sources.am, Makefile.in: Rebuilt.
2315 2007-01-15 Gary Benson <gbenson@redhat.com>
2317 * java/net/URLClassLoader.java: Removed.
2318 * gnu/java/net/loader/Load_gcjlib.java: New file.
2319 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2320 URL handler is present in static executables.
2321 * sources.am, Makefile.in: Rebuilt.
2323 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
2325 * Makefile.am (libgcj_la_LDFLAGS): Add
2326 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2327 (libgcj_tools_la_LDFLAGS): Likewise.
2328 (libgcj_bc_la_LDFLAGS): Likewise.
2329 * Makefile.in: Regenerated.
2331 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
2332 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
2333 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2334 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2335 * configure: Regenerated.
2336 * aclocal.m4: Likewise.
2337 * gcj/Makefile.in: Likewise.
2338 * include/Makefile.in: Likewise.
2339 * testsuite/Makefile.in: Likewise.
2341 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2343 * sysdep/sh/locks.h (read_barrier): New.
2344 (write_barrier): Likewise.
2346 2007-01-12 Andrew Haley <aph@redhat.com>
2348 * include/i386-signal.h: Rewrite to use rt_sigaction.
2350 2007-01-11 Andrew Haley <aph@redhat.com>
2352 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2354 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2357 2007-01-10 Tom Tromey <tromey@redhat.com>
2359 * gnu/gcj/xlib/*.h: New files.
2360 * gnu/awt/xlib/*.h: Likewise.
2361 * classpath/lib/gnu/gcj/xlib: New class files.
2362 * classpath/lib/gnu/awt/xlib: Likewise.
2364 2007-01-10 Tom Tromey <tromey@redhat.com>
2366 * HACKING: Various updates.
2368 2007-01-10 Tom Tromey <tromey@redhat.com>
2370 * java/lang/natDouble.cc (toString): Added parens.
2371 * gnu/gcj/io/shs.h (PROTO): Define.
2372 * link.cc (resolve_pool_entry): Added missing braces.
2374 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
2377 * sysdep/ia64/locks.h (read_barrier): New.
2378 (write_barrier): New.
2380 2007-01-10 Gary Benson <gbenson@redhat.com>
2382 * java/net/URL.java: Removed.
2383 * sources.am, Makefile.in: Rebuilt.
2385 2007-01-10 Matthias Klose <doko@debian.org>
2387 * Makefile.am (install-exec-hook): Support $(DESTDIR).
2388 * Makefile.in: Regenerated.
2390 2007-01-05 Tom Tromey <tromey@redhat.com>
2392 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2393 dummy.class in srcdir.
2395 2007-01-03 Tom Tromey <tromey@redhat.com>
2397 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2400 2007-01-03 Tom Tromey <tromey@redhat.com>
2402 * testsuite/*: Added many .jar and .h files.
2403 * testsuite/libjava.special/special.exp
2404 (gcj_special_try_compiler): New proc.
2405 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2406 bytecompile source. Search for .jar files.
2407 (gcj_loader_test_one): Don't look for MyLoader.java.
2408 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2409 bytecompile sources or build headers.
2410 (gcj_jvmti_run): Look for .jar files.
2411 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2413 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2414 Set classpath when invoking gij.
2415 (gcj_jni_invocation_test_one): Likewise.
2416 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2417 headers or bytecompile sources.
2418 (gcj_cni_run): Use .jar files, not .java files.
2419 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2421 2007-01-02 Tom Tromey <tromey@redhat.com>
2423 * configure: Rebuilt.
2424 * configure.ac: Check for gjar.
2426 2007-01-02 Tom Tromey <tromey@redhat.com>
2428 * testsuite/libjava.jacks/jacks.exp: Removed.
2429 * testsuite/libjava.jacks/jacks.xfail: Removed.