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