1 2007-05-07 Ian Lance Taylor <iant@google.com>
4 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
7 2007-05-07 Keith Seitz <keiths@redhat.com>
9 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
10 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
11 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
13 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
15 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
16 * gnu/classpath/jdwp/event/Event.h: Regenerate.
17 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
19 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
21 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
24 2007-05-03 Keith Seitz <keiths@redhat.com>
26 * interpret.cc: Don't include ExceptionEvent.h.
27 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
28 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
29 * Makefile.in: Regenerated.
31 2007-05-03 Keith Seitz <keiths@redhat.com>
33 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
35 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
36 (find_catch_location): New function.
37 (REPORT_EXCEPTION): New macro.
38 (throw_internal_error): Use REPORT_EXCEPTION.
39 (throw_incompatible_class_change_error): Likewise.
40 (throw_null_pointer_exception): Likewise.
41 (throw_class_format_error): Likewise.
42 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
44 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
45 (insn_new): Use INTERP_REPORT_EXCEPTION.
46 (insn_athrow): Likewise.
47 Remove previous JVMTI exception notifications.
48 Add JVMTI ExceptionCatch notificatin.
49 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
51 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
52 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
53 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
54 * gnu/classpath/jdwp/natVMVirtualMachine.cc
55 (jdwpExceptionCB): New function.
56 (jdwpVMInitCB): Set Exception event handler and enable.
57 * sources.am: Regenerated.
58 * Makefile.in: Regenerated.
60 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
62 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
63 * Makefile.in: Regenerate.
64 * scripts/makemake.tcl (scan_directory): Treat default.css as a
66 * classpath/javax/swing/text/html/default.css: Move to...
67 * classpath/resource/javax/swing/text/html/default.css: New file.
68 * classpath/javax/swing/text/html/HTMLEditorKit.java
69 (getStyleSheet): Throw RuntimeException when style loading fails.
70 * sources.am (property_files): Add
71 classpath/resource/javax/swing/text/html/default.css.
73 2007-05-02 Tom Tromey <tromey@redhat.com>
75 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
76 * java/lang/natCharacter.cc (Character::getType): Handle negative
78 (Character::toLowerCase): Likewise.
79 (Character::toUpperCase): Likewise.
80 (Character::digit): Likewise.
81 (Character::getNumericValue): Likewise.
82 (Character::getDirectionality): Likewise.
83 (Character::toTitleCase): Likewise.
85 2007-04-30 Keith Seitz <keiths@redhat.com>
87 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
88 executing the instruction.
89 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
90 one insn from the frame's PC. _Jv_InterpMethod::run et al
91 will advance the PC before executing the instruction.
93 2007-04-27 Keith Seitz <keiths@redhat.com>
95 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
96 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
98 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
100 2007-04-27 Keith Seitz <keiths@redhat.com>
102 * classpath/lib/gnu/classpath/jdwp/event/filters/
103 LocationOnlyFilter.class: Regenerated;
104 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
106 * gnu/classpath/jdwp/VMMethod.java
107 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
109 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
110 * gnu/classpath/jdwp/util/Location.h: Regenerated.
112 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
114 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
115 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
117 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
119 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
121 (get): Deal with ObjectId of 0.
123 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
126 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
128 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
130 * gnu/classpath/jdwp/natVMVirtualMachine.java
131 (getThreadStatus): Implement.
133 2007-04-24 Keith Seitz <keiths@redhat.com>
135 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
136 Add _Jv_RewriteBreakpointInsn friend declaration.
137 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
138 [DIRECT_THREADED]: New function.
139 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
140 * interpret-run.cc: Define new REWRITE_INSN macro.
141 Changed all occurrences of insn rewriting to call REWRITE_INSN.
143 2007-04-23 Keith Seitz <keiths@redhat.com>
145 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
146 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
147 * boehm.cc (_Jv_IsThreadSuspended): New function.
148 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
149 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
150 (_Jv_JVMTI_Interface): Define GetThreadState.
152 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
154 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
156 (<init>): Add a pointer to the interpreter PC as a parameter with
158 (get_pc): New method.
159 * interpret-run.cc: If debugging, pass a pointer to the PC when
160 creating the stack frame.
161 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
164 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
166 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
167 for null source file and throw an exception indicating this.
169 2007-04-20 Keith Seitz <keiths@redhat.com>
171 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
172 Install the new breakpoint into the bytecode.
173 (deleteBreakpoint): Remove the breakpoint from the bytecode.
174 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
176 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
177 Don't install the breakpoint here.
179 2007-04-19 Keith Seitz <keiths@redhat.com>
181 * interpret-run.cc [insn_breakpoint]: Save the original
182 insn for the breakpoint before posting the JVMTI notification.
184 2007-04-19 Tom Tromey <tromey@redhat.com>
186 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
188 2007-04-18 Tom Tromey <tromey@redhat.com>
190 * Regenerated headers with new gjavah.
192 2007-04-18 Andrew Haley <aph@redhat.com>
194 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
196 (generateProxyClass): Add field $Proxy0.m. Store methods array in
198 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
199 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
200 * java/lang/natClass.cc: Likewise.
201 * headers.txt: Likewise.
202 * java/lang/reflect/Method.h: Likewise.
204 2007-04-16 Andrew Haley <aph@redhat.com>
206 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
208 (bootGetResource): Use getBootURLLoader() to load resources.
209 (bootGetResources): Likewise.
211 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
212 check that the method's declaring class is accessible.
214 2007-04-10 Keith Seitz <keiths@redhat.com>
216 * sources.am: Regenerate.
217 * Makefile.in: Likewise.
219 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
221 * interpret-run.cc: If debugging, check if args is NULL before
222 getting the "this" pointer.
224 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
226 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
227 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
228 * gnu/classpath/jdwp/ArrayValue.h: New file.
229 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
232 2007-04-09 David Daney <ddaney@avtrex.com>
235 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
236 environment before the fork.
237 * testsuite/libjava.lang/Process_7.java: New test.
238 * testsuite/libjava.lang/Process_7.out: Its expected results.
239 * testsuite/libjava.lang/Process_7.jar: Generated file.
241 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
243 * prims.cc (load_jvmti_agent): Add the missing `,'.
245 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
247 * gij.cc (main): Accept -agentlib and -agentpath options.
248 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
249 (load_jvmti_agent): New function.
251 2007-04-04 Tania Bento <tbento@redhat.com>
253 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
254 Copyright information and introduced new variable, currency.
255 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
256 to "XXX", currencySymbol to "?" and localCurrency appropriately.
257 (getCurrency): Fixed documentation and return the value of currency.
258 (setCurrency): Fixed documentation and update the value of currency.
259 (setInternationalCurrencySymbol): Fixed documentation and update the
261 * java/util/Currency.java: Introduced two new variables, properties
262 and fractionDigits. In the static block, a properties object is
263 created and the currency resource is loaded.
264 (Currency(Locale)): fractionDigits is defined.
265 (Currency(String)): New method.
266 (getDefaultFractionDigits): Return the value of fractionDigits.
267 (getInstance(String)): Check if String is equal to "XXX".
269 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
271 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
272 to ints for argCnt and slots.
273 (write): Replace writeLong with writeInt for the above.
275 2007-04-03 Andrew Haley <aph@redhat.com>
277 * testsuite/libjava.lang/ProxyTest.java: New test.
279 2007-04-02 Tom Tromey <tromey@redhat.com>
281 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
282 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
283 file, when writing, if it is too short.
285 2007-04-02 Tom Tromey <tromey@redhat.com>
287 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
288 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
290 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
291 where localport is -1.
292 (create): Now public.
293 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
294 'create' on the socket.
296 2007-04-02 Andrew Haley <aph@redhat.com>
298 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
299 _Jv_LookupProxyMethod to find the Method.
300 If parameter_types->length == 0, pass a null paramameter list,
301 not a zero-length parameter list.
302 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
303 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
305 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
307 * interpret-run.cc: Add code to properly set up variable slots
309 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
310 (getObjectJVMTI): New function.
311 (setObjectJVMTI): New function.
312 (getIntJVMTI): New function.
313 (setIntJVMTI): New function.
314 (getLongJVMTI): New function.
315 (setLongJVMTI): New function.
316 (getFloatJVMTI): New function.
317 (setFloatJVMTI): New function.
318 (getDoubleJVMTI): New function.
319 (setDoubleJVMTI): New function.
320 (getFrameDepth): New function.
321 (getValue): Implement.
322 (setValue): Implement.
324 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
326 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
327 (executeResume): Call VMVirtualMachine.resumeThread.
329 2007-03-29 Tom Tromey <tromey@redhat.com>
332 * java/util/logging/LogManager.java (readConfiguration): Handle
333 comma-separated 'handlers'. Don't try to add a non-existing
336 2007-03-27 Tom Tromey <tromey@redhat.com>
338 * sources.am, Makefile.in: Rebuilt.
339 * scripts/mime.types: Removed.
340 * scripts/MakeDefaultMimeTypes.java: Removed.
341 * gnu/gcj/io/MimeTypes.java: Removed.
342 * gnu/gcj/io/MimeTypes.h: Removed.
343 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
344 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
346 2007-03-27 Keith Seitz <keiths@redhat.com>
348 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
350 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
351 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
352 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
353 (initialize): Fix compiler type-punning warning.
354 (getAllLoadedClasses): Return empty list instead of NULL.
355 (getLoadRequests): Likewise.
356 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
357 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
358 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
359 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
360 * gnu/classpath/jdwp/value/CharValue.h: New file.
361 * gnu/classpath/jdwp/value/LongValue.h: New file.
362 * gnu/classpath/jdwp/value/ShortValue.h: New file.
363 * gnu/classpath/jdwp/value/Value.h: New file.
364 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
365 * gnu/classpath/jdwp/value/VoidValue.h: New file.
366 * gnu/classpath/jdwp/value/ByteValue.h: New file.
367 * gnu/classpath/jdwp/value/FloatValue.h: New file.
368 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
369 * gnu/classpath/jdwp/value/StringValue.h: New file.
370 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
371 * gnu/classpath/jdwp/value/IntValue.h: New file.
372 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
373 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
374 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
375 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
376 * gnu/classpath/jdwp/util/NullObject.h: New file.
377 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
378 * Makefile.in: Rebuilt.
379 * sources.am: Rebuilt.
381 2006-03-26 David Daney <ddaney@avtrex.com>
383 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
384 fork, execvp, execinfo.h, pthread_mutexattr_settype,
385 pthread_mutexattr_setkind_np and sys/wait.h.
386 * Makefile.in: Regenerate.
387 * include/Makefile.in: Regenerate.
388 * include/config.h.in: Regenerate.
389 * testsuite/Makefile.in: Regenerate.
390 * configure: Regenerate.
391 * gcj/Makefile.in: Regenerate.
393 2007-03-23 Gary Benson <gbenson@redhat.com>
395 * link.cc (_Jv_Linker::resolve_method_entry):
396 Ensure that the argument types and the return type of the
397 found method match those expected by the calling method.
399 2007-03-22 David Daney <ddaney@avtrex.com>
402 * configure.ac: Add checks for getrlimit and sys/resource.h.
403 * include/posix.h (_Jv_platform_close_on_exec): Remove.
404 * include/config.h.in: Regenerate.
405 * configure: Regenerate.
406 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
407 _Jv_platform_close_on_exec;
408 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
410 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
411 * java/lang/natPosixProcess.cc: Include sys/resource.h.
412 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
415 2007-03-20 Andrew Haley <aph@redhat.com>
417 * testsuite/libjava.lang/PR31264.java: New test.
419 2007-03-14 Jakub Jelinek <jakub@redhat.com>
421 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
422 * Makefile.in: Rebuilt.
424 2007-03-13 Keith Seitz <keiths@redhat.com>
426 * include/java-interp.h (_Jv_InterpClass): Declare
427 friend function _Jv_GetInterpClassSourceFile.
428 * java/lang/Class.h (Class): Likewise.
429 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
431 * gnu/classpath/jdwp/natVMVirtualMachine.cc
432 (getSourceFile): Implement.
434 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
436 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
437 * classpath/configure.ac: Add --with-ecj-jar configure option.
438 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
440 * classpath/INSTALL: Document --with-ecj-jar configure option and
441 ecj jar requirement for com.sun.tools.javac support.
442 * classpath/tools/Makefile.am: Build decendents of com and sun
444 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
445 * gnu/classpath/Configuration.java,
446 gnu/classpath/natConfiguration.cc (ecj): New method.
447 (ECJ_JAR): New field.
448 * scripts/makemake.tcl (scan_packages): Add com directory.
449 * sources.am (property_files): Add
450 classpath/resource/sun/rmi/rmic/messages.properties and
451 classpath/resource/com/sun/tools/javac/messages.properties.
452 * classpath/resource/com, classpath/resource/com/sun,
453 classpath/resource/com/sun/tools,
454 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
455 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
456 classpath/tools/classes/com, classpath/tools/classes/com/sun,
457 classpath/tools/classes/com/sun/javadoc,
458 classpath/tools/classes/com/sun/tools,
459 classpath/tools/classes/com/sun/tools/doclets,
460 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
461 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
462 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
463 classpath/tools/com/sun/tools,
464 classpath/tools/com/sun/tools/doclets,
465 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
466 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
468 * classpath/resource/com/sun/tools/javac/messages.properties,
469 classpath/resource/sun/rmi/rmic/messages.properties,
470 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
471 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
472 classpath/tools/classes/com/sun/javadoc/Doc.class,
473 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
474 classpath/tools/classes/com/sun/javadoc/Doclet.class,
475 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
476 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
477 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
478 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
479 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
480 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
481 classpath/tools/classes/com/sun/javadoc/Parameter.class,
482 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
483 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
484 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
485 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
486 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
487 classpath/tools/classes/com/sun/javadoc/Tag.class,
488 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
489 classpath/tools/classes/com/sun/javadoc/Type.class,
490 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
491 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
492 classpath/tools/classes/sun/rmi/rmic/Main.class,
493 classpath/tools/classes/sun/rmi/rmic/Messages.class,
494 classpath/tools/com/sun/javadoc/ClassDoc.java,
495 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
496 classpath/tools/com/sun/javadoc/Doc.java,
497 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
498 classpath/tools/com/sun/javadoc/Doclet.java,
499 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
500 classpath/tools/com/sun/javadoc/FieldDoc.java,
501 classpath/tools/com/sun/javadoc/MemberDoc.java,
502 classpath/tools/com/sun/javadoc/MethodDoc.java,
503 classpath/tools/com/sun/javadoc/PackageDoc.java,
504 classpath/tools/com/sun/javadoc/ParamTag.java,
505 classpath/tools/com/sun/javadoc/Parameter.java,
506 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
507 classpath/tools/com/sun/javadoc/RootDoc.java,
508 classpath/tools/com/sun/javadoc/SeeTag.java,
509 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
510 classpath/tools/com/sun/javadoc/SourcePosition.java,
511 classpath/tools/com/sun/javadoc/Tag.java,
512 classpath/tools/com/sun/javadoc/ThrowsTag.java,
513 classpath/tools/com/sun/javadoc/Type.java,
514 classpath/tools/com/sun/javadoc/TypeVariable.java,
515 classpath/tools/com/sun/tools/doclets/Taglet.java,
516 classpath/tools/com/sun/tools/javac/Main.java,
517 classpath/tools/com/sun/tools/javac/Messages.java,
518 classpath/tools/sun/rmi/rmic/Main.java,
519 classpath/tools/sun/rmi/rmic/Messages.java: New files.
520 * Makefile.in, classpath/Makefile.in, classpath/configure,
521 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
522 classpath/examples/Makefile.in, classpath/external/Makefile.in,
523 classpath/external/jsr166/Makefile.in,
524 classpath/external/relaxngDatatype/Makefile.in,
525 classpath/external/sax/Makefile.in,
526 classpath/external/w3c_dom/Makefile.in,
527 classpath/include/Makefile.in, classpath/include/config.h.in,
528 classpath/lib/Makefile.in,
529 classpath/lib/gnu/classpath/Configuration.class,
530 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
531 classpath/native/jawt/Makefile.in,
532 classpath/native/jni/Makefile.in,
533 classpath/native/jni/classpath/Makefile.in,
534 classpath/native/jni/gconf-peer/Makefile.in,
535 classpath/native/jni/gtk-peer/Makefile.in,
536 classpath/native/jni/java-io/Makefile.in,
537 classpath/native/jni/java-lang/Makefile.in,
538 classpath/native/jni/java-net/Makefile.in,
539 classpath/native/jni/java-nio/Makefile.in,
540 classpath/native/jni/java-util/Makefile.in,
541 classpath/native/jni/midi-alsa/Makefile.in,
542 classpath/native/jni/midi-dssi/Makefile.in,
543 classpath/native/jni/native-lib/Makefile.in,
544 classpath/native/jni/qt-peer/Makefile.in,
545 classpath/native/jni/xmlj/Makefile.in,
546 classpath/native/plugin/Makefile.in,
547 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
548 classpath/tools/Makefile.in, configure,
549 gnu/classpath/Configuration.h: Regenerate.
551 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
553 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
556 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
558 * java/lang/natString.cc (getBytes (jstring enc)):
559 Fixed the loop for multiple cycles, Code cleanup
561 2007-03-09 Tom Tromey <tromey@redhat.com>
563 * sources.am, Makefile.in: Rebuilt.
564 * scripts/makemake.tcl (scan_directory): Allow service files to be
566 Omit all XML-related service files.
568 2007-03-07 Tom Tromey <tromey@redhat.com>
570 * configure: Rebuilt.
571 * configure.ac: Clear vm-tools-packages.
573 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
575 * java/lang/Win32Process.java: Added nested class EOFInputStream.
576 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
577 enum and implementation.
578 (startProcess): Use redirect flag.
579 * classpath/lib/java/lang/Win32Process.class: Regenerated.
580 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
581 * gcj/javaprims.h: Regenerated.
582 * java/lang/Win32Process$EOFInputStream.h: New.
584 2007-03-07 Andrew Haley <aph@redhat.com>
586 * libgcj_bc.c (JvRunMainName): Declare.
588 2007-03-07 Gary Benson <gbenson@redhat.com>
590 * sources.am, Makefile.in: Rebuilt.
592 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
594 * gcj/javaprims.h: Regenerated.
596 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
598 * include/jvm.h (_Jv_ClosureListFinalizer): New.
599 (_Jv_Linker::create_error_method): Adjust.
600 * boehm.cc (_Jv_ClosureListFinalizer): New.
601 * nogc.cc (_Jv_ClosureListFinalizer): New.
602 * java/lang/Class.h (class _Jv_ClosureList): New.
603 (class java::lang::Class): Declare it as friend.
604 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
605 (_Jv_ClosureList::registerClousure): New.
606 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
607 (_Jv_CompiledEngine::do_get_closure_list): New.
608 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
609 (_Jv_IndirectCompiledClass): Add closures.
610 (_Jv_IndirectCompiledEngine::get_aux_info): New.
611 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
613 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
614 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
615 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
616 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
617 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
618 (node_closure): Add closure list.
619 (_Jv_InterpMethod::ncode): Add jclass argument. Use
620 ffi_closure_alloc and the separate code pointer. Register the
621 closure for finalization.
622 (_Jv_JNIMethod::ncode): Likewise.
623 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
624 (_Jv_InterpreterEngine::do_get_closure_list): New.
625 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
626 (_Jv_InterpClass): Add closures field.
627 (_Jv_JNIMethod::ncode): Adjust.
628 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
629 (_Jv_ClassReader::handleMethodsEnd): Likewise.
630 * link.cc (struct method_closure): Add closure list.
631 (_Jv_Linker::create_error_method): Add jclass argument. Use
632 ffi_closure_alloc and the separate code pointer. Register the
633 closure for finalization.
634 (_Jv_Linker::link_symbol_table): Remove outdated comment about
635 sharing of otable and atable. Adjust.
636 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
638 (ncode): Add jclass argument. Use ffi_closure_alloc and the
639 separate code pointer. Register the closure for finalization.
640 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
641 * testsuite/libjava.jar/TestClosureGC.java: New.
642 * testsuite/libjava.jar/TestClosureGC.out: New.
643 * testsuite/libjava.jar/TestClosureGC.xfail: New.
644 * testsuite/libjava.jar/TestClosureGC.jar: New.
646 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
648 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
649 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
650 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
651 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
652 (VMMethod::getLineTable): Use new macro.
653 (VMMethod::getVariableTable): Implement.
654 * sources.am: Regenerated.
655 * Makefile.in: Ditto.
657 2007-03-06 Tom Tromey <tromey@redhat.com>
659 * Makefile.in: Rebuilt.
660 * Makefile.am (bin_PROGRAMS): Added gcjh.
661 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
662 gcjh_DEPENDENCIES): New variables.
664 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
666 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
667 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
668 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
670 2007-03-05 Matthias Klose <doko@debian.org>
672 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
673 * Makefile.in: Regnerate.
675 2007-03-05 Mark Wielaard <mark@klomp.org>
677 * java/lang/Character.java: Re-merged with Classpath.
678 * java/lang/natString.cc (nativeCompareTo): Renamed from
680 * java/lang/StringBuilder.java: Re-merged with Classpath.
681 * java/lang/String.java: Re-merged with Classpath.
682 (nativeCompareTo): Renamed from compareTo.
683 * java/lang/StringBuffer.java: Re-merged with Classpath.
684 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
686 2007-03-05 Andrew Haley <aph@redhat.com>
688 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
689 (generateProxyClass): Don't pass method to ncode.
690 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
691 * java/lang/reflect/Method.h: Rebuild.
692 * java/lang/reflect/Method.java (internalGetParameterTypes,
693 internalGetExceptionTypes): New methods.
694 * headers.txt (class java/lang/reflect/Method): Declare
695 _Jv_GetReflectedMethod. Be its friend.
696 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
697 * java/lang/Class.h: Declare it. Be its friend.
699 2007-03-05 Tom Tromey <tromey@redhat.com>
701 * sources.am, Makefile.in: Rebuilt.
702 * scripts/makemake.tcl (emit_package_rule): Don't omit
704 * Makefile.am (nat_source_files): Added natVMProcess.cc.
705 (inner_nat_headers): Added ImmediateEOFInputStream.h.
706 * gcj/javaprims.h: Regenerated.
707 * java/lang/System.java (EnvironmentMap): Now package-private.
708 (EnvironmentMap(Map)): New constructor.
709 (EnvironmentMap.put): New method.
710 * java/lang/natWin32Process.cc (startProcess): Update.
711 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
713 (startProcess): Likewise.
714 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
716 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
717 * java/lang/PosixProcess.java (redirect): New field.
718 (PosixProcess): Added 'redirect' argument.
719 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
720 argument to Process creation.
721 * java/lang/natVMProcess.cc: New file.
722 * java/lang/ProcessBuilder.java: Removed.
723 * java/lang/VMProcess.java: New file.
725 2007-03-03 Andrew Haley <aph@redhat.com>
727 * java/lang/natClass.cc (parseAnnotationElement): Correct long
728 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
730 2007-03-02 Andrew Haley <aph@redhat.com>
732 * sun/reflect/annotation/AnnotationInvocationHandler.java:
733 Generify in a few places.
734 (equals): Rewrite to use invoke on local proxy.
735 (deepToString): Remove most of it.
736 (toString): Make nonstatic.
737 (arrayClone): Delete.
738 (coerce): New method.
739 (invoke): Rewrite to handle gcj's structures correctly.
740 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
742 * sources.am: Regenerate.
743 * Makefile.am: Likewise.
745 2007-03-02 Andrew Haley <aph@redhat.com>
747 * sun/reflect/annotation/AnnotationInvocationHandler.java:
748 Whitespace only changes.
750 2007-03-02 Andrew Haley <aph@redhat.com>
752 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
753 from Classpath to libgcj local.
755 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
757 * Makefile.am: Add dummy install-pdf target.
758 * Makefile.in: Regenerate
759 * include/Makefile.in: Regenerate
760 * testsuite/Makefile.in: Regenerate
761 * gcj/Makefile.in: Regenerate
763 2007-02-23 Gary Benson <gbenson@redhat.com>
765 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
767 2007-02-23 Gary Benson <gbenson@redhat.com>
769 * java/lang/VMCompiler.java
770 (compileClass): Don't lose zeros from within the digest.
772 2007-02-22 Jakub Jelinek <jakub@redhat.com>
776 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
777 /etc/localtime, use ZoneInfo.readTZFile instead of
778 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
779 either if it is a symlink or through /etc/sysconfig/clock.
780 (readSysconfigClockFile): New static method.
781 (readtzFile): Removed.
782 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
783 * posix.cc (_Jv_platform_initProperties): Set
784 gnu.java.util.zoneinfo.dir.
785 * sources.am (gnu_java_util_source_files): Add
786 classpath/gnu/java/util/ZoneInfo.java.
787 * Makefile.in: Regenerated.
788 * java/util/VMTimeZone.h: Regenerated.
789 * java/util/TimeZone.h: Regenerated.
790 * gnu/java/util/ZoneInfo.h: Generated.
792 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
794 * include/win32-threads.h: Added #undef OUT.
796 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
798 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
799 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
800 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
801 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
802 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
803 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
805 2007-02-21 Gary Benson <gbenson@redhat.com>
807 * java/util/GregorianCalendar.java: Removed.
808 * sources.am, Makefile.in: Rebuilt.
810 2007-02-20 Keith Seitz <keiths@redhat.com>
812 * gnu/classpath/jdwp/natVMVirtualMachine.cc
813 (jdwpClassPrepareCB): Move class status stuff to ...
814 (getClassStatus): ... here.
816 2007-02-20 Gary Benson <gbenson@redhat.com>
818 * gnu/awt/xlib/XEventLoop.h: Regenerated.
819 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
820 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
822 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
823 * java/lang/SecurityManager.h: Likewise.
824 * java/lang/Thread.h: Likewise.
825 * java/security/VMSecureRandom$Spinner.h: Likewise.
826 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
827 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
828 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
829 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
830 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
831 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
832 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
833 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
834 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
835 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
836 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
837 * java/util/concurrent/Exchanger.h: Likewise.
838 * java/util/concurrent/Exchanger$Node.h: Likewise.
839 * java/util/concurrent/FutureTask$Sync.h: Likewise.
840 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
841 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
843 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
845 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
846 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
848 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
849 * java/util/concurrent/SynchronousQueue.h: Likewise.
850 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
851 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
853 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
854 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
856 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
857 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
858 * java/util/logging/ErrorManager.h: Likewise.
859 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
860 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
862 2007-02-16 Keith Seitz <keiths@redhat.com>
864 * gnu/classpath/jdwp/natVMVirtualMachine.cc
865 (get_line_table): New function.
866 (handle_single_step): New function.
867 (jdwpSingleStepCB): New function.
868 (jdwpVMInitCB): Define a JVMTI single step
869 callback, but don't enable it until needed.
871 2007-02-16 David Daney <ddaney@avtrex.com>
873 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
874 new parameter constructor.
875 (Thread(ThreadGroup, Runnable, String, long)): Same.
876 (Thread(String, boolean)): New constructor.
877 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
878 noInheritableThreadLocal, don't call
879 InheritableThreadLocal.newChildThread if set.
880 * java/lang/PosixProcess.java(ProcessManager()): Set
881 noInheritableThreadLocal in super.
882 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
883 parameter to Thread constructor.
884 (_Jv_AttachCurrentThreadAsDaemon): Same.
885 * java/lang/Thread.h: Regenerate.
886 * classpath/lib/java/lang/Thread.class: Same.
887 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
888 * classpath/lib/java/lang/PosixProcess.class: Same.
889 * classpath/lib/java/lang/Thread$State.class: Same.
890 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
892 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
894 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
895 variables to maintain type info.
896 * interpret-run.cc: Add local variable info to frame in the debug
898 * jvmti.cc (getLocalFrame): New method.
899 (_Jv_JVMTI_GetLocalObject): New method.
900 (_Jv_JVMTI_GetLocallInt): New method.
901 (_Jv_JVMTI_GetLocalFloat): New method.
902 (_Jv_JVMTI_GetLocalLong): New method.
903 (_Jv_JVMTI_GetLocalDouble): New method.
904 (_Jv_JVMTI_SetLocalObject): New method.
905 (_Jv_JVMTI_SetLocalInt): New method.
906 (_Jv_JVMTI_SetLocalFloat): New method.
907 (_Jv_JVMTI_SetLocalLong): New method.
908 (_Jv_JVMTI_SetLocalDouble): New method.
910 2007-02-16 Gary Benson <gbenson@redhat.com>
912 * gnu/gcj/tools/gcj_dbtool/Main.java
913 (bytesToString): Don't lose zeros from within the digest.
915 2007-02-15 Andrew Haley <aph@redhat.com>
917 * Makefile.am (nat_source_files): Remove
918 java/lang/management/natVMManagementFactory.cc.
919 * java/lang/Thread.java (getStackTrace): Use reflection to call
920 the ManagementFactory.
921 * java/lang/management/VMManagementFactory.java: Remove native
923 * java/lang/management/natVMManagementFactory.cc: Deleted.
924 * sources.am: Regnerate.
925 * scripts/makemake.tcl: Add new "bcheaders" type.
926 Move java/lang/management and gnu/classpath/management to "bc".
927 Move gnu/java/lang/management to "bcheaders".
929 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
931 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
932 * interpret-run.cc: Change the catch section to report exception
933 events and to use the new check_handler method.
934 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
935 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
936 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
937 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
938 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
940 * sources.am: Added ExceptionEvent.java.
941 * Makefile.am: Added natExceptionEvent.cc
942 * Makefile.in: Regenerated.
943 * include/Makefile.in: Regenerated.
944 * gcj/Makefile.in: Regenerated.
946 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
947 David Daney <ddaney@avtrex.com>
949 * configure.ac: Create vm-tools-packages file. Add
950 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
951 Check for /proc/self/maps.
952 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
953 (gc_analyze_SOURCES): New.
954 (gc_analyze_LDFLAGS): New.
955 (gc_analyze_LINK): New.
956 (gc_analyze_LDADD): New.
957 (gc_analyze_DEPENDENCIES): New.
958 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
959 * Makefile.in: Regenerated.
960 * configure: Regenerated.
961 * include/config.h.in: Regenerated.
962 * sources.am: Regenerated.
963 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
964 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
965 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
966 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
967 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
968 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
969 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
970 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
971 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
972 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
973 * gnu/gcj/util/GCInfo.java: New.
974 * gnu/gcj/util/GCInfo.h: New.
975 * gnu/gcj/util/natGCInfo.cc: New.
976 * gnu/gcj/util/UtilPermission.java: New.
977 * gnu/gcj/util/UtilPermission.h: New.
978 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
979 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
980 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
981 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
982 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
983 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
984 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
985 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
986 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
987 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
988 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
989 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
990 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
991 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
992 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
993 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
994 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
995 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
996 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
997 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
998 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
999 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1000 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1002 2007-02-15 David Daney <ddaney@avtrex.com>
1004 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1005 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1006 * gnu/classpath/jdwp/VMFrame.h: Same.
1007 * java/net/Socket.h: Same.
1008 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1010 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1012 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1013 Added LocalVariableTable attribute handling.
1014 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1015 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1016 * include/java-interp.h: Added local_var_table and
1017 local_var_table_len fields to _Jv_InterpMethod.
1018 (_Jv_InterpMethod::get_local_var_table): New method.
1019 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1020 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1021 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1023 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1024 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1026 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1028 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1030 2007-02-13 Keith Seitz <keiths@redhat.com>
1032 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1033 (jdwpBreakpointCB): New function.
1034 (jdwpVMInitCB): Define and enable the breakpoint
1037 2007-02-13 Andrew Haley <aph@redhat.com>
1039 * testsuite/libjava.lang/Divide_2.out
1040 * testsuite/libjava.lang/Divide_2.java: New test.
1042 2007-02-12 Keith Seitz <keiths@redhat.com>
1044 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1045 from jthread to Thread *; it is no longer needed.
1046 (_Jv_JVMTI_GetFrameCount): Likewise.
1047 Fix small formatting typo.
1049 2007-02-12 Tom Tromey <tromey@redhat.com>
1051 * sources.am, Makefile.in: Rebuilt.
1052 * java/lang/Socket.java: Removed override.
1053 * java/lang/DatagramSocket.java: Removed override.
1054 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1056 (getLocalAddress): New method.
1057 * gnu/java/net/PlainDatagramSocketImpl.java
1058 (PlainDatagramSocketImpl): Throws IOException.
1059 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1063 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1065 * java/util/VMTimeZone.java: Rewrite to handle both the old
1066 'TZif\0' format and the new one.
1068 2007-02-10 Andrew Haley <aph@redhat.com>
1071 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1072 (getCallingClass): Call GET_CALLING_CLASS.
1073 (getCallingClassLoader): Likewise.
1075 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1077 * configure: Rebuilt.
1078 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1080 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1082 * Makefile.in: Rebuilt.
1083 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1084 the host's ecj1 executable.
1086 2007-02-09 Richard Henderson <rth@redhat.com>
1088 * sysdep/alpha/locks.h (read_barrier): New.
1090 2007-02-09 Keith Seitz <keiths@redhat.com>
1092 * gnu/classpath/jdwp/VMVirtualMachine.java
1093 (_stepping_threads): New member.
1094 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1096 * gnu/classpath/jdwp/VMVirtualMachine.h:
1098 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1099 (get_request_step_filter): New function.
1100 (DISABLE_EVENT): New macro.
1101 (initialize): Initialize _stepping_threads.
1102 (registerEvent): Implement EVENT_SINGLE_STEP.
1103 (unregisterEvent): Likewise.
1105 2007-02-08 Keith Seitz <keiths@redhat.com>
1107 * sources.am: Regenerate.
1108 * Makefile.in: Regenerate.
1109 * testsuite/Makefile.in: Regenerate.
1110 * gcj/Makefile.in: Regenerate.
1111 * include/Makefile.in: Regenerate.
1113 * classpath/lib/javax/management/MBeanServerFactory.class:
1116 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1118 * classpath/gnu/classpath/jdwp/processor/
1119 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1121 (executeSetValues): Ditto.
1122 (executeThisObject): Ditto.
1123 * classpath/gnu/classpath/jdwp/processor/
1124 StackFrameCommandSet.class: Rebuilt.
1125 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1127 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1128 * classpath/lib/gnu/classpath/jdwp/exception/
1129 InvalidFrameException.java: New file.
1130 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1132 (Constructor): New method.
1133 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1134 * gnu/classpath/jdwp/VMVirtualMachine.java
1135 (getFrame): Changed ByteBuffer to jlong.
1136 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1137 (getFrame): Implement.
1138 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1140 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1142 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1143 to hold "this" pointer for frame.
1144 (_Jv_InterpFrame::get_this_ptr): New method.
1145 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1147 2007-02-07 Keith Seitz <keiths@redhat.com>
1149 * include/java-interp.h (_Jv_Frame::depth):
1151 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1153 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1155 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1156 (_Jv_JVMTI_GetMaxLocals): New method.
1157 * include/java-interp.h
1158 (_Jv_InterpMethod::get_max_locals): New method.
1160 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1162 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1164 2007-02-07 Tom Tromey <tromey@redhat.com>
1166 * testsuite/libjava.jni/init.c: New file.
1167 * testsuite/libjava.jni/init.java: New file.
1168 * testsuite/libjava.jni/init.out: New file.
1169 * testsuite/libjava.jni/init.jar: New file.
1170 * testsuite/libjava.jni/init.h: New file.
1171 * testsuite/libjava.jni/init$NativeClass.h: New file.
1173 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1176 * configure: Regenerate.
1178 2007-02-06 Andrew Haley <aph@redhat.com>
1180 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1181 * sources.am: Rebuild.
1183 2007-02-05 Keith Seitz <keiths@redhat.com>
1185 * jvmti.cc (_envListLock): Change type to
1186 ReentrantReadWriteLock.
1187 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1189 (check_enabled_event): Likewise.
1190 (_Jv_GetJVMTIEnv): Likewise.
1191 (_Jv_JVMTI_Init): Likewise.
1192 (_Jv_JVMTI_PostEvent): Likewise.
1194 2007-02-05 Keith Seitz <keiths@redhat.com>
1196 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1197 (registerEvent): Implement EVENT_BREAKPOINT.
1198 (unregisterEvent): Likewise.
1199 (get_request_location): New function.
1201 2007-02-05 Matthias Klose <doko@debian.org>
1203 testsuite/Makefile.am (compile-tests): Fix typo.
1204 testsuite/Makefile.in: Regenerate.
1206 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1208 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1211 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1213 * configure.ac (libjava_cv_anon_version_script): New test.
1214 (ANONVERSCRIPT): New AM_CONDITIONAL.
1215 * configure: Rebuilt.
1216 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1218 * Makefile.in: Rebuilt.
1219 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1220 * libgcj.ver: New file.
1222 2007-02-01 David Daney <ddaney@avtrex.com>
1224 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1226 * sources.am: Regenerate.
1227 * Makefile.in: Regenerate.
1229 2007-02-01 Tom Tromey <tromey@redhat.com>
1231 * java/lang/ClassLoader.java (getResources): No longer final.
1233 2007-02-01 Tom Tromey <tromey@redhat.com>
1235 * java/util/logging/LogManager.java (loggers): Genericized.
1236 (addLogger): Merged.
1237 (findAncestor): Likewise.
1238 (getLogger): Likewise.
1239 (getLoggerNames): Genericized.
1241 (getLevelProperty): Likewise.
1242 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1243 * java/lang/reflect/Constructor.java (getParameterTypes):
1245 (getExceptionTypes): Likewise.
1246 (newInstance): Likewise.
1247 * java/lang/reflect/Array.java (newInstance): Genericized.
1248 * java/lang/Object.java (getClass): Genericized.
1249 * java/nio/charset/spi/CharsetProvider.java (charsets):
1251 * java/text/Collator.java: Implement Comparable<Object>.
1253 2007-02-01 Tom Tromey <tromey@redhat.com>
1255 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1257 (clear): Call complete.
1258 (setTimeZone): Call computeTime, computeFields.
1259 (compareTo): New method.
1260 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1261 (availableCharsets): Genericized.
1262 (aliases): Likewise.
1263 (compareTo): Changed argument type.
1264 * java/lang/ClassLoader.java (loadClass): Genericized.
1265 (findClass): Likewise.
1266 (defineClass): Likewise.
1267 (resolveClass): Likewise.
1268 (findSystemClass): Likewise.
1269 (setSigners): Likewise.
1270 (findLoadedClass): Likewise.
1271 (getResources): Likewise.
1272 (findResources): Likewise.
1273 (getSystemResources): Likewise.
1274 (checkInitialized): New method.
1275 * java/lang/Class.java (getCanonicalName): New method.
1277 2007-01-31 Keith Seitz <keiths@redhat.com>
1279 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1280 * jvmti.cc (JVMTI): Add member "enabled".
1281 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1282 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1283 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1284 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1285 instead of run to compile the method.
1287 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1290 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1292 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1293 -shared-libgcc to the cxxflaglist for Darwin.
1295 2007-01-31 Tom Tromey <tromey@redhat.com>
1297 * scripts.am, Makefile.in: Rebuilt.
1298 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1300 (emit_ordinary_rule): New proc.
1302 2007-01-31 Keith Seitz <keiths@redhat.com>
1304 * testsuite/libjava.jvmti/getmethodname.h: New file.
1305 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1307 2007-01-31 Andrew Haley <aph@redhat.com>
1309 * prims.cc (_Jv_Abort): fflush (stderr).
1310 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1312 2007-01-31 Tom Tromey <tromey@redhat.com>
1314 * configure, Makefile.in: Rebuilt.
1315 * configure.ac (JAR): Check for -@ feature.
1316 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1318 2007-01-31 Tom Tromey <tromey@redhat.com>
1321 * configure, include/config.h.in: Rebuilt.
1322 * configure.ac: Check for magic_t in magic.h.
1323 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1325 2007-01-30 Tom Tromey <tromey@redhat.com>
1327 * Makefile.in: Rebuilt.
1328 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1330 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1332 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1333 cast to print it right.
1335 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1338 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1341 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1343 * include/java-interp.h: Added _Jv_Frame class and its two
1344 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1345 _Jv_FrameType from java-stack.h.
1346 * include/java-stack.h: Removed _Jv_FrameType.
1347 * java/lang/Thread.java: Added frame member to hold new
1348 composite frame stack.
1349 * java/lang/Thread.h: Regenerated.
1350 * java/lang/Thread.class: Rebuilt.
1351 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1352 calling a JNI method.
1353 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1354 (_Jv_JVMTI_GetFrameCount): New method.
1355 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1357 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1358 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1359 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1360 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1361 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1364 2007-01-29 Tom Tromey <tromey@redhat.com>
1366 * interpret.cc (run_debug): Remove comment.
1373 (run_normal_debug): Likewise.
1374 (run_synch_object_debug): Likewise.
1375 (run_class_debug): Likewise.
1376 (run_synch_class_debug): Likewise.
1381 (NULLARRAYCHECK): Likewise.
1382 (ARRAYBOUNDSCHECK): Likewise.
1383 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1385 2007-01-29 Tom Tromey <tromey@redhat.com>
1387 * configure, Makefile.in: Rebuilt.
1388 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1389 * configure.ac (BASH_JAR): Removed conditional.
1390 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1392 2007-01-29 Tom Tromey <tromey@redhat.com>
1394 * Makefile.in: Rebuilt.
1395 * Makefile.am (interpret.lo): New target. Add -fwrap to
1398 2007-01-29 Keith Seitz <keiths@redhat.com>
1400 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1402 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1403 gcj. All jvmti object types now are defined to be their
1404 corresponding java classes.
1405 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1407 (_Jv_JVMTI_ResumeThread): Likewise.
1408 (_Jv_JVMTI_InterruptThread): Likewise.
1409 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1410 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1411 (jdwpClassPrepareCB): Likewise.
1412 (jdwpThreadEndCB): Likewise.
1413 (jdwpThreadStartCB): Likewise.
1414 (jdwpVMInitCB): Likewise.
1416 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1418 * gnu/java/nio/channels/natFileChannelWin32.cc
1419 (lock): Implemented.
1420 (unlock): Implemented.
1422 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1425 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1426 libgcj_flags to undefine 'sun' at compile time.
1427 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1429 (write_barrier): Likewise.
1431 2007-01-27 Keith Seitz <keiths@redhat.com>
1433 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1434 (getAllClassMethods): Move error handling to ...
1435 (throw_jvmti_error): ... here.
1436 (jdwpClassPrepareCB): New function.
1437 (jdwpThreadEndCB): New function.
1438 (jdwpThreadStartCB): New function.
1439 (jdwpVMDeathCB): New function.
1440 (jdwpVMInitCB): Define and enable callbacks for
1441 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1443 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1445 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1446 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1447 (MYGCJH): New variable.
1448 (compile-tests): New goal.
1449 * Makefile.in: Rebuilt.
1450 * testsuite/Makefile.in: Rebuilt.
1452 2007-01-26 Andrew Haley <aph@redhat.com>
1454 * java/lang/natClass.cc (initializeClass): Re-throw
1456 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1457 * java/lang/ClassLoader.java: (loadClass): Likewise.
1459 2007-01-26 Tom Tromey <tromey@redhat.com>
1463 2007-01-25 Tom Tromey <tromey@redhat.com>
1466 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1467 input or output encodings. Removed unused local variables.
1469 2007-01-25 Keith Seitz <keiths@redhat.com>
1471 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1472 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1473 (_Jv_GetJDWP_JVMTIEnv): New function.
1474 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1475 (getSignature): Implement.
1476 (getModifiers): Implement.
1478 2007-01-25 Andrew Haley <aph@redhat.com>
1480 * configure, Makefile.in, include/config.h.in: Rebuilt.
1481 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1482 * configure.ac: Don't check for libmagic.
1483 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1484 p_magic_close, p_magic_buffer): New globals.
1485 (init): Look up 'magic' functions.
1486 (guessContentTypeFromBuffer): Updated.
1488 2007-01-25 Keith Seitz <keiths@redhat.com>
1490 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1491 (_Jv_JVMTI_Interface): Define GetMethodName.
1492 * testsuite/libjava.jvmti/getmethodname.java: New file.
1493 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1494 * testsuite/libjava.jvmti/getmethodname.out: New file.
1496 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1498 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1499 * libjava/testsuite/libjava.jvmti/interp: New folder.
1500 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1502 2007-01-24 Keith Seitz <keiths@redhat.com>
1504 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1505 CLASS_PREPARE notification.
1507 2007-01-24 Keith Seitz <keiths@redhat.com>
1509 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1510 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1511 * interpret-run.cc: Implement insn_breakpoint.
1513 2007-01-24 Keith Seitz <keiths@redhat.com>
1515 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1516 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1518 2007-01-24 Keith Seitz <keiths@redhat.com>
1520 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1521 (getAllClassMethods): Implement.
1523 2007-01-24 Andrew Haley <aph@redhat.com>
1525 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1526 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1527 from being sibcalled.
1529 2007-01-24 Andrew Haley <aph@redhat.com>
1531 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1532 * sources.am: Rebuild.
1534 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1536 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1537 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1539 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1542 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1543 * Makefile.in: Regenerated.
1545 2007-01-22 Keith Seitz <keiths@redhat.com>
1547 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1548 (getClassMethod): Implement.
1550 2007-01-22 Keith Seitz <keiths@redhat.com>
1552 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1553 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1554 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1555 (_Jv_JVMTI_Interface): Define GetClassStatus.
1557 2007-01-22 Tom Tromey <tromey@redhat.com>
1559 * configure: Rebuilt.
1560 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1562 2007-01-22 Tom Tromey <tromey@redhat.com>
1565 * testsuite/libjava.jni/pr29812.java: New file.
1566 * testsuite/libjava.jni/pr29812_injar.java: New file.
1567 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1568 * testsuite/libjava.jni/pr29812.out: New file.
1569 * testsuite/libjava.jni/pr29812_injar.c: New file.
1570 * testsuite/libjava.jni/pr29812_injar.h: New file.
1571 * testsuite/libjava.jni/pr29812.jar: New file.
1572 * testsuite/libjava.jni/pr29812.c: New file.
1573 * testsuite/libjava.jni/pr29812.h: New file.
1574 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1576 (gcj_jni_invocation_test_one): Use it.
1577 (gcj_jni_pr29812): New proc.
1578 (gcj_jni_run): Use it.
1579 * java/lang/natRuntime.cc (_load): Push a new system frame before
1581 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1582 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1583 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1584 <allocated_p>: Now bool.
1585 <loader>: New field.
1586 (_Jv_JNI_EnsureLocalCapacity): Updated.
1587 (_Jv_JNI_NewLocalRef): Likewise.
1588 (_Jv_JNI_NewLocalRef): Likewise.
1589 (_Jv_JNI_PopLocalFrame): Likewise.
1590 (_Jv_JNI_FindClass): Likewise.
1591 (_Jv_GetJNIEnvNewFrame): Likewise.
1592 (_Jv_JNI_AttachCurrentThread): Likewise.
1593 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1594 (_Jv_GetJNIEnvNewFrame): Use it.
1595 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1597 2007-01-22 Tom Tromey <tromey@redhat.com>
1599 * libtool-version: Bump current to 9.
1601 2007-01-22 Andrew Haley <aph@redhat.com>
1603 * sysdep/alpha/locks.h (write_barrier): New.
1605 2007-01-21 Matthias Klose <doko@debian.org>
1607 * Makefile.am (install-exec-hook): Use transformed name.
1608 * Makefile.in: Regenerate.
1610 2007-01-19 Keith Seitz <keiths@redhat.com>
1612 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1613 in methods and reformat.
1615 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1618 2007-01-18 Keith Seitz <keiths@redhat.com>
1620 From Macro Trudel <mtrudel@gmx.ch>:
1621 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1624 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1626 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1627 * testsuite/libjava.jni/findclass2.jar: New file.
1628 * testsuite/libjava.jni/findclass2.h: New file.
1629 * testsuite/libjava.jni/findclass2.java: New file
1630 * testsuite/libjava.jni/findclass2.c: New file.
1631 * testsuite/libjava.jni/findclass2.out: New file.
1633 2007-01-18 Tom Tromey <tromey@redhat.com>
1635 * configure: Rebuilt.
1636 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1638 2007-01-18 Gary Benson <gbenson@redhat.com>
1640 * gnu/java/nio/natVMPipeEcos.cc:
1641 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1642 * gnu/java/nio/natVMPipePosix.cc:
1643 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1644 * gnu/java/nio/natVMPipeWin32.cc:
1645 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1646 * gnu/java/nio/natVMSelectorEcos.cc:
1647 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1648 * gnu/java/nio/natVMSelectorPosix.cc:
1649 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1650 * gnu/java/nio/natVMSelectorWin32.cc:
1651 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1652 * java/io/natVMObjectInputStream.cc:
1653 Renamed from java/io/natObjectInputStream.cc.
1654 * java/lang/natVMDouble.cc:
1655 Renamed from java/lang/natDouble.cc.
1656 * java/lang/natVMFloat.cc:
1657 Renamed from java/lang/natFloat.cc.
1658 * Makefile.am, configure.ac: Reflect the above.
1659 * Makefile.in, configure: Rebuilt.
1661 2007-01-17 Andrew Haley <aph@redhat.com>
1663 * Makefile.in: Rebuilt.
1664 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1666 2007-01-17 Keith Seitz <keiths@redhat.com>
1668 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1669 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1671 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1673 * configure.ac: Use multi.m4 from aclocal rather than custom
1674 code. Use multi_basedir instead libgcj_basedir. Test for
1675 /proc/self/exe when not cross-compiling.
1676 * aclocal.m4: Regenerate.
1677 * configure: Regenerate.
1678 * Makefile.in: Regenerate.
1680 2007-01-17 Gary Benson <gbenson@redhat.com>
1682 * java/nio/natVMDirectByteBufferImpl.cc:
1683 Renamed from java/nio/natDirectByteBufferImpl.cc.
1684 * Makefile.am: Reflect the above.
1685 * Makefile.in: Rebuilt.
1687 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1689 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1690 Fixed indentation. Removed unused variable.
1692 2007-01-16 Tom Tromey <tromey@redhat.com>
1694 * java/lang/natThread.cc (finalize_native): Remove cast.
1695 (_Jv_GetCurrentJNIEnv): Likewise.
1696 * include/jvm.h (struct natThread) <jni_env>: Declare as
1699 2007-01-16 Keith Seitz <keiths@redhat.com>
1701 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1702 %#llx instead of %d for new_value.
1703 * testsuite/libjava.jvmti/events.out: Update expected output.
1704 * testsuite/libjava.jvmti/events.jar: Regenerate.
1706 2007-01-16 Keith Seitz <keiths@redhat.com>
1708 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1710 (ENABLE_EVENT): New macro.
1711 (initialize): Define and enable JVMTI VM_INIT callback.
1712 (jdwpVMInitCB): New function.
1714 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1716 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1717 * testsuite/libjava.jvmti/getallthreads.java: New test.
1718 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1719 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1720 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1721 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1723 2007-01-15 Keith Seitz <keiths@redhat.com>
1725 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1726 java.lang.StringBuilder instead of java.lang.StringBuffer.
1727 (resumeThread): Likewise.
1729 2007-01-15 Gary Benson <gbenson@redhat.com>
1731 * java/nio/MappedByteBuffer.java: Removed.
1732 * sources.am, Makefile.in: Rebuilt.
1734 2007-01-15 Gary Benson <gbenson@redhat.com>
1736 * java/net/URLClassLoader.java: Removed.
1737 * gnu/java/net/loader/Load_gcjlib.java: New file.
1738 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1739 URL handler is present in static executables.
1740 * sources.am, Makefile.in: Rebuilt.
1742 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1744 * Makefile.am (libgcj_la_LDFLAGS): Add
1745 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1746 (libgcj_tools_la_LDFLAGS): Likewise.
1747 (libgcj_bc_la_LDFLAGS): Likewise.
1748 * Makefile.in: Regenerated.
1750 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1751 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1752 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1753 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1754 * configure: Regenerated.
1755 * aclocal.m4: Likewise.
1756 * gcj/Makefile.in: Likewise.
1757 * include/Makefile.in: Likewise.
1758 * testsuite/Makefile.in: Likewise.
1760 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1762 * sysdep/sh/locks.h (read_barrier): New.
1763 (write_barrier): Likewise.
1765 2007-01-12 Andrew Haley <aph@redhat.com>
1767 * include/i386-signal.h: Rewrite to use rt_sigaction.
1769 2007-01-11 Andrew Haley <aph@redhat.com>
1771 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1773 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1776 2007-01-10 Tom Tromey <tromey@redhat.com>
1778 * gnu/gcj/xlib/*.h: New files.
1779 * gnu/awt/xlib/*.h: Likewise.
1780 * classpath/lib/gnu/gcj/xlib: New class files.
1781 * classpath/lib/gnu/awt/xlib: Likewise.
1783 2007-01-10 Tom Tromey <tromey@redhat.com>
1785 * HACKING: Various updates.
1787 2007-01-10 Tom Tromey <tromey@redhat.com>
1789 * java/lang/natDouble.cc (toString): Added parens.
1790 * gnu/gcj/io/shs.h (PROTO): Define.
1791 * link.cc (resolve_pool_entry): Added missing braces.
1793 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1796 * sysdep/ia64/locks.h (read_barrier): New.
1797 (write_barrier): New.
1799 2007-01-10 Gary Benson <gbenson@redhat.com>
1801 * java/net/URL.java: Removed.
1802 * sources.am, Makefile.in: Rebuilt.
1804 2007-01-10 Matthias Klose <doko@debian.org>
1806 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1807 * Makefile.in: Regenerated.
1809 2007-01-05 Tom Tromey <tromey@redhat.com>
1811 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1812 dummy.class in srcdir.
1814 2007-01-03 Tom Tromey <tromey@redhat.com>
1816 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1819 2007-01-03 Tom Tromey <tromey@redhat.com>
1821 * testsuite/*: Added many .jar and .h files.
1822 * testsuite/libjava.special/special.exp
1823 (gcj_special_try_compiler): New proc.
1824 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1825 bytecompile source. Search for .jar files.
1826 (gcj_loader_test_one): Don't look for MyLoader.java.
1827 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1828 bytecompile sources or build headers.
1829 (gcj_jvmti_run): Look for .jar files.
1830 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1832 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1833 Set classpath when invoking gij.
1834 (gcj_jni_invocation_test_one): Likewise.
1835 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1836 headers or bytecompile sources.
1837 (gcj_cni_run): Use .jar files, not .java files.
1838 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1840 2007-01-02 Tom Tromey <tromey@redhat.com>
1842 * configure: Rebuilt.
1843 * configure.ac: Check for gjar.
1845 2007-01-02 Tom Tromey <tromey@redhat.com>
1847 * testsuite/libjava.jacks/jacks.exp: Removed.
1848 * testsuite/libjava.jacks/jacks.xfail: Removed.