1 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
3 * configure.ac: Don't include ../config/confsubdir.m4.
4 * aclocal.m4: Regenerated.
7 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
10 * configure.ac: Include confsubdir.m4.
11 * configure: Regenerate.
13 2007-05-24 Keith Seitz <keiths@redhat.com>
15 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
16 one when pc_ptr is non-NULL.
18 * prims.cc (parse_init_args): Enable JVMTI with agentlib
19 and agentpath options.
21 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
23 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
24 Pass '-agentlib:dummyagent' when executing gij.
25 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
26 and remove it when finished.
27 * testsuite/libjava.jvmti/dummyagent.c: New file.
29 2007-05-23 Steve Ellcey <sje@cup.hp.com>
31 * Makefile.in: Regenerate.
32 * configure: Regenerate.
33 * aclocal.m4: Regenerate.
34 * gcj/Makefile.in: Regenerate.
35 * include/Makefile.in: Regenerate.
36 * testsuite/Makefile.in: Regenerate.
38 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
40 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
41 (executeMethods): Remove cast to ClassReferenceTypeId.
42 * classpath/lib/gnu/classpath/jdwp/processor/
43 ReferenceTypeCommandSet.class: Rebuilt.
45 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
47 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
48 classes and mark methods as native appropriately.
50 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
52 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
54 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
55 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
56 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
59 2007-05-16 David Daney <ddaney@avtrex.com>
61 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
62 (_Jv_StackFrame): Remove commented out code.
63 (_Jv_UnwindState): Remove superfluous 'typedef'.
64 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
66 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
67 (getCollectionUsage): Don't declare unused parameter n.
68 (getMemoryManagerNames): Same.
69 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
72 2007-05-16 Keith Seitz <keiths@redhat.com>
74 * include/java-interp.h (breakpoint_at): Declare.
75 * interpret.cc (breakpoint_at): New function.
76 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
78 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
79 Initialize _event_list.
80 (handle_single_step): If there is a breakpoint at the
81 location at which we are stopping, do not send the notification.
82 Instead add the event to a list of events that occur at this
84 (jdwpBreakpointCB): If the event list is not empty, send
85 whatever events are in it and the breakpoint event in a single
87 Mark parameter jni_env as MAYBE_UNUSED.
88 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
90 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
92 2007-05-15 David Daney <ddaney@avtrex.com>
94 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
95 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
97 2007-05-15 Keith Seitz <keiths@redhat.com>
99 * interpret.cc (STOREA): Rewrite using temporary variable to
100 avoid double-macro expansion side-effects.
103 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
104 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
105 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
106 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
109 2007-05-12 David Daney <ddaney@avtrex.com>
112 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
113 (_Jv_UnBlockSigchld): Same.
114 * posix-threads.cc: Include posix-threads.h.
115 (block_sigchld) Rename to...
116 (_Jv_BlockSigchld) ... this.
117 (_Jv_UnBlockSigchld): New function.
118 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
119 (_Jv_ThreadStart): Same.
120 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
121 * java/lang/PosixProcess.java: Clean up imports.
122 (ProcessManager): Make final.
123 (ProcessManager.queue): Genericise and make private.
124 (ProcessManager.pidToProcess): Remove.
125 (ProcessManager.liveProcesses): New field.
126 (ProcessManager.reaperPID): Remove.
127 (ProcessManager.nativeData): New field.
128 (ProcessManager.removeProcessFromMap): Remove.
129 (ProcessManager.addProcessToMap):Remove.
130 (ProcessManager.addToLiveProcesses): New method.
131 (ProcessManager.run): Rewritten.
132 (ProcessManager.reap): Change method signature,
133 (getErrorStream): Correct formatting.
134 (getInputStream): Same.
135 (spawn): Add process to liveProcesses list.
136 (pid): Make package private.
137 * java/lang/PosixProcess.h: Regenerate.
138 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
139 Add useing namespace java::lang.
140 (ProcessManagerInternal): New struct.
141 (sigchld_handler): Rewritten.
143 (waitForSignal): Same.
145 (signalReaper): Same.
146 (nativeDestroy): Call kill as ::kill.
147 (nativeSpawn): Correct formatting.
148 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
149 * classpath/lib/java/lang/PosixProcess.class: Same.
150 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
152 2007-05-07 Ian Lance Taylor <iant@google.com>
155 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
158 2007-05-07 Keith Seitz <keiths@redhat.com>
160 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
161 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
162 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
164 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
166 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
167 * gnu/classpath/jdwp/event/Event.h: Regenerate.
168 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
170 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
172 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
175 2007-05-03 Keith Seitz <keiths@redhat.com>
177 * interpret.cc: Don't include ExceptionEvent.h.
178 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
179 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
180 * Makefile.in: Regenerated.
182 2007-05-03 Keith Seitz <keiths@redhat.com>
184 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
186 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
187 (find_catch_location): New function.
188 (REPORT_EXCEPTION): New macro.
189 (throw_internal_error): Use REPORT_EXCEPTION.
190 (throw_incompatible_class_change_error): Likewise.
191 (throw_null_pointer_exception): Likewise.
192 (throw_class_format_error): Likewise.
193 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
195 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
196 (insn_new): Use INTERP_REPORT_EXCEPTION.
197 (insn_athrow): Likewise.
198 Remove previous JVMTI exception notifications.
199 Add JVMTI ExceptionCatch notificatin.
200 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
202 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
203 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
204 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
205 * gnu/classpath/jdwp/natVMVirtualMachine.cc
206 (jdwpExceptionCB): New function.
207 (jdwpVMInitCB): Set Exception event handler and enable.
208 * sources.am: Regenerated.
209 * Makefile.in: Regenerated.
211 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
213 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
214 * Makefile.in: Regenerate.
215 * scripts/makemake.tcl (scan_directory): Treat default.css as a
217 * classpath/javax/swing/text/html/default.css: Move to...
218 * classpath/resource/javax/swing/text/html/default.css: New file.
219 * classpath/javax/swing/text/html/HTMLEditorKit.java
220 (getStyleSheet): Throw RuntimeException when style loading fails.
221 * sources.am (property_files): Add
222 classpath/resource/javax/swing/text/html/default.css.
224 2007-05-02 Tom Tromey <tromey@redhat.com>
226 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
227 * java/lang/natCharacter.cc (Character::getType): Handle negative
229 (Character::toLowerCase): Likewise.
230 (Character::toUpperCase): Likewise.
231 (Character::digit): Likewise.
232 (Character::getNumericValue): Likewise.
233 (Character::getDirectionality): Likewise.
234 (Character::toTitleCase): Likewise.
236 2007-04-30 Keith Seitz <keiths@redhat.com>
238 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
239 executing the instruction.
240 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
241 one insn from the frame's PC. _Jv_InterpMethod::run et al
242 will advance the PC before executing the instruction.
244 2007-04-27 Keith Seitz <keiths@redhat.com>
246 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
247 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
249 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
251 2007-04-27 Keith Seitz <keiths@redhat.com>
253 * classpath/lib/gnu/classpath/jdwp/event/filters/
254 LocationOnlyFilter.class: Regenerated;
255 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
257 * gnu/classpath/jdwp/VMMethod.java
258 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
260 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
261 * gnu/classpath/jdwp/util/Location.h: Regenerated.
263 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
265 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
266 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
268 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
270 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
272 (get): Deal with ObjectId of 0.
274 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
277 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
279 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
281 * gnu/classpath/jdwp/natVMVirtualMachine.java
282 (getThreadStatus): Implement.
284 2007-04-24 Keith Seitz <keiths@redhat.com>
286 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
287 Add _Jv_RewriteBreakpointInsn friend declaration.
288 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
289 [DIRECT_THREADED]: New function.
290 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
291 * interpret-run.cc: Define new REWRITE_INSN macro.
292 Changed all occurrences of insn rewriting to call REWRITE_INSN.
294 2007-04-23 Keith Seitz <keiths@redhat.com>
296 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
297 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
298 * boehm.cc (_Jv_IsThreadSuspended): New function.
299 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
300 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
301 (_Jv_JVMTI_Interface): Define GetThreadState.
303 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
305 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
307 (<init>): Add a pointer to the interpreter PC as a parameter with
309 (get_pc): New method.
310 * interpret-run.cc: If debugging, pass a pointer to the PC when
311 creating the stack frame.
312 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
315 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
317 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
318 for null source file and throw an exception indicating this.
320 2007-04-20 Keith Seitz <keiths@redhat.com>
322 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
323 Install the new breakpoint into the bytecode.
324 (deleteBreakpoint): Remove the breakpoint from the bytecode.
325 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
327 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
328 Don't install the breakpoint here.
330 2007-04-19 Keith Seitz <keiths@redhat.com>
332 * interpret-run.cc [insn_breakpoint]: Save the original
333 insn for the breakpoint before posting the JVMTI notification.
335 2007-04-19 Tom Tromey <tromey@redhat.com>
337 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
339 2007-04-18 Tom Tromey <tromey@redhat.com>
341 * Regenerated headers with new gjavah.
343 2007-04-18 Andrew Haley <aph@redhat.com>
345 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
347 (generateProxyClass): Add field $Proxy0.m. Store methods array in
349 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
350 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
351 * java/lang/natClass.cc: Likewise.
352 * headers.txt: Likewise.
353 * java/lang/reflect/Method.h: Likewise.
355 2007-04-16 Andrew Haley <aph@redhat.com>
357 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
359 (bootGetResource): Use getBootURLLoader() to load resources.
360 (bootGetResources): Likewise.
362 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
363 check that the method's declaring class is accessible.
365 2007-04-10 Keith Seitz <keiths@redhat.com>
367 * sources.am: Regenerate.
368 * Makefile.in: Likewise.
370 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
372 * interpret-run.cc: If debugging, check if args is NULL before
373 getting the "this" pointer.
375 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
377 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
378 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
379 * gnu/classpath/jdwp/ArrayValue.h: New file.
380 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
383 2007-04-09 David Daney <ddaney@avtrex.com>
386 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
387 environment before the fork.
388 * testsuite/libjava.lang/Process_7.java: New test.
389 * testsuite/libjava.lang/Process_7.out: Its expected results.
390 * testsuite/libjava.lang/Process_7.jar: Generated file.
392 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
394 * prims.cc (load_jvmti_agent): Add the missing `,'.
396 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
398 * gij.cc (main): Accept -agentlib and -agentpath options.
399 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
400 (load_jvmti_agent): New function.
402 2007-04-04 Tania Bento <tbento@redhat.com>
404 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
405 Copyright information and introduced new variable, currency.
406 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
407 to "XXX", currencySymbol to "?" and localCurrency appropriately.
408 (getCurrency): Fixed documentation and return the value of currency.
409 (setCurrency): Fixed documentation and update the value of currency.
410 (setInternationalCurrencySymbol): Fixed documentation and update the
412 * java/util/Currency.java: Introduced two new variables, properties
413 and fractionDigits. In the static block, a properties object is
414 created and the currency resource is loaded.
415 (Currency(Locale)): fractionDigits is defined.
416 (Currency(String)): New method.
417 (getDefaultFractionDigits): Return the value of fractionDigits.
418 (getInstance(String)): Check if String is equal to "XXX".
420 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
422 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
423 to ints for argCnt and slots.
424 (write): Replace writeLong with writeInt for the above.
426 2007-04-03 Andrew Haley <aph@redhat.com>
428 * testsuite/libjava.lang/ProxyTest.java: New test.
430 2007-04-02 Tom Tromey <tromey@redhat.com>
432 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
433 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
434 file, when writing, if it is too short.
436 2007-04-02 Tom Tromey <tromey@redhat.com>
438 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
439 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
441 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
442 where localport is -1.
443 (create): Now public.
444 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
445 'create' on the socket.
447 2007-04-02 Andrew Haley <aph@redhat.com>
449 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
450 _Jv_LookupProxyMethod to find the Method.
451 If parameter_types->length == 0, pass a null paramameter list,
452 not a zero-length parameter list.
453 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
454 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
456 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
458 * interpret-run.cc: Add code to properly set up variable slots
460 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
461 (getObjectJVMTI): New function.
462 (setObjectJVMTI): New function.
463 (getIntJVMTI): New function.
464 (setIntJVMTI): New function.
465 (getLongJVMTI): New function.
466 (setLongJVMTI): New function.
467 (getFloatJVMTI): New function.
468 (setFloatJVMTI): New function.
469 (getDoubleJVMTI): New function.
470 (setDoubleJVMTI): New function.
471 (getFrameDepth): New function.
472 (getValue): Implement.
473 (setValue): Implement.
475 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
477 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
478 (executeResume): Call VMVirtualMachine.resumeThread.
480 2007-03-29 Tom Tromey <tromey@redhat.com>
483 * java/util/logging/LogManager.java (readConfiguration): Handle
484 comma-separated 'handlers'. Don't try to add a non-existing
487 2007-03-27 Tom Tromey <tromey@redhat.com>
489 * sources.am, Makefile.in: Rebuilt.
490 * scripts/mime.types: Removed.
491 * scripts/MakeDefaultMimeTypes.java: Removed.
492 * gnu/gcj/io/MimeTypes.java: Removed.
493 * gnu/gcj/io/MimeTypes.h: Removed.
494 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
495 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
497 2007-03-27 Keith Seitz <keiths@redhat.com>
499 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
501 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
502 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
503 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
504 (initialize): Fix compiler type-punning warning.
505 (getAllLoadedClasses): Return empty list instead of NULL.
506 (getLoadRequests): Likewise.
507 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
508 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
509 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
510 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
511 * gnu/classpath/jdwp/value/CharValue.h: New file.
512 * gnu/classpath/jdwp/value/LongValue.h: New file.
513 * gnu/classpath/jdwp/value/ShortValue.h: New file.
514 * gnu/classpath/jdwp/value/Value.h: New file.
515 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
516 * gnu/classpath/jdwp/value/VoidValue.h: New file.
517 * gnu/classpath/jdwp/value/ByteValue.h: New file.
518 * gnu/classpath/jdwp/value/FloatValue.h: New file.
519 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
520 * gnu/classpath/jdwp/value/StringValue.h: New file.
521 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
522 * gnu/classpath/jdwp/value/IntValue.h: New file.
523 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
524 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
525 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
526 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
527 * gnu/classpath/jdwp/util/NullObject.h: New file.
528 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
529 * Makefile.in: Rebuilt.
530 * sources.am: Rebuilt.
532 2006-03-26 David Daney <ddaney@avtrex.com>
534 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
535 fork, execvp, execinfo.h, pthread_mutexattr_settype,
536 pthread_mutexattr_setkind_np and sys/wait.h.
537 * Makefile.in: Regenerate.
538 * include/Makefile.in: Regenerate.
539 * include/config.h.in: Regenerate.
540 * testsuite/Makefile.in: Regenerate.
541 * configure: Regenerate.
542 * gcj/Makefile.in: Regenerate.
544 2007-03-23 Gary Benson <gbenson@redhat.com>
546 * link.cc (_Jv_Linker::resolve_method_entry):
547 Ensure that the argument types and the return type of the
548 found method match those expected by the calling method.
550 2007-03-22 David Daney <ddaney@avtrex.com>
553 * configure.ac: Add checks for getrlimit and sys/resource.h.
554 * include/posix.h (_Jv_platform_close_on_exec): Remove.
555 * include/config.h.in: Regenerate.
556 * configure: Regenerate.
557 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
558 _Jv_platform_close_on_exec;
559 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
561 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
562 * java/lang/natPosixProcess.cc: Include sys/resource.h.
563 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
566 2007-03-20 Andrew Haley <aph@redhat.com>
568 * testsuite/libjava.lang/PR31264.java: New test.
570 2007-03-14 Jakub Jelinek <jakub@redhat.com>
572 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
573 * Makefile.in: Rebuilt.
575 2007-03-13 Keith Seitz <keiths@redhat.com>
577 * include/java-interp.h (_Jv_InterpClass): Declare
578 friend function _Jv_GetInterpClassSourceFile.
579 * java/lang/Class.h (Class): Likewise.
580 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
582 * gnu/classpath/jdwp/natVMVirtualMachine.cc
583 (getSourceFile): Implement.
585 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
587 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
588 * classpath/configure.ac: Add --with-ecj-jar configure option.
589 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
591 * classpath/INSTALL: Document --with-ecj-jar configure option and
592 ecj jar requirement for com.sun.tools.javac support.
593 * classpath/tools/Makefile.am: Build decendents of com and sun
595 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
596 * gnu/classpath/Configuration.java,
597 gnu/classpath/natConfiguration.cc (ecj): New method.
598 (ECJ_JAR): New field.
599 * scripts/makemake.tcl (scan_packages): Add com directory.
600 * sources.am (property_files): Add
601 classpath/resource/sun/rmi/rmic/messages.properties and
602 classpath/resource/com/sun/tools/javac/messages.properties.
603 * classpath/resource/com, classpath/resource/com/sun,
604 classpath/resource/com/sun/tools,
605 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
606 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
607 classpath/tools/classes/com, classpath/tools/classes/com/sun,
608 classpath/tools/classes/com/sun/javadoc,
609 classpath/tools/classes/com/sun/tools,
610 classpath/tools/classes/com/sun/tools/doclets,
611 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
612 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
613 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
614 classpath/tools/com/sun/tools,
615 classpath/tools/com/sun/tools/doclets,
616 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
617 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
619 * classpath/resource/com/sun/tools/javac/messages.properties,
620 classpath/resource/sun/rmi/rmic/messages.properties,
621 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
622 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
623 classpath/tools/classes/com/sun/javadoc/Doc.class,
624 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
625 classpath/tools/classes/com/sun/javadoc/Doclet.class,
626 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
627 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
628 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
629 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
630 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
631 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
632 classpath/tools/classes/com/sun/javadoc/Parameter.class,
633 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
634 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
635 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
636 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
637 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
638 classpath/tools/classes/com/sun/javadoc/Tag.class,
639 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
640 classpath/tools/classes/com/sun/javadoc/Type.class,
641 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
642 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
643 classpath/tools/classes/sun/rmi/rmic/Main.class,
644 classpath/tools/classes/sun/rmi/rmic/Messages.class,
645 classpath/tools/com/sun/javadoc/ClassDoc.java,
646 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
647 classpath/tools/com/sun/javadoc/Doc.java,
648 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
649 classpath/tools/com/sun/javadoc/Doclet.java,
650 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
651 classpath/tools/com/sun/javadoc/FieldDoc.java,
652 classpath/tools/com/sun/javadoc/MemberDoc.java,
653 classpath/tools/com/sun/javadoc/MethodDoc.java,
654 classpath/tools/com/sun/javadoc/PackageDoc.java,
655 classpath/tools/com/sun/javadoc/ParamTag.java,
656 classpath/tools/com/sun/javadoc/Parameter.java,
657 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
658 classpath/tools/com/sun/javadoc/RootDoc.java,
659 classpath/tools/com/sun/javadoc/SeeTag.java,
660 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
661 classpath/tools/com/sun/javadoc/SourcePosition.java,
662 classpath/tools/com/sun/javadoc/Tag.java,
663 classpath/tools/com/sun/javadoc/ThrowsTag.java,
664 classpath/tools/com/sun/javadoc/Type.java,
665 classpath/tools/com/sun/javadoc/TypeVariable.java,
666 classpath/tools/com/sun/tools/doclets/Taglet.java,
667 classpath/tools/com/sun/tools/javac/Main.java,
668 classpath/tools/com/sun/tools/javac/Messages.java,
669 classpath/tools/sun/rmi/rmic/Main.java,
670 classpath/tools/sun/rmi/rmic/Messages.java: New files.
671 * Makefile.in, classpath/Makefile.in, classpath/configure,
672 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
673 classpath/examples/Makefile.in, classpath/external/Makefile.in,
674 classpath/external/jsr166/Makefile.in,
675 classpath/external/relaxngDatatype/Makefile.in,
676 classpath/external/sax/Makefile.in,
677 classpath/external/w3c_dom/Makefile.in,
678 classpath/include/Makefile.in, classpath/include/config.h.in,
679 classpath/lib/Makefile.in,
680 classpath/lib/gnu/classpath/Configuration.class,
681 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
682 classpath/native/jawt/Makefile.in,
683 classpath/native/jni/Makefile.in,
684 classpath/native/jni/classpath/Makefile.in,
685 classpath/native/jni/gconf-peer/Makefile.in,
686 classpath/native/jni/gtk-peer/Makefile.in,
687 classpath/native/jni/java-io/Makefile.in,
688 classpath/native/jni/java-lang/Makefile.in,
689 classpath/native/jni/java-net/Makefile.in,
690 classpath/native/jni/java-nio/Makefile.in,
691 classpath/native/jni/java-util/Makefile.in,
692 classpath/native/jni/midi-alsa/Makefile.in,
693 classpath/native/jni/midi-dssi/Makefile.in,
694 classpath/native/jni/native-lib/Makefile.in,
695 classpath/native/jni/qt-peer/Makefile.in,
696 classpath/native/jni/xmlj/Makefile.in,
697 classpath/native/plugin/Makefile.in,
698 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
699 classpath/tools/Makefile.in, configure,
700 gnu/classpath/Configuration.h: Regenerate.
702 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
704 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
707 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
709 * java/lang/natString.cc (getBytes (jstring enc)):
710 Fixed the loop for multiple cycles, Code cleanup
712 2007-03-09 Tom Tromey <tromey@redhat.com>
714 * sources.am, Makefile.in: Rebuilt.
715 * scripts/makemake.tcl (scan_directory): Allow service files to be
717 Omit all XML-related service files.
719 2007-03-07 Tom Tromey <tromey@redhat.com>
721 * configure: Rebuilt.
722 * configure.ac: Clear vm-tools-packages.
724 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
726 * java/lang/Win32Process.java: Added nested class EOFInputStream.
727 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
728 enum and implementation.
729 (startProcess): Use redirect flag.
730 * classpath/lib/java/lang/Win32Process.class: Regenerated.
731 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
732 * gcj/javaprims.h: Regenerated.
733 * java/lang/Win32Process$EOFInputStream.h: New.
735 2007-03-07 Andrew Haley <aph@redhat.com>
737 * libgcj_bc.c (JvRunMainName): Declare.
739 2007-03-07 Gary Benson <gbenson@redhat.com>
741 * sources.am, Makefile.in: Rebuilt.
743 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
745 * gcj/javaprims.h: Regenerated.
747 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
749 * include/jvm.h (_Jv_ClosureListFinalizer): New.
750 (_Jv_Linker::create_error_method): Adjust.
751 * boehm.cc (_Jv_ClosureListFinalizer): New.
752 * nogc.cc (_Jv_ClosureListFinalizer): New.
753 * java/lang/Class.h (class _Jv_ClosureList): New.
754 (class java::lang::Class): Declare it as friend.
755 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
756 (_Jv_ClosureList::registerClousure): New.
757 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
758 (_Jv_CompiledEngine::do_get_closure_list): New.
759 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
760 (_Jv_IndirectCompiledClass): Add closures.
761 (_Jv_IndirectCompiledEngine::get_aux_info): New.
762 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
764 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
765 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
766 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
767 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
768 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
769 (node_closure): Add closure list.
770 (_Jv_InterpMethod::ncode): Add jclass argument. Use
771 ffi_closure_alloc and the separate code pointer. Register the
772 closure for finalization.
773 (_Jv_JNIMethod::ncode): Likewise.
774 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
775 (_Jv_InterpreterEngine::do_get_closure_list): New.
776 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
777 (_Jv_InterpClass): Add closures field.
778 (_Jv_JNIMethod::ncode): Adjust.
779 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
780 (_Jv_ClassReader::handleMethodsEnd): Likewise.
781 * link.cc (struct method_closure): Add closure list.
782 (_Jv_Linker::create_error_method): Add jclass argument. Use
783 ffi_closure_alloc and the separate code pointer. Register the
784 closure for finalization.
785 (_Jv_Linker::link_symbol_table): Remove outdated comment about
786 sharing of otable and atable. Adjust.
787 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
789 (ncode): Add jclass argument. Use ffi_closure_alloc and the
790 separate code pointer. Register the closure for finalization.
791 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
792 * testsuite/libjava.jar/TestClosureGC.java: New.
793 * testsuite/libjava.jar/TestClosureGC.out: New.
794 * testsuite/libjava.jar/TestClosureGC.xfail: New.
795 * testsuite/libjava.jar/TestClosureGC.jar: New.
797 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
799 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
800 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
801 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
802 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
803 (VMMethod::getLineTable): Use new macro.
804 (VMMethod::getVariableTable): Implement.
805 * sources.am: Regenerated.
806 * Makefile.in: Ditto.
808 2007-03-06 Tom Tromey <tromey@redhat.com>
810 * Makefile.in: Rebuilt.
811 * Makefile.am (bin_PROGRAMS): Added gcjh.
812 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
813 gcjh_DEPENDENCIES): New variables.
815 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
817 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
818 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
819 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
821 2007-03-05 Matthias Klose <doko@debian.org>
823 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
824 * Makefile.in: Regnerate.
826 2007-03-05 Mark Wielaard <mark@klomp.org>
828 * java/lang/Character.java: Re-merged with Classpath.
829 * java/lang/natString.cc (nativeCompareTo): Renamed from
831 * java/lang/StringBuilder.java: Re-merged with Classpath.
832 * java/lang/String.java: Re-merged with Classpath.
833 (nativeCompareTo): Renamed from compareTo.
834 * java/lang/StringBuffer.java: Re-merged with Classpath.
835 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
837 2007-03-05 Andrew Haley <aph@redhat.com>
839 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
840 (generateProxyClass): Don't pass method to ncode.
841 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
842 * java/lang/reflect/Method.h: Rebuild.
843 * java/lang/reflect/Method.java (internalGetParameterTypes,
844 internalGetExceptionTypes): New methods.
845 * headers.txt (class java/lang/reflect/Method): Declare
846 _Jv_GetReflectedMethod. Be its friend.
847 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
848 * java/lang/Class.h: Declare it. Be its friend.
850 2007-03-05 Tom Tromey <tromey@redhat.com>
852 * sources.am, Makefile.in: Rebuilt.
853 * scripts/makemake.tcl (emit_package_rule): Don't omit
855 * Makefile.am (nat_source_files): Added natVMProcess.cc.
856 (inner_nat_headers): Added ImmediateEOFInputStream.h.
857 * gcj/javaprims.h: Regenerated.
858 * java/lang/System.java (EnvironmentMap): Now package-private.
859 (EnvironmentMap(Map)): New constructor.
860 (EnvironmentMap.put): New method.
861 * java/lang/natWin32Process.cc (startProcess): Update.
862 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
864 (startProcess): Likewise.
865 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
867 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
868 * java/lang/PosixProcess.java (redirect): New field.
869 (PosixProcess): Added 'redirect' argument.
870 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
871 argument to Process creation.
872 * java/lang/natVMProcess.cc: New file.
873 * java/lang/ProcessBuilder.java: Removed.
874 * java/lang/VMProcess.java: New file.
876 2007-03-03 Andrew Haley <aph@redhat.com>
878 * java/lang/natClass.cc (parseAnnotationElement): Correct long
879 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
881 2007-03-02 Andrew Haley <aph@redhat.com>
883 * sun/reflect/annotation/AnnotationInvocationHandler.java:
884 Generify in a few places.
885 (equals): Rewrite to use invoke on local proxy.
886 (deepToString): Remove most of it.
887 (toString): Make nonstatic.
888 (arrayClone): Delete.
889 (coerce): New method.
890 (invoke): Rewrite to handle gcj's structures correctly.
891 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
893 * sources.am: Regenerate.
894 * Makefile.am: Likewise.
896 2007-03-02 Andrew Haley <aph@redhat.com>
898 * sun/reflect/annotation/AnnotationInvocationHandler.java:
899 Whitespace only changes.
901 2007-03-02 Andrew Haley <aph@redhat.com>
903 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
904 from Classpath to libgcj local.
906 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
908 * Makefile.am: Add dummy install-pdf target.
909 * Makefile.in: Regenerate
910 * include/Makefile.in: Regenerate
911 * testsuite/Makefile.in: Regenerate
912 * gcj/Makefile.in: Regenerate
914 2007-02-23 Gary Benson <gbenson@redhat.com>
916 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
918 2007-02-23 Gary Benson <gbenson@redhat.com>
920 * java/lang/VMCompiler.java
921 (compileClass): Don't lose zeros from within the digest.
923 2007-02-22 Jakub Jelinek <jakub@redhat.com>
927 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
928 /etc/localtime, use ZoneInfo.readTZFile instead of
929 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
930 either if it is a symlink or through /etc/sysconfig/clock.
931 (readSysconfigClockFile): New static method.
932 (readtzFile): Removed.
933 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
934 * posix.cc (_Jv_platform_initProperties): Set
935 gnu.java.util.zoneinfo.dir.
936 * sources.am (gnu_java_util_source_files): Add
937 classpath/gnu/java/util/ZoneInfo.java.
938 * Makefile.in: Regenerated.
939 * java/util/VMTimeZone.h: Regenerated.
940 * java/util/TimeZone.h: Regenerated.
941 * gnu/java/util/ZoneInfo.h: Generated.
943 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
945 * include/win32-threads.h: Added #undef OUT.
947 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
949 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
950 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
951 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
952 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
953 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
954 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
956 2007-02-21 Gary Benson <gbenson@redhat.com>
958 * java/util/GregorianCalendar.java: Removed.
959 * sources.am, Makefile.in: Rebuilt.
961 2007-02-20 Keith Seitz <keiths@redhat.com>
963 * gnu/classpath/jdwp/natVMVirtualMachine.cc
964 (jdwpClassPrepareCB): Move class status stuff to ...
965 (getClassStatus): ... here.
967 2007-02-20 Gary Benson <gbenson@redhat.com>
969 * gnu/awt/xlib/XEventLoop.h: Regenerated.
970 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
971 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
973 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
974 * java/lang/SecurityManager.h: Likewise.
975 * java/lang/Thread.h: Likewise.
976 * java/security/VMSecureRandom$Spinner.h: Likewise.
977 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
978 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
979 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
980 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
981 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
982 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
983 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
984 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
985 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
986 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
987 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
988 * java/util/concurrent/Exchanger.h: Likewise.
989 * java/util/concurrent/Exchanger$Node.h: Likewise.
990 * java/util/concurrent/FutureTask$Sync.h: Likewise.
991 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
992 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
994 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
996 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
997 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
999 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1000 * java/util/concurrent/SynchronousQueue.h: Likewise.
1001 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1002 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1004 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1005 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1007 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1008 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1009 * java/util/logging/ErrorManager.h: Likewise.
1010 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1011 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1013 2007-02-16 Keith Seitz <keiths@redhat.com>
1015 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1016 (get_line_table): New function.
1017 (handle_single_step): New function.
1018 (jdwpSingleStepCB): New function.
1019 (jdwpVMInitCB): Define a JVMTI single step
1020 callback, but don't enable it until needed.
1022 2007-02-16 David Daney <ddaney@avtrex.com>
1024 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1025 new parameter constructor.
1026 (Thread(ThreadGroup, Runnable, String, long)): Same.
1027 (Thread(String, boolean)): New constructor.
1028 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1029 noInheritableThreadLocal, don't call
1030 InheritableThreadLocal.newChildThread if set.
1031 * java/lang/PosixProcess.java(ProcessManager()): Set
1032 noInheritableThreadLocal in super.
1033 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1034 parameter to Thread constructor.
1035 (_Jv_AttachCurrentThreadAsDaemon): Same.
1036 * java/lang/Thread.h: Regenerate.
1037 * classpath/lib/java/lang/Thread.class: Same.
1038 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1039 * classpath/lib/java/lang/PosixProcess.class: Same.
1040 * classpath/lib/java/lang/Thread$State.class: Same.
1041 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1043 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1045 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1046 variables to maintain type info.
1047 * interpret-run.cc: Add local variable info to frame in the debug
1049 * jvmti.cc (getLocalFrame): New method.
1050 (_Jv_JVMTI_GetLocalObject): New method.
1051 (_Jv_JVMTI_GetLocallInt): New method.
1052 (_Jv_JVMTI_GetLocalFloat): New method.
1053 (_Jv_JVMTI_GetLocalLong): New method.
1054 (_Jv_JVMTI_GetLocalDouble): New method.
1055 (_Jv_JVMTI_SetLocalObject): New method.
1056 (_Jv_JVMTI_SetLocalInt): New method.
1057 (_Jv_JVMTI_SetLocalFloat): New method.
1058 (_Jv_JVMTI_SetLocalLong): New method.
1059 (_Jv_JVMTI_SetLocalDouble): New method.
1061 2007-02-16 Gary Benson <gbenson@redhat.com>
1063 * gnu/gcj/tools/gcj_dbtool/Main.java
1064 (bytesToString): Don't lose zeros from within the digest.
1066 2007-02-15 Andrew Haley <aph@redhat.com>
1068 * Makefile.am (nat_source_files): Remove
1069 java/lang/management/natVMManagementFactory.cc.
1070 * java/lang/Thread.java (getStackTrace): Use reflection to call
1071 the ManagementFactory.
1072 * java/lang/management/VMManagementFactory.java: Remove native
1074 * java/lang/management/natVMManagementFactory.cc: Deleted.
1075 * sources.am: Regnerate.
1076 * scripts/makemake.tcl: Add new "bcheaders" type.
1077 Move java/lang/management and gnu/classpath/management to "bc".
1078 Move gnu/java/lang/management to "bcheaders".
1080 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1082 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1083 * interpret-run.cc: Change the catch section to report exception
1084 events and to use the new check_handler method.
1085 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1086 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1087 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1088 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1089 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1091 * sources.am: Added ExceptionEvent.java.
1092 * Makefile.am: Added natExceptionEvent.cc
1093 * Makefile.in: Regenerated.
1094 * include/Makefile.in: Regenerated.
1095 * gcj/Makefile.in: Regenerated.
1097 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1098 David Daney <ddaney@avtrex.com>
1100 * configure.ac: Create vm-tools-packages file. Add
1101 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1102 Check for /proc/self/maps.
1103 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1104 (gc_analyze_SOURCES): New.
1105 (gc_analyze_LDFLAGS): New.
1106 (gc_analyze_LINK): New.
1107 (gc_analyze_LDADD): New.
1108 (gc_analyze_DEPENDENCIES): New.
1109 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1110 * Makefile.in: Regenerated.
1111 * configure: Regenerated.
1112 * include/config.h.in: Regenerated.
1113 * sources.am: Regenerated.
1114 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1115 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1116 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1117 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1118 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1119 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1120 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1121 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1122 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1123 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1124 * gnu/gcj/util/GCInfo.java: New.
1125 * gnu/gcj/util/GCInfo.h: New.
1126 * gnu/gcj/util/natGCInfo.cc: New.
1127 * gnu/gcj/util/UtilPermission.java: New.
1128 * gnu/gcj/util/UtilPermission.h: New.
1129 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1130 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1131 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1132 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1133 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1134 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1135 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1136 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1137 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1138 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1139 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1140 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1141 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1142 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1143 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1144 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1145 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1146 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1147 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1148 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1149 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1150 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1151 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1153 2007-02-15 David Daney <ddaney@avtrex.com>
1155 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1156 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1157 * gnu/classpath/jdwp/VMFrame.h: Same.
1158 * java/net/Socket.h: Same.
1159 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1161 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1163 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1164 Added LocalVariableTable attribute handling.
1165 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1166 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1167 * include/java-interp.h: Added local_var_table and
1168 local_var_table_len fields to _Jv_InterpMethod.
1169 (_Jv_InterpMethod::get_local_var_table): New method.
1170 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1171 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1172 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1174 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1175 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1177 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1179 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1181 2007-02-13 Keith Seitz <keiths@redhat.com>
1183 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1184 (jdwpBreakpointCB): New function.
1185 (jdwpVMInitCB): Define and enable the breakpoint
1188 2007-02-13 Andrew Haley <aph@redhat.com>
1190 * testsuite/libjava.lang/Divide_2.out
1191 * testsuite/libjava.lang/Divide_2.java: New test.
1193 2007-02-12 Keith Seitz <keiths@redhat.com>
1195 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1196 from jthread to Thread *; it is no longer needed.
1197 (_Jv_JVMTI_GetFrameCount): Likewise.
1198 Fix small formatting typo.
1200 2007-02-12 Tom Tromey <tromey@redhat.com>
1202 * sources.am, Makefile.in: Rebuilt.
1203 * java/lang/Socket.java: Removed override.
1204 * java/lang/DatagramSocket.java: Removed override.
1205 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1207 (getLocalAddress): New method.
1208 * gnu/java/net/PlainDatagramSocketImpl.java
1209 (PlainDatagramSocketImpl): Throws IOException.
1210 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1214 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1216 * java/util/VMTimeZone.java: Rewrite to handle both the old
1217 'TZif\0' format and the new one.
1219 2007-02-10 Andrew Haley <aph@redhat.com>
1222 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1223 (getCallingClass): Call GET_CALLING_CLASS.
1224 (getCallingClassLoader): Likewise.
1226 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1228 * configure: Rebuilt.
1229 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1231 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1233 * Makefile.in: Rebuilt.
1234 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1235 the host's ecj1 executable.
1237 2007-02-09 Richard Henderson <rth@redhat.com>
1239 * sysdep/alpha/locks.h (read_barrier): New.
1241 2007-02-09 Keith Seitz <keiths@redhat.com>
1243 * gnu/classpath/jdwp/VMVirtualMachine.java
1244 (_stepping_threads): New member.
1245 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1247 * gnu/classpath/jdwp/VMVirtualMachine.h:
1249 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1250 (get_request_step_filter): New function.
1251 (DISABLE_EVENT): New macro.
1252 (initialize): Initialize _stepping_threads.
1253 (registerEvent): Implement EVENT_SINGLE_STEP.
1254 (unregisterEvent): Likewise.
1256 2007-02-08 Keith Seitz <keiths@redhat.com>
1258 * sources.am: Regenerate.
1259 * Makefile.in: Regenerate.
1260 * testsuite/Makefile.in: Regenerate.
1261 * gcj/Makefile.in: Regenerate.
1262 * include/Makefile.in: Regenerate.
1264 * classpath/lib/javax/management/MBeanServerFactory.class:
1267 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1269 * classpath/gnu/classpath/jdwp/processor/
1270 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1272 (executeSetValues): Ditto.
1273 (executeThisObject): Ditto.
1274 * classpath/gnu/classpath/jdwp/processor/
1275 StackFrameCommandSet.class: Rebuilt.
1276 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1278 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1279 * classpath/lib/gnu/classpath/jdwp/exception/
1280 InvalidFrameException.java: New file.
1281 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1283 (Constructor): New method.
1284 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1285 * gnu/classpath/jdwp/VMVirtualMachine.java
1286 (getFrame): Changed ByteBuffer to jlong.
1287 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1288 (getFrame): Implement.
1289 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1291 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1293 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1294 to hold "this" pointer for frame.
1295 (_Jv_InterpFrame::get_this_ptr): New method.
1296 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1298 2007-02-07 Keith Seitz <keiths@redhat.com>
1300 * include/java-interp.h (_Jv_Frame::depth):
1302 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1304 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1306 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1307 (_Jv_JVMTI_GetMaxLocals): New method.
1308 * include/java-interp.h
1309 (_Jv_InterpMethod::get_max_locals): New method.
1311 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1313 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1315 2007-02-07 Tom Tromey <tromey@redhat.com>
1317 * testsuite/libjava.jni/init.c: New file.
1318 * testsuite/libjava.jni/init.java: New file.
1319 * testsuite/libjava.jni/init.out: New file.
1320 * testsuite/libjava.jni/init.jar: New file.
1321 * testsuite/libjava.jni/init.h: New file.
1322 * testsuite/libjava.jni/init$NativeClass.h: New file.
1324 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1327 * configure: Regenerate.
1329 2007-02-06 Andrew Haley <aph@redhat.com>
1331 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1332 * sources.am: Rebuild.
1334 2007-02-05 Keith Seitz <keiths@redhat.com>
1336 * jvmti.cc (_envListLock): Change type to
1337 ReentrantReadWriteLock.
1338 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1340 (check_enabled_event): Likewise.
1341 (_Jv_GetJVMTIEnv): Likewise.
1342 (_Jv_JVMTI_Init): Likewise.
1343 (_Jv_JVMTI_PostEvent): Likewise.
1345 2007-02-05 Keith Seitz <keiths@redhat.com>
1347 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1348 (registerEvent): Implement EVENT_BREAKPOINT.
1349 (unregisterEvent): Likewise.
1350 (get_request_location): New function.
1352 2007-02-05 Matthias Klose <doko@debian.org>
1354 testsuite/Makefile.am (compile-tests): Fix typo.
1355 testsuite/Makefile.in: Regenerate.
1357 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1359 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1362 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1364 * configure.ac (libjava_cv_anon_version_script): New test.
1365 (ANONVERSCRIPT): New AM_CONDITIONAL.
1366 * configure: Rebuilt.
1367 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1369 * Makefile.in: Rebuilt.
1370 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1371 * libgcj.ver: New file.
1373 2007-02-01 David Daney <ddaney@avtrex.com>
1375 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1377 * sources.am: Regenerate.
1378 * Makefile.in: Regenerate.
1380 2007-02-01 Tom Tromey <tromey@redhat.com>
1382 * java/lang/ClassLoader.java (getResources): No longer final.
1384 2007-02-01 Tom Tromey <tromey@redhat.com>
1386 * java/util/logging/LogManager.java (loggers): Genericized.
1387 (addLogger): Merged.
1388 (findAncestor): Likewise.
1389 (getLogger): Likewise.
1390 (getLoggerNames): Genericized.
1392 (getLevelProperty): Likewise.
1393 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1394 * java/lang/reflect/Constructor.java (getParameterTypes):
1396 (getExceptionTypes): Likewise.
1397 (newInstance): Likewise.
1398 * java/lang/reflect/Array.java (newInstance): Genericized.
1399 * java/lang/Object.java (getClass): Genericized.
1400 * java/nio/charset/spi/CharsetProvider.java (charsets):
1402 * java/text/Collator.java: Implement Comparable<Object>.
1404 2007-02-01 Tom Tromey <tromey@redhat.com>
1406 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1408 (clear): Call complete.
1409 (setTimeZone): Call computeTime, computeFields.
1410 (compareTo): New method.
1411 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1412 (availableCharsets): Genericized.
1413 (aliases): Likewise.
1414 (compareTo): Changed argument type.
1415 * java/lang/ClassLoader.java (loadClass): Genericized.
1416 (findClass): Likewise.
1417 (defineClass): Likewise.
1418 (resolveClass): Likewise.
1419 (findSystemClass): Likewise.
1420 (setSigners): Likewise.
1421 (findLoadedClass): Likewise.
1422 (getResources): Likewise.
1423 (findResources): Likewise.
1424 (getSystemResources): Likewise.
1425 (checkInitialized): New method.
1426 * java/lang/Class.java (getCanonicalName): New method.
1428 2007-01-31 Keith Seitz <keiths@redhat.com>
1430 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1431 * jvmti.cc (JVMTI): Add member "enabled".
1432 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1433 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1434 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1435 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1436 instead of run to compile the method.
1438 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1441 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1443 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1444 -shared-libgcc to the cxxflaglist for Darwin.
1446 2007-01-31 Tom Tromey <tromey@redhat.com>
1448 * scripts.am, Makefile.in: Rebuilt.
1449 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1451 (emit_ordinary_rule): New proc.
1453 2007-01-31 Keith Seitz <keiths@redhat.com>
1455 * testsuite/libjava.jvmti/getmethodname.h: New file.
1456 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1458 2007-01-31 Andrew Haley <aph@redhat.com>
1460 * prims.cc (_Jv_Abort): fflush (stderr).
1461 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1463 2007-01-31 Tom Tromey <tromey@redhat.com>
1465 * configure, Makefile.in: Rebuilt.
1466 * configure.ac (JAR): Check for -@ feature.
1467 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1469 2007-01-31 Tom Tromey <tromey@redhat.com>
1472 * configure, include/config.h.in: Rebuilt.
1473 * configure.ac: Check for magic_t in magic.h.
1474 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1476 2007-01-30 Tom Tromey <tromey@redhat.com>
1478 * Makefile.in: Rebuilt.
1479 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1481 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1483 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1484 cast to print it right.
1486 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1489 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1492 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1494 * include/java-interp.h: Added _Jv_Frame class and its two
1495 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1496 _Jv_FrameType from java-stack.h.
1497 * include/java-stack.h: Removed _Jv_FrameType.
1498 * java/lang/Thread.java: Added frame member to hold new
1499 composite frame stack.
1500 * java/lang/Thread.h: Regenerated.
1501 * java/lang/Thread.class: Rebuilt.
1502 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1503 calling a JNI method.
1504 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1505 (_Jv_JVMTI_GetFrameCount): New method.
1506 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1508 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1509 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1510 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1511 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1512 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1515 2007-01-29 Tom Tromey <tromey@redhat.com>
1517 * interpret.cc (run_debug): Remove comment.
1524 (run_normal_debug): Likewise.
1525 (run_synch_object_debug): Likewise.
1526 (run_class_debug): Likewise.
1527 (run_synch_class_debug): Likewise.
1532 (NULLARRAYCHECK): Likewise.
1533 (ARRAYBOUNDSCHECK): Likewise.
1534 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1536 2007-01-29 Tom Tromey <tromey@redhat.com>
1538 * configure, Makefile.in: Rebuilt.
1539 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1540 * configure.ac (BASH_JAR): Removed conditional.
1541 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1543 2007-01-29 Tom Tromey <tromey@redhat.com>
1545 * Makefile.in: Rebuilt.
1546 * Makefile.am (interpret.lo): New target. Add -fwrap to
1549 2007-01-29 Keith Seitz <keiths@redhat.com>
1551 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1553 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1554 gcj. All jvmti object types now are defined to be their
1555 corresponding java classes.
1556 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1558 (_Jv_JVMTI_ResumeThread): Likewise.
1559 (_Jv_JVMTI_InterruptThread): Likewise.
1560 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1561 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1562 (jdwpClassPrepareCB): Likewise.
1563 (jdwpThreadEndCB): Likewise.
1564 (jdwpThreadStartCB): Likewise.
1565 (jdwpVMInitCB): Likewise.
1567 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1569 * gnu/java/nio/channels/natFileChannelWin32.cc
1570 (lock): Implemented.
1571 (unlock): Implemented.
1573 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1576 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1577 libgcj_flags to undefine 'sun' at compile time.
1578 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1580 (write_barrier): Likewise.
1582 2007-01-27 Keith Seitz <keiths@redhat.com>
1584 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1585 (getAllClassMethods): Move error handling to ...
1586 (throw_jvmti_error): ... here.
1587 (jdwpClassPrepareCB): New function.
1588 (jdwpThreadEndCB): New function.
1589 (jdwpThreadStartCB): New function.
1590 (jdwpVMDeathCB): New function.
1591 (jdwpVMInitCB): Define and enable callbacks for
1592 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1594 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1596 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1597 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1598 (MYGCJH): New variable.
1599 (compile-tests): New goal.
1600 * Makefile.in: Rebuilt.
1601 * testsuite/Makefile.in: Rebuilt.
1603 2007-01-26 Andrew Haley <aph@redhat.com>
1605 * java/lang/natClass.cc (initializeClass): Re-throw
1607 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1608 * java/lang/ClassLoader.java: (loadClass): Likewise.
1610 2007-01-26 Tom Tromey <tromey@redhat.com>
1614 2007-01-25 Tom Tromey <tromey@redhat.com>
1617 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1618 input or output encodings. Removed unused local variables.
1620 2007-01-25 Keith Seitz <keiths@redhat.com>
1622 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1623 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1624 (_Jv_GetJDWP_JVMTIEnv): New function.
1625 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1626 (getSignature): Implement.
1627 (getModifiers): Implement.
1629 2007-01-25 Andrew Haley <aph@redhat.com>
1631 * configure, Makefile.in, include/config.h.in: Rebuilt.
1632 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1633 * configure.ac: Don't check for libmagic.
1634 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1635 p_magic_close, p_magic_buffer): New globals.
1636 (init): Look up 'magic' functions.
1637 (guessContentTypeFromBuffer): Updated.
1639 2007-01-25 Keith Seitz <keiths@redhat.com>
1641 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1642 (_Jv_JVMTI_Interface): Define GetMethodName.
1643 * testsuite/libjava.jvmti/getmethodname.java: New file.
1644 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1645 * testsuite/libjava.jvmti/getmethodname.out: New file.
1647 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1649 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1650 * libjava/testsuite/libjava.jvmti/interp: New folder.
1651 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1653 2007-01-24 Keith Seitz <keiths@redhat.com>
1655 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1656 CLASS_PREPARE notification.
1658 2007-01-24 Keith Seitz <keiths@redhat.com>
1660 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1661 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1662 * interpret-run.cc: Implement insn_breakpoint.
1664 2007-01-24 Keith Seitz <keiths@redhat.com>
1666 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1667 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1669 2007-01-24 Keith Seitz <keiths@redhat.com>
1671 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1672 (getAllClassMethods): Implement.
1674 2007-01-24 Andrew Haley <aph@redhat.com>
1676 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1677 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1678 from being sibcalled.
1680 2007-01-24 Andrew Haley <aph@redhat.com>
1682 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1683 * sources.am: Rebuild.
1685 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1687 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1688 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1690 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1693 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1694 * Makefile.in: Regenerated.
1696 2007-01-22 Keith Seitz <keiths@redhat.com>
1698 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1699 (getClassMethod): Implement.
1701 2007-01-22 Keith Seitz <keiths@redhat.com>
1703 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1704 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1705 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1706 (_Jv_JVMTI_Interface): Define GetClassStatus.
1708 2007-01-22 Tom Tromey <tromey@redhat.com>
1710 * configure: Rebuilt.
1711 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1713 2007-01-22 Tom Tromey <tromey@redhat.com>
1716 * testsuite/libjava.jni/pr29812.java: New file.
1717 * testsuite/libjava.jni/pr29812_injar.java: New file.
1718 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1719 * testsuite/libjava.jni/pr29812.out: New file.
1720 * testsuite/libjava.jni/pr29812_injar.c: New file.
1721 * testsuite/libjava.jni/pr29812_injar.h: New file.
1722 * testsuite/libjava.jni/pr29812.jar: New file.
1723 * testsuite/libjava.jni/pr29812.c: New file.
1724 * testsuite/libjava.jni/pr29812.h: New file.
1725 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1727 (gcj_jni_invocation_test_one): Use it.
1728 (gcj_jni_pr29812): New proc.
1729 (gcj_jni_run): Use it.
1730 * java/lang/natRuntime.cc (_load): Push a new system frame before
1732 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1733 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1734 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1735 <allocated_p>: Now bool.
1736 <loader>: New field.
1737 (_Jv_JNI_EnsureLocalCapacity): Updated.
1738 (_Jv_JNI_NewLocalRef): Likewise.
1739 (_Jv_JNI_NewLocalRef): Likewise.
1740 (_Jv_JNI_PopLocalFrame): Likewise.
1741 (_Jv_JNI_FindClass): Likewise.
1742 (_Jv_GetJNIEnvNewFrame): Likewise.
1743 (_Jv_JNI_AttachCurrentThread): Likewise.
1744 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1745 (_Jv_GetJNIEnvNewFrame): Use it.
1746 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1748 2007-01-22 Tom Tromey <tromey@redhat.com>
1750 * libtool-version: Bump current to 9.
1752 2007-01-22 Andrew Haley <aph@redhat.com>
1754 * sysdep/alpha/locks.h (write_barrier): New.
1756 2007-01-21 Matthias Klose <doko@debian.org>
1758 * Makefile.am (install-exec-hook): Use transformed name.
1759 * Makefile.in: Regenerate.
1761 2007-01-19 Keith Seitz <keiths@redhat.com>
1763 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1764 in methods and reformat.
1766 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1769 2007-01-18 Keith Seitz <keiths@redhat.com>
1771 From Macro Trudel <mtrudel@gmx.ch>:
1772 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1775 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1777 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1778 * testsuite/libjava.jni/findclass2.jar: New file.
1779 * testsuite/libjava.jni/findclass2.h: New file.
1780 * testsuite/libjava.jni/findclass2.java: New file
1781 * testsuite/libjava.jni/findclass2.c: New file.
1782 * testsuite/libjava.jni/findclass2.out: New file.
1784 2007-01-18 Tom Tromey <tromey@redhat.com>
1786 * configure: Rebuilt.
1787 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1789 2007-01-18 Gary Benson <gbenson@redhat.com>
1791 * gnu/java/nio/natVMPipeEcos.cc:
1792 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1793 * gnu/java/nio/natVMPipePosix.cc:
1794 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1795 * gnu/java/nio/natVMPipeWin32.cc:
1796 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1797 * gnu/java/nio/natVMSelectorEcos.cc:
1798 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1799 * gnu/java/nio/natVMSelectorPosix.cc:
1800 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1801 * gnu/java/nio/natVMSelectorWin32.cc:
1802 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1803 * java/io/natVMObjectInputStream.cc:
1804 Renamed from java/io/natObjectInputStream.cc.
1805 * java/lang/natVMDouble.cc:
1806 Renamed from java/lang/natDouble.cc.
1807 * java/lang/natVMFloat.cc:
1808 Renamed from java/lang/natFloat.cc.
1809 * Makefile.am, configure.ac: Reflect the above.
1810 * Makefile.in, configure: Rebuilt.
1812 2007-01-17 Andrew Haley <aph@redhat.com>
1814 * Makefile.in: Rebuilt.
1815 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1817 2007-01-17 Keith Seitz <keiths@redhat.com>
1819 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1820 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1822 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1824 * configure.ac: Use multi.m4 from aclocal rather than custom
1825 code. Use multi_basedir instead libgcj_basedir. Test for
1826 /proc/self/exe when not cross-compiling.
1827 * aclocal.m4: Regenerate.
1828 * configure: Regenerate.
1829 * Makefile.in: Regenerate.
1831 2007-01-17 Gary Benson <gbenson@redhat.com>
1833 * java/nio/natVMDirectByteBufferImpl.cc:
1834 Renamed from java/nio/natDirectByteBufferImpl.cc.
1835 * Makefile.am: Reflect the above.
1836 * Makefile.in: Rebuilt.
1838 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1840 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1841 Fixed indentation. Removed unused variable.
1843 2007-01-16 Tom Tromey <tromey@redhat.com>
1845 * java/lang/natThread.cc (finalize_native): Remove cast.
1846 (_Jv_GetCurrentJNIEnv): Likewise.
1847 * include/jvm.h (struct natThread) <jni_env>: Declare as
1850 2007-01-16 Keith Seitz <keiths@redhat.com>
1852 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1853 %#llx instead of %d for new_value.
1854 * testsuite/libjava.jvmti/events.out: Update expected output.
1855 * testsuite/libjava.jvmti/events.jar: Regenerate.
1857 2007-01-16 Keith Seitz <keiths@redhat.com>
1859 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1861 (ENABLE_EVENT): New macro.
1862 (initialize): Define and enable JVMTI VM_INIT callback.
1863 (jdwpVMInitCB): New function.
1865 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1867 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1868 * testsuite/libjava.jvmti/getallthreads.java: New test.
1869 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1870 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1871 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1872 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1874 2007-01-15 Keith Seitz <keiths@redhat.com>
1876 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1877 java.lang.StringBuilder instead of java.lang.StringBuffer.
1878 (resumeThread): Likewise.
1880 2007-01-15 Gary Benson <gbenson@redhat.com>
1882 * java/nio/MappedByteBuffer.java: Removed.
1883 * sources.am, Makefile.in: Rebuilt.
1885 2007-01-15 Gary Benson <gbenson@redhat.com>
1887 * java/net/URLClassLoader.java: Removed.
1888 * gnu/java/net/loader/Load_gcjlib.java: New file.
1889 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1890 URL handler is present in static executables.
1891 * sources.am, Makefile.in: Rebuilt.
1893 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1895 * Makefile.am (libgcj_la_LDFLAGS): Add
1896 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1897 (libgcj_tools_la_LDFLAGS): Likewise.
1898 (libgcj_bc_la_LDFLAGS): Likewise.
1899 * Makefile.in: Regenerated.
1901 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1902 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1903 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1904 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1905 * configure: Regenerated.
1906 * aclocal.m4: Likewise.
1907 * gcj/Makefile.in: Likewise.
1908 * include/Makefile.in: Likewise.
1909 * testsuite/Makefile.in: Likewise.
1911 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1913 * sysdep/sh/locks.h (read_barrier): New.
1914 (write_barrier): Likewise.
1916 2007-01-12 Andrew Haley <aph@redhat.com>
1918 * include/i386-signal.h: Rewrite to use rt_sigaction.
1920 2007-01-11 Andrew Haley <aph@redhat.com>
1922 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1924 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1927 2007-01-10 Tom Tromey <tromey@redhat.com>
1929 * gnu/gcj/xlib/*.h: New files.
1930 * gnu/awt/xlib/*.h: Likewise.
1931 * classpath/lib/gnu/gcj/xlib: New class files.
1932 * classpath/lib/gnu/awt/xlib: Likewise.
1934 2007-01-10 Tom Tromey <tromey@redhat.com>
1936 * HACKING: Various updates.
1938 2007-01-10 Tom Tromey <tromey@redhat.com>
1940 * java/lang/natDouble.cc (toString): Added parens.
1941 * gnu/gcj/io/shs.h (PROTO): Define.
1942 * link.cc (resolve_pool_entry): Added missing braces.
1944 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1947 * sysdep/ia64/locks.h (read_barrier): New.
1948 (write_barrier): New.
1950 2007-01-10 Gary Benson <gbenson@redhat.com>
1952 * java/net/URL.java: Removed.
1953 * sources.am, Makefile.in: Rebuilt.
1955 2007-01-10 Matthias Klose <doko@debian.org>
1957 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1958 * Makefile.in: Regenerated.
1960 2007-01-05 Tom Tromey <tromey@redhat.com>
1962 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1963 dummy.class in srcdir.
1965 2007-01-03 Tom Tromey <tromey@redhat.com>
1967 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1970 2007-01-03 Tom Tromey <tromey@redhat.com>
1972 * testsuite/*: Added many .jar and .h files.
1973 * testsuite/libjava.special/special.exp
1974 (gcj_special_try_compiler): New proc.
1975 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1976 bytecompile source. Search for .jar files.
1977 (gcj_loader_test_one): Don't look for MyLoader.java.
1978 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1979 bytecompile sources or build headers.
1980 (gcj_jvmti_run): Look for .jar files.
1981 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1983 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1984 Set classpath when invoking gij.
1985 (gcj_jni_invocation_test_one): Likewise.
1986 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1987 headers or bytecompile sources.
1988 (gcj_cni_run): Use .jar files, not .java files.
1989 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1991 2007-01-02 Tom Tromey <tromey@redhat.com>
1993 * configure: Rebuilt.
1994 * configure.ac: Check for gjar.
1996 2007-01-02 Tom Tromey <tromey@redhat.com>
1998 * testsuite/libjava.jacks/jacks.exp: Removed.
1999 * testsuite/libjava.jacks/jacks.xfail: Removed.