1 2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * java/net/natVMInetAddressPosix.cc
4 (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
5 Allocate buffer dynamically.
7 2007-08-04 Alfred M. Szmidt <ams@gnu.org>
9 * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
10 * java/io/File.java (createTempFile): Don't truncate if the system
11 doesn't have a limit on the length of a file name.
12 * classpath/lib/java/io/File.class: Regenerate.
14 2007-08-04 Matthias Klose <doko@ubuntu.com>
16 Import GNU Classpath (libgcj-import-20070727).
18 * Regenerate class and header files.
19 * Regenerate auto* files.
22 * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
23 * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
24 * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
25 _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
26 _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
27 _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
29 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
31 * java/lang/VMFloat.java (toString, parseFloat): New.
33 * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
34 isModalExclusionTypeSupported): New (stub only).
35 * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
36 * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
37 updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
38 setAlwaysOnTop): Likewise.
39 * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
41 * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
42 ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
44 * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
46 2007-07-31 David Daney <ddaney@avtrex.com>
48 * HACKING: Document regenerating configure and aclocal.m4.
50 2007-07-31 David Daney <ddaney@avtrex.com>
52 * configure.ac (INTERPRETER): New AM_CONDITIONAL.
53 * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
54 as being for interpreter only. Place interpreter related files in
55 'if INTERPRETER' block.
56 (interpreter_package_files): New list.
57 (interpreter_header_vars): Ditto.
58 (emit_package_rule_to_list): Renamed from emit_package_rule with
59 new target list parameter.
60 (emit_package_rule): Rewritten to call emit_package_rule_to_list.
61 (emit_interpreter_rule): New function.
62 (emit_source_var): Place interpreter related files in
63 interpreter_header_vars.
64 * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
65 (libgcj_interpret_source_files): New variable.
66 (libgcj_la_SOURCES): Move jvmti.cc and interpret.cc to
67 libgcj_interpret_source_files and include
68 libgcj_interpret_source_files.
69 (nat_jdwp_source_files): New variable.
70 (nat_jvmti_source_files): Ditto.
71 (nat_source_files): Move jdwp and jvmti related files to
72 nat_jdwp_source_files and nat_jvmti_source_files and include
73 nat_jdwp_source_files and nat_jvmti_source_files.
74 * Makefile.in: Regenerate.
75 * include/Makefile.in: Ditto.
76 * testsuite/Makefile.in: Ditto.
77 * gcj/Makefile.in: Ditto.
80 * include/config.h.in: Ditto.
81 * interpret.cc: Remove #ifdef INTERPRETER block.
82 * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
84 * include/java-interp.h (_Jv_FrameType): Move outside of
85 #ifdef INTERPRETER block.
86 * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
87 _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
88 #ifdef INTERPRETER block.
89 * jni.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
91 (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
92 if INTERPRETER is defined.
93 * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h): Only
94 include if INTERPRETER is defined.
95 (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
96 jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
97 jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
99 (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
100 (parse_init_args): Only process jvmti related options if
101 INTERPRETER is defined.
102 (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
104 (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
106 * link.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is
108 (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
109 Define if if INTERPRETER is not defined.
110 (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
111 INTERPRETER is defined.
112 * boehm.cc (closure_list_pointer, finalize_closure_list,
113 _Jv_ClosureListFinalizer): Only define if INTERPRETER is
115 * java/lang/natThread.cc (jvmti.h, jvmti-int.h): Only include if
116 INTERPRETER is defined.
117 (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
118 INTERPRETER is defined.
119 * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
120 and friend declaration inside #ifdef INTERPRETER block.
121 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
122 _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
123 Only define if INTERPRETER is defined.
124 * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
126 (generateProxyClass): Throw UnsupportedOperationException unless
127 INTERPRETER is defined.
129 2007-07-29 Matthias Klose <doko@ubuntu.com>
131 * HACKING: Document regenerating configure.
133 2007-07-29 H.J. Lu <hongjiu.lu@intel.com>
136 * aclocal.m4: Regenerated.
137 * configure: Likewise.
139 2007-07-28 Matthias Klose <doko@ubuntu.com>
141 * configure.ac: Encode the libgcj soversion in dbexecdir,
142 pass --with-native-libdir to classpath configure.
143 * configure: Regenerate.
145 2007-07-28 Matthias Klose <doko@ubuntu.com>
147 * classpath/jvmti.h: Remove.
149 2007-07-27 Tom Tromey <tromey@redhat.com>
151 * Rebuild .class files with new ecj.
153 2007-07-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
155 * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
156 * configure: Regenerate.
158 2007-07-16 Rask Ingemann Lambertsen <rask@sygehus.dk>
161 * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
162 new sysdeps/arm directory.
164 2007-07-15 Tom Tromey <tromey@redhat.com>
166 * java/io/File.java: Implement Comparable<File>.
167 (compareTo): Removed.
168 * java/io/File.h: Rebuilt.
169 * classpath/lib/java/io/File.class: Rebuilt.
171 2007-07-14 Tom Tromey <tromey@redhat.com>
173 * Rebuilt .class files.
175 2007-07-15 Andrew Haley <aph@redhat.com>
178 arm*-linux-gnu -> arm*-linux*.
180 2007-07-14 Krister Walfridsson <cato@df.lth.se>
182 * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
183 * configure.ac: Remove check for strerror, add check for strerror_r.
184 * configure: Regenerate.
185 * include/config.h.in: Regenerate.
187 2007-07-13 Andrew Haley <aph@redhat.com>
189 * libgcj.ver: Add __gcj_personality_sj0.
191 * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
192 * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
193 * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
194 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
196 * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
198 * java/lang/reflect/natField.cc (getAddr): Call
199 _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
200 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
201 _Jv_getFieldInternal to get field proxyClass.m.
202 (_Jv_getFieldInternal): New function.
204 2007-07-11 Andrew Haley <aph@redhat.com>
206 * configure.host (arm*-linux-gnu): New.
207 * sysdep/arm/locks.h: New.
209 2007-07-13 Roger Sayle <roger@eyesopen.com>
211 * java/lang/natPosixProcess.cc: Include <sys/time.h> before
212 <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
214 2007-07-12 Matthias Klose <doko@ubuntu.com>
216 * gnu/classpath/jdwp/util/MethodResult.h,
217 gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
219 2007-07-11 Keith Seitz <keiths@redhat.com>
221 * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
223 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
224 for compiled methods.
226 2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
229 * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
232 2007-07-05 Andreas Tobler <a.tobler@schweiz.org>
234 * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
235 on hppa2.0w-hp-hpux11.11.
236 Remove include of <gcj/cni.h>.
238 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
240 * aclocal.m4: Regenerated.
242 2007-07-03 Andreas Tobler <a.tobler@schweiz.org>
244 * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
246 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
249 * configure.host (i[3-6]86-*): Undef sun.
251 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
253 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
256 2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net>
259 * jni_md.h: Add the possibility to compile jni code with.
260 -fvisibility=hidden. This causes all symbols to be hidden
261 except the JNI functions which need to be exported.
263 2007-06-28 Andreas Tobler <a.tobler@schweiz.org>
265 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
266 the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
268 2007-07-21 Keith Seitz <keiths@redhat.com>
270 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
272 2007-07-20 Keith Seitz <keiths@redhat.com>
274 * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
277 2007-07-20 Keith Seitz <keiths@redhat.com>
279 * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
280 Update from reference implementation.
281 * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
282 Update parameter list to match new VMVirtualMachine interface.
283 * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
285 * classpath/lib/gnu/classpath/jdwp/processor/
286 ObjectReferenceCommandSet.class: Regenerate.
287 * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
288 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
289 * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
291 2007-06-18 Keith Seitz <keiths@redhat.com>
293 * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
294 (method): Change from private to protected.
295 (location): Likewise.
296 (Breakpoint): Change argument list to take only integer type.
297 Add default constructor.
298 (initialize_native): Renamed to ...
299 (_save_insn): ... this to make function more explicit.
300 (execute): New method.
301 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
302 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
303 (_save_insn): ... this.
304 (install): Save the original instruction.
305 * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
306 * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
307 * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
308 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
309 Instantiate a NormalBreakpoint instead of Breakpoint.
310 * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
311 and call Breakpoint.execute to do them.
312 * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
313 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
314 * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
315 * sources.am: Regenerate.
316 * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
317 * Makefile.in: Regenerated.
319 2007-06-14 Keith Seitz <keiths@redhat.com>
321 * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
322 for bytecode_pc and direct-threaded pc.
323 Add field descriptions inline.
324 * defineclass.cc (read_one_code_attribute): Change from
325 bytecode_start_pc to bytecode_pc.
326 Remove unused variable "len".
327 * interpret.cc (compile): Remap the variable table, too.
328 (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
329 start location to map from pc_t to code index.
331 2007-06-09 Keith Seitz <keiths@redhat.com>
333 * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
334 Add missing return value.
336 2007-06-03 Matthias Klose <doko@ubuntu.com>
338 * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
339 _access: Handle EXEC query, stub only.
341 2007-06-03 Matthias Klose <doko@ubuntu.com>
343 Merged from classpath:
344 * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
345 * java/lang/System.java(inheritedChannel): New.
346 * java/lang/Character.java: Remove stray`;'.
347 * java/net/MulticastSocket.java: Merged.
348 * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
349 * java/text/Collator.java(getInstance): Merged.
350 * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
351 getDisplayName, getDisplayNames: New.
352 * java/util/logging/Logger.java: Merged.
353 * Regenerate .class and .h files.
355 2007-06-03 Matthias Klose <doko@ubuntu.com>
357 * java/io/File.java: Merge with classpath-0.95, new method
358 setFilePermissions, new attribute EXEC.
359 * java/io/natFilePosix.cc (setFilePermissions): New.
360 _access: Handle EXEC query.
361 * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
363 2007-06-03 Matthias Klose <doko@ubuntu.com>
365 Imported GNU Classpath 0.95.
367 * classpath/Makefile.in,
368 classpath/native/jni/midi-dssi/Makefile.in,
369 classpath/native/jni/classpath/Makefile.in,
370 classpath/native/jni/Makefile.in,
371 classpath/native/jni/gconf-peer/Makefile.in,
372 classpath/native/jni/java-io/Makefile.in,
373 classpath/native/jni/native-lib/Makefile.in,
374 classpath/native/jni/java-util/Makefile.in,
375 classpath/native/jni/midi-alsa/Makefile.in,
376 classpath/native/jni/java-lang/Makefile.in,
377 classpath/native/jni/java-nio/Makefile.in,
378 classpath/native/jni/java-net/Makefile.in,
379 classpath/native/jni/xmlj/Makefile.in,
380 classpath/native/jni/qt-peer/Makefile.in,
381 classpath/native/jni/gtk-peer/Makefile.in,
382 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
383 classpath/native/fdlibm/Makefile.in,
384 classpath/native/plugin/Makefile.in,
385 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
386 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
387 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
388 classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
389 classpath/external/sax/Makefile.in,
390 classpath/external/w3c_dom/Makefile.in,
391 classpath/external/relaxngDatatype/Makefile.in,
392 classpath/include/Makefile.in,
393 classpath/examples/Makefile.in: Regenerate.
394 * classpath/config.guess, classpath/config.sub,
395 classpath/ltmain.sh : Update.
396 * classpath/configure, classpath/depcomp, classpath/missing,
397 classpath/aclocal.m4, classpath/install-sh: Regenerate.
399 * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
400 * sources.am: Regenerate.
401 * Makefile.in: Regenerate.
403 * Update the .class files and generated CNI header files, add new
404 .class and generated CNI header files.
405 * Remove generated files for removed java source files:
406 classpath/gnu/java/net/BASE64.java,
407 classpath/gnu/java/security/util/Base64.java,
408 classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
409 classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
410 classpath/gnu/java/awt/font/autofit/Scaler.java,
411 classpath/gnu/classpath/jdwp/util/Value.java,
412 classpath/gnu/javax/net/ssl/Base64.java.
413 * Remove empty directories.
415 * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
416 * java/lang/Class.java(setAccessible): Merge from classpath.
417 * java/util/Locale.java: Remove.
418 * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
419 gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
420 * gcj/javaprims.h: Update class declarations.
421 * scripts/classes.pl: Update usage.
422 * HACKING: Mention to build all peers.
424 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
426 * configure: Regenerate.
428 2007-05-31 Andrew Haley <aph@redhat.com>
430 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
431 INTERPRETED access modifier.
433 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
436 * configure: Regenerated.
437 * aclocal.m4: Regenerated.
439 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
442 * configure: Regenerated.
444 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
446 * configure.ac: Don't include ../config/confsubdir.m4.
447 * aclocal.m4: Regenerated.
448 * configure: Likewise.
450 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
453 * configure.ac: Include confsubdir.m4.
454 * configure: Regenerate.
456 2007-05-24 Keith Seitz <keiths@redhat.com>
458 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
459 one when pc_ptr is non-NULL.
461 * prims.cc (parse_init_args): Enable JVMTI with agentlib
462 and agentpath options.
464 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
466 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
467 Pass '-agentlib:dummyagent' when executing gij.
468 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
469 and remove it when finished.
470 * testsuite/libjava.jvmti/dummyagent.c: New file.
472 2007-05-23 Steve Ellcey <sje@cup.hp.com>
474 * Makefile.in: Regenerate.
475 * configure: Regenerate.
476 * aclocal.m4: Regenerate.
477 * gcj/Makefile.in: Regenerate.
478 * include/Makefile.in: Regenerate.
479 * testsuite/Makefile.in: Regenerate.
481 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
483 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
484 (executeMethods): Remove cast to ClassReferenceTypeId.
485 * classpath/lib/gnu/classpath/jdwp/processor/
486 ReferenceTypeCommandSet.class: Rebuilt.
488 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
490 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
491 classes and mark methods as native appropriately.
493 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
495 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
497 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
498 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
499 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
502 2007-05-16 David Daney <ddaney@avtrex.com>
504 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
505 (_Jv_StackFrame): Remove commented out code.
506 (_Jv_UnwindState): Remove superfluous 'typedef'.
507 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
509 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
510 (getCollectionUsage): Don't declare unused parameter n.
511 (getMemoryManagerNames): Same.
512 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
515 2007-05-16 Keith Seitz <keiths@redhat.com>
517 * include/java-interp.h (breakpoint_at): Declare.
518 * interpret.cc (breakpoint_at): New function.
519 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
521 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
522 Initialize _event_list.
523 (handle_single_step): If there is a breakpoint at the
524 location at which we are stopping, do not send the notification.
525 Instead add the event to a list of events that occur at this
527 (jdwpBreakpointCB): If the event list is not empty, send
528 whatever events are in it and the breakpoint event in a single
530 Mark parameter jni_env as MAYBE_UNUSED.
531 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
533 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
535 2007-05-15 David Daney <ddaney@avtrex.com>
537 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
538 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
540 2007-05-15 Keith Seitz <keiths@redhat.com>
542 * interpret.cc (STOREA): Rewrite using temporary variable to
543 avoid double-macro expansion side-effects.
546 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
547 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
548 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
549 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
552 2007-05-12 David Daney <ddaney@avtrex.com>
555 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
556 (_Jv_UnBlockSigchld): Same.
557 * posix-threads.cc: Include posix-threads.h.
558 (block_sigchld) Rename to...
559 (_Jv_BlockSigchld) ... this.
560 (_Jv_UnBlockSigchld): New function.
561 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
562 (_Jv_ThreadStart): Same.
563 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
564 * java/lang/PosixProcess.java: Clean up imports.
565 (ProcessManager): Make final.
566 (ProcessManager.queue): Genericise and make private.
567 (ProcessManager.pidToProcess): Remove.
568 (ProcessManager.liveProcesses): New field.
569 (ProcessManager.reaperPID): Remove.
570 (ProcessManager.nativeData): New field.
571 (ProcessManager.removeProcessFromMap): Remove.
572 (ProcessManager.addProcessToMap):Remove.
573 (ProcessManager.addToLiveProcesses): New method.
574 (ProcessManager.run): Rewritten.
575 (ProcessManager.reap): Change method signature,
576 (getErrorStream): Correct formatting.
577 (getInputStream): Same.
578 (spawn): Add process to liveProcesses list.
579 (pid): Make package private.
580 * java/lang/PosixProcess.h: Regenerate.
581 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
582 Add useing namespace java::lang.
583 (ProcessManagerInternal): New struct.
584 (sigchld_handler): Rewritten.
586 (waitForSignal): Same.
588 (signalReaper): Same.
589 (nativeDestroy): Call kill as ::kill.
590 (nativeSpawn): Correct formatting.
591 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
592 * classpath/lib/java/lang/PosixProcess.class: Same.
593 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
595 2007-05-07 Ian Lance Taylor <iant@google.com>
598 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
601 2007-05-07 Keith Seitz <keiths@redhat.com>
603 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
604 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
605 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
607 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
609 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
610 * gnu/classpath/jdwp/event/Event.h: Regenerate.
611 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
613 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
615 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
618 2007-05-03 Keith Seitz <keiths@redhat.com>
620 * interpret.cc: Don't include ExceptionEvent.h.
621 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
622 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
623 * Makefile.in: Regenerated.
625 2007-05-03 Keith Seitz <keiths@redhat.com>
627 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
629 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
630 (find_catch_location): New function.
631 (REPORT_EXCEPTION): New macro.
632 (throw_internal_error): Use REPORT_EXCEPTION.
633 (throw_incompatible_class_change_error): Likewise.
634 (throw_null_pointer_exception): Likewise.
635 (throw_class_format_error): Likewise.
636 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
638 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
639 (insn_new): Use INTERP_REPORT_EXCEPTION.
640 (insn_athrow): Likewise.
641 Remove previous JVMTI exception notifications.
642 Add JVMTI ExceptionCatch notificatin.
643 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
645 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
646 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
647 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
648 * gnu/classpath/jdwp/natVMVirtualMachine.cc
649 (jdwpExceptionCB): New function.
650 (jdwpVMInitCB): Set Exception event handler and enable.
651 * sources.am: Regenerated.
652 * Makefile.in: Regenerated.
654 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
656 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
657 * Makefile.in: Regenerate.
658 * scripts/makemake.tcl (scan_directory): Treat default.css as a
660 * classpath/javax/swing/text/html/default.css: Move to...
661 * classpath/resource/javax/swing/text/html/default.css: New file.
662 * classpath/javax/swing/text/html/HTMLEditorKit.java
663 (getStyleSheet): Throw RuntimeException when style loading fails.
664 * sources.am (property_files): Add
665 classpath/resource/javax/swing/text/html/default.css.
667 2007-05-02 Tom Tromey <tromey@redhat.com>
669 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
670 * java/lang/natCharacter.cc (Character::getType): Handle negative
672 (Character::toLowerCase): Likewise.
673 (Character::toUpperCase): Likewise.
674 (Character::digit): Likewise.
675 (Character::getNumericValue): Likewise.
676 (Character::getDirectionality): Likewise.
677 (Character::toTitleCase): Likewise.
679 2007-04-30 Keith Seitz <keiths@redhat.com>
681 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
682 executing the instruction.
683 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
684 one insn from the frame's PC. _Jv_InterpMethod::run et al
685 will advance the PC before executing the instruction.
687 2007-04-27 Keith Seitz <keiths@redhat.com>
689 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
690 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
692 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
694 2007-04-27 Keith Seitz <keiths@redhat.com>
696 * classpath/lib/gnu/classpath/jdwp/event/filters/
697 LocationOnlyFilter.class: Regenerated;
698 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
700 * gnu/classpath/jdwp/VMMethod.java
701 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
703 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
704 * gnu/classpath/jdwp/util/Location.h: Regenerated.
706 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
708 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
709 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
711 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
713 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
715 (get): Deal with ObjectId of 0.
717 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
720 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
722 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
724 * gnu/classpath/jdwp/natVMVirtualMachine.java
725 (getThreadStatus): Implement.
727 2007-04-24 Keith Seitz <keiths@redhat.com>
729 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
730 Add _Jv_RewriteBreakpointInsn friend declaration.
731 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
732 [DIRECT_THREADED]: New function.
733 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
734 * interpret-run.cc: Define new REWRITE_INSN macro.
735 Changed all occurrences of insn rewriting to call REWRITE_INSN.
737 2007-04-23 Keith Seitz <keiths@redhat.com>
739 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
740 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
741 * boehm.cc (_Jv_IsThreadSuspended): New function.
742 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
743 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
744 (_Jv_JVMTI_Interface): Define GetThreadState.
746 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
748 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
750 (<init>): Add a pointer to the interpreter PC as a parameter with
752 (get_pc): New method.
753 * interpret-run.cc: If debugging, pass a pointer to the PC when
754 creating the stack frame.
755 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
758 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
760 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
761 for null source file and throw an exception indicating this.
763 2007-04-20 Keith Seitz <keiths@redhat.com>
765 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
766 Install the new breakpoint into the bytecode.
767 (deleteBreakpoint): Remove the breakpoint from the bytecode.
768 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
770 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
771 Don't install the breakpoint here.
773 2007-04-19 Keith Seitz <keiths@redhat.com>
775 * interpret-run.cc [insn_breakpoint]: Save the original
776 insn for the breakpoint before posting the JVMTI notification.
778 2007-04-19 Tom Tromey <tromey@redhat.com>
780 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
782 2007-04-18 Tom Tromey <tromey@redhat.com>
784 * Regenerated headers with new gjavah.
786 2007-04-18 Andrew Haley <aph@redhat.com>
788 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
790 (generateProxyClass): Add field $Proxy0.m. Store methods array in
792 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
793 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
794 * java/lang/natClass.cc: Likewise.
795 * headers.txt: Likewise.
796 * java/lang/reflect/Method.h: Likewise.
798 2007-04-16 Andrew Haley <aph@redhat.com>
800 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
802 (bootGetResource): Use getBootURLLoader() to load resources.
803 (bootGetResources): Likewise.
805 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
806 check that the method's declaring class is accessible.
808 2007-04-10 Keith Seitz <keiths@redhat.com>
810 * sources.am: Regenerate.
811 * Makefile.in: Likewise.
813 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
815 * interpret-run.cc: If debugging, check if args is NULL before
816 getting the "this" pointer.
818 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
820 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
821 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
822 * gnu/classpath/jdwp/ArrayValue.h: New file.
823 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
826 2007-04-09 David Daney <ddaney@avtrex.com>
829 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
830 environment before the fork.
831 * testsuite/libjava.lang/Process_7.java: New test.
832 * testsuite/libjava.lang/Process_7.out: Its expected results.
833 * testsuite/libjava.lang/Process_7.jar: Generated file.
835 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
837 * prims.cc (load_jvmti_agent): Add the missing `,'.
839 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
841 * gij.cc (main): Accept -agentlib and -agentpath options.
842 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
843 (load_jvmti_agent): New function.
845 2007-04-04 Tania Bento <tbento@redhat.com>
847 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
848 Copyright information and introduced new variable, currency.
849 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
850 to "XXX", currencySymbol to "?" and localCurrency appropriately.
851 (getCurrency): Fixed documentation and return the value of currency.
852 (setCurrency): Fixed documentation and update the value of currency.
853 (setInternationalCurrencySymbol): Fixed documentation and update the
855 * java/util/Currency.java: Introduced two new variables, properties
856 and fractionDigits. In the static block, a properties object is
857 created and the currency resource is loaded.
858 (Currency(Locale)): fractionDigits is defined.
859 (Currency(String)): New method.
860 (getDefaultFractionDigits): Return the value of fractionDigits.
861 (getInstance(String)): Check if String is equal to "XXX".
863 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
865 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
866 to ints for argCnt and slots.
867 (write): Replace writeLong with writeInt for the above.
869 2007-04-03 Andrew Haley <aph@redhat.com>
871 * testsuite/libjava.lang/ProxyTest.java: New test.
873 2007-04-02 Tom Tromey <tromey@redhat.com>
875 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
876 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
877 file, when writing, if it is too short.
879 2007-04-02 Tom Tromey <tromey@redhat.com>
881 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
882 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
884 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
885 where localport is -1.
886 (create): Now public.
887 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
888 'create' on the socket.
890 2007-04-02 Andrew Haley <aph@redhat.com>
892 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
893 _Jv_LookupProxyMethod to find the Method.
894 If parameter_types->length == 0, pass a null paramameter list,
895 not a zero-length parameter list.
896 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
897 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
899 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
901 * interpret-run.cc: Add code to properly set up variable slots
903 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
904 (getObjectJVMTI): New function.
905 (setObjectJVMTI): New function.
906 (getIntJVMTI): New function.
907 (setIntJVMTI): New function.
908 (getLongJVMTI): New function.
909 (setLongJVMTI): New function.
910 (getFloatJVMTI): New function.
911 (setFloatJVMTI): New function.
912 (getDoubleJVMTI): New function.
913 (setDoubleJVMTI): New function.
914 (getFrameDepth): New function.
915 (getValue): Implement.
916 (setValue): Implement.
918 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
920 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
921 (executeResume): Call VMVirtualMachine.resumeThread.
923 2007-03-29 Tom Tromey <tromey@redhat.com>
926 * java/util/logging/LogManager.java (readConfiguration): Handle
927 comma-separated 'handlers'. Don't try to add a non-existing
930 2007-03-27 Tom Tromey <tromey@redhat.com>
932 * sources.am, Makefile.in: Rebuilt.
933 * scripts/mime.types: Removed.
934 * scripts/MakeDefaultMimeTypes.java: Removed.
935 * gnu/gcj/io/MimeTypes.java: Removed.
936 * gnu/gcj/io/MimeTypes.h: Removed.
937 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
938 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
940 2007-03-27 Keith Seitz <keiths@redhat.com>
942 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
944 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
945 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
946 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
947 (initialize): Fix compiler type-punning warning.
948 (getAllLoadedClasses): Return empty list instead of NULL.
949 (getLoadRequests): Likewise.
950 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
951 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
952 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
953 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
954 * gnu/classpath/jdwp/value/CharValue.h: New file.
955 * gnu/classpath/jdwp/value/LongValue.h: New file.
956 * gnu/classpath/jdwp/value/ShortValue.h: New file.
957 * gnu/classpath/jdwp/value/Value.h: New file.
958 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
959 * gnu/classpath/jdwp/value/VoidValue.h: New file.
960 * gnu/classpath/jdwp/value/ByteValue.h: New file.
961 * gnu/classpath/jdwp/value/FloatValue.h: New file.
962 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
963 * gnu/classpath/jdwp/value/StringValue.h: New file.
964 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
965 * gnu/classpath/jdwp/value/IntValue.h: New file.
966 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
967 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
968 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
969 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
970 * gnu/classpath/jdwp/util/NullObject.h: New file.
971 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
972 * Makefile.in: Rebuilt.
973 * sources.am: Rebuilt.
975 2006-03-26 David Daney <ddaney@avtrex.com>
977 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
978 fork, execvp, execinfo.h, pthread_mutexattr_settype,
979 pthread_mutexattr_setkind_np and sys/wait.h.
980 * Makefile.in: Regenerate.
981 * include/Makefile.in: Regenerate.
982 * include/config.h.in: Regenerate.
983 * testsuite/Makefile.in: Regenerate.
984 * configure: Regenerate.
985 * gcj/Makefile.in: Regenerate.
987 2007-03-23 Gary Benson <gbenson@redhat.com>
989 * link.cc (_Jv_Linker::resolve_method_entry):
990 Ensure that the argument types and the return type of the
991 found method match those expected by the calling method.
993 2007-03-22 David Daney <ddaney@avtrex.com>
996 * configure.ac: Add checks for getrlimit and sys/resource.h.
997 * include/posix.h (_Jv_platform_close_on_exec): Remove.
998 * include/config.h.in: Regenerate.
999 * configure: Regenerate.
1000 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
1001 _Jv_platform_close_on_exec;
1002 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
1004 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
1005 * java/lang/natPosixProcess.cc: Include sys/resource.h.
1006 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
1009 2007-03-20 Andrew Haley <aph@redhat.com>
1011 * testsuite/libjava.lang/PR31264.java: New test.
1013 2007-03-14 Jakub Jelinek <jakub@redhat.com>
1015 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
1016 * Makefile.in: Rebuilt.
1018 2007-03-13 Keith Seitz <keiths@redhat.com>
1020 * include/java-interp.h (_Jv_InterpClass): Declare
1021 friend function _Jv_GetInterpClassSourceFile.
1022 * java/lang/Class.h (Class): Likewise.
1023 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
1025 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1026 (getSourceFile): Implement.
1028 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1030 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
1031 * classpath/configure.ac: Add --with-ecj-jar configure option.
1032 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
1034 * classpath/INSTALL: Document --with-ecj-jar configure option and
1035 ecj jar requirement for com.sun.tools.javac support.
1036 * classpath/tools/Makefile.am: Build decendents of com and sun
1038 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
1039 * gnu/classpath/Configuration.java,
1040 gnu/classpath/natConfiguration.cc (ecj): New method.
1041 (ECJ_JAR): New field.
1042 * scripts/makemake.tcl (scan_packages): Add com directory.
1043 * sources.am (property_files): Add
1044 classpath/resource/sun/rmi/rmic/messages.properties and
1045 classpath/resource/com/sun/tools/javac/messages.properties.
1046 * classpath/resource/com, classpath/resource/com/sun,
1047 classpath/resource/com/sun/tools,
1048 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
1049 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
1050 classpath/tools/classes/com, classpath/tools/classes/com/sun,
1051 classpath/tools/classes/com/sun/javadoc,
1052 classpath/tools/classes/com/sun/tools,
1053 classpath/tools/classes/com/sun/tools/doclets,
1054 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
1055 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
1056 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
1057 classpath/tools/com/sun/tools,
1058 classpath/tools/com/sun/tools/doclets,
1059 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
1060 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
1062 * classpath/resource/com/sun/tools/javac/messages.properties,
1063 classpath/resource/sun/rmi/rmic/messages.properties,
1064 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
1065 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
1066 classpath/tools/classes/com/sun/javadoc/Doc.class,
1067 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
1068 classpath/tools/classes/com/sun/javadoc/Doclet.class,
1069 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
1070 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
1071 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
1072 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
1073 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
1074 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
1075 classpath/tools/classes/com/sun/javadoc/Parameter.class,
1076 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
1077 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
1078 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
1079 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
1080 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
1081 classpath/tools/classes/com/sun/javadoc/Tag.class,
1082 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
1083 classpath/tools/classes/com/sun/javadoc/Type.class,
1084 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
1085 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
1086 classpath/tools/classes/sun/rmi/rmic/Main.class,
1087 classpath/tools/classes/sun/rmi/rmic/Messages.class,
1088 classpath/tools/com/sun/javadoc/ClassDoc.java,
1089 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
1090 classpath/tools/com/sun/javadoc/Doc.java,
1091 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
1092 classpath/tools/com/sun/javadoc/Doclet.java,
1093 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
1094 classpath/tools/com/sun/javadoc/FieldDoc.java,
1095 classpath/tools/com/sun/javadoc/MemberDoc.java,
1096 classpath/tools/com/sun/javadoc/MethodDoc.java,
1097 classpath/tools/com/sun/javadoc/PackageDoc.java,
1098 classpath/tools/com/sun/javadoc/ParamTag.java,
1099 classpath/tools/com/sun/javadoc/Parameter.java,
1100 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
1101 classpath/tools/com/sun/javadoc/RootDoc.java,
1102 classpath/tools/com/sun/javadoc/SeeTag.java,
1103 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
1104 classpath/tools/com/sun/javadoc/SourcePosition.java,
1105 classpath/tools/com/sun/javadoc/Tag.java,
1106 classpath/tools/com/sun/javadoc/ThrowsTag.java,
1107 classpath/tools/com/sun/javadoc/Type.java,
1108 classpath/tools/com/sun/javadoc/TypeVariable.java,
1109 classpath/tools/com/sun/tools/doclets/Taglet.java,
1110 classpath/tools/com/sun/tools/javac/Main.java,
1111 classpath/tools/com/sun/tools/javac/Messages.java,
1112 classpath/tools/sun/rmi/rmic/Main.java,
1113 classpath/tools/sun/rmi/rmic/Messages.java: New files.
1114 * Makefile.in, classpath/Makefile.in, classpath/configure,
1115 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
1116 classpath/examples/Makefile.in, classpath/external/Makefile.in,
1117 classpath/external/jsr166/Makefile.in,
1118 classpath/external/relaxngDatatype/Makefile.in,
1119 classpath/external/sax/Makefile.in,
1120 classpath/external/w3c_dom/Makefile.in,
1121 classpath/include/Makefile.in, classpath/include/config.h.in,
1122 classpath/lib/Makefile.in,
1123 classpath/lib/gnu/classpath/Configuration.class,
1124 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
1125 classpath/native/jawt/Makefile.in,
1126 classpath/native/jni/Makefile.in,
1127 classpath/native/jni/classpath/Makefile.in,
1128 classpath/native/jni/gconf-peer/Makefile.in,
1129 classpath/native/jni/gtk-peer/Makefile.in,
1130 classpath/native/jni/java-io/Makefile.in,
1131 classpath/native/jni/java-lang/Makefile.in,
1132 classpath/native/jni/java-net/Makefile.in,
1133 classpath/native/jni/java-nio/Makefile.in,
1134 classpath/native/jni/java-util/Makefile.in,
1135 classpath/native/jni/midi-alsa/Makefile.in,
1136 classpath/native/jni/midi-dssi/Makefile.in,
1137 classpath/native/jni/native-lib/Makefile.in,
1138 classpath/native/jni/qt-peer/Makefile.in,
1139 classpath/native/jni/xmlj/Makefile.in,
1140 classpath/native/plugin/Makefile.in,
1141 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1142 classpath/tools/Makefile.in, configure,
1143 gnu/classpath/Configuration.h: Regenerate.
1145 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
1147 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
1150 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
1152 * java/lang/natString.cc (getBytes (jstring enc)):
1153 Fixed the loop for multiple cycles, Code cleanup
1155 2007-03-09 Tom Tromey <tromey@redhat.com>
1157 * sources.am, Makefile.in: Rebuilt.
1158 * scripts/makemake.tcl (scan_directory): Allow service files to be
1160 Omit all XML-related service files.
1162 2007-03-07 Tom Tromey <tromey@redhat.com>
1164 * configure: Rebuilt.
1165 * configure.ac: Clear vm-tools-packages.
1167 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
1169 * java/lang/Win32Process.java: Added nested class EOFInputStream.
1170 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
1171 enum and implementation.
1172 (startProcess): Use redirect flag.
1173 * classpath/lib/java/lang/Win32Process.class: Regenerated.
1174 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
1175 * gcj/javaprims.h: Regenerated.
1176 * java/lang/Win32Process$EOFInputStream.h: New.
1178 2007-03-07 Andrew Haley <aph@redhat.com>
1180 * libgcj_bc.c (JvRunMainName): Declare.
1182 2007-03-07 Gary Benson <gbenson@redhat.com>
1184 * sources.am, Makefile.in: Rebuilt.
1186 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
1188 * gcj/javaprims.h: Regenerated.
1190 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
1192 * include/jvm.h (_Jv_ClosureListFinalizer): New.
1193 (_Jv_Linker::create_error_method): Adjust.
1194 * boehm.cc (_Jv_ClosureListFinalizer): New.
1195 * nogc.cc (_Jv_ClosureListFinalizer): New.
1196 * java/lang/Class.h (class _Jv_ClosureList): New.
1197 (class java::lang::Class): Declare it as friend.
1198 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
1199 (_Jv_ClosureList::registerClousure): New.
1200 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
1201 (_Jv_CompiledEngine::do_get_closure_list): New.
1202 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
1203 (_Jv_IndirectCompiledClass): Add closures.
1204 (_Jv_IndirectCompiledEngine::get_aux_info): New.
1205 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
1207 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
1208 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
1209 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
1210 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
1211 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
1212 (node_closure): Add closure list.
1213 (_Jv_InterpMethod::ncode): Add jclass argument. Use
1214 ffi_closure_alloc and the separate code pointer. Register the
1215 closure for finalization.
1216 (_Jv_JNIMethod::ncode): Likewise.
1217 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
1218 (_Jv_InterpreterEngine::do_get_closure_list): New.
1219 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
1220 (_Jv_InterpClass): Add closures field.
1221 (_Jv_JNIMethod::ncode): Adjust.
1222 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
1223 (_Jv_ClassReader::handleMethodsEnd): Likewise.
1224 * link.cc (struct method_closure): Add closure list.
1225 (_Jv_Linker::create_error_method): Add jclass argument. Use
1226 ffi_closure_alloc and the separate code pointer. Register the
1227 closure for finalization.
1228 (_Jv_Linker::link_symbol_table): Remove outdated comment about
1229 sharing of otable and atable. Adjust.
1230 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
1232 (ncode): Add jclass argument. Use ffi_closure_alloc and the
1233 separate code pointer. Register the closure for finalization.
1234 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
1235 * testsuite/libjava.jar/TestClosureGC.java: New.
1236 * testsuite/libjava.jar/TestClosureGC.out: New.
1237 * testsuite/libjava.jar/TestClosureGC.xfail: New.
1238 * testsuite/libjava.jar/TestClosureGC.jar: New.
1240 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1242 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1243 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1244 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1245 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1246 (VMMethod::getLineTable): Use new macro.
1247 (VMMethod::getVariableTable): Implement.
1248 * sources.am: Regenerated.
1249 * Makefile.in: Ditto.
1251 2007-03-06 Tom Tromey <tromey@redhat.com>
1253 * Makefile.in: Rebuilt.
1254 * Makefile.am (bin_PROGRAMS): Added gcjh.
1255 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1256 gcjh_DEPENDENCIES): New variables.
1258 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1260 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1261 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1262 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1264 2007-03-05 Matthias Klose <doko@debian.org>
1266 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1267 * Makefile.in: Regnerate.
1269 2007-03-05 Mark Wielaard <mark@klomp.org>
1271 * java/lang/Character.java: Re-merged with Classpath.
1272 * java/lang/natString.cc (nativeCompareTo): Renamed from
1274 * java/lang/StringBuilder.java: Re-merged with Classpath.
1275 * java/lang/String.java: Re-merged with Classpath.
1276 (nativeCompareTo): Renamed from compareTo.
1277 * java/lang/StringBuffer.java: Re-merged with Classpath.
1278 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1280 2007-03-05 Andrew Haley <aph@redhat.com>
1282 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1283 (generateProxyClass): Don't pass method to ncode.
1284 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1285 * java/lang/reflect/Method.h: Rebuild.
1286 * java/lang/reflect/Method.java (internalGetParameterTypes,
1287 internalGetExceptionTypes): New methods.
1288 * headers.txt (class java/lang/reflect/Method): Declare
1289 _Jv_GetReflectedMethod. Be its friend.
1290 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1291 * java/lang/Class.h: Declare it. Be its friend.
1293 2007-03-05 Tom Tromey <tromey@redhat.com>
1295 * sources.am, Makefile.in: Rebuilt.
1296 * scripts/makemake.tcl (emit_package_rule): Don't omit
1298 * Makefile.am (nat_source_files): Added natVMProcess.cc.
1299 (inner_nat_headers): Added ImmediateEOFInputStream.h.
1300 * gcj/javaprims.h: Regenerated.
1301 * java/lang/System.java (EnvironmentMap): Now package-private.
1302 (EnvironmentMap(Map)): New constructor.
1303 (EnvironmentMap.put): New method.
1304 * java/lang/natWin32Process.cc (startProcess): Update.
1305 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1307 (startProcess): Likewise.
1308 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1310 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1311 * java/lang/PosixProcess.java (redirect): New field.
1312 (PosixProcess): Added 'redirect' argument.
1313 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1314 argument to Process creation.
1315 * java/lang/natVMProcess.cc: New file.
1316 * java/lang/ProcessBuilder.java: Removed.
1317 * java/lang/VMProcess.java: New file.
1319 2007-03-03 Andrew Haley <aph@redhat.com>
1321 * java/lang/natClass.cc (parseAnnotationElement): Correct long
1322 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1324 2007-03-02 Andrew Haley <aph@redhat.com>
1326 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1327 Generify in a few places.
1328 (equals): Rewrite to use invoke on local proxy.
1329 (deepToString): Remove most of it.
1330 (toString): Make nonstatic.
1331 (arrayClone): Delete.
1332 (coerce): New method.
1333 (invoke): Rewrite to handle gcj's structures correctly.
1334 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1336 * sources.am: Regenerate.
1337 * Makefile.am: Likewise.
1339 2007-03-02 Andrew Haley <aph@redhat.com>
1341 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1342 Whitespace only changes.
1344 2007-03-02 Andrew Haley <aph@redhat.com>
1346 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1347 from Classpath to libgcj local.
1349 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1351 * Makefile.am: Add dummy install-pdf target.
1352 * Makefile.in: Regenerate
1353 * include/Makefile.in: Regenerate
1354 * testsuite/Makefile.in: Regenerate
1355 * gcj/Makefile.in: Regenerate
1357 2007-02-23 Gary Benson <gbenson@redhat.com>
1359 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1361 2007-02-23 Gary Benson <gbenson@redhat.com>
1363 * java/lang/VMCompiler.java
1364 (compileClass): Don't lose zeros from within the digest.
1366 2007-02-22 Jakub Jelinek <jakub@redhat.com>
1370 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1371 /etc/localtime, use ZoneInfo.readTZFile instead of
1372 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
1373 either if it is a symlink or through /etc/sysconfig/clock.
1374 (readSysconfigClockFile): New static method.
1375 (readtzFile): Removed.
1376 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1377 * posix.cc (_Jv_platform_initProperties): Set
1378 gnu.java.util.zoneinfo.dir.
1379 * sources.am (gnu_java_util_source_files): Add
1380 classpath/gnu/java/util/ZoneInfo.java.
1381 * Makefile.in: Regenerated.
1382 * java/util/VMTimeZone.h: Regenerated.
1383 * java/util/TimeZone.h: Regenerated.
1384 * gnu/java/util/ZoneInfo.h: Generated.
1386 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
1388 * include/win32-threads.h: Added #undef OUT.
1390 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
1392 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1393 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1394 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1395 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1396 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1397 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1399 2007-02-21 Gary Benson <gbenson@redhat.com>
1401 * java/util/GregorianCalendar.java: Removed.
1402 * sources.am, Makefile.in: Rebuilt.
1404 2007-02-20 Keith Seitz <keiths@redhat.com>
1406 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1407 (jdwpClassPrepareCB): Move class status stuff to ...
1408 (getClassStatus): ... here.
1410 2007-02-20 Gary Benson <gbenson@redhat.com>
1412 * gnu/awt/xlib/XEventLoop.h: Regenerated.
1413 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1414 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1416 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1417 * java/lang/SecurityManager.h: Likewise.
1418 * java/lang/Thread.h: Likewise.
1419 * java/security/VMSecureRandom$Spinner.h: Likewise.
1420 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1421 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1422 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1423 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1424 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1425 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1426 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1427 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1428 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1429 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1430 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1431 * java/util/concurrent/Exchanger.h: Likewise.
1432 * java/util/concurrent/Exchanger$Node.h: Likewise.
1433 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1434 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1435 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1437 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1439 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1440 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1442 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1443 * java/util/concurrent/SynchronousQueue.h: Likewise.
1444 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1445 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1447 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1448 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1450 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1451 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1452 * java/util/logging/ErrorManager.h: Likewise.
1453 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1454 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1456 2007-02-16 Keith Seitz <keiths@redhat.com>
1458 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1459 (get_line_table): New function.
1460 (handle_single_step): New function.
1461 (jdwpSingleStepCB): New function.
1462 (jdwpVMInitCB): Define a JVMTI single step
1463 callback, but don't enable it until needed.
1465 2007-02-16 David Daney <ddaney@avtrex.com>
1467 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1468 new parameter constructor.
1469 (Thread(ThreadGroup, Runnable, String, long)): Same.
1470 (Thread(String, boolean)): New constructor.
1471 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1472 noInheritableThreadLocal, don't call
1473 InheritableThreadLocal.newChildThread if set.
1474 * java/lang/PosixProcess.java(ProcessManager()): Set
1475 noInheritableThreadLocal in super.
1476 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1477 parameter to Thread constructor.
1478 (_Jv_AttachCurrentThreadAsDaemon): Same.
1479 * java/lang/Thread.h: Regenerate.
1480 * classpath/lib/java/lang/Thread.class: Same.
1481 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1482 * classpath/lib/java/lang/PosixProcess.class: Same.
1483 * classpath/lib/java/lang/Thread$State.class: Same.
1484 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1486 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1488 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1489 variables to maintain type info.
1490 * interpret-run.cc: Add local variable info to frame in the debug
1492 * jvmti.cc (getLocalFrame): New method.
1493 (_Jv_JVMTI_GetLocalObject): New method.
1494 (_Jv_JVMTI_GetLocallInt): New method.
1495 (_Jv_JVMTI_GetLocalFloat): New method.
1496 (_Jv_JVMTI_GetLocalLong): New method.
1497 (_Jv_JVMTI_GetLocalDouble): New method.
1498 (_Jv_JVMTI_SetLocalObject): New method.
1499 (_Jv_JVMTI_SetLocalInt): New method.
1500 (_Jv_JVMTI_SetLocalFloat): New method.
1501 (_Jv_JVMTI_SetLocalLong): New method.
1502 (_Jv_JVMTI_SetLocalDouble): New method.
1504 2007-02-16 Gary Benson <gbenson@redhat.com>
1506 * gnu/gcj/tools/gcj_dbtool/Main.java
1507 (bytesToString): Don't lose zeros from within the digest.
1509 2007-02-15 Andrew Haley <aph@redhat.com>
1511 * Makefile.am (nat_source_files): Remove
1512 java/lang/management/natVMManagementFactory.cc.
1513 * java/lang/Thread.java (getStackTrace): Use reflection to call
1514 the ManagementFactory.
1515 * java/lang/management/VMManagementFactory.java: Remove native
1517 * java/lang/management/natVMManagementFactory.cc: Deleted.
1518 * sources.am: Regnerate.
1519 * scripts/makemake.tcl: Add new "bcheaders" type.
1520 Move java/lang/management and gnu/classpath/management to "bc".
1521 Move gnu/java/lang/management to "bcheaders".
1523 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1525 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1526 * interpret-run.cc: Change the catch section to report exception
1527 events and to use the new check_handler method.
1528 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1529 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1530 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1531 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1532 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1534 * sources.am: Added ExceptionEvent.java.
1535 * Makefile.am: Added natExceptionEvent.cc
1536 * Makefile.in: Regenerated.
1537 * include/Makefile.in: Regenerated.
1538 * gcj/Makefile.in: Regenerated.
1540 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1541 David Daney <ddaney@avtrex.com>
1543 * configure.ac: Create vm-tools-packages file. Add
1544 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1545 Check for /proc/self/maps.
1546 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1547 (gc_analyze_SOURCES): New.
1548 (gc_analyze_LDFLAGS): New.
1549 (gc_analyze_LINK): New.
1550 (gc_analyze_LDADD): New.
1551 (gc_analyze_DEPENDENCIES): New.
1552 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1553 * Makefile.in: Regenerated.
1554 * configure: Regenerated.
1555 * include/config.h.in: Regenerated.
1556 * sources.am: Regenerated.
1557 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1558 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1559 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1560 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1561 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1562 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1563 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1564 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1565 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1566 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1567 * gnu/gcj/util/GCInfo.java: New.
1568 * gnu/gcj/util/GCInfo.h: New.
1569 * gnu/gcj/util/natGCInfo.cc: New.
1570 * gnu/gcj/util/UtilPermission.java: New.
1571 * gnu/gcj/util/UtilPermission.h: New.
1572 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1573 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1574 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1575 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1576 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1577 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1578 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1579 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1580 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1581 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1582 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1583 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1584 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1585 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1586 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1587 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1588 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1589 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1590 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1591 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1592 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1593 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1594 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1596 2007-02-15 David Daney <ddaney@avtrex.com>
1598 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1599 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1600 * gnu/classpath/jdwp/VMFrame.h: Same.
1601 * java/net/Socket.h: Same.
1602 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1604 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1606 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1607 Added LocalVariableTable attribute handling.
1608 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1609 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1610 * include/java-interp.h: Added local_var_table and
1611 local_var_table_len fields to _Jv_InterpMethod.
1612 (_Jv_InterpMethod::get_local_var_table): New method.
1613 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1614 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1615 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1617 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1618 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1620 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1622 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1624 2007-02-13 Keith Seitz <keiths@redhat.com>
1626 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1627 (jdwpBreakpointCB): New function.
1628 (jdwpVMInitCB): Define and enable the breakpoint
1631 2007-02-13 Andrew Haley <aph@redhat.com>
1633 * testsuite/libjava.lang/Divide_2.out
1634 * testsuite/libjava.lang/Divide_2.java: New test.
1636 2007-02-12 Keith Seitz <keiths@redhat.com>
1638 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1639 from jthread to Thread *; it is no longer needed.
1640 (_Jv_JVMTI_GetFrameCount): Likewise.
1641 Fix small formatting typo.
1643 2007-02-12 Tom Tromey <tromey@redhat.com>
1645 * sources.am, Makefile.in: Rebuilt.
1646 * java/lang/Socket.java: Removed override.
1647 * java/lang/DatagramSocket.java: Removed override.
1648 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1650 (getLocalAddress): New method.
1651 * gnu/java/net/PlainDatagramSocketImpl.java
1652 (PlainDatagramSocketImpl): Throws IOException.
1653 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1657 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1659 * java/util/VMTimeZone.java: Rewrite to handle both the old
1660 'TZif\0' format and the new one.
1662 2007-02-10 Andrew Haley <aph@redhat.com>
1665 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1666 (getCallingClass): Call GET_CALLING_CLASS.
1667 (getCallingClassLoader): Likewise.
1669 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1671 * configure: Rebuilt.
1672 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1674 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1676 * Makefile.in: Rebuilt.
1677 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1678 the host's ecj1 executable.
1680 2007-02-09 Richard Henderson <rth@redhat.com>
1682 * sysdep/alpha/locks.h (read_barrier): New.
1684 2007-02-09 Keith Seitz <keiths@redhat.com>
1686 * gnu/classpath/jdwp/VMVirtualMachine.java
1687 (_stepping_threads): New member.
1688 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1690 * gnu/classpath/jdwp/VMVirtualMachine.h:
1692 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1693 (get_request_step_filter): New function.
1694 (DISABLE_EVENT): New macro.
1695 (initialize): Initialize _stepping_threads.
1696 (registerEvent): Implement EVENT_SINGLE_STEP.
1697 (unregisterEvent): Likewise.
1699 2007-02-08 Keith Seitz <keiths@redhat.com>
1701 * sources.am: Regenerate.
1702 * Makefile.in: Regenerate.
1703 * testsuite/Makefile.in: Regenerate.
1704 * gcj/Makefile.in: Regenerate.
1705 * include/Makefile.in: Regenerate.
1707 * classpath/lib/javax/management/MBeanServerFactory.class:
1710 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1712 * classpath/gnu/classpath/jdwp/processor/
1713 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1715 (executeSetValues): Ditto.
1716 (executeThisObject): Ditto.
1717 * classpath/gnu/classpath/jdwp/processor/
1718 StackFrameCommandSet.class: Rebuilt.
1719 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1721 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1722 * classpath/lib/gnu/classpath/jdwp/exception/
1723 InvalidFrameException.java: New file.
1724 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1726 (Constructor): New method.
1727 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1728 * gnu/classpath/jdwp/VMVirtualMachine.java
1729 (getFrame): Changed ByteBuffer to jlong.
1730 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1731 (getFrame): Implement.
1732 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1734 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1736 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1737 to hold "this" pointer for frame.
1738 (_Jv_InterpFrame::get_this_ptr): New method.
1739 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1741 2007-02-07 Keith Seitz <keiths@redhat.com>
1743 * include/java-interp.h (_Jv_Frame::depth):
1745 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1747 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1749 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1750 (_Jv_JVMTI_GetMaxLocals): New method.
1751 * include/java-interp.h
1752 (_Jv_InterpMethod::get_max_locals): New method.
1754 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1756 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1758 2007-02-07 Tom Tromey <tromey@redhat.com>
1760 * testsuite/libjava.jni/init.c: New file.
1761 * testsuite/libjava.jni/init.java: New file.
1762 * testsuite/libjava.jni/init.out: New file.
1763 * testsuite/libjava.jni/init.jar: New file.
1764 * testsuite/libjava.jni/init.h: New file.
1765 * testsuite/libjava.jni/init$NativeClass.h: New file.
1767 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1770 * configure: Regenerate.
1772 2007-02-06 Andrew Haley <aph@redhat.com>
1774 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1775 * sources.am: Rebuild.
1777 2007-02-05 Keith Seitz <keiths@redhat.com>
1779 * jvmti.cc (_envListLock): Change type to
1780 ReentrantReadWriteLock.
1781 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1783 (check_enabled_event): Likewise.
1784 (_Jv_GetJVMTIEnv): Likewise.
1785 (_Jv_JVMTI_Init): Likewise.
1786 (_Jv_JVMTI_PostEvent): Likewise.
1788 2007-02-05 Keith Seitz <keiths@redhat.com>
1790 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1791 (registerEvent): Implement EVENT_BREAKPOINT.
1792 (unregisterEvent): Likewise.
1793 (get_request_location): New function.
1795 2007-02-05 Matthias Klose <doko@debian.org>
1797 testsuite/Makefile.am (compile-tests): Fix typo.
1798 testsuite/Makefile.in: Regenerate.
1800 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1802 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1805 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1807 * configure.ac (libjava_cv_anon_version_script): New test.
1808 (ANONVERSCRIPT): New AM_CONDITIONAL.
1809 * configure: Rebuilt.
1810 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1812 * Makefile.in: Rebuilt.
1813 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1814 * libgcj.ver: New file.
1816 2007-02-01 David Daney <ddaney@avtrex.com>
1818 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1820 * sources.am: Regenerate.
1821 * Makefile.in: Regenerate.
1823 2007-02-01 Tom Tromey <tromey@redhat.com>
1825 * java/lang/ClassLoader.java (getResources): No longer final.
1827 2007-02-01 Tom Tromey <tromey@redhat.com>
1829 * java/util/logging/LogManager.java (loggers): Genericized.
1830 (addLogger): Merged.
1831 (findAncestor): Likewise.
1832 (getLogger): Likewise.
1833 (getLoggerNames): Genericized.
1835 (getLevelProperty): Likewise.
1836 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1837 * java/lang/reflect/Constructor.java (getParameterTypes):
1839 (getExceptionTypes): Likewise.
1840 (newInstance): Likewise.
1841 * java/lang/reflect/Array.java (newInstance): Genericized.
1842 * java/lang/Object.java (getClass): Genericized.
1843 * java/nio/charset/spi/CharsetProvider.java (charsets):
1845 * java/text/Collator.java: Implement Comparable<Object>.
1847 2007-02-01 Tom Tromey <tromey@redhat.com>
1849 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1851 (clear): Call complete.
1852 (setTimeZone): Call computeTime, computeFields.
1853 (compareTo): New method.
1854 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1855 (availableCharsets): Genericized.
1856 (aliases): Likewise.
1857 (compareTo): Changed argument type.
1858 * java/lang/ClassLoader.java (loadClass): Genericized.
1859 (findClass): Likewise.
1860 (defineClass): Likewise.
1861 (resolveClass): Likewise.
1862 (findSystemClass): Likewise.
1863 (setSigners): Likewise.
1864 (findLoadedClass): Likewise.
1865 (getResources): Likewise.
1866 (findResources): Likewise.
1867 (getSystemResources): Likewise.
1868 (checkInitialized): New method.
1869 * java/lang/Class.java (getCanonicalName): New method.
1871 2007-01-31 Keith Seitz <keiths@redhat.com>
1873 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1874 * jvmti.cc (JVMTI): Add member "enabled".
1875 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1876 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1877 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1878 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1879 instead of run to compile the method.
1881 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1884 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1886 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1887 -shared-libgcc to the cxxflaglist for Darwin.
1889 2007-01-31 Tom Tromey <tromey@redhat.com>
1891 * scripts.am, Makefile.in: Rebuilt.
1892 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1894 (emit_ordinary_rule): New proc.
1896 2007-01-31 Keith Seitz <keiths@redhat.com>
1898 * testsuite/libjava.jvmti/getmethodname.h: New file.
1899 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1901 2007-01-31 Andrew Haley <aph@redhat.com>
1903 * prims.cc (_Jv_Abort): fflush (stderr).
1904 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1906 2007-01-31 Tom Tromey <tromey@redhat.com>
1908 * configure, Makefile.in: Rebuilt.
1909 * configure.ac (JAR): Check for -@ feature.
1910 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1912 2007-01-31 Tom Tromey <tromey@redhat.com>
1915 * configure, include/config.h.in: Rebuilt.
1916 * configure.ac: Check for magic_t in magic.h.
1917 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1919 2007-01-30 Tom Tromey <tromey@redhat.com>
1921 * Makefile.in: Rebuilt.
1922 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1924 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1926 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1927 cast to print it right.
1929 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1932 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1935 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1937 * include/java-interp.h: Added _Jv_Frame class and its two
1938 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1939 _Jv_FrameType from java-stack.h.
1940 * include/java-stack.h: Removed _Jv_FrameType.
1941 * java/lang/Thread.java: Added frame member to hold new
1942 composite frame stack.
1943 * java/lang/Thread.h: Regenerated.
1944 * java/lang/Thread.class: Rebuilt.
1945 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1946 calling a JNI method.
1947 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1948 (_Jv_JVMTI_GetFrameCount): New method.
1949 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1951 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1952 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1953 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1954 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1955 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1958 2007-01-29 Tom Tromey <tromey@redhat.com>
1960 * interpret.cc (run_debug): Remove comment.
1967 (run_normal_debug): Likewise.
1968 (run_synch_object_debug): Likewise.
1969 (run_class_debug): Likewise.
1970 (run_synch_class_debug): Likewise.
1975 (NULLARRAYCHECK): Likewise.
1976 (ARRAYBOUNDSCHECK): Likewise.
1977 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1979 2007-01-29 Tom Tromey <tromey@redhat.com>
1981 * configure, Makefile.in: Rebuilt.
1982 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1983 * configure.ac (BASH_JAR): Removed conditional.
1984 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1986 2007-01-29 Tom Tromey <tromey@redhat.com>
1988 * Makefile.in: Rebuilt.
1989 * Makefile.am (interpret.lo): New target. Add -fwrap to
1992 2007-01-29 Keith Seitz <keiths@redhat.com>
1994 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1996 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1997 gcj. All jvmti object types now are defined to be their
1998 corresponding java classes.
1999 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
2001 (_Jv_JVMTI_ResumeThread): Likewise.
2002 (_Jv_JVMTI_InterruptThread): Likewise.
2003 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
2004 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2005 (jdwpClassPrepareCB): Likewise.
2006 (jdwpThreadEndCB): Likewise.
2007 (jdwpThreadStartCB): Likewise.
2008 (jdwpVMInitCB): Likewise.
2010 2007-01-28 Michele Sandri <gpointorama@gmail.com>
2012 * gnu/java/nio/channels/natFileChannelWin32.cc
2013 (lock): Implemented.
2014 (unlock): Implemented.
2016 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
2019 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
2020 libgcj_flags to undefine 'sun' at compile time.
2021 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
2023 (write_barrier): Likewise.
2025 2007-01-27 Keith Seitz <keiths@redhat.com>
2027 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2028 (getAllClassMethods): Move error handling to ...
2029 (throw_jvmti_error): ... here.
2030 (jdwpClassPrepareCB): New function.
2031 (jdwpThreadEndCB): New function.
2032 (jdwpThreadStartCB): New function.
2033 (jdwpVMDeathCB): New function.
2034 (jdwpVMInitCB): Define and enable callbacks for
2035 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
2037 2007-01-27 Jakub Jelinek <jakub@redhat.com>
2039 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
2040 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
2041 (MYGCJH): New variable.
2042 (compile-tests): New goal.
2043 * Makefile.in: Rebuilt.
2044 * testsuite/Makefile.in: Rebuilt.
2046 2007-01-26 Andrew Haley <aph@redhat.com>
2048 * java/lang/natClass.cc (initializeClass): Re-throw
2050 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
2051 * java/lang/ClassLoader.java: (loadClass): Likewise.
2053 2007-01-26 Tom Tromey <tromey@redhat.com>
2057 2007-01-25 Tom Tromey <tromey@redhat.com>
2060 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
2061 input or output encodings. Removed unused local variables.
2063 2007-01-25 Keith Seitz <keiths@redhat.com>
2065 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
2066 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2067 (_Jv_GetJDWP_JVMTIEnv): New function.
2068 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
2069 (getSignature): Implement.
2070 (getModifiers): Implement.
2072 2007-01-25 Andrew Haley <aph@redhat.com>
2074 * configure, Makefile.in, include/config.h.in: Rebuilt.
2075 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
2076 * configure.ac: Don't check for libmagic.
2077 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
2078 p_magic_close, p_magic_buffer): New globals.
2079 (init): Look up 'magic' functions.
2080 (guessContentTypeFromBuffer): Updated.
2082 2007-01-25 Keith Seitz <keiths@redhat.com>
2084 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
2085 (_Jv_JVMTI_Interface): Define GetMethodName.
2086 * testsuite/libjava.jvmti/getmethodname.java: New file.
2087 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
2088 * testsuite/libjava.jvmti/getmethodname.out: New file.
2090 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
2092 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
2093 * libjava/testsuite/libjava.jvmti/interp: New folder.
2094 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
2096 2007-01-24 Keith Seitz <keiths@redhat.com>
2098 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
2099 CLASS_PREPARE notification.
2101 2007-01-24 Keith Seitz <keiths@redhat.com>
2103 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
2104 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
2105 * interpret-run.cc: Implement insn_breakpoint.
2107 2007-01-24 Keith Seitz <keiths@redhat.com>
2109 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
2110 for VM_INIT and VM_DEATH instead of the JDWP notifications.
2112 2007-01-24 Keith Seitz <keiths@redhat.com>
2114 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2115 (getAllClassMethods): Implement.
2117 2007-01-24 Andrew Haley <aph@redhat.com>
2119 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
2120 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
2121 from being sibcalled.
2123 2007-01-24 Andrew Haley <aph@redhat.com>
2125 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2126 * sources.am: Rebuild.
2128 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
2130 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
2131 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2133 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
2136 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
2137 * Makefile.in: Regenerated.
2139 2007-01-22 Keith Seitz <keiths@redhat.com>
2141 * gnu/classpath/jdwp/natVMVirtualMachine.cc
2142 (getClassMethod): Implement.
2144 2007-01-22 Keith Seitz <keiths@redhat.com>
2146 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
2147 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
2148 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
2149 (_Jv_JVMTI_Interface): Define GetClassStatus.
2151 2007-01-22 Tom Tromey <tromey@redhat.com>
2153 * configure: Rebuilt.
2154 * configure.ac (GCJ): Reverted patch of 2006-12-20.
2156 2007-01-22 Tom Tromey <tromey@redhat.com>
2159 * testsuite/libjava.jni/pr29812.java: New file.
2160 * testsuite/libjava.jni/pr29812_injar.java: New file.
2161 * testsuite/libjava.jni/pr29812_injar.jar: New file.
2162 * testsuite/libjava.jni/pr29812.out: New file.
2163 * testsuite/libjava.jni/pr29812_injar.c: New file.
2164 * testsuite/libjava.jni/pr29812_injar.h: New file.
2165 * testsuite/libjava.jni/pr29812.jar: New file.
2166 * testsuite/libjava.jni/pr29812.c: New file.
2167 * testsuite/libjava.jni/pr29812.h: New file.
2168 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
2170 (gcj_jni_invocation_test_one): Use it.
2171 (gcj_jni_pr29812): New proc.
2172 (gcj_jni_run): Use it.
2173 * java/lang/natRuntime.cc (_load): Push a new system frame before
2175 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
2176 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
2177 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
2178 <allocated_p>: Now bool.
2179 <loader>: New field.
2180 (_Jv_JNI_EnsureLocalCapacity): Updated.
2181 (_Jv_JNI_NewLocalRef): Likewise.
2182 (_Jv_JNI_NewLocalRef): Likewise.
2183 (_Jv_JNI_PopLocalFrame): Likewise.
2184 (_Jv_JNI_FindClass): Likewise.
2185 (_Jv_GetJNIEnvNewFrame): Likewise.
2186 (_Jv_JNI_AttachCurrentThread): Likewise.
2187 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
2188 (_Jv_GetJNIEnvNewFrame): Use it.
2189 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
2191 2007-01-22 Tom Tromey <tromey@redhat.com>
2193 * libtool-version: Bump current to 9.
2195 2007-01-22 Andrew Haley <aph@redhat.com>
2197 * sysdep/alpha/locks.h (write_barrier): New.
2199 2007-01-21 Matthias Klose <doko@debian.org>
2201 * Makefile.am (install-exec-hook): Use transformed name.
2202 * Makefile.in: Regenerate.
2204 2007-01-19 Keith Seitz <keiths@redhat.com>
2206 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
2207 in methods and reformat.
2209 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
2212 2007-01-18 Keith Seitz <keiths@redhat.com>
2214 From Macro Trudel <mtrudel@gmx.ch>:
2215 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
2218 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
2220 * jni.cc (_Jv_JNI_FindClass): Initialize class.
2221 * testsuite/libjava.jni/findclass2.jar: New file.
2222 * testsuite/libjava.jni/findclass2.h: New file.
2223 * testsuite/libjava.jni/findclass2.java: New file
2224 * testsuite/libjava.jni/findclass2.c: New file.
2225 * testsuite/libjava.jni/findclass2.out: New file.
2227 2007-01-18 Tom Tromey <tromey@redhat.com>
2229 * configure: Rebuilt.
2230 * configure.ac: Use multi_basedir instead of libgcj_basedir.
2232 2007-01-18 Gary Benson <gbenson@redhat.com>
2234 * gnu/java/nio/natVMPipeEcos.cc:
2235 Renamed from gnu/java/nio/natPipeImplEcos.cc.
2236 * gnu/java/nio/natVMPipePosix.cc:
2237 Renamed from gnu/java/nio/natPipeImplPosix.cc.
2238 * gnu/java/nio/natVMPipeWin32.cc:
2239 Renamed from gnu/java/nio/natPipeImplWin32.cc.
2240 * gnu/java/nio/natVMSelectorEcos.cc:
2241 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2242 * gnu/java/nio/natVMSelectorPosix.cc:
2243 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2244 * gnu/java/nio/natVMSelectorWin32.cc:
2245 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2246 * java/io/natVMObjectInputStream.cc:
2247 Renamed from java/io/natObjectInputStream.cc.
2248 * java/lang/natVMDouble.cc:
2249 Renamed from java/lang/natDouble.cc.
2250 * java/lang/natVMFloat.cc:
2251 Renamed from java/lang/natFloat.cc.
2252 * Makefile.am, configure.ac: Reflect the above.
2253 * Makefile.in, configure: Rebuilt.
2255 2007-01-17 Andrew Haley <aph@redhat.com>
2257 * Makefile.in: Rebuilt.
2258 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2260 2007-01-17 Keith Seitz <keiths@redhat.com>
2262 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2263 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2265 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
2267 * configure.ac: Use multi.m4 from aclocal rather than custom
2268 code. Use multi_basedir instead libgcj_basedir. Test for
2269 /proc/self/exe when not cross-compiling.
2270 * aclocal.m4: Regenerate.
2271 * configure: Regenerate.
2272 * Makefile.in: Regenerate.
2274 2007-01-17 Gary Benson <gbenson@redhat.com>
2276 * java/nio/natVMDirectByteBufferImpl.cc:
2277 Renamed from java/nio/natDirectByteBufferImpl.cc.
2278 * Makefile.am: Reflect the above.
2279 * Makefile.in: Rebuilt.
2281 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
2283 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
2284 Fixed indentation. Removed unused variable.
2286 2007-01-16 Tom Tromey <tromey@redhat.com>
2288 * java/lang/natThread.cc (finalize_native): Remove cast.
2289 (_Jv_GetCurrentJNIEnv): Likewise.
2290 * include/jvm.h (struct natThread) <jni_env>: Declare as
2293 2007-01-16 Keith Seitz <keiths@redhat.com>
2295 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2296 %#llx instead of %d for new_value.
2297 * testsuite/libjava.jvmti/events.out: Update expected output.
2298 * testsuite/libjava.jvmti/events.jar: Regenerate.
2300 2007-01-16 Keith Seitz <keiths@redhat.com>
2302 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2304 (ENABLE_EVENT): New macro.
2305 (initialize): Define and enable JVMTI VM_INIT callback.
2306 (jdwpVMInitCB): New function.
2308 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
2310 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2311 * testsuite/libjava.jvmti/getallthreads.java: New test.
2312 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2313 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2314 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2315 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
2317 2007-01-15 Keith Seitz <keiths@redhat.com>
2319 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2320 java.lang.StringBuilder instead of java.lang.StringBuffer.
2321 (resumeThread): Likewise.
2323 2007-01-15 Gary Benson <gbenson@redhat.com>
2325 * java/nio/MappedByteBuffer.java: Removed.
2326 * sources.am, Makefile.in: Rebuilt.
2328 2007-01-15 Gary Benson <gbenson@redhat.com>
2330 * java/net/URLClassLoader.java: Removed.
2331 * gnu/java/net/loader/Load_gcjlib.java: New file.
2332 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2333 URL handler is present in static executables.
2334 * sources.am, Makefile.in: Rebuilt.
2336 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
2338 * Makefile.am (libgcj_la_LDFLAGS): Add
2339 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2340 (libgcj_tools_la_LDFLAGS): Likewise.
2341 (libgcj_bc_la_LDFLAGS): Likewise.
2342 * Makefile.in: Regenerated.
2344 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
2345 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
2346 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2347 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2348 * configure: Regenerated.
2349 * aclocal.m4: Likewise.
2350 * gcj/Makefile.in: Likewise.
2351 * include/Makefile.in: Likewise.
2352 * testsuite/Makefile.in: Likewise.
2354 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2356 * sysdep/sh/locks.h (read_barrier): New.
2357 (write_barrier): Likewise.
2359 2007-01-12 Andrew Haley <aph@redhat.com>
2361 * include/i386-signal.h: Rewrite to use rt_sigaction.
2363 2007-01-11 Andrew Haley <aph@redhat.com>
2365 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2367 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2370 2007-01-10 Tom Tromey <tromey@redhat.com>
2372 * gnu/gcj/xlib/*.h: New files.
2373 * gnu/awt/xlib/*.h: Likewise.
2374 * classpath/lib/gnu/gcj/xlib: New class files.
2375 * classpath/lib/gnu/awt/xlib: Likewise.
2377 2007-01-10 Tom Tromey <tromey@redhat.com>
2379 * HACKING: Various updates.
2381 2007-01-10 Tom Tromey <tromey@redhat.com>
2383 * java/lang/natDouble.cc (toString): Added parens.
2384 * gnu/gcj/io/shs.h (PROTO): Define.
2385 * link.cc (resolve_pool_entry): Added missing braces.
2387 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
2390 * sysdep/ia64/locks.h (read_barrier): New.
2391 (write_barrier): New.
2393 2007-01-10 Gary Benson <gbenson@redhat.com>
2395 * java/net/URL.java: Removed.
2396 * sources.am, Makefile.in: Rebuilt.
2398 2007-01-10 Matthias Klose <doko@debian.org>
2400 * Makefile.am (install-exec-hook): Support $(DESTDIR).
2401 * Makefile.in: Regenerated.
2403 2007-01-05 Tom Tromey <tromey@redhat.com>
2405 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2406 dummy.class in srcdir.
2408 2007-01-03 Tom Tromey <tromey@redhat.com>
2410 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2413 2007-01-03 Tom Tromey <tromey@redhat.com>
2415 * testsuite/*: Added many .jar and .h files.
2416 * testsuite/libjava.special/special.exp
2417 (gcj_special_try_compiler): New proc.
2418 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2419 bytecompile source. Search for .jar files.
2420 (gcj_loader_test_one): Don't look for MyLoader.java.
2421 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2422 bytecompile sources or build headers.
2423 (gcj_jvmti_run): Look for .jar files.
2424 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2426 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2427 Set classpath when invoking gij.
2428 (gcj_jni_invocation_test_one): Likewise.
2429 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2430 headers or bytecompile sources.
2431 (gcj_cni_run): Use .jar files, not .java files.
2432 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2434 2007-01-02 Tom Tromey <tromey@redhat.com>
2436 * configure: Rebuilt.
2437 * configure.ac: Check for gjar.
2439 2007-01-02 Tom Tromey <tromey@redhat.com>
2441 * testsuite/libjava.jacks/jacks.exp: Removed.
2442 * testsuite/libjava.jacks/jacks.xfail: Removed.