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