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