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