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