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