1 2007-05-31 Andrew Haley <aph@redhat.com>
3 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
4 INTERPRETED access modifier.
6 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
9 * configure: Regenerated.
10 * aclocal.m4: Regenerated.
12 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
15 * configure: Regenerated.
17 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
19 * configure.ac: Don't include ../config/confsubdir.m4.
20 * aclocal.m4: Regenerated.
21 * configure: Likewise.
23 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
26 * configure.ac: Include confsubdir.m4.
27 * configure: Regenerate.
29 2007-05-24 Keith Seitz <keiths@redhat.com>
31 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
32 one when pc_ptr is non-NULL.
34 * prims.cc (parse_init_args): Enable JVMTI with agentlib
35 and agentpath options.
37 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
39 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
40 Pass '-agentlib:dummyagent' when executing gij.
41 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
42 and remove it when finished.
43 * testsuite/libjava.jvmti/dummyagent.c: New file.
45 2007-05-23 Steve Ellcey <sje@cup.hp.com>
47 * Makefile.in: Regenerate.
48 * configure: Regenerate.
49 * aclocal.m4: Regenerate.
50 * gcj/Makefile.in: Regenerate.
51 * include/Makefile.in: Regenerate.
52 * testsuite/Makefile.in: Regenerate.
54 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
56 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
57 (executeMethods): Remove cast to ClassReferenceTypeId.
58 * classpath/lib/gnu/classpath/jdwp/processor/
59 ReferenceTypeCommandSet.class: Rebuilt.
61 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
63 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
64 classes and mark methods as native appropriately.
66 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
68 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
70 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
71 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
72 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
75 2007-05-16 David Daney <ddaney@avtrex.com>
77 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
78 (_Jv_StackFrame): Remove commented out code.
79 (_Jv_UnwindState): Remove superfluous 'typedef'.
80 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
82 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
83 (getCollectionUsage): Don't declare unused parameter n.
84 (getMemoryManagerNames): Same.
85 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
88 2007-05-16 Keith Seitz <keiths@redhat.com>
90 * include/java-interp.h (breakpoint_at): Declare.
91 * interpret.cc (breakpoint_at): New function.
92 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
94 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
95 Initialize _event_list.
96 (handle_single_step): If there is a breakpoint at the
97 location at which we are stopping, do not send the notification.
98 Instead add the event to a list of events that occur at this
100 (jdwpBreakpointCB): If the event list is not empty, send
101 whatever events are in it and the breakpoint event in a single
103 Mark parameter jni_env as MAYBE_UNUSED.
104 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
106 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
108 2007-05-15 David Daney <ddaney@avtrex.com>
110 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
111 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
113 2007-05-15 Keith Seitz <keiths@redhat.com>
115 * interpret.cc (STOREA): Rewrite using temporary variable to
116 avoid double-macro expansion side-effects.
119 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
120 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
121 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
122 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
125 2007-05-12 David Daney <ddaney@avtrex.com>
128 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
129 (_Jv_UnBlockSigchld): Same.
130 * posix-threads.cc: Include posix-threads.h.
131 (block_sigchld) Rename to...
132 (_Jv_BlockSigchld) ... this.
133 (_Jv_UnBlockSigchld): New function.
134 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
135 (_Jv_ThreadStart): Same.
136 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
137 * java/lang/PosixProcess.java: Clean up imports.
138 (ProcessManager): Make final.
139 (ProcessManager.queue): Genericise and make private.
140 (ProcessManager.pidToProcess): Remove.
141 (ProcessManager.liveProcesses): New field.
142 (ProcessManager.reaperPID): Remove.
143 (ProcessManager.nativeData): New field.
144 (ProcessManager.removeProcessFromMap): Remove.
145 (ProcessManager.addProcessToMap):Remove.
146 (ProcessManager.addToLiveProcesses): New method.
147 (ProcessManager.run): Rewritten.
148 (ProcessManager.reap): Change method signature,
149 (getErrorStream): Correct formatting.
150 (getInputStream): Same.
151 (spawn): Add process to liveProcesses list.
152 (pid): Make package private.
153 * java/lang/PosixProcess.h: Regenerate.
154 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
155 Add useing namespace java::lang.
156 (ProcessManagerInternal): New struct.
157 (sigchld_handler): Rewritten.
159 (waitForSignal): Same.
161 (signalReaper): Same.
162 (nativeDestroy): Call kill as ::kill.
163 (nativeSpawn): Correct formatting.
164 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
165 * classpath/lib/java/lang/PosixProcess.class: Same.
166 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
168 2007-05-07 Ian Lance Taylor <iant@google.com>
171 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
174 2007-05-07 Keith Seitz <keiths@redhat.com>
176 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
177 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
178 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
180 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
182 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
183 * gnu/classpath/jdwp/event/Event.h: Regenerate.
184 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
186 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
188 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
191 2007-05-03 Keith Seitz <keiths@redhat.com>
193 * interpret.cc: Don't include ExceptionEvent.h.
194 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
195 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
196 * Makefile.in: Regenerated.
198 2007-05-03 Keith Seitz <keiths@redhat.com>
200 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
202 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
203 (find_catch_location): New function.
204 (REPORT_EXCEPTION): New macro.
205 (throw_internal_error): Use REPORT_EXCEPTION.
206 (throw_incompatible_class_change_error): Likewise.
207 (throw_null_pointer_exception): Likewise.
208 (throw_class_format_error): Likewise.
209 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
211 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
212 (insn_new): Use INTERP_REPORT_EXCEPTION.
213 (insn_athrow): Likewise.
214 Remove previous JVMTI exception notifications.
215 Add JVMTI ExceptionCatch notificatin.
216 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
218 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
219 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
220 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
221 * gnu/classpath/jdwp/natVMVirtualMachine.cc
222 (jdwpExceptionCB): New function.
223 (jdwpVMInitCB): Set Exception event handler and enable.
224 * sources.am: Regenerated.
225 * Makefile.in: Regenerated.
227 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
229 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
230 * Makefile.in: Regenerate.
231 * scripts/makemake.tcl (scan_directory): Treat default.css as a
233 * classpath/javax/swing/text/html/default.css: Move to...
234 * classpath/resource/javax/swing/text/html/default.css: New file.
235 * classpath/javax/swing/text/html/HTMLEditorKit.java
236 (getStyleSheet): Throw RuntimeException when style loading fails.
237 * sources.am (property_files): Add
238 classpath/resource/javax/swing/text/html/default.css.
240 2007-05-02 Tom Tromey <tromey@redhat.com>
242 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
243 * java/lang/natCharacter.cc (Character::getType): Handle negative
245 (Character::toLowerCase): Likewise.
246 (Character::toUpperCase): Likewise.
247 (Character::digit): Likewise.
248 (Character::getNumericValue): Likewise.
249 (Character::getDirectionality): Likewise.
250 (Character::toTitleCase): Likewise.
252 2007-04-30 Keith Seitz <keiths@redhat.com>
254 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
255 executing the instruction.
256 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
257 one insn from the frame's PC. _Jv_InterpMethod::run et al
258 will advance the PC before executing the instruction.
260 2007-04-27 Keith Seitz <keiths@redhat.com>
262 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
263 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
265 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
267 2007-04-27 Keith Seitz <keiths@redhat.com>
269 * classpath/lib/gnu/classpath/jdwp/event/filters/
270 LocationOnlyFilter.class: Regenerated;
271 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
273 * gnu/classpath/jdwp/VMMethod.java
274 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
276 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
277 * gnu/classpath/jdwp/util/Location.h: Regenerated.
279 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
281 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
282 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
284 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
286 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
288 (get): Deal with ObjectId of 0.
290 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
293 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
295 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
297 * gnu/classpath/jdwp/natVMVirtualMachine.java
298 (getThreadStatus): Implement.
300 2007-04-24 Keith Seitz <keiths@redhat.com>
302 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
303 Add _Jv_RewriteBreakpointInsn friend declaration.
304 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
305 [DIRECT_THREADED]: New function.
306 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
307 * interpret-run.cc: Define new REWRITE_INSN macro.
308 Changed all occurrences of insn rewriting to call REWRITE_INSN.
310 2007-04-23 Keith Seitz <keiths@redhat.com>
312 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
313 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
314 * boehm.cc (_Jv_IsThreadSuspended): New function.
315 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
316 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
317 (_Jv_JVMTI_Interface): Define GetThreadState.
319 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
321 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
323 (<init>): Add a pointer to the interpreter PC as a parameter with
325 (get_pc): New method.
326 * interpret-run.cc: If debugging, pass a pointer to the PC when
327 creating the stack frame.
328 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
331 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
333 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
334 for null source file and throw an exception indicating this.
336 2007-04-20 Keith Seitz <keiths@redhat.com>
338 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
339 Install the new breakpoint into the bytecode.
340 (deleteBreakpoint): Remove the breakpoint from the bytecode.
341 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
343 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
344 Don't install the breakpoint here.
346 2007-04-19 Keith Seitz <keiths@redhat.com>
348 * interpret-run.cc [insn_breakpoint]: Save the original
349 insn for the breakpoint before posting the JVMTI notification.
351 2007-04-19 Tom Tromey <tromey@redhat.com>
353 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
355 2007-04-18 Tom Tromey <tromey@redhat.com>
357 * Regenerated headers with new gjavah.
359 2007-04-18 Andrew Haley <aph@redhat.com>
361 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
363 (generateProxyClass): Add field $Proxy0.m. Store methods array in
365 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
366 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
367 * java/lang/natClass.cc: Likewise.
368 * headers.txt: Likewise.
369 * java/lang/reflect/Method.h: Likewise.
371 2007-04-16 Andrew Haley <aph@redhat.com>
373 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
375 (bootGetResource): Use getBootURLLoader() to load resources.
376 (bootGetResources): Likewise.
378 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
379 check that the method's declaring class is accessible.
381 2007-04-10 Keith Seitz <keiths@redhat.com>
383 * sources.am: Regenerate.
384 * Makefile.in: Likewise.
386 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
388 * interpret-run.cc: If debugging, check if args is NULL before
389 getting the "this" pointer.
391 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
393 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
394 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
395 * gnu/classpath/jdwp/ArrayValue.h: New file.
396 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
399 2007-04-09 David Daney <ddaney@avtrex.com>
402 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
403 environment before the fork.
404 * testsuite/libjava.lang/Process_7.java: New test.
405 * testsuite/libjava.lang/Process_7.out: Its expected results.
406 * testsuite/libjava.lang/Process_7.jar: Generated file.
408 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
410 * prims.cc (load_jvmti_agent): Add the missing `,'.
412 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
414 * gij.cc (main): Accept -agentlib and -agentpath options.
415 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
416 (load_jvmti_agent): New function.
418 2007-04-04 Tania Bento <tbento@redhat.com>
420 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
421 Copyright information and introduced new variable, currency.
422 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
423 to "XXX", currencySymbol to "?" and localCurrency appropriately.
424 (getCurrency): Fixed documentation and return the value of currency.
425 (setCurrency): Fixed documentation and update the value of currency.
426 (setInternationalCurrencySymbol): Fixed documentation and update the
428 * java/util/Currency.java: Introduced two new variables, properties
429 and fractionDigits. In the static block, a properties object is
430 created and the currency resource is loaded.
431 (Currency(Locale)): fractionDigits is defined.
432 (Currency(String)): New method.
433 (getDefaultFractionDigits): Return the value of fractionDigits.
434 (getInstance(String)): Check if String is equal to "XXX".
436 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
438 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
439 to ints for argCnt and slots.
440 (write): Replace writeLong with writeInt for the above.
442 2007-04-03 Andrew Haley <aph@redhat.com>
444 * testsuite/libjava.lang/ProxyTest.java: New test.
446 2007-04-02 Tom Tromey <tromey@redhat.com>
448 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
449 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
450 file, when writing, if it is too short.
452 2007-04-02 Tom Tromey <tromey@redhat.com>
454 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
455 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
457 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
458 where localport is -1.
459 (create): Now public.
460 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
461 'create' on the socket.
463 2007-04-02 Andrew Haley <aph@redhat.com>
465 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
466 _Jv_LookupProxyMethod to find the Method.
467 If parameter_types->length == 0, pass a null paramameter list,
468 not a zero-length parameter list.
469 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
470 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
472 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
474 * interpret-run.cc: Add code to properly set up variable slots
476 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
477 (getObjectJVMTI): New function.
478 (setObjectJVMTI): New function.
479 (getIntJVMTI): New function.
480 (setIntJVMTI): New function.
481 (getLongJVMTI): New function.
482 (setLongJVMTI): New function.
483 (getFloatJVMTI): New function.
484 (setFloatJVMTI): New function.
485 (getDoubleJVMTI): New function.
486 (setDoubleJVMTI): New function.
487 (getFrameDepth): New function.
488 (getValue): Implement.
489 (setValue): Implement.
491 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
493 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
494 (executeResume): Call VMVirtualMachine.resumeThread.
496 2007-03-29 Tom Tromey <tromey@redhat.com>
499 * java/util/logging/LogManager.java (readConfiguration): Handle
500 comma-separated 'handlers'. Don't try to add a non-existing
503 2007-03-27 Tom Tromey <tromey@redhat.com>
505 * sources.am, Makefile.in: Rebuilt.
506 * scripts/mime.types: Removed.
507 * scripts/MakeDefaultMimeTypes.java: Removed.
508 * gnu/gcj/io/MimeTypes.java: Removed.
509 * gnu/gcj/io/MimeTypes.h: Removed.
510 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
511 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
513 2007-03-27 Keith Seitz <keiths@redhat.com>
515 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
517 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
518 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
519 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
520 (initialize): Fix compiler type-punning warning.
521 (getAllLoadedClasses): Return empty list instead of NULL.
522 (getLoadRequests): Likewise.
523 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
524 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
525 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
526 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
527 * gnu/classpath/jdwp/value/CharValue.h: New file.
528 * gnu/classpath/jdwp/value/LongValue.h: New file.
529 * gnu/classpath/jdwp/value/ShortValue.h: New file.
530 * gnu/classpath/jdwp/value/Value.h: New file.
531 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
532 * gnu/classpath/jdwp/value/VoidValue.h: New file.
533 * gnu/classpath/jdwp/value/ByteValue.h: New file.
534 * gnu/classpath/jdwp/value/FloatValue.h: New file.
535 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
536 * gnu/classpath/jdwp/value/StringValue.h: New file.
537 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
538 * gnu/classpath/jdwp/value/IntValue.h: New file.
539 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
540 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
541 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
542 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
543 * gnu/classpath/jdwp/util/NullObject.h: New file.
544 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
545 * Makefile.in: Rebuilt.
546 * sources.am: Rebuilt.
548 2006-03-26 David Daney <ddaney@avtrex.com>
550 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
551 fork, execvp, execinfo.h, pthread_mutexattr_settype,
552 pthread_mutexattr_setkind_np and sys/wait.h.
553 * Makefile.in: Regenerate.
554 * include/Makefile.in: Regenerate.
555 * include/config.h.in: Regenerate.
556 * testsuite/Makefile.in: Regenerate.
557 * configure: Regenerate.
558 * gcj/Makefile.in: Regenerate.
560 2007-03-23 Gary Benson <gbenson@redhat.com>
562 * link.cc (_Jv_Linker::resolve_method_entry):
563 Ensure that the argument types and the return type of the
564 found method match those expected by the calling method.
566 2007-03-22 David Daney <ddaney@avtrex.com>
569 * configure.ac: Add checks for getrlimit and sys/resource.h.
570 * include/posix.h (_Jv_platform_close_on_exec): Remove.
571 * include/config.h.in: Regenerate.
572 * configure: Regenerate.
573 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
574 _Jv_platform_close_on_exec;
575 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
577 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
578 * java/lang/natPosixProcess.cc: Include sys/resource.h.
579 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
582 2007-03-20 Andrew Haley <aph@redhat.com>
584 * testsuite/libjava.lang/PR31264.java: New test.
586 2007-03-14 Jakub Jelinek <jakub@redhat.com>
588 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
589 * Makefile.in: Rebuilt.
591 2007-03-13 Keith Seitz <keiths@redhat.com>
593 * include/java-interp.h (_Jv_InterpClass): Declare
594 friend function _Jv_GetInterpClassSourceFile.
595 * java/lang/Class.h (Class): Likewise.
596 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
598 * gnu/classpath/jdwp/natVMVirtualMachine.cc
599 (getSourceFile): Implement.
601 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
603 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
604 * classpath/configure.ac: Add --with-ecj-jar configure option.
605 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
607 * classpath/INSTALL: Document --with-ecj-jar configure option and
608 ecj jar requirement for com.sun.tools.javac support.
609 * classpath/tools/Makefile.am: Build decendents of com and sun
611 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
612 * gnu/classpath/Configuration.java,
613 gnu/classpath/natConfiguration.cc (ecj): New method.
614 (ECJ_JAR): New field.
615 * scripts/makemake.tcl (scan_packages): Add com directory.
616 * sources.am (property_files): Add
617 classpath/resource/sun/rmi/rmic/messages.properties and
618 classpath/resource/com/sun/tools/javac/messages.properties.
619 * classpath/resource/com, classpath/resource/com/sun,
620 classpath/resource/com/sun/tools,
621 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
622 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
623 classpath/tools/classes/com, classpath/tools/classes/com/sun,
624 classpath/tools/classes/com/sun/javadoc,
625 classpath/tools/classes/com/sun/tools,
626 classpath/tools/classes/com/sun/tools/doclets,
627 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
628 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
629 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
630 classpath/tools/com/sun/tools,
631 classpath/tools/com/sun/tools/doclets,
632 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
633 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
635 * classpath/resource/com/sun/tools/javac/messages.properties,
636 classpath/resource/sun/rmi/rmic/messages.properties,
637 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
638 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
639 classpath/tools/classes/com/sun/javadoc/Doc.class,
640 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
641 classpath/tools/classes/com/sun/javadoc/Doclet.class,
642 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
643 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
644 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
645 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
646 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
647 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
648 classpath/tools/classes/com/sun/javadoc/Parameter.class,
649 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
650 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
651 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
652 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
653 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
654 classpath/tools/classes/com/sun/javadoc/Tag.class,
655 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
656 classpath/tools/classes/com/sun/javadoc/Type.class,
657 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
658 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
659 classpath/tools/classes/sun/rmi/rmic/Main.class,
660 classpath/tools/classes/sun/rmi/rmic/Messages.class,
661 classpath/tools/com/sun/javadoc/ClassDoc.java,
662 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
663 classpath/tools/com/sun/javadoc/Doc.java,
664 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
665 classpath/tools/com/sun/javadoc/Doclet.java,
666 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
667 classpath/tools/com/sun/javadoc/FieldDoc.java,
668 classpath/tools/com/sun/javadoc/MemberDoc.java,
669 classpath/tools/com/sun/javadoc/MethodDoc.java,
670 classpath/tools/com/sun/javadoc/PackageDoc.java,
671 classpath/tools/com/sun/javadoc/ParamTag.java,
672 classpath/tools/com/sun/javadoc/Parameter.java,
673 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
674 classpath/tools/com/sun/javadoc/RootDoc.java,
675 classpath/tools/com/sun/javadoc/SeeTag.java,
676 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
677 classpath/tools/com/sun/javadoc/SourcePosition.java,
678 classpath/tools/com/sun/javadoc/Tag.java,
679 classpath/tools/com/sun/javadoc/ThrowsTag.java,
680 classpath/tools/com/sun/javadoc/Type.java,
681 classpath/tools/com/sun/javadoc/TypeVariable.java,
682 classpath/tools/com/sun/tools/doclets/Taglet.java,
683 classpath/tools/com/sun/tools/javac/Main.java,
684 classpath/tools/com/sun/tools/javac/Messages.java,
685 classpath/tools/sun/rmi/rmic/Main.java,
686 classpath/tools/sun/rmi/rmic/Messages.java: New files.
687 * Makefile.in, classpath/Makefile.in, classpath/configure,
688 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
689 classpath/examples/Makefile.in, classpath/external/Makefile.in,
690 classpath/external/jsr166/Makefile.in,
691 classpath/external/relaxngDatatype/Makefile.in,
692 classpath/external/sax/Makefile.in,
693 classpath/external/w3c_dom/Makefile.in,
694 classpath/include/Makefile.in, classpath/include/config.h.in,
695 classpath/lib/Makefile.in,
696 classpath/lib/gnu/classpath/Configuration.class,
697 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
698 classpath/native/jawt/Makefile.in,
699 classpath/native/jni/Makefile.in,
700 classpath/native/jni/classpath/Makefile.in,
701 classpath/native/jni/gconf-peer/Makefile.in,
702 classpath/native/jni/gtk-peer/Makefile.in,
703 classpath/native/jni/java-io/Makefile.in,
704 classpath/native/jni/java-lang/Makefile.in,
705 classpath/native/jni/java-net/Makefile.in,
706 classpath/native/jni/java-nio/Makefile.in,
707 classpath/native/jni/java-util/Makefile.in,
708 classpath/native/jni/midi-alsa/Makefile.in,
709 classpath/native/jni/midi-dssi/Makefile.in,
710 classpath/native/jni/native-lib/Makefile.in,
711 classpath/native/jni/qt-peer/Makefile.in,
712 classpath/native/jni/xmlj/Makefile.in,
713 classpath/native/plugin/Makefile.in,
714 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
715 classpath/tools/Makefile.in, configure,
716 gnu/classpath/Configuration.h: Regenerate.
718 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
720 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
723 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
725 * java/lang/natString.cc (getBytes (jstring enc)):
726 Fixed the loop for multiple cycles, Code cleanup
728 2007-03-09 Tom Tromey <tromey@redhat.com>
730 * sources.am, Makefile.in: Rebuilt.
731 * scripts/makemake.tcl (scan_directory): Allow service files to be
733 Omit all XML-related service files.
735 2007-03-07 Tom Tromey <tromey@redhat.com>
737 * configure: Rebuilt.
738 * configure.ac: Clear vm-tools-packages.
740 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
742 * java/lang/Win32Process.java: Added nested class EOFInputStream.
743 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
744 enum and implementation.
745 (startProcess): Use redirect flag.
746 * classpath/lib/java/lang/Win32Process.class: Regenerated.
747 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
748 * gcj/javaprims.h: Regenerated.
749 * java/lang/Win32Process$EOFInputStream.h: New.
751 2007-03-07 Andrew Haley <aph@redhat.com>
753 * libgcj_bc.c (JvRunMainName): Declare.
755 2007-03-07 Gary Benson <gbenson@redhat.com>
757 * sources.am, Makefile.in: Rebuilt.
759 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
761 * gcj/javaprims.h: Regenerated.
763 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
765 * include/jvm.h (_Jv_ClosureListFinalizer): New.
766 (_Jv_Linker::create_error_method): Adjust.
767 * boehm.cc (_Jv_ClosureListFinalizer): New.
768 * nogc.cc (_Jv_ClosureListFinalizer): New.
769 * java/lang/Class.h (class _Jv_ClosureList): New.
770 (class java::lang::Class): Declare it as friend.
771 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
772 (_Jv_ClosureList::registerClousure): New.
773 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
774 (_Jv_CompiledEngine::do_get_closure_list): New.
775 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
776 (_Jv_IndirectCompiledClass): Add closures.
777 (_Jv_IndirectCompiledEngine::get_aux_info): New.
778 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
780 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
781 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
782 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
783 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
784 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
785 (node_closure): Add closure list.
786 (_Jv_InterpMethod::ncode): Add jclass argument. Use
787 ffi_closure_alloc and the separate code pointer. Register the
788 closure for finalization.
789 (_Jv_JNIMethod::ncode): Likewise.
790 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
791 (_Jv_InterpreterEngine::do_get_closure_list): New.
792 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
793 (_Jv_InterpClass): Add closures field.
794 (_Jv_JNIMethod::ncode): Adjust.
795 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
796 (_Jv_ClassReader::handleMethodsEnd): Likewise.
797 * link.cc (struct method_closure): Add closure list.
798 (_Jv_Linker::create_error_method): Add jclass argument. Use
799 ffi_closure_alloc and the separate code pointer. Register the
800 closure for finalization.
801 (_Jv_Linker::link_symbol_table): Remove outdated comment about
802 sharing of otable and atable. Adjust.
803 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
805 (ncode): Add jclass argument. Use ffi_closure_alloc and the
806 separate code pointer. Register the closure for finalization.
807 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
808 * testsuite/libjava.jar/TestClosureGC.java: New.
809 * testsuite/libjava.jar/TestClosureGC.out: New.
810 * testsuite/libjava.jar/TestClosureGC.xfail: New.
811 * testsuite/libjava.jar/TestClosureGC.jar: New.
813 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
815 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
816 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
817 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
818 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
819 (VMMethod::getLineTable): Use new macro.
820 (VMMethod::getVariableTable): Implement.
821 * sources.am: Regenerated.
822 * Makefile.in: Ditto.
824 2007-03-06 Tom Tromey <tromey@redhat.com>
826 * Makefile.in: Rebuilt.
827 * Makefile.am (bin_PROGRAMS): Added gcjh.
828 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
829 gcjh_DEPENDENCIES): New variables.
831 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
833 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
834 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
835 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
837 2007-03-05 Matthias Klose <doko@debian.org>
839 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
840 * Makefile.in: Regnerate.
842 2007-03-05 Mark Wielaard <mark@klomp.org>
844 * java/lang/Character.java: Re-merged with Classpath.
845 * java/lang/natString.cc (nativeCompareTo): Renamed from
847 * java/lang/StringBuilder.java: Re-merged with Classpath.
848 * java/lang/String.java: Re-merged with Classpath.
849 (nativeCompareTo): Renamed from compareTo.
850 * java/lang/StringBuffer.java: Re-merged with Classpath.
851 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
853 2007-03-05 Andrew Haley <aph@redhat.com>
855 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
856 (generateProxyClass): Don't pass method to ncode.
857 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
858 * java/lang/reflect/Method.h: Rebuild.
859 * java/lang/reflect/Method.java (internalGetParameterTypes,
860 internalGetExceptionTypes): New methods.
861 * headers.txt (class java/lang/reflect/Method): Declare
862 _Jv_GetReflectedMethod. Be its friend.
863 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
864 * java/lang/Class.h: Declare it. Be its friend.
866 2007-03-05 Tom Tromey <tromey@redhat.com>
868 * sources.am, Makefile.in: Rebuilt.
869 * scripts/makemake.tcl (emit_package_rule): Don't omit
871 * Makefile.am (nat_source_files): Added natVMProcess.cc.
872 (inner_nat_headers): Added ImmediateEOFInputStream.h.
873 * gcj/javaprims.h: Regenerated.
874 * java/lang/System.java (EnvironmentMap): Now package-private.
875 (EnvironmentMap(Map)): New constructor.
876 (EnvironmentMap.put): New method.
877 * java/lang/natWin32Process.cc (startProcess): Update.
878 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
880 (startProcess): Likewise.
881 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
883 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
884 * java/lang/PosixProcess.java (redirect): New field.
885 (PosixProcess): Added 'redirect' argument.
886 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
887 argument to Process creation.
888 * java/lang/natVMProcess.cc: New file.
889 * java/lang/ProcessBuilder.java: Removed.
890 * java/lang/VMProcess.java: New file.
892 2007-03-03 Andrew Haley <aph@redhat.com>
894 * java/lang/natClass.cc (parseAnnotationElement): Correct long
895 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
897 2007-03-02 Andrew Haley <aph@redhat.com>
899 * sun/reflect/annotation/AnnotationInvocationHandler.java:
900 Generify in a few places.
901 (equals): Rewrite to use invoke on local proxy.
902 (deepToString): Remove most of it.
903 (toString): Make nonstatic.
904 (arrayClone): Delete.
905 (coerce): New method.
906 (invoke): Rewrite to handle gcj's structures correctly.
907 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
909 * sources.am: Regenerate.
910 * Makefile.am: Likewise.
912 2007-03-02 Andrew Haley <aph@redhat.com>
914 * sun/reflect/annotation/AnnotationInvocationHandler.java:
915 Whitespace only changes.
917 2007-03-02 Andrew Haley <aph@redhat.com>
919 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
920 from Classpath to libgcj local.
922 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
924 * Makefile.am: Add dummy install-pdf target.
925 * Makefile.in: Regenerate
926 * include/Makefile.in: Regenerate
927 * testsuite/Makefile.in: Regenerate
928 * gcj/Makefile.in: Regenerate
930 2007-02-23 Gary Benson <gbenson@redhat.com>
932 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
934 2007-02-23 Gary Benson <gbenson@redhat.com>
936 * java/lang/VMCompiler.java
937 (compileClass): Don't lose zeros from within the digest.
939 2007-02-22 Jakub Jelinek <jakub@redhat.com>
943 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
944 /etc/localtime, use ZoneInfo.readTZFile instead of
945 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
946 either if it is a symlink or through /etc/sysconfig/clock.
947 (readSysconfigClockFile): New static method.
948 (readtzFile): Removed.
949 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
950 * posix.cc (_Jv_platform_initProperties): Set
951 gnu.java.util.zoneinfo.dir.
952 * sources.am (gnu_java_util_source_files): Add
953 classpath/gnu/java/util/ZoneInfo.java.
954 * Makefile.in: Regenerated.
955 * java/util/VMTimeZone.h: Regenerated.
956 * java/util/TimeZone.h: Regenerated.
957 * gnu/java/util/ZoneInfo.h: Generated.
959 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
961 * include/win32-threads.h: Added #undef OUT.
963 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
965 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
966 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
967 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
968 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
969 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
970 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
972 2007-02-21 Gary Benson <gbenson@redhat.com>
974 * java/util/GregorianCalendar.java: Removed.
975 * sources.am, Makefile.in: Rebuilt.
977 2007-02-20 Keith Seitz <keiths@redhat.com>
979 * gnu/classpath/jdwp/natVMVirtualMachine.cc
980 (jdwpClassPrepareCB): Move class status stuff to ...
981 (getClassStatus): ... here.
983 2007-02-20 Gary Benson <gbenson@redhat.com>
985 * gnu/awt/xlib/XEventLoop.h: Regenerated.
986 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
987 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
989 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
990 * java/lang/SecurityManager.h: Likewise.
991 * java/lang/Thread.h: Likewise.
992 * java/security/VMSecureRandom$Spinner.h: Likewise.
993 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
994 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
995 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
996 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
997 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
998 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
999 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1000 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1001 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1002 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1003 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1004 * java/util/concurrent/Exchanger.h: Likewise.
1005 * java/util/concurrent/Exchanger$Node.h: Likewise.
1006 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1007 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1008 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1010 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1012 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1013 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1015 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1016 * java/util/concurrent/SynchronousQueue.h: Likewise.
1017 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1018 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1020 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1021 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1023 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1024 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1025 * java/util/logging/ErrorManager.h: Likewise.
1026 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1027 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1029 2007-02-16 Keith Seitz <keiths@redhat.com>
1031 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1032 (get_line_table): New function.
1033 (handle_single_step): New function.
1034 (jdwpSingleStepCB): New function.
1035 (jdwpVMInitCB): Define a JVMTI single step
1036 callback, but don't enable it until needed.
1038 2007-02-16 David Daney <ddaney@avtrex.com>
1040 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1041 new parameter constructor.
1042 (Thread(ThreadGroup, Runnable, String, long)): Same.
1043 (Thread(String, boolean)): New constructor.
1044 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1045 noInheritableThreadLocal, don't call
1046 InheritableThreadLocal.newChildThread if set.
1047 * java/lang/PosixProcess.java(ProcessManager()): Set
1048 noInheritableThreadLocal in super.
1049 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1050 parameter to Thread constructor.
1051 (_Jv_AttachCurrentThreadAsDaemon): Same.
1052 * java/lang/Thread.h: Regenerate.
1053 * classpath/lib/java/lang/Thread.class: Same.
1054 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1055 * classpath/lib/java/lang/PosixProcess.class: Same.
1056 * classpath/lib/java/lang/Thread$State.class: Same.
1057 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1059 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1061 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1062 variables to maintain type info.
1063 * interpret-run.cc: Add local variable info to frame in the debug
1065 * jvmti.cc (getLocalFrame): New method.
1066 (_Jv_JVMTI_GetLocalObject): New method.
1067 (_Jv_JVMTI_GetLocallInt): New method.
1068 (_Jv_JVMTI_GetLocalFloat): New method.
1069 (_Jv_JVMTI_GetLocalLong): New method.
1070 (_Jv_JVMTI_GetLocalDouble): New method.
1071 (_Jv_JVMTI_SetLocalObject): New method.
1072 (_Jv_JVMTI_SetLocalInt): New method.
1073 (_Jv_JVMTI_SetLocalFloat): New method.
1074 (_Jv_JVMTI_SetLocalLong): New method.
1075 (_Jv_JVMTI_SetLocalDouble): New method.
1077 2007-02-16 Gary Benson <gbenson@redhat.com>
1079 * gnu/gcj/tools/gcj_dbtool/Main.java
1080 (bytesToString): Don't lose zeros from within the digest.
1082 2007-02-15 Andrew Haley <aph@redhat.com>
1084 * Makefile.am (nat_source_files): Remove
1085 java/lang/management/natVMManagementFactory.cc.
1086 * java/lang/Thread.java (getStackTrace): Use reflection to call
1087 the ManagementFactory.
1088 * java/lang/management/VMManagementFactory.java: Remove native
1090 * java/lang/management/natVMManagementFactory.cc: Deleted.
1091 * sources.am: Regnerate.
1092 * scripts/makemake.tcl: Add new "bcheaders" type.
1093 Move java/lang/management and gnu/classpath/management to "bc".
1094 Move gnu/java/lang/management to "bcheaders".
1096 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1098 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1099 * interpret-run.cc: Change the catch section to report exception
1100 events and to use the new check_handler method.
1101 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1102 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1103 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1104 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1105 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1107 * sources.am: Added ExceptionEvent.java.
1108 * Makefile.am: Added natExceptionEvent.cc
1109 * Makefile.in: Regenerated.
1110 * include/Makefile.in: Regenerated.
1111 * gcj/Makefile.in: Regenerated.
1113 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1114 David Daney <ddaney@avtrex.com>
1116 * configure.ac: Create vm-tools-packages file. Add
1117 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1118 Check for /proc/self/maps.
1119 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1120 (gc_analyze_SOURCES): New.
1121 (gc_analyze_LDFLAGS): New.
1122 (gc_analyze_LINK): New.
1123 (gc_analyze_LDADD): New.
1124 (gc_analyze_DEPENDENCIES): New.
1125 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1126 * Makefile.in: Regenerated.
1127 * configure: Regenerated.
1128 * include/config.h.in: Regenerated.
1129 * sources.am: Regenerated.
1130 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1131 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1132 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1133 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1134 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1135 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1136 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1137 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1138 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1139 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1140 * gnu/gcj/util/GCInfo.java: New.
1141 * gnu/gcj/util/GCInfo.h: New.
1142 * gnu/gcj/util/natGCInfo.cc: New.
1143 * gnu/gcj/util/UtilPermission.java: New.
1144 * gnu/gcj/util/UtilPermission.h: New.
1145 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1146 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1147 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1148 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1149 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1150 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1151 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1152 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1153 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1154 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1155 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1156 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1157 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1158 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1159 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1160 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1161 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1162 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1163 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1164 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1165 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1166 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1167 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1169 2007-02-15 David Daney <ddaney@avtrex.com>
1171 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1172 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1173 * gnu/classpath/jdwp/VMFrame.h: Same.
1174 * java/net/Socket.h: Same.
1175 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1177 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1179 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1180 Added LocalVariableTable attribute handling.
1181 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1182 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1183 * include/java-interp.h: Added local_var_table and
1184 local_var_table_len fields to _Jv_InterpMethod.
1185 (_Jv_InterpMethod::get_local_var_table): New method.
1186 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1187 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1188 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1190 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1191 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1193 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1195 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1197 2007-02-13 Keith Seitz <keiths@redhat.com>
1199 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1200 (jdwpBreakpointCB): New function.
1201 (jdwpVMInitCB): Define and enable the breakpoint
1204 2007-02-13 Andrew Haley <aph@redhat.com>
1206 * testsuite/libjava.lang/Divide_2.out
1207 * testsuite/libjava.lang/Divide_2.java: New test.
1209 2007-02-12 Keith Seitz <keiths@redhat.com>
1211 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1212 from jthread to Thread *; it is no longer needed.
1213 (_Jv_JVMTI_GetFrameCount): Likewise.
1214 Fix small formatting typo.
1216 2007-02-12 Tom Tromey <tromey@redhat.com>
1218 * sources.am, Makefile.in: Rebuilt.
1219 * java/lang/Socket.java: Removed override.
1220 * java/lang/DatagramSocket.java: Removed override.
1221 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1223 (getLocalAddress): New method.
1224 * gnu/java/net/PlainDatagramSocketImpl.java
1225 (PlainDatagramSocketImpl): Throws IOException.
1226 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1230 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1232 * java/util/VMTimeZone.java: Rewrite to handle both the old
1233 'TZif\0' format and the new one.
1235 2007-02-10 Andrew Haley <aph@redhat.com>
1238 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1239 (getCallingClass): Call GET_CALLING_CLASS.
1240 (getCallingClassLoader): Likewise.
1242 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1244 * configure: Rebuilt.
1245 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1247 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1249 * Makefile.in: Rebuilt.
1250 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1251 the host's ecj1 executable.
1253 2007-02-09 Richard Henderson <rth@redhat.com>
1255 * sysdep/alpha/locks.h (read_barrier): New.
1257 2007-02-09 Keith Seitz <keiths@redhat.com>
1259 * gnu/classpath/jdwp/VMVirtualMachine.java
1260 (_stepping_threads): New member.
1261 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1263 * gnu/classpath/jdwp/VMVirtualMachine.h:
1265 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1266 (get_request_step_filter): New function.
1267 (DISABLE_EVENT): New macro.
1268 (initialize): Initialize _stepping_threads.
1269 (registerEvent): Implement EVENT_SINGLE_STEP.
1270 (unregisterEvent): Likewise.
1272 2007-02-08 Keith Seitz <keiths@redhat.com>
1274 * sources.am: Regenerate.
1275 * Makefile.in: Regenerate.
1276 * testsuite/Makefile.in: Regenerate.
1277 * gcj/Makefile.in: Regenerate.
1278 * include/Makefile.in: Regenerate.
1280 * classpath/lib/javax/management/MBeanServerFactory.class:
1283 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1285 * classpath/gnu/classpath/jdwp/processor/
1286 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1288 (executeSetValues): Ditto.
1289 (executeThisObject): Ditto.
1290 * classpath/gnu/classpath/jdwp/processor/
1291 StackFrameCommandSet.class: Rebuilt.
1292 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1294 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1295 * classpath/lib/gnu/classpath/jdwp/exception/
1296 InvalidFrameException.java: New file.
1297 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1299 (Constructor): New method.
1300 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1301 * gnu/classpath/jdwp/VMVirtualMachine.java
1302 (getFrame): Changed ByteBuffer to jlong.
1303 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1304 (getFrame): Implement.
1305 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1307 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1309 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1310 to hold "this" pointer for frame.
1311 (_Jv_InterpFrame::get_this_ptr): New method.
1312 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1314 2007-02-07 Keith Seitz <keiths@redhat.com>
1316 * include/java-interp.h (_Jv_Frame::depth):
1318 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1320 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1322 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1323 (_Jv_JVMTI_GetMaxLocals): New method.
1324 * include/java-interp.h
1325 (_Jv_InterpMethod::get_max_locals): New method.
1327 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1329 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1331 2007-02-07 Tom Tromey <tromey@redhat.com>
1333 * testsuite/libjava.jni/init.c: New file.
1334 * testsuite/libjava.jni/init.java: New file.
1335 * testsuite/libjava.jni/init.out: New file.
1336 * testsuite/libjava.jni/init.jar: New file.
1337 * testsuite/libjava.jni/init.h: New file.
1338 * testsuite/libjava.jni/init$NativeClass.h: New file.
1340 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1343 * configure: Regenerate.
1345 2007-02-06 Andrew Haley <aph@redhat.com>
1347 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1348 * sources.am: Rebuild.
1350 2007-02-05 Keith Seitz <keiths@redhat.com>
1352 * jvmti.cc (_envListLock): Change type to
1353 ReentrantReadWriteLock.
1354 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1356 (check_enabled_event): Likewise.
1357 (_Jv_GetJVMTIEnv): Likewise.
1358 (_Jv_JVMTI_Init): Likewise.
1359 (_Jv_JVMTI_PostEvent): Likewise.
1361 2007-02-05 Keith Seitz <keiths@redhat.com>
1363 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1364 (registerEvent): Implement EVENT_BREAKPOINT.
1365 (unregisterEvent): Likewise.
1366 (get_request_location): New function.
1368 2007-02-05 Matthias Klose <doko@debian.org>
1370 testsuite/Makefile.am (compile-tests): Fix typo.
1371 testsuite/Makefile.in: Regenerate.
1373 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1375 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1378 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1380 * configure.ac (libjava_cv_anon_version_script): New test.
1381 (ANONVERSCRIPT): New AM_CONDITIONAL.
1382 * configure: Rebuilt.
1383 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1385 * Makefile.in: Rebuilt.
1386 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1387 * libgcj.ver: New file.
1389 2007-02-01 David Daney <ddaney@avtrex.com>
1391 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1393 * sources.am: Regenerate.
1394 * Makefile.in: Regenerate.
1396 2007-02-01 Tom Tromey <tromey@redhat.com>
1398 * java/lang/ClassLoader.java (getResources): No longer final.
1400 2007-02-01 Tom Tromey <tromey@redhat.com>
1402 * java/util/logging/LogManager.java (loggers): Genericized.
1403 (addLogger): Merged.
1404 (findAncestor): Likewise.
1405 (getLogger): Likewise.
1406 (getLoggerNames): Genericized.
1408 (getLevelProperty): Likewise.
1409 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1410 * java/lang/reflect/Constructor.java (getParameterTypes):
1412 (getExceptionTypes): Likewise.
1413 (newInstance): Likewise.
1414 * java/lang/reflect/Array.java (newInstance): Genericized.
1415 * java/lang/Object.java (getClass): Genericized.
1416 * java/nio/charset/spi/CharsetProvider.java (charsets):
1418 * java/text/Collator.java: Implement Comparable<Object>.
1420 2007-02-01 Tom Tromey <tromey@redhat.com>
1422 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1424 (clear): Call complete.
1425 (setTimeZone): Call computeTime, computeFields.
1426 (compareTo): New method.
1427 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1428 (availableCharsets): Genericized.
1429 (aliases): Likewise.
1430 (compareTo): Changed argument type.
1431 * java/lang/ClassLoader.java (loadClass): Genericized.
1432 (findClass): Likewise.
1433 (defineClass): Likewise.
1434 (resolveClass): Likewise.
1435 (findSystemClass): Likewise.
1436 (setSigners): Likewise.
1437 (findLoadedClass): Likewise.
1438 (getResources): Likewise.
1439 (findResources): Likewise.
1440 (getSystemResources): Likewise.
1441 (checkInitialized): New method.
1442 * java/lang/Class.java (getCanonicalName): New method.
1444 2007-01-31 Keith Seitz <keiths@redhat.com>
1446 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1447 * jvmti.cc (JVMTI): Add member "enabled".
1448 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1449 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1450 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1451 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1452 instead of run to compile the method.
1454 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1457 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1459 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1460 -shared-libgcc to the cxxflaglist for Darwin.
1462 2007-01-31 Tom Tromey <tromey@redhat.com>
1464 * scripts.am, Makefile.in: Rebuilt.
1465 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1467 (emit_ordinary_rule): New proc.
1469 2007-01-31 Keith Seitz <keiths@redhat.com>
1471 * testsuite/libjava.jvmti/getmethodname.h: New file.
1472 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1474 2007-01-31 Andrew Haley <aph@redhat.com>
1476 * prims.cc (_Jv_Abort): fflush (stderr).
1477 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1479 2007-01-31 Tom Tromey <tromey@redhat.com>
1481 * configure, Makefile.in: Rebuilt.
1482 * configure.ac (JAR): Check for -@ feature.
1483 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1485 2007-01-31 Tom Tromey <tromey@redhat.com>
1488 * configure, include/config.h.in: Rebuilt.
1489 * configure.ac: Check for magic_t in magic.h.
1490 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1492 2007-01-30 Tom Tromey <tromey@redhat.com>
1494 * Makefile.in: Rebuilt.
1495 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1497 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1499 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1500 cast to print it right.
1502 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1505 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1508 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1510 * include/java-interp.h: Added _Jv_Frame class and its two
1511 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1512 _Jv_FrameType from java-stack.h.
1513 * include/java-stack.h: Removed _Jv_FrameType.
1514 * java/lang/Thread.java: Added frame member to hold new
1515 composite frame stack.
1516 * java/lang/Thread.h: Regenerated.
1517 * java/lang/Thread.class: Rebuilt.
1518 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1519 calling a JNI method.
1520 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1521 (_Jv_JVMTI_GetFrameCount): New method.
1522 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1524 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1525 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1526 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1527 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1528 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1531 2007-01-29 Tom Tromey <tromey@redhat.com>
1533 * interpret.cc (run_debug): Remove comment.
1540 (run_normal_debug): Likewise.
1541 (run_synch_object_debug): Likewise.
1542 (run_class_debug): Likewise.
1543 (run_synch_class_debug): Likewise.
1548 (NULLARRAYCHECK): Likewise.
1549 (ARRAYBOUNDSCHECK): Likewise.
1550 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1552 2007-01-29 Tom Tromey <tromey@redhat.com>
1554 * configure, Makefile.in: Rebuilt.
1555 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1556 * configure.ac (BASH_JAR): Removed conditional.
1557 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1559 2007-01-29 Tom Tromey <tromey@redhat.com>
1561 * Makefile.in: Rebuilt.
1562 * Makefile.am (interpret.lo): New target. Add -fwrap to
1565 2007-01-29 Keith Seitz <keiths@redhat.com>
1567 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1569 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1570 gcj. All jvmti object types now are defined to be their
1571 corresponding java classes.
1572 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1574 (_Jv_JVMTI_ResumeThread): Likewise.
1575 (_Jv_JVMTI_InterruptThread): Likewise.
1576 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1577 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1578 (jdwpClassPrepareCB): Likewise.
1579 (jdwpThreadEndCB): Likewise.
1580 (jdwpThreadStartCB): Likewise.
1581 (jdwpVMInitCB): Likewise.
1583 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1585 * gnu/java/nio/channels/natFileChannelWin32.cc
1586 (lock): Implemented.
1587 (unlock): Implemented.
1589 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1592 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1593 libgcj_flags to undefine 'sun' at compile time.
1594 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1596 (write_barrier): Likewise.
1598 2007-01-27 Keith Seitz <keiths@redhat.com>
1600 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1601 (getAllClassMethods): Move error handling to ...
1602 (throw_jvmti_error): ... here.
1603 (jdwpClassPrepareCB): New function.
1604 (jdwpThreadEndCB): New function.
1605 (jdwpThreadStartCB): New function.
1606 (jdwpVMDeathCB): New function.
1607 (jdwpVMInitCB): Define and enable callbacks for
1608 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1610 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1612 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1613 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1614 (MYGCJH): New variable.
1615 (compile-tests): New goal.
1616 * Makefile.in: Rebuilt.
1617 * testsuite/Makefile.in: Rebuilt.
1619 2007-01-26 Andrew Haley <aph@redhat.com>
1621 * java/lang/natClass.cc (initializeClass): Re-throw
1623 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1624 * java/lang/ClassLoader.java: (loadClass): Likewise.
1626 2007-01-26 Tom Tromey <tromey@redhat.com>
1630 2007-01-25 Tom Tromey <tromey@redhat.com>
1633 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1634 input or output encodings. Removed unused local variables.
1636 2007-01-25 Keith Seitz <keiths@redhat.com>
1638 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1639 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1640 (_Jv_GetJDWP_JVMTIEnv): New function.
1641 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1642 (getSignature): Implement.
1643 (getModifiers): Implement.
1645 2007-01-25 Andrew Haley <aph@redhat.com>
1647 * configure, Makefile.in, include/config.h.in: Rebuilt.
1648 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1649 * configure.ac: Don't check for libmagic.
1650 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1651 p_magic_close, p_magic_buffer): New globals.
1652 (init): Look up 'magic' functions.
1653 (guessContentTypeFromBuffer): Updated.
1655 2007-01-25 Keith Seitz <keiths@redhat.com>
1657 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1658 (_Jv_JVMTI_Interface): Define GetMethodName.
1659 * testsuite/libjava.jvmti/getmethodname.java: New file.
1660 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1661 * testsuite/libjava.jvmti/getmethodname.out: New file.
1663 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1665 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1666 * libjava/testsuite/libjava.jvmti/interp: New folder.
1667 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1669 2007-01-24 Keith Seitz <keiths@redhat.com>
1671 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1672 CLASS_PREPARE notification.
1674 2007-01-24 Keith Seitz <keiths@redhat.com>
1676 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1677 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1678 * interpret-run.cc: Implement insn_breakpoint.
1680 2007-01-24 Keith Seitz <keiths@redhat.com>
1682 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1683 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1685 2007-01-24 Keith Seitz <keiths@redhat.com>
1687 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1688 (getAllClassMethods): Implement.
1690 2007-01-24 Andrew Haley <aph@redhat.com>
1692 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1693 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1694 from being sibcalled.
1696 2007-01-24 Andrew Haley <aph@redhat.com>
1698 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1699 * sources.am: Rebuild.
1701 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1703 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1704 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1706 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1709 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1710 * Makefile.in: Regenerated.
1712 2007-01-22 Keith Seitz <keiths@redhat.com>
1714 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1715 (getClassMethod): Implement.
1717 2007-01-22 Keith Seitz <keiths@redhat.com>
1719 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1720 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1721 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1722 (_Jv_JVMTI_Interface): Define GetClassStatus.
1724 2007-01-22 Tom Tromey <tromey@redhat.com>
1726 * configure: Rebuilt.
1727 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1729 2007-01-22 Tom Tromey <tromey@redhat.com>
1732 * testsuite/libjava.jni/pr29812.java: New file.
1733 * testsuite/libjava.jni/pr29812_injar.java: New file.
1734 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1735 * testsuite/libjava.jni/pr29812.out: New file.
1736 * testsuite/libjava.jni/pr29812_injar.c: New file.
1737 * testsuite/libjava.jni/pr29812_injar.h: New file.
1738 * testsuite/libjava.jni/pr29812.jar: New file.
1739 * testsuite/libjava.jni/pr29812.c: New file.
1740 * testsuite/libjava.jni/pr29812.h: New file.
1741 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1743 (gcj_jni_invocation_test_one): Use it.
1744 (gcj_jni_pr29812): New proc.
1745 (gcj_jni_run): Use it.
1746 * java/lang/natRuntime.cc (_load): Push a new system frame before
1748 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1749 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1750 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1751 <allocated_p>: Now bool.
1752 <loader>: New field.
1753 (_Jv_JNI_EnsureLocalCapacity): Updated.
1754 (_Jv_JNI_NewLocalRef): Likewise.
1755 (_Jv_JNI_NewLocalRef): Likewise.
1756 (_Jv_JNI_PopLocalFrame): Likewise.
1757 (_Jv_JNI_FindClass): Likewise.
1758 (_Jv_GetJNIEnvNewFrame): Likewise.
1759 (_Jv_JNI_AttachCurrentThread): Likewise.
1760 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1761 (_Jv_GetJNIEnvNewFrame): Use it.
1762 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1764 2007-01-22 Tom Tromey <tromey@redhat.com>
1766 * libtool-version: Bump current to 9.
1768 2007-01-22 Andrew Haley <aph@redhat.com>
1770 * sysdep/alpha/locks.h (write_barrier): New.
1772 2007-01-21 Matthias Klose <doko@debian.org>
1774 * Makefile.am (install-exec-hook): Use transformed name.
1775 * Makefile.in: Regenerate.
1777 2007-01-19 Keith Seitz <keiths@redhat.com>
1779 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1780 in methods and reformat.
1782 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1785 2007-01-18 Keith Seitz <keiths@redhat.com>
1787 From Macro Trudel <mtrudel@gmx.ch>:
1788 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1791 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1793 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1794 * testsuite/libjava.jni/findclass2.jar: New file.
1795 * testsuite/libjava.jni/findclass2.h: New file.
1796 * testsuite/libjava.jni/findclass2.java: New file
1797 * testsuite/libjava.jni/findclass2.c: New file.
1798 * testsuite/libjava.jni/findclass2.out: New file.
1800 2007-01-18 Tom Tromey <tromey@redhat.com>
1802 * configure: Rebuilt.
1803 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1805 2007-01-18 Gary Benson <gbenson@redhat.com>
1807 * gnu/java/nio/natVMPipeEcos.cc:
1808 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1809 * gnu/java/nio/natVMPipePosix.cc:
1810 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1811 * gnu/java/nio/natVMPipeWin32.cc:
1812 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1813 * gnu/java/nio/natVMSelectorEcos.cc:
1814 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1815 * gnu/java/nio/natVMSelectorPosix.cc:
1816 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1817 * gnu/java/nio/natVMSelectorWin32.cc:
1818 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1819 * java/io/natVMObjectInputStream.cc:
1820 Renamed from java/io/natObjectInputStream.cc.
1821 * java/lang/natVMDouble.cc:
1822 Renamed from java/lang/natDouble.cc.
1823 * java/lang/natVMFloat.cc:
1824 Renamed from java/lang/natFloat.cc.
1825 * Makefile.am, configure.ac: Reflect the above.
1826 * Makefile.in, configure: Rebuilt.
1828 2007-01-17 Andrew Haley <aph@redhat.com>
1830 * Makefile.in: Rebuilt.
1831 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1833 2007-01-17 Keith Seitz <keiths@redhat.com>
1835 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1836 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1838 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1840 * configure.ac: Use multi.m4 from aclocal rather than custom
1841 code. Use multi_basedir instead libgcj_basedir. Test for
1842 /proc/self/exe when not cross-compiling.
1843 * aclocal.m4: Regenerate.
1844 * configure: Regenerate.
1845 * Makefile.in: Regenerate.
1847 2007-01-17 Gary Benson <gbenson@redhat.com>
1849 * java/nio/natVMDirectByteBufferImpl.cc:
1850 Renamed from java/nio/natDirectByteBufferImpl.cc.
1851 * Makefile.am: Reflect the above.
1852 * Makefile.in: Rebuilt.
1854 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1856 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1857 Fixed indentation. Removed unused variable.
1859 2007-01-16 Tom Tromey <tromey@redhat.com>
1861 * java/lang/natThread.cc (finalize_native): Remove cast.
1862 (_Jv_GetCurrentJNIEnv): Likewise.
1863 * include/jvm.h (struct natThread) <jni_env>: Declare as
1866 2007-01-16 Keith Seitz <keiths@redhat.com>
1868 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1869 %#llx instead of %d for new_value.
1870 * testsuite/libjava.jvmti/events.out: Update expected output.
1871 * testsuite/libjava.jvmti/events.jar: Regenerate.
1873 2007-01-16 Keith Seitz <keiths@redhat.com>
1875 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1877 (ENABLE_EVENT): New macro.
1878 (initialize): Define and enable JVMTI VM_INIT callback.
1879 (jdwpVMInitCB): New function.
1881 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1883 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1884 * testsuite/libjava.jvmti/getallthreads.java: New test.
1885 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1886 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1887 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1888 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1890 2007-01-15 Keith Seitz <keiths@redhat.com>
1892 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1893 java.lang.StringBuilder instead of java.lang.StringBuffer.
1894 (resumeThread): Likewise.
1896 2007-01-15 Gary Benson <gbenson@redhat.com>
1898 * java/nio/MappedByteBuffer.java: Removed.
1899 * sources.am, Makefile.in: Rebuilt.
1901 2007-01-15 Gary Benson <gbenson@redhat.com>
1903 * java/net/URLClassLoader.java: Removed.
1904 * gnu/java/net/loader/Load_gcjlib.java: New file.
1905 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1906 URL handler is present in static executables.
1907 * sources.am, Makefile.in: Rebuilt.
1909 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1911 * Makefile.am (libgcj_la_LDFLAGS): Add
1912 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1913 (libgcj_tools_la_LDFLAGS): Likewise.
1914 (libgcj_bc_la_LDFLAGS): Likewise.
1915 * Makefile.in: Regenerated.
1917 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1918 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1919 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1920 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1921 * configure: Regenerated.
1922 * aclocal.m4: Likewise.
1923 * gcj/Makefile.in: Likewise.
1924 * include/Makefile.in: Likewise.
1925 * testsuite/Makefile.in: Likewise.
1927 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1929 * sysdep/sh/locks.h (read_barrier): New.
1930 (write_barrier): Likewise.
1932 2007-01-12 Andrew Haley <aph@redhat.com>
1934 * include/i386-signal.h: Rewrite to use rt_sigaction.
1936 2007-01-11 Andrew Haley <aph@redhat.com>
1938 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1940 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1943 2007-01-10 Tom Tromey <tromey@redhat.com>
1945 * gnu/gcj/xlib/*.h: New files.
1946 * gnu/awt/xlib/*.h: Likewise.
1947 * classpath/lib/gnu/gcj/xlib: New class files.
1948 * classpath/lib/gnu/awt/xlib: Likewise.
1950 2007-01-10 Tom Tromey <tromey@redhat.com>
1952 * HACKING: Various updates.
1954 2007-01-10 Tom Tromey <tromey@redhat.com>
1956 * java/lang/natDouble.cc (toString): Added parens.
1957 * gnu/gcj/io/shs.h (PROTO): Define.
1958 * link.cc (resolve_pool_entry): Added missing braces.
1960 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1963 * sysdep/ia64/locks.h (read_barrier): New.
1964 (write_barrier): New.
1966 2007-01-10 Gary Benson <gbenson@redhat.com>
1968 * java/net/URL.java: Removed.
1969 * sources.am, Makefile.in: Rebuilt.
1971 2007-01-10 Matthias Klose <doko@debian.org>
1973 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1974 * Makefile.in: Regenerated.
1976 2007-01-05 Tom Tromey <tromey@redhat.com>
1978 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1979 dummy.class in srcdir.
1981 2007-01-03 Tom Tromey <tromey@redhat.com>
1983 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1986 2007-01-03 Tom Tromey <tromey@redhat.com>
1988 * testsuite/*: Added many .jar and .h files.
1989 * testsuite/libjava.special/special.exp
1990 (gcj_special_try_compiler): New proc.
1991 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1992 bytecompile source. Search for .jar files.
1993 (gcj_loader_test_one): Don't look for MyLoader.java.
1994 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1995 bytecompile sources or build headers.
1996 (gcj_jvmti_run): Look for .jar files.
1997 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1999 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2000 Set classpath when invoking gij.
2001 (gcj_jni_invocation_test_one): Likewise.
2002 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2003 headers or bytecompile sources.
2004 (gcj_cni_run): Use .jar files, not .java files.
2005 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2007 2007-01-02 Tom Tromey <tromey@redhat.com>
2009 * configure: Rebuilt.
2010 * configure.ac: Check for gjar.
2012 2007-01-02 Tom Tromey <tromey@redhat.com>
2014 * testsuite/libjava.jacks/jacks.exp: Removed.
2015 * testsuite/libjava.jacks/jacks.xfail: Removed.