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