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