1 2007-05-16 David Daney <ddaney@avtrex.com>
3 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
4 (_Jv_StackFrame): Remove commented out code.
5 (_Jv_UnwindState): Remove superfluous 'typedef'.
6 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
8 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
9 (getCollectionUsage): Don't declare unused parameter n.
10 (getMemoryManagerNames): Same.
11 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
14 2007-05-16 Keith Seitz <keiths@redhat.com>
16 * include/java-interp.h (breakpoint_at): Declare.
17 * interpret.cc (breakpoint_at): New function.
18 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
20 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
21 Initialize _event_list.
22 (handle_single_step): If there is a breakpoint at the
23 location at which we are stopping, do not send the notification.
24 Instead add the event to a list of events that occur at this
26 (jdwpBreakpointCB): If the event list is not empty, send
27 whatever events are in it and the breakpoint event in a single
29 Mark parameter jni_env as MAYBE_UNUSED.
30 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
32 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
34 2007-05-15 David Daney <ddaney@avtrex.com>
36 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
37 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
39 2007-05-15 Keith Seitz <keiths@redhat.com>
41 * interpret.cc (STOREA): Rewrite using temporary variable to
42 avoid double-macro expansion side-effects.
45 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
46 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
47 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
48 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
51 2007-05-12 David Daney <ddaney@avtrex.com>
54 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
55 (_Jv_UnBlockSigchld): Same.
56 * posix-threads.cc: Include posix-threads.h.
57 (block_sigchld) Rename to...
58 (_Jv_BlockSigchld) ... this.
59 (_Jv_UnBlockSigchld): New function.
60 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
61 (_Jv_ThreadStart): Same.
62 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
63 * java/lang/PosixProcess.java: Clean up imports.
64 (ProcessManager): Make final.
65 (ProcessManager.queue): Genericise and make private.
66 (ProcessManager.pidToProcess): Remove.
67 (ProcessManager.liveProcesses): New field.
68 (ProcessManager.reaperPID): Remove.
69 (ProcessManager.nativeData): New field.
70 (ProcessManager.removeProcessFromMap): Remove.
71 (ProcessManager.addProcessToMap):Remove.
72 (ProcessManager.addToLiveProcesses): New method.
73 (ProcessManager.run): Rewritten.
74 (ProcessManager.reap): Change method signature,
75 (getErrorStream): Correct formatting.
76 (getInputStream): Same.
77 (spawn): Add process to liveProcesses list.
78 (pid): Make package private.
79 * java/lang/PosixProcess.h: Regenerate.
80 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
81 Add useing namespace java::lang.
82 (ProcessManagerInternal): New struct.
83 (sigchld_handler): Rewritten.
85 (waitForSignal): Same.
88 (nativeDestroy): Call kill as ::kill.
89 (nativeSpawn): Correct formatting.
90 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
91 * classpath/lib/java/lang/PosixProcess.class: Same.
92 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
94 2007-05-07 Ian Lance Taylor <iant@google.com>
97 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
100 2007-05-07 Keith Seitz <keiths@redhat.com>
102 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
103 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
104 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
106 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
108 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
109 * gnu/classpath/jdwp/event/Event.h: Regenerate.
110 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
112 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
114 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
117 2007-05-03 Keith Seitz <keiths@redhat.com>
119 * interpret.cc: Don't include ExceptionEvent.h.
120 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
121 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
122 * Makefile.in: Regenerated.
124 2007-05-03 Keith Seitz <keiths@redhat.com>
126 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
128 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
129 (find_catch_location): New function.
130 (REPORT_EXCEPTION): New macro.
131 (throw_internal_error): Use REPORT_EXCEPTION.
132 (throw_incompatible_class_change_error): Likewise.
133 (throw_null_pointer_exception): Likewise.
134 (throw_class_format_error): Likewise.
135 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
137 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
138 (insn_new): Use INTERP_REPORT_EXCEPTION.
139 (insn_athrow): Likewise.
140 Remove previous JVMTI exception notifications.
141 Add JVMTI ExceptionCatch notificatin.
142 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
144 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
145 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
146 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
147 * gnu/classpath/jdwp/natVMVirtualMachine.cc
148 (jdwpExceptionCB): New function.
149 (jdwpVMInitCB): Set Exception event handler and enable.
150 * sources.am: Regenerated.
151 * Makefile.in: Regenerated.
153 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
155 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
156 * Makefile.in: Regenerate.
157 * scripts/makemake.tcl (scan_directory): Treat default.css as a
159 * classpath/javax/swing/text/html/default.css: Move to...
160 * classpath/resource/javax/swing/text/html/default.css: New file.
161 * classpath/javax/swing/text/html/HTMLEditorKit.java
162 (getStyleSheet): Throw RuntimeException when style loading fails.
163 * sources.am (property_files): Add
164 classpath/resource/javax/swing/text/html/default.css.
166 2007-05-02 Tom Tromey <tromey@redhat.com>
168 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
169 * java/lang/natCharacter.cc (Character::getType): Handle negative
171 (Character::toLowerCase): Likewise.
172 (Character::toUpperCase): Likewise.
173 (Character::digit): Likewise.
174 (Character::getNumericValue): Likewise.
175 (Character::getDirectionality): Likewise.
176 (Character::toTitleCase): Likewise.
178 2007-04-30 Keith Seitz <keiths@redhat.com>
180 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
181 executing the instruction.
182 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
183 one insn from the frame's PC. _Jv_InterpMethod::run et al
184 will advance the PC before executing the instruction.
186 2007-04-27 Keith Seitz <keiths@redhat.com>
188 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
189 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
191 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
193 2007-04-27 Keith Seitz <keiths@redhat.com>
195 * classpath/lib/gnu/classpath/jdwp/event/filters/
196 LocationOnlyFilter.class: Regenerated;
197 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
199 * gnu/classpath/jdwp/VMMethod.java
200 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
202 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
203 * gnu/classpath/jdwp/util/Location.h: Regenerated.
205 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
207 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
208 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
210 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
212 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
214 (get): Deal with ObjectId of 0.
216 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
219 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
221 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
223 * gnu/classpath/jdwp/natVMVirtualMachine.java
224 (getThreadStatus): Implement.
226 2007-04-24 Keith Seitz <keiths@redhat.com>
228 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
229 Add _Jv_RewriteBreakpointInsn friend declaration.
230 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
231 [DIRECT_THREADED]: New function.
232 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
233 * interpret-run.cc: Define new REWRITE_INSN macro.
234 Changed all occurrences of insn rewriting to call REWRITE_INSN.
236 2007-04-23 Keith Seitz <keiths@redhat.com>
238 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
239 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
240 * boehm.cc (_Jv_IsThreadSuspended): New function.
241 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
242 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
243 (_Jv_JVMTI_Interface): Define GetThreadState.
245 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
247 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
249 (<init>): Add a pointer to the interpreter PC as a parameter with
251 (get_pc): New method.
252 * interpret-run.cc: If debugging, pass a pointer to the PC when
253 creating the stack frame.
254 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
257 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
259 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
260 for null source file and throw an exception indicating this.
262 2007-04-20 Keith Seitz <keiths@redhat.com>
264 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
265 Install the new breakpoint into the bytecode.
266 (deleteBreakpoint): Remove the breakpoint from the bytecode.
267 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
269 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
270 Don't install the breakpoint here.
272 2007-04-19 Keith Seitz <keiths@redhat.com>
274 * interpret-run.cc [insn_breakpoint]: Save the original
275 insn for the breakpoint before posting the JVMTI notification.
277 2007-04-19 Tom Tromey <tromey@redhat.com>
279 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
281 2007-04-18 Tom Tromey <tromey@redhat.com>
283 * Regenerated headers with new gjavah.
285 2007-04-18 Andrew Haley <aph@redhat.com>
287 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
289 (generateProxyClass): Add field $Proxy0.m. Store methods array in
291 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
292 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
293 * java/lang/natClass.cc: Likewise.
294 * headers.txt: Likewise.
295 * java/lang/reflect/Method.h: Likewise.
297 2007-04-16 Andrew Haley <aph@redhat.com>
299 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
301 (bootGetResource): Use getBootURLLoader() to load resources.
302 (bootGetResources): Likewise.
304 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
305 check that the method's declaring class is accessible.
307 2007-04-10 Keith Seitz <keiths@redhat.com>
309 * sources.am: Regenerate.
310 * Makefile.in: Likewise.
312 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
314 * interpret-run.cc: If debugging, check if args is NULL before
315 getting the "this" pointer.
317 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
319 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
320 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
321 * gnu/classpath/jdwp/ArrayValue.h: New file.
322 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
325 2007-04-09 David Daney <ddaney@avtrex.com>
328 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
329 environment before the fork.
330 * testsuite/libjava.lang/Process_7.java: New test.
331 * testsuite/libjava.lang/Process_7.out: Its expected results.
332 * testsuite/libjava.lang/Process_7.jar: Generated file.
334 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
336 * prims.cc (load_jvmti_agent): Add the missing `,'.
338 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
340 * gij.cc (main): Accept -agentlib and -agentpath options.
341 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
342 (load_jvmti_agent): New function.
344 2007-04-04 Tania Bento <tbento@redhat.com>
346 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
347 Copyright information and introduced new variable, currency.
348 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
349 to "XXX", currencySymbol to "?" and localCurrency appropriately.
350 (getCurrency): Fixed documentation and return the value of currency.
351 (setCurrency): Fixed documentation and update the value of currency.
352 (setInternationalCurrencySymbol): Fixed documentation and update the
354 * java/util/Currency.java: Introduced two new variables, properties
355 and fractionDigits. In the static block, a properties object is
356 created and the currency resource is loaded.
357 (Currency(Locale)): fractionDigits is defined.
358 (Currency(String)): New method.
359 (getDefaultFractionDigits): Return the value of fractionDigits.
360 (getInstance(String)): Check if String is equal to "XXX".
362 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
364 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
365 to ints for argCnt and slots.
366 (write): Replace writeLong with writeInt for the above.
368 2007-04-03 Andrew Haley <aph@redhat.com>
370 * testsuite/libjava.lang/ProxyTest.java: New test.
372 2007-04-02 Tom Tromey <tromey@redhat.com>
374 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
375 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
376 file, when writing, if it is too short.
378 2007-04-02 Tom Tromey <tromey@redhat.com>
380 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
381 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
383 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
384 where localport is -1.
385 (create): Now public.
386 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
387 'create' on the socket.
389 2007-04-02 Andrew Haley <aph@redhat.com>
391 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
392 _Jv_LookupProxyMethod to find the Method.
393 If parameter_types->length == 0, pass a null paramameter list,
394 not a zero-length parameter list.
395 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
396 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
398 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
400 * interpret-run.cc: Add code to properly set up variable slots
402 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
403 (getObjectJVMTI): New function.
404 (setObjectJVMTI): New function.
405 (getIntJVMTI): New function.
406 (setIntJVMTI): New function.
407 (getLongJVMTI): New function.
408 (setLongJVMTI): New function.
409 (getFloatJVMTI): New function.
410 (setFloatJVMTI): New function.
411 (getDoubleJVMTI): New function.
412 (setDoubleJVMTI): New function.
413 (getFrameDepth): New function.
414 (getValue): Implement.
415 (setValue): Implement.
417 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
419 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
420 (executeResume): Call VMVirtualMachine.resumeThread.
422 2007-03-29 Tom Tromey <tromey@redhat.com>
425 * java/util/logging/LogManager.java (readConfiguration): Handle
426 comma-separated 'handlers'. Don't try to add a non-existing
429 2007-03-27 Tom Tromey <tromey@redhat.com>
431 * sources.am, Makefile.in: Rebuilt.
432 * scripts/mime.types: Removed.
433 * scripts/MakeDefaultMimeTypes.java: Removed.
434 * gnu/gcj/io/MimeTypes.java: Removed.
435 * gnu/gcj/io/MimeTypes.h: Removed.
436 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
437 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
439 2007-03-27 Keith Seitz <keiths@redhat.com>
441 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
443 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
444 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
445 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
446 (initialize): Fix compiler type-punning warning.
447 (getAllLoadedClasses): Return empty list instead of NULL.
448 (getLoadRequests): Likewise.
449 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
450 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
451 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
452 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
453 * gnu/classpath/jdwp/value/CharValue.h: New file.
454 * gnu/classpath/jdwp/value/LongValue.h: New file.
455 * gnu/classpath/jdwp/value/ShortValue.h: New file.
456 * gnu/classpath/jdwp/value/Value.h: New file.
457 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
458 * gnu/classpath/jdwp/value/VoidValue.h: New file.
459 * gnu/classpath/jdwp/value/ByteValue.h: New file.
460 * gnu/classpath/jdwp/value/FloatValue.h: New file.
461 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
462 * gnu/classpath/jdwp/value/StringValue.h: New file.
463 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
464 * gnu/classpath/jdwp/value/IntValue.h: New file.
465 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
466 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
467 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
468 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
469 * gnu/classpath/jdwp/util/NullObject.h: New file.
470 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
471 * Makefile.in: Rebuilt.
472 * sources.am: Rebuilt.
474 2006-03-26 David Daney <ddaney@avtrex.com>
476 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
477 fork, execvp, execinfo.h, pthread_mutexattr_settype,
478 pthread_mutexattr_setkind_np and sys/wait.h.
479 * Makefile.in: Regenerate.
480 * include/Makefile.in: Regenerate.
481 * include/config.h.in: Regenerate.
482 * testsuite/Makefile.in: Regenerate.
483 * configure: Regenerate.
484 * gcj/Makefile.in: Regenerate.
486 2007-03-23 Gary Benson <gbenson@redhat.com>
488 * link.cc (_Jv_Linker::resolve_method_entry):
489 Ensure that the argument types and the return type of the
490 found method match those expected by the calling method.
492 2007-03-22 David Daney <ddaney@avtrex.com>
495 * configure.ac: Add checks for getrlimit and sys/resource.h.
496 * include/posix.h (_Jv_platform_close_on_exec): Remove.
497 * include/config.h.in: Regenerate.
498 * configure: Regenerate.
499 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
500 _Jv_platform_close_on_exec;
501 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
503 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
504 * java/lang/natPosixProcess.cc: Include sys/resource.h.
505 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
508 2007-03-20 Andrew Haley <aph@redhat.com>
510 * testsuite/libjava.lang/PR31264.java: New test.
512 2007-03-14 Jakub Jelinek <jakub@redhat.com>
514 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
515 * Makefile.in: Rebuilt.
517 2007-03-13 Keith Seitz <keiths@redhat.com>
519 * include/java-interp.h (_Jv_InterpClass): Declare
520 friend function _Jv_GetInterpClassSourceFile.
521 * java/lang/Class.h (Class): Likewise.
522 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
524 * gnu/classpath/jdwp/natVMVirtualMachine.cc
525 (getSourceFile): Implement.
527 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
529 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
530 * classpath/configure.ac: Add --with-ecj-jar configure option.
531 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
533 * classpath/INSTALL: Document --with-ecj-jar configure option and
534 ecj jar requirement for com.sun.tools.javac support.
535 * classpath/tools/Makefile.am: Build decendents of com and sun
537 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
538 * gnu/classpath/Configuration.java,
539 gnu/classpath/natConfiguration.cc (ecj): New method.
540 (ECJ_JAR): New field.
541 * scripts/makemake.tcl (scan_packages): Add com directory.
542 * sources.am (property_files): Add
543 classpath/resource/sun/rmi/rmic/messages.properties and
544 classpath/resource/com/sun/tools/javac/messages.properties.
545 * classpath/resource/com, classpath/resource/com/sun,
546 classpath/resource/com/sun/tools,
547 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
548 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
549 classpath/tools/classes/com, classpath/tools/classes/com/sun,
550 classpath/tools/classes/com/sun/javadoc,
551 classpath/tools/classes/com/sun/tools,
552 classpath/tools/classes/com/sun/tools/doclets,
553 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
554 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
555 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
556 classpath/tools/com/sun/tools,
557 classpath/tools/com/sun/tools/doclets,
558 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
559 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
561 * classpath/resource/com/sun/tools/javac/messages.properties,
562 classpath/resource/sun/rmi/rmic/messages.properties,
563 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
564 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
565 classpath/tools/classes/com/sun/javadoc/Doc.class,
566 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
567 classpath/tools/classes/com/sun/javadoc/Doclet.class,
568 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
569 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
570 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
571 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
572 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
573 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
574 classpath/tools/classes/com/sun/javadoc/Parameter.class,
575 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
576 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
577 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
578 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
579 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
580 classpath/tools/classes/com/sun/javadoc/Tag.class,
581 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
582 classpath/tools/classes/com/sun/javadoc/Type.class,
583 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
584 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
585 classpath/tools/classes/sun/rmi/rmic/Main.class,
586 classpath/tools/classes/sun/rmi/rmic/Messages.class,
587 classpath/tools/com/sun/javadoc/ClassDoc.java,
588 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
589 classpath/tools/com/sun/javadoc/Doc.java,
590 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
591 classpath/tools/com/sun/javadoc/Doclet.java,
592 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
593 classpath/tools/com/sun/javadoc/FieldDoc.java,
594 classpath/tools/com/sun/javadoc/MemberDoc.java,
595 classpath/tools/com/sun/javadoc/MethodDoc.java,
596 classpath/tools/com/sun/javadoc/PackageDoc.java,
597 classpath/tools/com/sun/javadoc/ParamTag.java,
598 classpath/tools/com/sun/javadoc/Parameter.java,
599 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
600 classpath/tools/com/sun/javadoc/RootDoc.java,
601 classpath/tools/com/sun/javadoc/SeeTag.java,
602 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
603 classpath/tools/com/sun/javadoc/SourcePosition.java,
604 classpath/tools/com/sun/javadoc/Tag.java,
605 classpath/tools/com/sun/javadoc/ThrowsTag.java,
606 classpath/tools/com/sun/javadoc/Type.java,
607 classpath/tools/com/sun/javadoc/TypeVariable.java,
608 classpath/tools/com/sun/tools/doclets/Taglet.java,
609 classpath/tools/com/sun/tools/javac/Main.java,
610 classpath/tools/com/sun/tools/javac/Messages.java,
611 classpath/tools/sun/rmi/rmic/Main.java,
612 classpath/tools/sun/rmi/rmic/Messages.java: New files.
613 * Makefile.in, classpath/Makefile.in, classpath/configure,
614 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
615 classpath/examples/Makefile.in, classpath/external/Makefile.in,
616 classpath/external/jsr166/Makefile.in,
617 classpath/external/relaxngDatatype/Makefile.in,
618 classpath/external/sax/Makefile.in,
619 classpath/external/w3c_dom/Makefile.in,
620 classpath/include/Makefile.in, classpath/include/config.h.in,
621 classpath/lib/Makefile.in,
622 classpath/lib/gnu/classpath/Configuration.class,
623 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
624 classpath/native/jawt/Makefile.in,
625 classpath/native/jni/Makefile.in,
626 classpath/native/jni/classpath/Makefile.in,
627 classpath/native/jni/gconf-peer/Makefile.in,
628 classpath/native/jni/gtk-peer/Makefile.in,
629 classpath/native/jni/java-io/Makefile.in,
630 classpath/native/jni/java-lang/Makefile.in,
631 classpath/native/jni/java-net/Makefile.in,
632 classpath/native/jni/java-nio/Makefile.in,
633 classpath/native/jni/java-util/Makefile.in,
634 classpath/native/jni/midi-alsa/Makefile.in,
635 classpath/native/jni/midi-dssi/Makefile.in,
636 classpath/native/jni/native-lib/Makefile.in,
637 classpath/native/jni/qt-peer/Makefile.in,
638 classpath/native/jni/xmlj/Makefile.in,
639 classpath/native/plugin/Makefile.in,
640 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
641 classpath/tools/Makefile.in, configure,
642 gnu/classpath/Configuration.h: Regenerate.
644 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
646 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
649 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
651 * java/lang/natString.cc (getBytes (jstring enc)):
652 Fixed the loop for multiple cycles, Code cleanup
654 2007-03-09 Tom Tromey <tromey@redhat.com>
656 * sources.am, Makefile.in: Rebuilt.
657 * scripts/makemake.tcl (scan_directory): Allow service files to be
659 Omit all XML-related service files.
661 2007-03-07 Tom Tromey <tromey@redhat.com>
663 * configure: Rebuilt.
664 * configure.ac: Clear vm-tools-packages.
666 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
668 * java/lang/Win32Process.java: Added nested class EOFInputStream.
669 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
670 enum and implementation.
671 (startProcess): Use redirect flag.
672 * classpath/lib/java/lang/Win32Process.class: Regenerated.
673 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
674 * gcj/javaprims.h: Regenerated.
675 * java/lang/Win32Process$EOFInputStream.h: New.
677 2007-03-07 Andrew Haley <aph@redhat.com>
679 * libgcj_bc.c (JvRunMainName): Declare.
681 2007-03-07 Gary Benson <gbenson@redhat.com>
683 * sources.am, Makefile.in: Rebuilt.
685 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
687 * gcj/javaprims.h: Regenerated.
689 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
691 * include/jvm.h (_Jv_ClosureListFinalizer): New.
692 (_Jv_Linker::create_error_method): Adjust.
693 * boehm.cc (_Jv_ClosureListFinalizer): New.
694 * nogc.cc (_Jv_ClosureListFinalizer): New.
695 * java/lang/Class.h (class _Jv_ClosureList): New.
696 (class java::lang::Class): Declare it as friend.
697 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
698 (_Jv_ClosureList::registerClousure): New.
699 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
700 (_Jv_CompiledEngine::do_get_closure_list): New.
701 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
702 (_Jv_IndirectCompiledClass): Add closures.
703 (_Jv_IndirectCompiledEngine::get_aux_info): New.
704 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
706 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
707 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
708 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
709 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
710 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
711 (node_closure): Add closure list.
712 (_Jv_InterpMethod::ncode): Add jclass argument. Use
713 ffi_closure_alloc and the separate code pointer. Register the
714 closure for finalization.
715 (_Jv_JNIMethod::ncode): Likewise.
716 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
717 (_Jv_InterpreterEngine::do_get_closure_list): New.
718 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
719 (_Jv_InterpClass): Add closures field.
720 (_Jv_JNIMethod::ncode): Adjust.
721 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
722 (_Jv_ClassReader::handleMethodsEnd): Likewise.
723 * link.cc (struct method_closure): Add closure list.
724 (_Jv_Linker::create_error_method): Add jclass argument. Use
725 ffi_closure_alloc and the separate code pointer. Register the
726 closure for finalization.
727 (_Jv_Linker::link_symbol_table): Remove outdated comment about
728 sharing of otable and atable. Adjust.
729 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
731 (ncode): Add jclass argument. Use ffi_closure_alloc and the
732 separate code pointer. Register the closure for finalization.
733 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
734 * testsuite/libjava.jar/TestClosureGC.java: New.
735 * testsuite/libjava.jar/TestClosureGC.out: New.
736 * testsuite/libjava.jar/TestClosureGC.xfail: New.
737 * testsuite/libjava.jar/TestClosureGC.jar: New.
739 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
741 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
742 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
743 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
744 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
745 (VMMethod::getLineTable): Use new macro.
746 (VMMethod::getVariableTable): Implement.
747 * sources.am: Regenerated.
748 * Makefile.in: Ditto.
750 2007-03-06 Tom Tromey <tromey@redhat.com>
752 * Makefile.in: Rebuilt.
753 * Makefile.am (bin_PROGRAMS): Added gcjh.
754 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
755 gcjh_DEPENDENCIES): New variables.
757 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
759 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
760 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
761 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
763 2007-03-05 Matthias Klose <doko@debian.org>
765 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
766 * Makefile.in: Regnerate.
768 2007-03-05 Mark Wielaard <mark@klomp.org>
770 * java/lang/Character.java: Re-merged with Classpath.
771 * java/lang/natString.cc (nativeCompareTo): Renamed from
773 * java/lang/StringBuilder.java: Re-merged with Classpath.
774 * java/lang/String.java: Re-merged with Classpath.
775 (nativeCompareTo): Renamed from compareTo.
776 * java/lang/StringBuffer.java: Re-merged with Classpath.
777 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
779 2007-03-05 Andrew Haley <aph@redhat.com>
781 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
782 (generateProxyClass): Don't pass method to ncode.
783 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
784 * java/lang/reflect/Method.h: Rebuild.
785 * java/lang/reflect/Method.java (internalGetParameterTypes,
786 internalGetExceptionTypes): New methods.
787 * headers.txt (class java/lang/reflect/Method): Declare
788 _Jv_GetReflectedMethod. Be its friend.
789 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
790 * java/lang/Class.h: Declare it. Be its friend.
792 2007-03-05 Tom Tromey <tromey@redhat.com>
794 * sources.am, Makefile.in: Rebuilt.
795 * scripts/makemake.tcl (emit_package_rule): Don't omit
797 * Makefile.am (nat_source_files): Added natVMProcess.cc.
798 (inner_nat_headers): Added ImmediateEOFInputStream.h.
799 * gcj/javaprims.h: Regenerated.
800 * java/lang/System.java (EnvironmentMap): Now package-private.
801 (EnvironmentMap(Map)): New constructor.
802 (EnvironmentMap.put): New method.
803 * java/lang/natWin32Process.cc (startProcess): Update.
804 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
806 (startProcess): Likewise.
807 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
809 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
810 * java/lang/PosixProcess.java (redirect): New field.
811 (PosixProcess): Added 'redirect' argument.
812 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
813 argument to Process creation.
814 * java/lang/natVMProcess.cc: New file.
815 * java/lang/ProcessBuilder.java: Removed.
816 * java/lang/VMProcess.java: New file.
818 2007-03-03 Andrew Haley <aph@redhat.com>
820 * java/lang/natClass.cc (parseAnnotationElement): Correct long
821 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
823 2007-03-02 Andrew Haley <aph@redhat.com>
825 * sun/reflect/annotation/AnnotationInvocationHandler.java:
826 Generify in a few places.
827 (equals): Rewrite to use invoke on local proxy.
828 (deepToString): Remove most of it.
829 (toString): Make nonstatic.
830 (arrayClone): Delete.
831 (coerce): New method.
832 (invoke): Rewrite to handle gcj's structures correctly.
833 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
835 * sources.am: Regenerate.
836 * Makefile.am: Likewise.
838 2007-03-02 Andrew Haley <aph@redhat.com>
840 * sun/reflect/annotation/AnnotationInvocationHandler.java:
841 Whitespace only changes.
843 2007-03-02 Andrew Haley <aph@redhat.com>
845 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
846 from Classpath to libgcj local.
848 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
850 * Makefile.am: Add dummy install-pdf target.
851 * Makefile.in: Regenerate
852 * include/Makefile.in: Regenerate
853 * testsuite/Makefile.in: Regenerate
854 * gcj/Makefile.in: Regenerate
856 2007-02-23 Gary Benson <gbenson@redhat.com>
858 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
860 2007-02-23 Gary Benson <gbenson@redhat.com>
862 * java/lang/VMCompiler.java
863 (compileClass): Don't lose zeros from within the digest.
865 2007-02-22 Jakub Jelinek <jakub@redhat.com>
869 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
870 /etc/localtime, use ZoneInfo.readTZFile instead of
871 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
872 either if it is a symlink or through /etc/sysconfig/clock.
873 (readSysconfigClockFile): New static method.
874 (readtzFile): Removed.
875 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
876 * posix.cc (_Jv_platform_initProperties): Set
877 gnu.java.util.zoneinfo.dir.
878 * sources.am (gnu_java_util_source_files): Add
879 classpath/gnu/java/util/ZoneInfo.java.
880 * Makefile.in: Regenerated.
881 * java/util/VMTimeZone.h: Regenerated.
882 * java/util/TimeZone.h: Regenerated.
883 * gnu/java/util/ZoneInfo.h: Generated.
885 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
887 * include/win32-threads.h: Added #undef OUT.
889 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
891 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
892 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
893 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
894 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
895 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
896 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
898 2007-02-21 Gary Benson <gbenson@redhat.com>
900 * java/util/GregorianCalendar.java: Removed.
901 * sources.am, Makefile.in: Rebuilt.
903 2007-02-20 Keith Seitz <keiths@redhat.com>
905 * gnu/classpath/jdwp/natVMVirtualMachine.cc
906 (jdwpClassPrepareCB): Move class status stuff to ...
907 (getClassStatus): ... here.
909 2007-02-20 Gary Benson <gbenson@redhat.com>
911 * gnu/awt/xlib/XEventLoop.h: Regenerated.
912 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
913 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
915 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
916 * java/lang/SecurityManager.h: Likewise.
917 * java/lang/Thread.h: Likewise.
918 * java/security/VMSecureRandom$Spinner.h: Likewise.
919 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
920 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
921 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
922 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
923 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
924 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
925 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
926 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
927 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
928 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
929 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
930 * java/util/concurrent/Exchanger.h: Likewise.
931 * java/util/concurrent/Exchanger$Node.h: Likewise.
932 * java/util/concurrent/FutureTask$Sync.h: Likewise.
933 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
934 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
936 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
938 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
939 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
941 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
942 * java/util/concurrent/SynchronousQueue.h: Likewise.
943 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
944 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
946 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
947 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
949 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
950 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
951 * java/util/logging/ErrorManager.h: Likewise.
952 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
953 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
955 2007-02-16 Keith Seitz <keiths@redhat.com>
957 * gnu/classpath/jdwp/natVMVirtualMachine.cc
958 (get_line_table): New function.
959 (handle_single_step): New function.
960 (jdwpSingleStepCB): New function.
961 (jdwpVMInitCB): Define a JVMTI single step
962 callback, but don't enable it until needed.
964 2007-02-16 David Daney <ddaney@avtrex.com>
966 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
967 new parameter constructor.
968 (Thread(ThreadGroup, Runnable, String, long)): Same.
969 (Thread(String, boolean)): New constructor.
970 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
971 noInheritableThreadLocal, don't call
972 InheritableThreadLocal.newChildThread if set.
973 * java/lang/PosixProcess.java(ProcessManager()): Set
974 noInheritableThreadLocal in super.
975 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
976 parameter to Thread constructor.
977 (_Jv_AttachCurrentThreadAsDaemon): Same.
978 * java/lang/Thread.h: Regenerate.
979 * classpath/lib/java/lang/Thread.class: Same.
980 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
981 * classpath/lib/java/lang/PosixProcess.class: Same.
982 * classpath/lib/java/lang/Thread$State.class: Same.
983 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
985 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
987 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
988 variables to maintain type info.
989 * interpret-run.cc: Add local variable info to frame in the debug
991 * jvmti.cc (getLocalFrame): New method.
992 (_Jv_JVMTI_GetLocalObject): New method.
993 (_Jv_JVMTI_GetLocallInt): New method.
994 (_Jv_JVMTI_GetLocalFloat): New method.
995 (_Jv_JVMTI_GetLocalLong): New method.
996 (_Jv_JVMTI_GetLocalDouble): New method.
997 (_Jv_JVMTI_SetLocalObject): New method.
998 (_Jv_JVMTI_SetLocalInt): New method.
999 (_Jv_JVMTI_SetLocalFloat): New method.
1000 (_Jv_JVMTI_SetLocalLong): New method.
1001 (_Jv_JVMTI_SetLocalDouble): New method.
1003 2007-02-16 Gary Benson <gbenson@redhat.com>
1005 * gnu/gcj/tools/gcj_dbtool/Main.java
1006 (bytesToString): Don't lose zeros from within the digest.
1008 2007-02-15 Andrew Haley <aph@redhat.com>
1010 * Makefile.am (nat_source_files): Remove
1011 java/lang/management/natVMManagementFactory.cc.
1012 * java/lang/Thread.java (getStackTrace): Use reflection to call
1013 the ManagementFactory.
1014 * java/lang/management/VMManagementFactory.java: Remove native
1016 * java/lang/management/natVMManagementFactory.cc: Deleted.
1017 * sources.am: Regnerate.
1018 * scripts/makemake.tcl: Add new "bcheaders" type.
1019 Move java/lang/management and gnu/classpath/management to "bc".
1020 Move gnu/java/lang/management to "bcheaders".
1022 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1024 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1025 * interpret-run.cc: Change the catch section to report exception
1026 events and to use the new check_handler method.
1027 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1028 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1029 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1030 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1031 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1033 * sources.am: Added ExceptionEvent.java.
1034 * Makefile.am: Added natExceptionEvent.cc
1035 * Makefile.in: Regenerated.
1036 * include/Makefile.in: Regenerated.
1037 * gcj/Makefile.in: Regenerated.
1039 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1040 David Daney <ddaney@avtrex.com>
1042 * configure.ac: Create vm-tools-packages file. Add
1043 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1044 Check for /proc/self/maps.
1045 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1046 (gc_analyze_SOURCES): New.
1047 (gc_analyze_LDFLAGS): New.
1048 (gc_analyze_LINK): New.
1049 (gc_analyze_LDADD): New.
1050 (gc_analyze_DEPENDENCIES): New.
1051 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1052 * Makefile.in: Regenerated.
1053 * configure: Regenerated.
1054 * include/config.h.in: Regenerated.
1055 * sources.am: Regenerated.
1056 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1057 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1058 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1059 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1060 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1061 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1062 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1063 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1064 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1065 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1066 * gnu/gcj/util/GCInfo.java: New.
1067 * gnu/gcj/util/GCInfo.h: New.
1068 * gnu/gcj/util/natGCInfo.cc: New.
1069 * gnu/gcj/util/UtilPermission.java: New.
1070 * gnu/gcj/util/UtilPermission.h: New.
1071 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1072 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1073 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1074 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1075 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1076 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1077 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1078 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1079 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1080 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1081 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1082 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1083 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1084 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1085 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1086 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1087 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1088 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1089 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1090 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1091 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1092 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1093 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1095 2007-02-15 David Daney <ddaney@avtrex.com>
1097 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1098 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1099 * gnu/classpath/jdwp/VMFrame.h: Same.
1100 * java/net/Socket.h: Same.
1101 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1103 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1105 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1106 Added LocalVariableTable attribute handling.
1107 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1108 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1109 * include/java-interp.h: Added local_var_table and
1110 local_var_table_len fields to _Jv_InterpMethod.
1111 (_Jv_InterpMethod::get_local_var_table): New method.
1112 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1113 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1114 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1116 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1117 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1119 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1121 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1123 2007-02-13 Keith Seitz <keiths@redhat.com>
1125 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1126 (jdwpBreakpointCB): New function.
1127 (jdwpVMInitCB): Define and enable the breakpoint
1130 2007-02-13 Andrew Haley <aph@redhat.com>
1132 * testsuite/libjava.lang/Divide_2.out
1133 * testsuite/libjava.lang/Divide_2.java: New test.
1135 2007-02-12 Keith Seitz <keiths@redhat.com>
1137 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1138 from jthread to Thread *; it is no longer needed.
1139 (_Jv_JVMTI_GetFrameCount): Likewise.
1140 Fix small formatting typo.
1142 2007-02-12 Tom Tromey <tromey@redhat.com>
1144 * sources.am, Makefile.in: Rebuilt.
1145 * java/lang/Socket.java: Removed override.
1146 * java/lang/DatagramSocket.java: Removed override.
1147 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1149 (getLocalAddress): New method.
1150 * gnu/java/net/PlainDatagramSocketImpl.java
1151 (PlainDatagramSocketImpl): Throws IOException.
1152 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1156 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1158 * java/util/VMTimeZone.java: Rewrite to handle both the old
1159 'TZif\0' format and the new one.
1161 2007-02-10 Andrew Haley <aph@redhat.com>
1164 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1165 (getCallingClass): Call GET_CALLING_CLASS.
1166 (getCallingClassLoader): Likewise.
1168 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1170 * configure: Rebuilt.
1171 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1173 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1175 * Makefile.in: Rebuilt.
1176 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1177 the host's ecj1 executable.
1179 2007-02-09 Richard Henderson <rth@redhat.com>
1181 * sysdep/alpha/locks.h (read_barrier): New.
1183 2007-02-09 Keith Seitz <keiths@redhat.com>
1185 * gnu/classpath/jdwp/VMVirtualMachine.java
1186 (_stepping_threads): New member.
1187 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1189 * gnu/classpath/jdwp/VMVirtualMachine.h:
1191 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1192 (get_request_step_filter): New function.
1193 (DISABLE_EVENT): New macro.
1194 (initialize): Initialize _stepping_threads.
1195 (registerEvent): Implement EVENT_SINGLE_STEP.
1196 (unregisterEvent): Likewise.
1198 2007-02-08 Keith Seitz <keiths@redhat.com>
1200 * sources.am: Regenerate.
1201 * Makefile.in: Regenerate.
1202 * testsuite/Makefile.in: Regenerate.
1203 * gcj/Makefile.in: Regenerate.
1204 * include/Makefile.in: Regenerate.
1206 * classpath/lib/javax/management/MBeanServerFactory.class:
1209 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1211 * classpath/gnu/classpath/jdwp/processor/
1212 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1214 (executeSetValues): Ditto.
1215 (executeThisObject): Ditto.
1216 * classpath/gnu/classpath/jdwp/processor/
1217 StackFrameCommandSet.class: Rebuilt.
1218 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1220 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1221 * classpath/lib/gnu/classpath/jdwp/exception/
1222 InvalidFrameException.java: New file.
1223 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1225 (Constructor): New method.
1226 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1227 * gnu/classpath/jdwp/VMVirtualMachine.java
1228 (getFrame): Changed ByteBuffer to jlong.
1229 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1230 (getFrame): Implement.
1231 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1233 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1235 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1236 to hold "this" pointer for frame.
1237 (_Jv_InterpFrame::get_this_ptr): New method.
1238 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1240 2007-02-07 Keith Seitz <keiths@redhat.com>
1242 * include/java-interp.h (_Jv_Frame::depth):
1244 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1246 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1248 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1249 (_Jv_JVMTI_GetMaxLocals): New method.
1250 * include/java-interp.h
1251 (_Jv_InterpMethod::get_max_locals): New method.
1253 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1255 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1257 2007-02-07 Tom Tromey <tromey@redhat.com>
1259 * testsuite/libjava.jni/init.c: New file.
1260 * testsuite/libjava.jni/init.java: New file.
1261 * testsuite/libjava.jni/init.out: New file.
1262 * testsuite/libjava.jni/init.jar: New file.
1263 * testsuite/libjava.jni/init.h: New file.
1264 * testsuite/libjava.jni/init$NativeClass.h: New file.
1266 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1269 * configure: Regenerate.
1271 2007-02-06 Andrew Haley <aph@redhat.com>
1273 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1274 * sources.am: Rebuild.
1276 2007-02-05 Keith Seitz <keiths@redhat.com>
1278 * jvmti.cc (_envListLock): Change type to
1279 ReentrantReadWriteLock.
1280 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1282 (check_enabled_event): Likewise.
1283 (_Jv_GetJVMTIEnv): Likewise.
1284 (_Jv_JVMTI_Init): Likewise.
1285 (_Jv_JVMTI_PostEvent): Likewise.
1287 2007-02-05 Keith Seitz <keiths@redhat.com>
1289 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1290 (registerEvent): Implement EVENT_BREAKPOINT.
1291 (unregisterEvent): Likewise.
1292 (get_request_location): New function.
1294 2007-02-05 Matthias Klose <doko@debian.org>
1296 testsuite/Makefile.am (compile-tests): Fix typo.
1297 testsuite/Makefile.in: Regenerate.
1299 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1301 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1304 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1306 * configure.ac (libjava_cv_anon_version_script): New test.
1307 (ANONVERSCRIPT): New AM_CONDITIONAL.
1308 * configure: Rebuilt.
1309 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1311 * Makefile.in: Rebuilt.
1312 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1313 * libgcj.ver: New file.
1315 2007-02-01 David Daney <ddaney@avtrex.com>
1317 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1319 * sources.am: Regenerate.
1320 * Makefile.in: Regenerate.
1322 2007-02-01 Tom Tromey <tromey@redhat.com>
1324 * java/lang/ClassLoader.java (getResources): No longer final.
1326 2007-02-01 Tom Tromey <tromey@redhat.com>
1328 * java/util/logging/LogManager.java (loggers): Genericized.
1329 (addLogger): Merged.
1330 (findAncestor): Likewise.
1331 (getLogger): Likewise.
1332 (getLoggerNames): Genericized.
1334 (getLevelProperty): Likewise.
1335 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1336 * java/lang/reflect/Constructor.java (getParameterTypes):
1338 (getExceptionTypes): Likewise.
1339 (newInstance): Likewise.
1340 * java/lang/reflect/Array.java (newInstance): Genericized.
1341 * java/lang/Object.java (getClass): Genericized.
1342 * java/nio/charset/spi/CharsetProvider.java (charsets):
1344 * java/text/Collator.java: Implement Comparable<Object>.
1346 2007-02-01 Tom Tromey <tromey@redhat.com>
1348 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1350 (clear): Call complete.
1351 (setTimeZone): Call computeTime, computeFields.
1352 (compareTo): New method.
1353 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1354 (availableCharsets): Genericized.
1355 (aliases): Likewise.
1356 (compareTo): Changed argument type.
1357 * java/lang/ClassLoader.java (loadClass): Genericized.
1358 (findClass): Likewise.
1359 (defineClass): Likewise.
1360 (resolveClass): Likewise.
1361 (findSystemClass): Likewise.
1362 (setSigners): Likewise.
1363 (findLoadedClass): Likewise.
1364 (getResources): Likewise.
1365 (findResources): Likewise.
1366 (getSystemResources): Likewise.
1367 (checkInitialized): New method.
1368 * java/lang/Class.java (getCanonicalName): New method.
1370 2007-01-31 Keith Seitz <keiths@redhat.com>
1372 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1373 * jvmti.cc (JVMTI): Add member "enabled".
1374 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1375 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1376 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1377 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1378 instead of run to compile the method.
1380 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1383 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1385 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1386 -shared-libgcc to the cxxflaglist for Darwin.
1388 2007-01-31 Tom Tromey <tromey@redhat.com>
1390 * scripts.am, Makefile.in: Rebuilt.
1391 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1393 (emit_ordinary_rule): New proc.
1395 2007-01-31 Keith Seitz <keiths@redhat.com>
1397 * testsuite/libjava.jvmti/getmethodname.h: New file.
1398 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1400 2007-01-31 Andrew Haley <aph@redhat.com>
1402 * prims.cc (_Jv_Abort): fflush (stderr).
1403 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1405 2007-01-31 Tom Tromey <tromey@redhat.com>
1407 * configure, Makefile.in: Rebuilt.
1408 * configure.ac (JAR): Check for -@ feature.
1409 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1411 2007-01-31 Tom Tromey <tromey@redhat.com>
1414 * configure, include/config.h.in: Rebuilt.
1415 * configure.ac: Check for magic_t in magic.h.
1416 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1418 2007-01-30 Tom Tromey <tromey@redhat.com>
1420 * Makefile.in: Rebuilt.
1421 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1423 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1425 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1426 cast to print it right.
1428 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1431 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1434 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1436 * include/java-interp.h: Added _Jv_Frame class and its two
1437 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1438 _Jv_FrameType from java-stack.h.
1439 * include/java-stack.h: Removed _Jv_FrameType.
1440 * java/lang/Thread.java: Added frame member to hold new
1441 composite frame stack.
1442 * java/lang/Thread.h: Regenerated.
1443 * java/lang/Thread.class: Rebuilt.
1444 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1445 calling a JNI method.
1446 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1447 (_Jv_JVMTI_GetFrameCount): New method.
1448 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1450 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1451 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1452 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1453 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1454 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1457 2007-01-29 Tom Tromey <tromey@redhat.com>
1459 * interpret.cc (run_debug): Remove comment.
1466 (run_normal_debug): Likewise.
1467 (run_synch_object_debug): Likewise.
1468 (run_class_debug): Likewise.
1469 (run_synch_class_debug): Likewise.
1474 (NULLARRAYCHECK): Likewise.
1475 (ARRAYBOUNDSCHECK): Likewise.
1476 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1478 2007-01-29 Tom Tromey <tromey@redhat.com>
1480 * configure, Makefile.in: Rebuilt.
1481 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1482 * configure.ac (BASH_JAR): Removed conditional.
1483 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1485 2007-01-29 Tom Tromey <tromey@redhat.com>
1487 * Makefile.in: Rebuilt.
1488 * Makefile.am (interpret.lo): New target. Add -fwrap to
1491 2007-01-29 Keith Seitz <keiths@redhat.com>
1493 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1495 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1496 gcj. All jvmti object types now are defined to be their
1497 corresponding java classes.
1498 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1500 (_Jv_JVMTI_ResumeThread): Likewise.
1501 (_Jv_JVMTI_InterruptThread): Likewise.
1502 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1503 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1504 (jdwpClassPrepareCB): Likewise.
1505 (jdwpThreadEndCB): Likewise.
1506 (jdwpThreadStartCB): Likewise.
1507 (jdwpVMInitCB): Likewise.
1509 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1511 * gnu/java/nio/channels/natFileChannelWin32.cc
1512 (lock): Implemented.
1513 (unlock): Implemented.
1515 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1518 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1519 libgcj_flags to undefine 'sun' at compile time.
1520 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1522 (write_barrier): Likewise.
1524 2007-01-27 Keith Seitz <keiths@redhat.com>
1526 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1527 (getAllClassMethods): Move error handling to ...
1528 (throw_jvmti_error): ... here.
1529 (jdwpClassPrepareCB): New function.
1530 (jdwpThreadEndCB): New function.
1531 (jdwpThreadStartCB): New function.
1532 (jdwpVMDeathCB): New function.
1533 (jdwpVMInitCB): Define and enable callbacks for
1534 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1536 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1538 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1539 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1540 (MYGCJH): New variable.
1541 (compile-tests): New goal.
1542 * Makefile.in: Rebuilt.
1543 * testsuite/Makefile.in: Rebuilt.
1545 2007-01-26 Andrew Haley <aph@redhat.com>
1547 * java/lang/natClass.cc (initializeClass): Re-throw
1549 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1550 * java/lang/ClassLoader.java: (loadClass): Likewise.
1552 2007-01-26 Tom Tromey <tromey@redhat.com>
1556 2007-01-25 Tom Tromey <tromey@redhat.com>
1559 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1560 input or output encodings. Removed unused local variables.
1562 2007-01-25 Keith Seitz <keiths@redhat.com>
1564 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1565 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1566 (_Jv_GetJDWP_JVMTIEnv): New function.
1567 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1568 (getSignature): Implement.
1569 (getModifiers): Implement.
1571 2007-01-25 Andrew Haley <aph@redhat.com>
1573 * configure, Makefile.in, include/config.h.in: Rebuilt.
1574 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1575 * configure.ac: Don't check for libmagic.
1576 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1577 p_magic_close, p_magic_buffer): New globals.
1578 (init): Look up 'magic' functions.
1579 (guessContentTypeFromBuffer): Updated.
1581 2007-01-25 Keith Seitz <keiths@redhat.com>
1583 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1584 (_Jv_JVMTI_Interface): Define GetMethodName.
1585 * testsuite/libjava.jvmti/getmethodname.java: New file.
1586 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1587 * testsuite/libjava.jvmti/getmethodname.out: New file.
1589 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1591 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1592 * libjava/testsuite/libjava.jvmti/interp: New folder.
1593 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1595 2007-01-24 Keith Seitz <keiths@redhat.com>
1597 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1598 CLASS_PREPARE notification.
1600 2007-01-24 Keith Seitz <keiths@redhat.com>
1602 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1603 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1604 * interpret-run.cc: Implement insn_breakpoint.
1606 2007-01-24 Keith Seitz <keiths@redhat.com>
1608 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1609 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1611 2007-01-24 Keith Seitz <keiths@redhat.com>
1613 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1614 (getAllClassMethods): Implement.
1616 2007-01-24 Andrew Haley <aph@redhat.com>
1618 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1619 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1620 from being sibcalled.
1622 2007-01-24 Andrew Haley <aph@redhat.com>
1624 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1625 * sources.am: Rebuild.
1627 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1629 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1630 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1632 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1635 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1636 * Makefile.in: Regenerated.
1638 2007-01-22 Keith Seitz <keiths@redhat.com>
1640 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1641 (getClassMethod): Implement.
1643 2007-01-22 Keith Seitz <keiths@redhat.com>
1645 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1646 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1647 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1648 (_Jv_JVMTI_Interface): Define GetClassStatus.
1650 2007-01-22 Tom Tromey <tromey@redhat.com>
1652 * configure: Rebuilt.
1653 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1655 2007-01-22 Tom Tromey <tromey@redhat.com>
1658 * testsuite/libjava.jni/pr29812.java: New file.
1659 * testsuite/libjava.jni/pr29812_injar.java: New file.
1660 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1661 * testsuite/libjava.jni/pr29812.out: New file.
1662 * testsuite/libjava.jni/pr29812_injar.c: New file.
1663 * testsuite/libjava.jni/pr29812_injar.h: New file.
1664 * testsuite/libjava.jni/pr29812.jar: New file.
1665 * testsuite/libjava.jni/pr29812.c: New file.
1666 * testsuite/libjava.jni/pr29812.h: New file.
1667 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1669 (gcj_jni_invocation_test_one): Use it.
1670 (gcj_jni_pr29812): New proc.
1671 (gcj_jni_run): Use it.
1672 * java/lang/natRuntime.cc (_load): Push a new system frame before
1674 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1675 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1676 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1677 <allocated_p>: Now bool.
1678 <loader>: New field.
1679 (_Jv_JNI_EnsureLocalCapacity): Updated.
1680 (_Jv_JNI_NewLocalRef): Likewise.
1681 (_Jv_JNI_NewLocalRef): Likewise.
1682 (_Jv_JNI_PopLocalFrame): Likewise.
1683 (_Jv_JNI_FindClass): Likewise.
1684 (_Jv_GetJNIEnvNewFrame): Likewise.
1685 (_Jv_JNI_AttachCurrentThread): Likewise.
1686 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1687 (_Jv_GetJNIEnvNewFrame): Use it.
1688 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1690 2007-01-22 Tom Tromey <tromey@redhat.com>
1692 * libtool-version: Bump current to 9.
1694 2007-01-22 Andrew Haley <aph@redhat.com>
1696 * sysdep/alpha/locks.h (write_barrier): New.
1698 2007-01-21 Matthias Klose <doko@debian.org>
1700 * Makefile.am (install-exec-hook): Use transformed name.
1701 * Makefile.in: Regenerate.
1703 2007-01-19 Keith Seitz <keiths@redhat.com>
1705 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1706 in methods and reformat.
1708 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1711 2007-01-18 Keith Seitz <keiths@redhat.com>
1713 From Macro Trudel <mtrudel@gmx.ch>:
1714 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1717 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1719 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1720 * testsuite/libjava.jni/findclass2.jar: New file.
1721 * testsuite/libjava.jni/findclass2.h: New file.
1722 * testsuite/libjava.jni/findclass2.java: New file
1723 * testsuite/libjava.jni/findclass2.c: New file.
1724 * testsuite/libjava.jni/findclass2.out: New file.
1726 2007-01-18 Tom Tromey <tromey@redhat.com>
1728 * configure: Rebuilt.
1729 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1731 2007-01-18 Gary Benson <gbenson@redhat.com>
1733 * gnu/java/nio/natVMPipeEcos.cc:
1734 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1735 * gnu/java/nio/natVMPipePosix.cc:
1736 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1737 * gnu/java/nio/natVMPipeWin32.cc:
1738 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1739 * gnu/java/nio/natVMSelectorEcos.cc:
1740 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1741 * gnu/java/nio/natVMSelectorPosix.cc:
1742 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1743 * gnu/java/nio/natVMSelectorWin32.cc:
1744 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1745 * java/io/natVMObjectInputStream.cc:
1746 Renamed from java/io/natObjectInputStream.cc.
1747 * java/lang/natVMDouble.cc:
1748 Renamed from java/lang/natDouble.cc.
1749 * java/lang/natVMFloat.cc:
1750 Renamed from java/lang/natFloat.cc.
1751 * Makefile.am, configure.ac: Reflect the above.
1752 * Makefile.in, configure: Rebuilt.
1754 2007-01-17 Andrew Haley <aph@redhat.com>
1756 * Makefile.in: Rebuilt.
1757 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1759 2007-01-17 Keith Seitz <keiths@redhat.com>
1761 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1762 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1764 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1766 * configure.ac: Use multi.m4 from aclocal rather than custom
1767 code. Use multi_basedir instead libgcj_basedir. Test for
1768 /proc/self/exe when not cross-compiling.
1769 * aclocal.m4: Regenerate.
1770 * configure: Regenerate.
1771 * Makefile.in: Regenerate.
1773 2007-01-17 Gary Benson <gbenson@redhat.com>
1775 * java/nio/natVMDirectByteBufferImpl.cc:
1776 Renamed from java/nio/natDirectByteBufferImpl.cc.
1777 * Makefile.am: Reflect the above.
1778 * Makefile.in: Rebuilt.
1780 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1782 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1783 Fixed indentation. Removed unused variable.
1785 2007-01-16 Tom Tromey <tromey@redhat.com>
1787 * java/lang/natThread.cc (finalize_native): Remove cast.
1788 (_Jv_GetCurrentJNIEnv): Likewise.
1789 * include/jvm.h (struct natThread) <jni_env>: Declare as
1792 2007-01-16 Keith Seitz <keiths@redhat.com>
1794 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1795 %#llx instead of %d for new_value.
1796 * testsuite/libjava.jvmti/events.out: Update expected output.
1797 * testsuite/libjava.jvmti/events.jar: Regenerate.
1799 2007-01-16 Keith Seitz <keiths@redhat.com>
1801 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1803 (ENABLE_EVENT): New macro.
1804 (initialize): Define and enable JVMTI VM_INIT callback.
1805 (jdwpVMInitCB): New function.
1807 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1809 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1810 * testsuite/libjava.jvmti/getallthreads.java: New test.
1811 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1812 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1813 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1814 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1816 2007-01-15 Keith Seitz <keiths@redhat.com>
1818 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1819 java.lang.StringBuilder instead of java.lang.StringBuffer.
1820 (resumeThread): Likewise.
1822 2007-01-15 Gary Benson <gbenson@redhat.com>
1824 * java/nio/MappedByteBuffer.java: Removed.
1825 * sources.am, Makefile.in: Rebuilt.
1827 2007-01-15 Gary Benson <gbenson@redhat.com>
1829 * java/net/URLClassLoader.java: Removed.
1830 * gnu/java/net/loader/Load_gcjlib.java: New file.
1831 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1832 URL handler is present in static executables.
1833 * sources.am, Makefile.in: Rebuilt.
1835 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1837 * Makefile.am (libgcj_la_LDFLAGS): Add
1838 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1839 (libgcj_tools_la_LDFLAGS): Likewise.
1840 (libgcj_bc_la_LDFLAGS): Likewise.
1841 * Makefile.in: Regenerated.
1843 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1844 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1845 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1846 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1847 * configure: Regenerated.
1848 * aclocal.m4: Likewise.
1849 * gcj/Makefile.in: Likewise.
1850 * include/Makefile.in: Likewise.
1851 * testsuite/Makefile.in: Likewise.
1853 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1855 * sysdep/sh/locks.h (read_barrier): New.
1856 (write_barrier): Likewise.
1858 2007-01-12 Andrew Haley <aph@redhat.com>
1860 * include/i386-signal.h: Rewrite to use rt_sigaction.
1862 2007-01-11 Andrew Haley <aph@redhat.com>
1864 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1866 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1869 2007-01-10 Tom Tromey <tromey@redhat.com>
1871 * gnu/gcj/xlib/*.h: New files.
1872 * gnu/awt/xlib/*.h: Likewise.
1873 * classpath/lib/gnu/gcj/xlib: New class files.
1874 * classpath/lib/gnu/awt/xlib: Likewise.
1876 2007-01-10 Tom Tromey <tromey@redhat.com>
1878 * HACKING: Various updates.
1880 2007-01-10 Tom Tromey <tromey@redhat.com>
1882 * java/lang/natDouble.cc (toString): Added parens.
1883 * gnu/gcj/io/shs.h (PROTO): Define.
1884 * link.cc (resolve_pool_entry): Added missing braces.
1886 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1889 * sysdep/ia64/locks.h (read_barrier): New.
1890 (write_barrier): New.
1892 2007-01-10 Gary Benson <gbenson@redhat.com>
1894 * java/net/URL.java: Removed.
1895 * sources.am, Makefile.in: Rebuilt.
1897 2007-01-10 Matthias Klose <doko@debian.org>
1899 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1900 * Makefile.in: Regenerated.
1902 2007-01-05 Tom Tromey <tromey@redhat.com>
1904 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1905 dummy.class in srcdir.
1907 2007-01-03 Tom Tromey <tromey@redhat.com>
1909 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1912 2007-01-03 Tom Tromey <tromey@redhat.com>
1914 * testsuite/*: Added many .jar and .h files.
1915 * testsuite/libjava.special/special.exp
1916 (gcj_special_try_compiler): New proc.
1917 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1918 bytecompile source. Search for .jar files.
1919 (gcj_loader_test_one): Don't look for MyLoader.java.
1920 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1921 bytecompile sources or build headers.
1922 (gcj_jvmti_run): Look for .jar files.
1923 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1925 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1926 Set classpath when invoking gij.
1927 (gcj_jni_invocation_test_one): Likewise.
1928 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1929 headers or bytecompile sources.
1930 (gcj_cni_run): Use .jar files, not .java files.
1931 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1933 2007-01-02 Tom Tromey <tromey@redhat.com>
1935 * configure: Rebuilt.
1936 * configure.ac: Check for gjar.
1938 2007-01-02 Tom Tromey <tromey@redhat.com>
1940 * testsuite/libjava.jacks/jacks.exp: Removed.
1941 * testsuite/libjava.jacks/jacks.xfail: Removed.