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