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