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