1 2007-05-16 Keith Seitz <keiths@redhat.com>
3 * include/java-interp.h (breakpoint_at): Declare.
4 * interpret.cc (breakpoint_at): New function.
5 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
7 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
8 Initialize _event_list.
9 (handle_single_step): If there is a breakpoint at the
10 location at which we are stopping, do not send the notification.
11 Instead add the event to a list of events that occur at this
13 (jdwpBreakpointCB): If the event list is not empty, send
14 whatever events are in it and the breakpoint event in a single
16 Mark parameter jni_env as MAYBE_UNUSED.
17 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
19 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
21 2007-05-15 David Daney <ddaney@avtrex.com>
23 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
24 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
26 2007-05-15 Keith Seitz <keiths@redhat.com>
28 * interpret.cc (STOREA): Rewrite using temporary variable to
29 avoid double-macro expansion side-effects.
32 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
33 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
34 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
35 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
38 2007-05-12 David Daney <ddaney@avtrex.com>
41 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
42 (_Jv_UnBlockSigchld): Same.
43 * posix-threads.cc: Include posix-threads.h.
44 (block_sigchld) Rename to...
45 (_Jv_BlockSigchld) ... this.
46 (_Jv_UnBlockSigchld): New function.
47 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
48 (_Jv_ThreadStart): Same.
49 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
50 * java/lang/PosixProcess.java: Clean up imports.
51 (ProcessManager): Make final.
52 (ProcessManager.queue): Genericise and make private.
53 (ProcessManager.pidToProcess): Remove.
54 (ProcessManager.liveProcesses): New field.
55 (ProcessManager.reaperPID): Remove.
56 (ProcessManager.nativeData): New field.
57 (ProcessManager.removeProcessFromMap): Remove.
58 (ProcessManager.addProcessToMap):Remove.
59 (ProcessManager.addToLiveProcesses): New method.
60 (ProcessManager.run): Rewritten.
61 (ProcessManager.reap): Change method signature,
62 (getErrorStream): Correct formatting.
63 (getInputStream): Same.
64 (spawn): Add process to liveProcesses list.
65 (pid): Make package private.
66 * java/lang/PosixProcess.h: Regenerate.
67 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
68 Add useing namespace java::lang.
69 (ProcessManagerInternal): New struct.
70 (sigchld_handler): Rewritten.
72 (waitForSignal): Same.
75 (nativeDestroy): Call kill as ::kill.
76 (nativeSpawn): Correct formatting.
77 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
78 * classpath/lib/java/lang/PosixProcess.class: Same.
79 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
81 2007-05-07 Ian Lance Taylor <iant@google.com>
84 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
87 2007-05-07 Keith Seitz <keiths@redhat.com>
89 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
90 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
91 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
93 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
95 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
96 * gnu/classpath/jdwp/event/Event.h: Regenerate.
97 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
99 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
101 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
104 2007-05-03 Keith Seitz <keiths@redhat.com>
106 * interpret.cc: Don't include ExceptionEvent.h.
107 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
108 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
109 * Makefile.in: Regenerated.
111 2007-05-03 Keith Seitz <keiths@redhat.com>
113 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
115 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
116 (find_catch_location): New function.
117 (REPORT_EXCEPTION): New macro.
118 (throw_internal_error): Use REPORT_EXCEPTION.
119 (throw_incompatible_class_change_error): Likewise.
120 (throw_null_pointer_exception): Likewise.
121 (throw_class_format_error): Likewise.
122 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
124 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
125 (insn_new): Use INTERP_REPORT_EXCEPTION.
126 (insn_athrow): Likewise.
127 Remove previous JVMTI exception notifications.
128 Add JVMTI ExceptionCatch notificatin.
129 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
131 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
132 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
133 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
134 * gnu/classpath/jdwp/natVMVirtualMachine.cc
135 (jdwpExceptionCB): New function.
136 (jdwpVMInitCB): Set Exception event handler and enable.
137 * sources.am: Regenerated.
138 * Makefile.in: Regenerated.
140 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
142 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
143 * Makefile.in: Regenerate.
144 * scripts/makemake.tcl (scan_directory): Treat default.css as a
146 * classpath/javax/swing/text/html/default.css: Move to...
147 * classpath/resource/javax/swing/text/html/default.css: New file.
148 * classpath/javax/swing/text/html/HTMLEditorKit.java
149 (getStyleSheet): Throw RuntimeException when style loading fails.
150 * sources.am (property_files): Add
151 classpath/resource/javax/swing/text/html/default.css.
153 2007-05-02 Tom Tromey <tromey@redhat.com>
155 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
156 * java/lang/natCharacter.cc (Character::getType): Handle negative
158 (Character::toLowerCase): Likewise.
159 (Character::toUpperCase): Likewise.
160 (Character::digit): Likewise.
161 (Character::getNumericValue): Likewise.
162 (Character::getDirectionality): Likewise.
163 (Character::toTitleCase): Likewise.
165 2007-04-30 Keith Seitz <keiths@redhat.com>
167 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
168 executing the instruction.
169 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
170 one insn from the frame's PC. _Jv_InterpMethod::run et al
171 will advance the PC before executing the instruction.
173 2007-04-27 Keith Seitz <keiths@redhat.com>
175 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
176 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
178 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
180 2007-04-27 Keith Seitz <keiths@redhat.com>
182 * classpath/lib/gnu/classpath/jdwp/event/filters/
183 LocationOnlyFilter.class: Regenerated;
184 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
186 * gnu/classpath/jdwp/VMMethod.java
187 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
189 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
190 * gnu/classpath/jdwp/util/Location.h: Regenerated.
192 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
194 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
195 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
197 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
199 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
201 (get): Deal with ObjectId of 0.
203 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
206 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
208 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
210 * gnu/classpath/jdwp/natVMVirtualMachine.java
211 (getThreadStatus): Implement.
213 2007-04-24 Keith Seitz <keiths@redhat.com>
215 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
216 Add _Jv_RewriteBreakpointInsn friend declaration.
217 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
218 [DIRECT_THREADED]: New function.
219 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
220 * interpret-run.cc: Define new REWRITE_INSN macro.
221 Changed all occurrences of insn rewriting to call REWRITE_INSN.
223 2007-04-23 Keith Seitz <keiths@redhat.com>
225 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
226 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
227 * boehm.cc (_Jv_IsThreadSuspended): New function.
228 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
229 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
230 (_Jv_JVMTI_Interface): Define GetThreadState.
232 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
234 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
236 (<init>): Add a pointer to the interpreter PC as a parameter with
238 (get_pc): New method.
239 * interpret-run.cc: If debugging, pass a pointer to the PC when
240 creating the stack frame.
241 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
244 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
246 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
247 for null source file and throw an exception indicating this.
249 2007-04-20 Keith Seitz <keiths@redhat.com>
251 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
252 Install the new breakpoint into the bytecode.
253 (deleteBreakpoint): Remove the breakpoint from the bytecode.
254 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
256 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
257 Don't install the breakpoint here.
259 2007-04-19 Keith Seitz <keiths@redhat.com>
261 * interpret-run.cc [insn_breakpoint]: Save the original
262 insn for the breakpoint before posting the JVMTI notification.
264 2007-04-19 Tom Tromey <tromey@redhat.com>
266 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
268 2007-04-18 Tom Tromey <tromey@redhat.com>
270 * Regenerated headers with new gjavah.
272 2007-04-18 Andrew Haley <aph@redhat.com>
274 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
276 (generateProxyClass): Add field $Proxy0.m. Store methods array in
278 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
279 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
280 * java/lang/natClass.cc: Likewise.
281 * headers.txt: Likewise.
282 * java/lang/reflect/Method.h: Likewise.
284 2007-04-16 Andrew Haley <aph@redhat.com>
286 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
288 (bootGetResource): Use getBootURLLoader() to load resources.
289 (bootGetResources): Likewise.
291 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
292 check that the method's declaring class is accessible.
294 2007-04-10 Keith Seitz <keiths@redhat.com>
296 * sources.am: Regenerate.
297 * Makefile.in: Likewise.
299 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
301 * interpret-run.cc: If debugging, check if args is NULL before
302 getting the "this" pointer.
304 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
306 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
307 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
308 * gnu/classpath/jdwp/ArrayValue.h: New file.
309 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
312 2007-04-09 David Daney <ddaney@avtrex.com>
315 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
316 environment before the fork.
317 * testsuite/libjava.lang/Process_7.java: New test.
318 * testsuite/libjava.lang/Process_7.out: Its expected results.
319 * testsuite/libjava.lang/Process_7.jar: Generated file.
321 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
323 * prims.cc (load_jvmti_agent): Add the missing `,'.
325 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
327 * gij.cc (main): Accept -agentlib and -agentpath options.
328 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
329 (load_jvmti_agent): New function.
331 2007-04-04 Tania Bento <tbento@redhat.com>
333 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
334 Copyright information and introduced new variable, currency.
335 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
336 to "XXX", currencySymbol to "?" and localCurrency appropriately.
337 (getCurrency): Fixed documentation and return the value of currency.
338 (setCurrency): Fixed documentation and update the value of currency.
339 (setInternationalCurrencySymbol): Fixed documentation and update the
341 * java/util/Currency.java: Introduced two new variables, properties
342 and fractionDigits. In the static block, a properties object is
343 created and the currency resource is loaded.
344 (Currency(Locale)): fractionDigits is defined.
345 (Currency(String)): New method.
346 (getDefaultFractionDigits): Return the value of fractionDigits.
347 (getInstance(String)): Check if String is equal to "XXX".
349 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
351 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
352 to ints for argCnt and slots.
353 (write): Replace writeLong with writeInt for the above.
355 2007-04-03 Andrew Haley <aph@redhat.com>
357 * testsuite/libjava.lang/ProxyTest.java: New test.
359 2007-04-02 Tom Tromey <tromey@redhat.com>
361 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
362 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
363 file, when writing, if it is too short.
365 2007-04-02 Tom Tromey <tromey@redhat.com>
367 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
368 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
370 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
371 where localport is -1.
372 (create): Now public.
373 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
374 'create' on the socket.
376 2007-04-02 Andrew Haley <aph@redhat.com>
378 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
379 _Jv_LookupProxyMethod to find the Method.
380 If parameter_types->length == 0, pass a null paramameter list,
381 not a zero-length parameter list.
382 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
383 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
385 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
387 * interpret-run.cc: Add code to properly set up variable slots
389 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
390 (getObjectJVMTI): New function.
391 (setObjectJVMTI): New function.
392 (getIntJVMTI): New function.
393 (setIntJVMTI): New function.
394 (getLongJVMTI): New function.
395 (setLongJVMTI): New function.
396 (getFloatJVMTI): New function.
397 (setFloatJVMTI): New function.
398 (getDoubleJVMTI): New function.
399 (setDoubleJVMTI): New function.
400 (getFrameDepth): New function.
401 (getValue): Implement.
402 (setValue): Implement.
404 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
406 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
407 (executeResume): Call VMVirtualMachine.resumeThread.
409 2007-03-29 Tom Tromey <tromey@redhat.com>
412 * java/util/logging/LogManager.java (readConfiguration): Handle
413 comma-separated 'handlers'. Don't try to add a non-existing
416 2007-03-27 Tom Tromey <tromey@redhat.com>
418 * sources.am, Makefile.in: Rebuilt.
419 * scripts/mime.types: Removed.
420 * scripts/MakeDefaultMimeTypes.java: Removed.
421 * gnu/gcj/io/MimeTypes.java: Removed.
422 * gnu/gcj/io/MimeTypes.h: Removed.
423 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
424 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
426 2007-03-27 Keith Seitz <keiths@redhat.com>
428 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
430 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
431 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
432 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
433 (initialize): Fix compiler type-punning warning.
434 (getAllLoadedClasses): Return empty list instead of NULL.
435 (getLoadRequests): Likewise.
436 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
437 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
438 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
439 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
440 * gnu/classpath/jdwp/value/CharValue.h: New file.
441 * gnu/classpath/jdwp/value/LongValue.h: New file.
442 * gnu/classpath/jdwp/value/ShortValue.h: New file.
443 * gnu/classpath/jdwp/value/Value.h: New file.
444 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
445 * gnu/classpath/jdwp/value/VoidValue.h: New file.
446 * gnu/classpath/jdwp/value/ByteValue.h: New file.
447 * gnu/classpath/jdwp/value/FloatValue.h: New file.
448 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
449 * gnu/classpath/jdwp/value/StringValue.h: New file.
450 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
451 * gnu/classpath/jdwp/value/IntValue.h: New file.
452 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
453 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
454 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
455 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
456 * gnu/classpath/jdwp/util/NullObject.h: New file.
457 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
458 * Makefile.in: Rebuilt.
459 * sources.am: Rebuilt.
461 2006-03-26 David Daney <ddaney@avtrex.com>
463 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
464 fork, execvp, execinfo.h, pthread_mutexattr_settype,
465 pthread_mutexattr_setkind_np and sys/wait.h.
466 * Makefile.in: Regenerate.
467 * include/Makefile.in: Regenerate.
468 * include/config.h.in: Regenerate.
469 * testsuite/Makefile.in: Regenerate.
470 * configure: Regenerate.
471 * gcj/Makefile.in: Regenerate.
473 2007-03-23 Gary Benson <gbenson@redhat.com>
475 * link.cc (_Jv_Linker::resolve_method_entry):
476 Ensure that the argument types and the return type of the
477 found method match those expected by the calling method.
479 2007-03-22 David Daney <ddaney@avtrex.com>
482 * configure.ac: Add checks for getrlimit and sys/resource.h.
483 * include/posix.h (_Jv_platform_close_on_exec): Remove.
484 * include/config.h.in: Regenerate.
485 * configure: Regenerate.
486 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
487 _Jv_platform_close_on_exec;
488 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
490 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
491 * java/lang/natPosixProcess.cc: Include sys/resource.h.
492 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
495 2007-03-20 Andrew Haley <aph@redhat.com>
497 * testsuite/libjava.lang/PR31264.java: New test.
499 2007-03-14 Jakub Jelinek <jakub@redhat.com>
501 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
502 * Makefile.in: Rebuilt.
504 2007-03-13 Keith Seitz <keiths@redhat.com>
506 * include/java-interp.h (_Jv_InterpClass): Declare
507 friend function _Jv_GetInterpClassSourceFile.
508 * java/lang/Class.h (Class): Likewise.
509 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
511 * gnu/classpath/jdwp/natVMVirtualMachine.cc
512 (getSourceFile): Implement.
514 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
516 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
517 * classpath/configure.ac: Add --with-ecj-jar configure option.
518 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
520 * classpath/INSTALL: Document --with-ecj-jar configure option and
521 ecj jar requirement for com.sun.tools.javac support.
522 * classpath/tools/Makefile.am: Build decendents of com and sun
524 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
525 * gnu/classpath/Configuration.java,
526 gnu/classpath/natConfiguration.cc (ecj): New method.
527 (ECJ_JAR): New field.
528 * scripts/makemake.tcl (scan_packages): Add com directory.
529 * sources.am (property_files): Add
530 classpath/resource/sun/rmi/rmic/messages.properties and
531 classpath/resource/com/sun/tools/javac/messages.properties.
532 * classpath/resource/com, classpath/resource/com/sun,
533 classpath/resource/com/sun/tools,
534 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
535 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
536 classpath/tools/classes/com, classpath/tools/classes/com/sun,
537 classpath/tools/classes/com/sun/javadoc,
538 classpath/tools/classes/com/sun/tools,
539 classpath/tools/classes/com/sun/tools/doclets,
540 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
541 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
542 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
543 classpath/tools/com/sun/tools,
544 classpath/tools/com/sun/tools/doclets,
545 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
546 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
548 * classpath/resource/com/sun/tools/javac/messages.properties,
549 classpath/resource/sun/rmi/rmic/messages.properties,
550 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
551 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
552 classpath/tools/classes/com/sun/javadoc/Doc.class,
553 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
554 classpath/tools/classes/com/sun/javadoc/Doclet.class,
555 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
556 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
557 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
558 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
559 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
560 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
561 classpath/tools/classes/com/sun/javadoc/Parameter.class,
562 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
563 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
564 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
565 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
566 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
567 classpath/tools/classes/com/sun/javadoc/Tag.class,
568 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
569 classpath/tools/classes/com/sun/javadoc/Type.class,
570 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
571 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
572 classpath/tools/classes/sun/rmi/rmic/Main.class,
573 classpath/tools/classes/sun/rmi/rmic/Messages.class,
574 classpath/tools/com/sun/javadoc/ClassDoc.java,
575 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
576 classpath/tools/com/sun/javadoc/Doc.java,
577 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
578 classpath/tools/com/sun/javadoc/Doclet.java,
579 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
580 classpath/tools/com/sun/javadoc/FieldDoc.java,
581 classpath/tools/com/sun/javadoc/MemberDoc.java,
582 classpath/tools/com/sun/javadoc/MethodDoc.java,
583 classpath/tools/com/sun/javadoc/PackageDoc.java,
584 classpath/tools/com/sun/javadoc/ParamTag.java,
585 classpath/tools/com/sun/javadoc/Parameter.java,
586 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
587 classpath/tools/com/sun/javadoc/RootDoc.java,
588 classpath/tools/com/sun/javadoc/SeeTag.java,
589 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
590 classpath/tools/com/sun/javadoc/SourcePosition.java,
591 classpath/tools/com/sun/javadoc/Tag.java,
592 classpath/tools/com/sun/javadoc/ThrowsTag.java,
593 classpath/tools/com/sun/javadoc/Type.java,
594 classpath/tools/com/sun/javadoc/TypeVariable.java,
595 classpath/tools/com/sun/tools/doclets/Taglet.java,
596 classpath/tools/com/sun/tools/javac/Main.java,
597 classpath/tools/com/sun/tools/javac/Messages.java,
598 classpath/tools/sun/rmi/rmic/Main.java,
599 classpath/tools/sun/rmi/rmic/Messages.java: New files.
600 * Makefile.in, classpath/Makefile.in, classpath/configure,
601 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
602 classpath/examples/Makefile.in, classpath/external/Makefile.in,
603 classpath/external/jsr166/Makefile.in,
604 classpath/external/relaxngDatatype/Makefile.in,
605 classpath/external/sax/Makefile.in,
606 classpath/external/w3c_dom/Makefile.in,
607 classpath/include/Makefile.in, classpath/include/config.h.in,
608 classpath/lib/Makefile.in,
609 classpath/lib/gnu/classpath/Configuration.class,
610 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
611 classpath/native/jawt/Makefile.in,
612 classpath/native/jni/Makefile.in,
613 classpath/native/jni/classpath/Makefile.in,
614 classpath/native/jni/gconf-peer/Makefile.in,
615 classpath/native/jni/gtk-peer/Makefile.in,
616 classpath/native/jni/java-io/Makefile.in,
617 classpath/native/jni/java-lang/Makefile.in,
618 classpath/native/jni/java-net/Makefile.in,
619 classpath/native/jni/java-nio/Makefile.in,
620 classpath/native/jni/java-util/Makefile.in,
621 classpath/native/jni/midi-alsa/Makefile.in,
622 classpath/native/jni/midi-dssi/Makefile.in,
623 classpath/native/jni/native-lib/Makefile.in,
624 classpath/native/jni/qt-peer/Makefile.in,
625 classpath/native/jni/xmlj/Makefile.in,
626 classpath/native/plugin/Makefile.in,
627 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
628 classpath/tools/Makefile.in, configure,
629 gnu/classpath/Configuration.h: Regenerate.
631 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
633 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
636 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
638 * java/lang/natString.cc (getBytes (jstring enc)):
639 Fixed the loop for multiple cycles, Code cleanup
641 2007-03-09 Tom Tromey <tromey@redhat.com>
643 * sources.am, Makefile.in: Rebuilt.
644 * scripts/makemake.tcl (scan_directory): Allow service files to be
646 Omit all XML-related service files.
648 2007-03-07 Tom Tromey <tromey@redhat.com>
650 * configure: Rebuilt.
651 * configure.ac: Clear vm-tools-packages.
653 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
655 * java/lang/Win32Process.java: Added nested class EOFInputStream.
656 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
657 enum and implementation.
658 (startProcess): Use redirect flag.
659 * classpath/lib/java/lang/Win32Process.class: Regenerated.
660 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
661 * gcj/javaprims.h: Regenerated.
662 * java/lang/Win32Process$EOFInputStream.h: New.
664 2007-03-07 Andrew Haley <aph@redhat.com>
666 * libgcj_bc.c (JvRunMainName): Declare.
668 2007-03-07 Gary Benson <gbenson@redhat.com>
670 * sources.am, Makefile.in: Rebuilt.
672 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
674 * gcj/javaprims.h: Regenerated.
676 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
678 * include/jvm.h (_Jv_ClosureListFinalizer): New.
679 (_Jv_Linker::create_error_method): Adjust.
680 * boehm.cc (_Jv_ClosureListFinalizer): New.
681 * nogc.cc (_Jv_ClosureListFinalizer): New.
682 * java/lang/Class.h (class _Jv_ClosureList): New.
683 (class java::lang::Class): Declare it as friend.
684 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
685 (_Jv_ClosureList::registerClousure): New.
686 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
687 (_Jv_CompiledEngine::do_get_closure_list): New.
688 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
689 (_Jv_IndirectCompiledClass): Add closures.
690 (_Jv_IndirectCompiledEngine::get_aux_info): New.
691 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
693 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
694 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
695 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
696 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
697 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
698 (node_closure): Add closure list.
699 (_Jv_InterpMethod::ncode): Add jclass argument. Use
700 ffi_closure_alloc and the separate code pointer. Register the
701 closure for finalization.
702 (_Jv_JNIMethod::ncode): Likewise.
703 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
704 (_Jv_InterpreterEngine::do_get_closure_list): New.
705 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
706 (_Jv_InterpClass): Add closures field.
707 (_Jv_JNIMethod::ncode): Adjust.
708 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
709 (_Jv_ClassReader::handleMethodsEnd): Likewise.
710 * link.cc (struct method_closure): Add closure list.
711 (_Jv_Linker::create_error_method): Add jclass argument. Use
712 ffi_closure_alloc and the separate code pointer. Register the
713 closure for finalization.
714 (_Jv_Linker::link_symbol_table): Remove outdated comment about
715 sharing of otable and atable. Adjust.
716 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
718 (ncode): Add jclass argument. Use ffi_closure_alloc and the
719 separate code pointer. Register the closure for finalization.
720 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
721 * testsuite/libjava.jar/TestClosureGC.java: New.
722 * testsuite/libjava.jar/TestClosureGC.out: New.
723 * testsuite/libjava.jar/TestClosureGC.xfail: New.
724 * testsuite/libjava.jar/TestClosureGC.jar: New.
726 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
728 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
729 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
730 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
731 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
732 (VMMethod::getLineTable): Use new macro.
733 (VMMethod::getVariableTable): Implement.
734 * sources.am: Regenerated.
735 * Makefile.in: Ditto.
737 2007-03-06 Tom Tromey <tromey@redhat.com>
739 * Makefile.in: Rebuilt.
740 * Makefile.am (bin_PROGRAMS): Added gcjh.
741 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
742 gcjh_DEPENDENCIES): New variables.
744 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
746 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
747 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
748 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
750 2007-03-05 Matthias Klose <doko@debian.org>
752 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
753 * Makefile.in: Regnerate.
755 2007-03-05 Mark Wielaard <mark@klomp.org>
757 * java/lang/Character.java: Re-merged with Classpath.
758 * java/lang/natString.cc (nativeCompareTo): Renamed from
760 * java/lang/StringBuilder.java: Re-merged with Classpath.
761 * java/lang/String.java: Re-merged with Classpath.
762 (nativeCompareTo): Renamed from compareTo.
763 * java/lang/StringBuffer.java: Re-merged with Classpath.
764 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
766 2007-03-05 Andrew Haley <aph@redhat.com>
768 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
769 (generateProxyClass): Don't pass method to ncode.
770 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
771 * java/lang/reflect/Method.h: Rebuild.
772 * java/lang/reflect/Method.java (internalGetParameterTypes,
773 internalGetExceptionTypes): New methods.
774 * headers.txt (class java/lang/reflect/Method): Declare
775 _Jv_GetReflectedMethod. Be its friend.
776 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
777 * java/lang/Class.h: Declare it. Be its friend.
779 2007-03-05 Tom Tromey <tromey@redhat.com>
781 * sources.am, Makefile.in: Rebuilt.
782 * scripts/makemake.tcl (emit_package_rule): Don't omit
784 * Makefile.am (nat_source_files): Added natVMProcess.cc.
785 (inner_nat_headers): Added ImmediateEOFInputStream.h.
786 * gcj/javaprims.h: Regenerated.
787 * java/lang/System.java (EnvironmentMap): Now package-private.
788 (EnvironmentMap(Map)): New constructor.
789 (EnvironmentMap.put): New method.
790 * java/lang/natWin32Process.cc (startProcess): Update.
791 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
793 (startProcess): Likewise.
794 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
796 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
797 * java/lang/PosixProcess.java (redirect): New field.
798 (PosixProcess): Added 'redirect' argument.
799 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
800 argument to Process creation.
801 * java/lang/natVMProcess.cc: New file.
802 * java/lang/ProcessBuilder.java: Removed.
803 * java/lang/VMProcess.java: New file.
805 2007-03-03 Andrew Haley <aph@redhat.com>
807 * java/lang/natClass.cc (parseAnnotationElement): Correct long
808 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
810 2007-03-02 Andrew Haley <aph@redhat.com>
812 * sun/reflect/annotation/AnnotationInvocationHandler.java:
813 Generify in a few places.
814 (equals): Rewrite to use invoke on local proxy.
815 (deepToString): Remove most of it.
816 (toString): Make nonstatic.
817 (arrayClone): Delete.
818 (coerce): New method.
819 (invoke): Rewrite to handle gcj's structures correctly.
820 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
822 * sources.am: Regenerate.
823 * Makefile.am: Likewise.
825 2007-03-02 Andrew Haley <aph@redhat.com>
827 * sun/reflect/annotation/AnnotationInvocationHandler.java:
828 Whitespace only changes.
830 2007-03-02 Andrew Haley <aph@redhat.com>
832 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
833 from Classpath to libgcj local.
835 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
837 * Makefile.am: Add dummy install-pdf target.
838 * Makefile.in: Regenerate
839 * include/Makefile.in: Regenerate
840 * testsuite/Makefile.in: Regenerate
841 * gcj/Makefile.in: Regenerate
843 2007-02-23 Gary Benson <gbenson@redhat.com>
845 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
847 2007-02-23 Gary Benson <gbenson@redhat.com>
849 * java/lang/VMCompiler.java
850 (compileClass): Don't lose zeros from within the digest.
852 2007-02-22 Jakub Jelinek <jakub@redhat.com>
856 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
857 /etc/localtime, use ZoneInfo.readTZFile instead of
858 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
859 either if it is a symlink or through /etc/sysconfig/clock.
860 (readSysconfigClockFile): New static method.
861 (readtzFile): Removed.
862 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
863 * posix.cc (_Jv_platform_initProperties): Set
864 gnu.java.util.zoneinfo.dir.
865 * sources.am (gnu_java_util_source_files): Add
866 classpath/gnu/java/util/ZoneInfo.java.
867 * Makefile.in: Regenerated.
868 * java/util/VMTimeZone.h: Regenerated.
869 * java/util/TimeZone.h: Regenerated.
870 * gnu/java/util/ZoneInfo.h: Generated.
872 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
874 * include/win32-threads.h: Added #undef OUT.
876 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
878 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
879 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
880 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
881 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
882 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
883 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
885 2007-02-21 Gary Benson <gbenson@redhat.com>
887 * java/util/GregorianCalendar.java: Removed.
888 * sources.am, Makefile.in: Rebuilt.
890 2007-02-20 Keith Seitz <keiths@redhat.com>
892 * gnu/classpath/jdwp/natVMVirtualMachine.cc
893 (jdwpClassPrepareCB): Move class status stuff to ...
894 (getClassStatus): ... here.
896 2007-02-20 Gary Benson <gbenson@redhat.com>
898 * gnu/awt/xlib/XEventLoop.h: Regenerated.
899 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
900 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
902 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
903 * java/lang/SecurityManager.h: Likewise.
904 * java/lang/Thread.h: Likewise.
905 * java/security/VMSecureRandom$Spinner.h: Likewise.
906 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
907 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
908 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
909 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
910 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
911 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
912 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
913 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
914 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
915 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
916 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
917 * java/util/concurrent/Exchanger.h: Likewise.
918 * java/util/concurrent/Exchanger$Node.h: Likewise.
919 * java/util/concurrent/FutureTask$Sync.h: Likewise.
920 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
921 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
923 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
925 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
926 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
928 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
929 * java/util/concurrent/SynchronousQueue.h: Likewise.
930 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
931 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
933 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
934 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
936 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
937 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
938 * java/util/logging/ErrorManager.h: Likewise.
939 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
940 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
942 2007-02-16 Keith Seitz <keiths@redhat.com>
944 * gnu/classpath/jdwp/natVMVirtualMachine.cc
945 (get_line_table): New function.
946 (handle_single_step): New function.
947 (jdwpSingleStepCB): New function.
948 (jdwpVMInitCB): Define a JVMTI single step
949 callback, but don't enable it until needed.
951 2007-02-16 David Daney <ddaney@avtrex.com>
953 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
954 new parameter constructor.
955 (Thread(ThreadGroup, Runnable, String, long)): Same.
956 (Thread(String, boolean)): New constructor.
957 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
958 noInheritableThreadLocal, don't call
959 InheritableThreadLocal.newChildThread if set.
960 * java/lang/PosixProcess.java(ProcessManager()): Set
961 noInheritableThreadLocal in super.
962 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
963 parameter to Thread constructor.
964 (_Jv_AttachCurrentThreadAsDaemon): Same.
965 * java/lang/Thread.h: Regenerate.
966 * classpath/lib/java/lang/Thread.class: Same.
967 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
968 * classpath/lib/java/lang/PosixProcess.class: Same.
969 * classpath/lib/java/lang/Thread$State.class: Same.
970 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
972 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
974 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
975 variables to maintain type info.
976 * interpret-run.cc: Add local variable info to frame in the debug
978 * jvmti.cc (getLocalFrame): New method.
979 (_Jv_JVMTI_GetLocalObject): New method.
980 (_Jv_JVMTI_GetLocallInt): New method.
981 (_Jv_JVMTI_GetLocalFloat): New method.
982 (_Jv_JVMTI_GetLocalLong): New method.
983 (_Jv_JVMTI_GetLocalDouble): New method.
984 (_Jv_JVMTI_SetLocalObject): New method.
985 (_Jv_JVMTI_SetLocalInt): New method.
986 (_Jv_JVMTI_SetLocalFloat): New method.
987 (_Jv_JVMTI_SetLocalLong): New method.
988 (_Jv_JVMTI_SetLocalDouble): New method.
990 2007-02-16 Gary Benson <gbenson@redhat.com>
992 * gnu/gcj/tools/gcj_dbtool/Main.java
993 (bytesToString): Don't lose zeros from within the digest.
995 2007-02-15 Andrew Haley <aph@redhat.com>
997 * Makefile.am (nat_source_files): Remove
998 java/lang/management/natVMManagementFactory.cc.
999 * java/lang/Thread.java (getStackTrace): Use reflection to call
1000 the ManagementFactory.
1001 * java/lang/management/VMManagementFactory.java: Remove native
1003 * java/lang/management/natVMManagementFactory.cc: Deleted.
1004 * sources.am: Regnerate.
1005 * scripts/makemake.tcl: Add new "bcheaders" type.
1006 Move java/lang/management and gnu/classpath/management to "bc".
1007 Move gnu/java/lang/management to "bcheaders".
1009 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1011 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1012 * interpret-run.cc: Change the catch section to report exception
1013 events and to use the new check_handler method.
1014 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1015 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1016 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1017 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1018 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1020 * sources.am: Added ExceptionEvent.java.
1021 * Makefile.am: Added natExceptionEvent.cc
1022 * Makefile.in: Regenerated.
1023 * include/Makefile.in: Regenerated.
1024 * gcj/Makefile.in: Regenerated.
1026 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1027 David Daney <ddaney@avtrex.com>
1029 * configure.ac: Create vm-tools-packages file. Add
1030 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1031 Check for /proc/self/maps.
1032 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1033 (gc_analyze_SOURCES): New.
1034 (gc_analyze_LDFLAGS): New.
1035 (gc_analyze_LINK): New.
1036 (gc_analyze_LDADD): New.
1037 (gc_analyze_DEPENDENCIES): New.
1038 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1039 * Makefile.in: Regenerated.
1040 * configure: Regenerated.
1041 * include/config.h.in: Regenerated.
1042 * sources.am: Regenerated.
1043 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1044 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1045 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1046 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1047 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1048 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1049 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1050 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1051 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1052 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1053 * gnu/gcj/util/GCInfo.java: New.
1054 * gnu/gcj/util/GCInfo.h: New.
1055 * gnu/gcj/util/natGCInfo.cc: New.
1056 * gnu/gcj/util/UtilPermission.java: New.
1057 * gnu/gcj/util/UtilPermission.h: New.
1058 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1059 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1060 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1061 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1062 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1063 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1064 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1065 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1066 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1067 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1068 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1069 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1070 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1071 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1072 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1073 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1074 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1075 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1076 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1077 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1078 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1079 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1080 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1082 2007-02-15 David Daney <ddaney@avtrex.com>
1084 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1085 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1086 * gnu/classpath/jdwp/VMFrame.h: Same.
1087 * java/net/Socket.h: Same.
1088 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1090 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1092 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1093 Added LocalVariableTable attribute handling.
1094 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1095 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1096 * include/java-interp.h: Added local_var_table and
1097 local_var_table_len fields to _Jv_InterpMethod.
1098 (_Jv_InterpMethod::get_local_var_table): New method.
1099 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1100 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1101 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1103 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1104 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1106 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1108 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1110 2007-02-13 Keith Seitz <keiths@redhat.com>
1112 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1113 (jdwpBreakpointCB): New function.
1114 (jdwpVMInitCB): Define and enable the breakpoint
1117 2007-02-13 Andrew Haley <aph@redhat.com>
1119 * testsuite/libjava.lang/Divide_2.out
1120 * testsuite/libjava.lang/Divide_2.java: New test.
1122 2007-02-12 Keith Seitz <keiths@redhat.com>
1124 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1125 from jthread to Thread *; it is no longer needed.
1126 (_Jv_JVMTI_GetFrameCount): Likewise.
1127 Fix small formatting typo.
1129 2007-02-12 Tom Tromey <tromey@redhat.com>
1131 * sources.am, Makefile.in: Rebuilt.
1132 * java/lang/Socket.java: Removed override.
1133 * java/lang/DatagramSocket.java: Removed override.
1134 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1136 (getLocalAddress): New method.
1137 * gnu/java/net/PlainDatagramSocketImpl.java
1138 (PlainDatagramSocketImpl): Throws IOException.
1139 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1143 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1145 * java/util/VMTimeZone.java: Rewrite to handle both the old
1146 'TZif\0' format and the new one.
1148 2007-02-10 Andrew Haley <aph@redhat.com>
1151 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1152 (getCallingClass): Call GET_CALLING_CLASS.
1153 (getCallingClassLoader): Likewise.
1155 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1157 * configure: Rebuilt.
1158 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1160 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1162 * Makefile.in: Rebuilt.
1163 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1164 the host's ecj1 executable.
1166 2007-02-09 Richard Henderson <rth@redhat.com>
1168 * sysdep/alpha/locks.h (read_barrier): New.
1170 2007-02-09 Keith Seitz <keiths@redhat.com>
1172 * gnu/classpath/jdwp/VMVirtualMachine.java
1173 (_stepping_threads): New member.
1174 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1176 * gnu/classpath/jdwp/VMVirtualMachine.h:
1178 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1179 (get_request_step_filter): New function.
1180 (DISABLE_EVENT): New macro.
1181 (initialize): Initialize _stepping_threads.
1182 (registerEvent): Implement EVENT_SINGLE_STEP.
1183 (unregisterEvent): Likewise.
1185 2007-02-08 Keith Seitz <keiths@redhat.com>
1187 * sources.am: Regenerate.
1188 * Makefile.in: Regenerate.
1189 * testsuite/Makefile.in: Regenerate.
1190 * gcj/Makefile.in: Regenerate.
1191 * include/Makefile.in: Regenerate.
1193 * classpath/lib/javax/management/MBeanServerFactory.class:
1196 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1198 * classpath/gnu/classpath/jdwp/processor/
1199 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1201 (executeSetValues): Ditto.
1202 (executeThisObject): Ditto.
1203 * classpath/gnu/classpath/jdwp/processor/
1204 StackFrameCommandSet.class: Rebuilt.
1205 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1207 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1208 * classpath/lib/gnu/classpath/jdwp/exception/
1209 InvalidFrameException.java: New file.
1210 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1212 (Constructor): New method.
1213 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1214 * gnu/classpath/jdwp/VMVirtualMachine.java
1215 (getFrame): Changed ByteBuffer to jlong.
1216 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1217 (getFrame): Implement.
1218 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1220 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1222 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1223 to hold "this" pointer for frame.
1224 (_Jv_InterpFrame::get_this_ptr): New method.
1225 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1227 2007-02-07 Keith Seitz <keiths@redhat.com>
1229 * include/java-interp.h (_Jv_Frame::depth):
1231 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1233 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1235 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1236 (_Jv_JVMTI_GetMaxLocals): New method.
1237 * include/java-interp.h
1238 (_Jv_InterpMethod::get_max_locals): New method.
1240 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1242 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1244 2007-02-07 Tom Tromey <tromey@redhat.com>
1246 * testsuite/libjava.jni/init.c: New file.
1247 * testsuite/libjava.jni/init.java: New file.
1248 * testsuite/libjava.jni/init.out: New file.
1249 * testsuite/libjava.jni/init.jar: New file.
1250 * testsuite/libjava.jni/init.h: New file.
1251 * testsuite/libjava.jni/init$NativeClass.h: New file.
1253 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1256 * configure: Regenerate.
1258 2007-02-06 Andrew Haley <aph@redhat.com>
1260 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1261 * sources.am: Rebuild.
1263 2007-02-05 Keith Seitz <keiths@redhat.com>
1265 * jvmti.cc (_envListLock): Change type to
1266 ReentrantReadWriteLock.
1267 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1269 (check_enabled_event): Likewise.
1270 (_Jv_GetJVMTIEnv): Likewise.
1271 (_Jv_JVMTI_Init): Likewise.
1272 (_Jv_JVMTI_PostEvent): Likewise.
1274 2007-02-05 Keith Seitz <keiths@redhat.com>
1276 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1277 (registerEvent): Implement EVENT_BREAKPOINT.
1278 (unregisterEvent): Likewise.
1279 (get_request_location): New function.
1281 2007-02-05 Matthias Klose <doko@debian.org>
1283 testsuite/Makefile.am (compile-tests): Fix typo.
1284 testsuite/Makefile.in: Regenerate.
1286 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1288 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1291 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1293 * configure.ac (libjava_cv_anon_version_script): New test.
1294 (ANONVERSCRIPT): New AM_CONDITIONAL.
1295 * configure: Rebuilt.
1296 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1298 * Makefile.in: Rebuilt.
1299 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1300 * libgcj.ver: New file.
1302 2007-02-01 David Daney <ddaney@avtrex.com>
1304 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1306 * sources.am: Regenerate.
1307 * Makefile.in: Regenerate.
1309 2007-02-01 Tom Tromey <tromey@redhat.com>
1311 * java/lang/ClassLoader.java (getResources): No longer final.
1313 2007-02-01 Tom Tromey <tromey@redhat.com>
1315 * java/util/logging/LogManager.java (loggers): Genericized.
1316 (addLogger): Merged.
1317 (findAncestor): Likewise.
1318 (getLogger): Likewise.
1319 (getLoggerNames): Genericized.
1321 (getLevelProperty): Likewise.
1322 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1323 * java/lang/reflect/Constructor.java (getParameterTypes):
1325 (getExceptionTypes): Likewise.
1326 (newInstance): Likewise.
1327 * java/lang/reflect/Array.java (newInstance): Genericized.
1328 * java/lang/Object.java (getClass): Genericized.
1329 * java/nio/charset/spi/CharsetProvider.java (charsets):
1331 * java/text/Collator.java: Implement Comparable<Object>.
1333 2007-02-01 Tom Tromey <tromey@redhat.com>
1335 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1337 (clear): Call complete.
1338 (setTimeZone): Call computeTime, computeFields.
1339 (compareTo): New method.
1340 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1341 (availableCharsets): Genericized.
1342 (aliases): Likewise.
1343 (compareTo): Changed argument type.
1344 * java/lang/ClassLoader.java (loadClass): Genericized.
1345 (findClass): Likewise.
1346 (defineClass): Likewise.
1347 (resolveClass): Likewise.
1348 (findSystemClass): Likewise.
1349 (setSigners): Likewise.
1350 (findLoadedClass): Likewise.
1351 (getResources): Likewise.
1352 (findResources): Likewise.
1353 (getSystemResources): Likewise.
1354 (checkInitialized): New method.
1355 * java/lang/Class.java (getCanonicalName): New method.
1357 2007-01-31 Keith Seitz <keiths@redhat.com>
1359 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1360 * jvmti.cc (JVMTI): Add member "enabled".
1361 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1362 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1363 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1364 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1365 instead of run to compile the method.
1367 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1370 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1372 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1373 -shared-libgcc to the cxxflaglist for Darwin.
1375 2007-01-31 Tom Tromey <tromey@redhat.com>
1377 * scripts.am, Makefile.in: Rebuilt.
1378 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1380 (emit_ordinary_rule): New proc.
1382 2007-01-31 Keith Seitz <keiths@redhat.com>
1384 * testsuite/libjava.jvmti/getmethodname.h: New file.
1385 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1387 2007-01-31 Andrew Haley <aph@redhat.com>
1389 * prims.cc (_Jv_Abort): fflush (stderr).
1390 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1392 2007-01-31 Tom Tromey <tromey@redhat.com>
1394 * configure, Makefile.in: Rebuilt.
1395 * configure.ac (JAR): Check for -@ feature.
1396 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1398 2007-01-31 Tom Tromey <tromey@redhat.com>
1401 * configure, include/config.h.in: Rebuilt.
1402 * configure.ac: Check for magic_t in magic.h.
1403 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1405 2007-01-30 Tom Tromey <tromey@redhat.com>
1407 * Makefile.in: Rebuilt.
1408 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1410 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1412 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1413 cast to print it right.
1415 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1418 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1421 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1423 * include/java-interp.h: Added _Jv_Frame class and its two
1424 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1425 _Jv_FrameType from java-stack.h.
1426 * include/java-stack.h: Removed _Jv_FrameType.
1427 * java/lang/Thread.java: Added frame member to hold new
1428 composite frame stack.
1429 * java/lang/Thread.h: Regenerated.
1430 * java/lang/Thread.class: Rebuilt.
1431 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1432 calling a JNI method.
1433 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1434 (_Jv_JVMTI_GetFrameCount): New method.
1435 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1437 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1438 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1439 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1440 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1441 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1444 2007-01-29 Tom Tromey <tromey@redhat.com>
1446 * interpret.cc (run_debug): Remove comment.
1453 (run_normal_debug): Likewise.
1454 (run_synch_object_debug): Likewise.
1455 (run_class_debug): Likewise.
1456 (run_synch_class_debug): Likewise.
1461 (NULLARRAYCHECK): Likewise.
1462 (ARRAYBOUNDSCHECK): Likewise.
1463 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1465 2007-01-29 Tom Tromey <tromey@redhat.com>
1467 * configure, Makefile.in: Rebuilt.
1468 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1469 * configure.ac (BASH_JAR): Removed conditional.
1470 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1472 2007-01-29 Tom Tromey <tromey@redhat.com>
1474 * Makefile.in: Rebuilt.
1475 * Makefile.am (interpret.lo): New target. Add -fwrap to
1478 2007-01-29 Keith Seitz <keiths@redhat.com>
1480 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1482 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1483 gcj. All jvmti object types now are defined to be their
1484 corresponding java classes.
1485 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1487 (_Jv_JVMTI_ResumeThread): Likewise.
1488 (_Jv_JVMTI_InterruptThread): Likewise.
1489 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1490 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1491 (jdwpClassPrepareCB): Likewise.
1492 (jdwpThreadEndCB): Likewise.
1493 (jdwpThreadStartCB): Likewise.
1494 (jdwpVMInitCB): Likewise.
1496 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1498 * gnu/java/nio/channels/natFileChannelWin32.cc
1499 (lock): Implemented.
1500 (unlock): Implemented.
1502 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1505 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1506 libgcj_flags to undefine 'sun' at compile time.
1507 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1509 (write_barrier): Likewise.
1511 2007-01-27 Keith Seitz <keiths@redhat.com>
1513 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1514 (getAllClassMethods): Move error handling to ...
1515 (throw_jvmti_error): ... here.
1516 (jdwpClassPrepareCB): New function.
1517 (jdwpThreadEndCB): New function.
1518 (jdwpThreadStartCB): New function.
1519 (jdwpVMDeathCB): New function.
1520 (jdwpVMInitCB): Define and enable callbacks for
1521 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1523 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1525 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1526 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1527 (MYGCJH): New variable.
1528 (compile-tests): New goal.
1529 * Makefile.in: Rebuilt.
1530 * testsuite/Makefile.in: Rebuilt.
1532 2007-01-26 Andrew Haley <aph@redhat.com>
1534 * java/lang/natClass.cc (initializeClass): Re-throw
1536 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1537 * java/lang/ClassLoader.java: (loadClass): Likewise.
1539 2007-01-26 Tom Tromey <tromey@redhat.com>
1543 2007-01-25 Tom Tromey <tromey@redhat.com>
1546 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1547 input or output encodings. Removed unused local variables.
1549 2007-01-25 Keith Seitz <keiths@redhat.com>
1551 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1552 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1553 (_Jv_GetJDWP_JVMTIEnv): New function.
1554 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1555 (getSignature): Implement.
1556 (getModifiers): Implement.
1558 2007-01-25 Andrew Haley <aph@redhat.com>
1560 * configure, Makefile.in, include/config.h.in: Rebuilt.
1561 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1562 * configure.ac: Don't check for libmagic.
1563 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1564 p_magic_close, p_magic_buffer): New globals.
1565 (init): Look up 'magic' functions.
1566 (guessContentTypeFromBuffer): Updated.
1568 2007-01-25 Keith Seitz <keiths@redhat.com>
1570 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1571 (_Jv_JVMTI_Interface): Define GetMethodName.
1572 * testsuite/libjava.jvmti/getmethodname.java: New file.
1573 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1574 * testsuite/libjava.jvmti/getmethodname.out: New file.
1576 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1578 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1579 * libjava/testsuite/libjava.jvmti/interp: New folder.
1580 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1582 2007-01-24 Keith Seitz <keiths@redhat.com>
1584 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1585 CLASS_PREPARE notification.
1587 2007-01-24 Keith Seitz <keiths@redhat.com>
1589 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1590 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1591 * interpret-run.cc: Implement insn_breakpoint.
1593 2007-01-24 Keith Seitz <keiths@redhat.com>
1595 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1596 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1598 2007-01-24 Keith Seitz <keiths@redhat.com>
1600 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1601 (getAllClassMethods): Implement.
1603 2007-01-24 Andrew Haley <aph@redhat.com>
1605 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1606 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1607 from being sibcalled.
1609 2007-01-24 Andrew Haley <aph@redhat.com>
1611 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1612 * sources.am: Rebuild.
1614 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1616 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1617 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1619 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1622 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1623 * Makefile.in: Regenerated.
1625 2007-01-22 Keith Seitz <keiths@redhat.com>
1627 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1628 (getClassMethod): Implement.
1630 2007-01-22 Keith Seitz <keiths@redhat.com>
1632 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1633 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1634 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1635 (_Jv_JVMTI_Interface): Define GetClassStatus.
1637 2007-01-22 Tom Tromey <tromey@redhat.com>
1639 * configure: Rebuilt.
1640 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1642 2007-01-22 Tom Tromey <tromey@redhat.com>
1645 * testsuite/libjava.jni/pr29812.java: New file.
1646 * testsuite/libjava.jni/pr29812_injar.java: New file.
1647 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1648 * testsuite/libjava.jni/pr29812.out: New file.
1649 * testsuite/libjava.jni/pr29812_injar.c: New file.
1650 * testsuite/libjava.jni/pr29812_injar.h: New file.
1651 * testsuite/libjava.jni/pr29812.jar: New file.
1652 * testsuite/libjava.jni/pr29812.c: New file.
1653 * testsuite/libjava.jni/pr29812.h: New file.
1654 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1656 (gcj_jni_invocation_test_one): Use it.
1657 (gcj_jni_pr29812): New proc.
1658 (gcj_jni_run): Use it.
1659 * java/lang/natRuntime.cc (_load): Push a new system frame before
1661 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1662 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1663 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1664 <allocated_p>: Now bool.
1665 <loader>: New field.
1666 (_Jv_JNI_EnsureLocalCapacity): Updated.
1667 (_Jv_JNI_NewLocalRef): Likewise.
1668 (_Jv_JNI_NewLocalRef): Likewise.
1669 (_Jv_JNI_PopLocalFrame): Likewise.
1670 (_Jv_JNI_FindClass): Likewise.
1671 (_Jv_GetJNIEnvNewFrame): Likewise.
1672 (_Jv_JNI_AttachCurrentThread): Likewise.
1673 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1674 (_Jv_GetJNIEnvNewFrame): Use it.
1675 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1677 2007-01-22 Tom Tromey <tromey@redhat.com>
1679 * libtool-version: Bump current to 9.
1681 2007-01-22 Andrew Haley <aph@redhat.com>
1683 * sysdep/alpha/locks.h (write_barrier): New.
1685 2007-01-21 Matthias Klose <doko@debian.org>
1687 * Makefile.am (install-exec-hook): Use transformed name.
1688 * Makefile.in: Regenerate.
1690 2007-01-19 Keith Seitz <keiths@redhat.com>
1692 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1693 in methods and reformat.
1695 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1698 2007-01-18 Keith Seitz <keiths@redhat.com>
1700 From Macro Trudel <mtrudel@gmx.ch>:
1701 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1704 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1706 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1707 * testsuite/libjava.jni/findclass2.jar: New file.
1708 * testsuite/libjava.jni/findclass2.h: New file.
1709 * testsuite/libjava.jni/findclass2.java: New file
1710 * testsuite/libjava.jni/findclass2.c: New file.
1711 * testsuite/libjava.jni/findclass2.out: New file.
1713 2007-01-18 Tom Tromey <tromey@redhat.com>
1715 * configure: Rebuilt.
1716 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1718 2007-01-18 Gary Benson <gbenson@redhat.com>
1720 * gnu/java/nio/natVMPipeEcos.cc:
1721 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1722 * gnu/java/nio/natVMPipePosix.cc:
1723 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1724 * gnu/java/nio/natVMPipeWin32.cc:
1725 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1726 * gnu/java/nio/natVMSelectorEcos.cc:
1727 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1728 * gnu/java/nio/natVMSelectorPosix.cc:
1729 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1730 * gnu/java/nio/natVMSelectorWin32.cc:
1731 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1732 * java/io/natVMObjectInputStream.cc:
1733 Renamed from java/io/natObjectInputStream.cc.
1734 * java/lang/natVMDouble.cc:
1735 Renamed from java/lang/natDouble.cc.
1736 * java/lang/natVMFloat.cc:
1737 Renamed from java/lang/natFloat.cc.
1738 * Makefile.am, configure.ac: Reflect the above.
1739 * Makefile.in, configure: Rebuilt.
1741 2007-01-17 Andrew Haley <aph@redhat.com>
1743 * Makefile.in: Rebuilt.
1744 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1746 2007-01-17 Keith Seitz <keiths@redhat.com>
1748 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1749 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1751 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1753 * configure.ac: Use multi.m4 from aclocal rather than custom
1754 code. Use multi_basedir instead libgcj_basedir. Test for
1755 /proc/self/exe when not cross-compiling.
1756 * aclocal.m4: Regenerate.
1757 * configure: Regenerate.
1758 * Makefile.in: Regenerate.
1760 2007-01-17 Gary Benson <gbenson@redhat.com>
1762 * java/nio/natVMDirectByteBufferImpl.cc:
1763 Renamed from java/nio/natDirectByteBufferImpl.cc.
1764 * Makefile.am: Reflect the above.
1765 * Makefile.in: Rebuilt.
1767 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1769 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1770 Fixed indentation. Removed unused variable.
1772 2007-01-16 Tom Tromey <tromey@redhat.com>
1774 * java/lang/natThread.cc (finalize_native): Remove cast.
1775 (_Jv_GetCurrentJNIEnv): Likewise.
1776 * include/jvm.h (struct natThread) <jni_env>: Declare as
1779 2007-01-16 Keith Seitz <keiths@redhat.com>
1781 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1782 %#llx instead of %d for new_value.
1783 * testsuite/libjava.jvmti/events.out: Update expected output.
1784 * testsuite/libjava.jvmti/events.jar: Regenerate.
1786 2007-01-16 Keith Seitz <keiths@redhat.com>
1788 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1790 (ENABLE_EVENT): New macro.
1791 (initialize): Define and enable JVMTI VM_INIT callback.
1792 (jdwpVMInitCB): New function.
1794 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1796 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1797 * testsuite/libjava.jvmti/getallthreads.java: New test.
1798 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1799 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1800 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1801 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1803 2007-01-15 Keith Seitz <keiths@redhat.com>
1805 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1806 java.lang.StringBuilder instead of java.lang.StringBuffer.
1807 (resumeThread): Likewise.
1809 2007-01-15 Gary Benson <gbenson@redhat.com>
1811 * java/nio/MappedByteBuffer.java: Removed.
1812 * sources.am, Makefile.in: Rebuilt.
1814 2007-01-15 Gary Benson <gbenson@redhat.com>
1816 * java/net/URLClassLoader.java: Removed.
1817 * gnu/java/net/loader/Load_gcjlib.java: New file.
1818 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1819 URL handler is present in static executables.
1820 * sources.am, Makefile.in: Rebuilt.
1822 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1824 * Makefile.am (libgcj_la_LDFLAGS): Add
1825 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1826 (libgcj_tools_la_LDFLAGS): Likewise.
1827 (libgcj_bc_la_LDFLAGS): Likewise.
1828 * Makefile.in: Regenerated.
1830 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1831 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1832 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1833 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1834 * configure: Regenerated.
1835 * aclocal.m4: Likewise.
1836 * gcj/Makefile.in: Likewise.
1837 * include/Makefile.in: Likewise.
1838 * testsuite/Makefile.in: Likewise.
1840 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1842 * sysdep/sh/locks.h (read_barrier): New.
1843 (write_barrier): Likewise.
1845 2007-01-12 Andrew Haley <aph@redhat.com>
1847 * include/i386-signal.h: Rewrite to use rt_sigaction.
1849 2007-01-11 Andrew Haley <aph@redhat.com>
1851 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1853 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1856 2007-01-10 Tom Tromey <tromey@redhat.com>
1858 * gnu/gcj/xlib/*.h: New files.
1859 * gnu/awt/xlib/*.h: Likewise.
1860 * classpath/lib/gnu/gcj/xlib: New class files.
1861 * classpath/lib/gnu/awt/xlib: Likewise.
1863 2007-01-10 Tom Tromey <tromey@redhat.com>
1865 * HACKING: Various updates.
1867 2007-01-10 Tom Tromey <tromey@redhat.com>
1869 * java/lang/natDouble.cc (toString): Added parens.
1870 * gnu/gcj/io/shs.h (PROTO): Define.
1871 * link.cc (resolve_pool_entry): Added missing braces.
1873 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1876 * sysdep/ia64/locks.h (read_barrier): New.
1877 (write_barrier): New.
1879 2007-01-10 Gary Benson <gbenson@redhat.com>
1881 * java/net/URL.java: Removed.
1882 * sources.am, Makefile.in: Rebuilt.
1884 2007-01-10 Matthias Klose <doko@debian.org>
1886 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1887 * Makefile.in: Regenerated.
1889 2007-01-05 Tom Tromey <tromey@redhat.com>
1891 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1892 dummy.class in srcdir.
1894 2007-01-03 Tom Tromey <tromey@redhat.com>
1896 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1899 2007-01-03 Tom Tromey <tromey@redhat.com>
1901 * testsuite/*: Added many .jar and .h files.
1902 * testsuite/libjava.special/special.exp
1903 (gcj_special_try_compiler): New proc.
1904 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1905 bytecompile source. Search for .jar files.
1906 (gcj_loader_test_one): Don't look for MyLoader.java.
1907 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1908 bytecompile sources or build headers.
1909 (gcj_jvmti_run): Look for .jar files.
1910 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1912 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1913 Set classpath when invoking gij.
1914 (gcj_jni_invocation_test_one): Likewise.
1915 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1916 headers or bytecompile sources.
1917 (gcj_cni_run): Use .jar files, not .java files.
1918 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1920 2007-01-02 Tom Tromey <tromey@redhat.com>
1922 * configure: Rebuilt.
1923 * configure.ac: Check for gjar.
1925 2007-01-02 Tom Tromey <tromey@redhat.com>
1927 * testsuite/libjava.jacks/jacks.exp: Removed.
1928 * testsuite/libjava.jacks/jacks.xfail: Removed.