1 2007-05-15 David Daney <ddaney@avtrex.com>
3 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
4 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
6 2007-05-15 Keith Seitz <keiths@redhat.com>
8 * interpret.cc (STOREA): Rewrite using temporary variable to
9 avoid double-macro expansion side-effects.
12 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
13 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
14 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
15 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
18 2007-05-12 David Daney <ddaney@avtrex.com>
21 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
22 (_Jv_UnBlockSigchld): Same.
23 * posix-threads.cc: Include posix-threads.h.
24 (block_sigchld) Rename to...
25 (_Jv_BlockSigchld) ... this.
26 (_Jv_UnBlockSigchld): New function.
27 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
28 (_Jv_ThreadStart): Same.
29 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
30 * java/lang/PosixProcess.java: Clean up imports.
31 (ProcessManager): Make final.
32 (ProcessManager.queue): Genericise and make private.
33 (ProcessManager.pidToProcess): Remove.
34 (ProcessManager.liveProcesses): New field.
35 (ProcessManager.reaperPID): Remove.
36 (ProcessManager.nativeData): New field.
37 (ProcessManager.removeProcessFromMap): Remove.
38 (ProcessManager.addProcessToMap):Remove.
39 (ProcessManager.addToLiveProcesses): New method.
40 (ProcessManager.run): Rewritten.
41 (ProcessManager.reap): Change method signature,
42 (getErrorStream): Correct formatting.
43 (getInputStream): Same.
44 (spawn): Add process to liveProcesses list.
45 (pid): Make package private.
46 * java/lang/PosixProcess.h: Regenerate.
47 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
48 Add useing namespace java::lang.
49 (ProcessManagerInternal): New struct.
50 (sigchld_handler): Rewritten.
52 (waitForSignal): Same.
55 (nativeDestroy): Call kill as ::kill.
56 (nativeSpawn): Correct formatting.
57 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
58 * classpath/lib/java/lang/PosixProcess.class: Same.
59 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
61 2007-05-07 Ian Lance Taylor <iant@google.com>
64 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
67 2007-05-07 Keith Seitz <keiths@redhat.com>
69 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
70 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
71 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
73 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
75 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
76 * gnu/classpath/jdwp/event/Event.h: Regenerate.
77 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
79 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
81 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
84 2007-05-03 Keith Seitz <keiths@redhat.com>
86 * interpret.cc: Don't include ExceptionEvent.h.
87 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
88 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
89 * Makefile.in: Regenerated.
91 2007-05-03 Keith Seitz <keiths@redhat.com>
93 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
95 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
96 (find_catch_location): New function.
97 (REPORT_EXCEPTION): New macro.
98 (throw_internal_error): Use REPORT_EXCEPTION.
99 (throw_incompatible_class_change_error): Likewise.
100 (throw_null_pointer_exception): Likewise.
101 (throw_class_format_error): Likewise.
102 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
104 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
105 (insn_new): Use INTERP_REPORT_EXCEPTION.
106 (insn_athrow): Likewise.
107 Remove previous JVMTI exception notifications.
108 Add JVMTI ExceptionCatch notificatin.
109 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
111 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
112 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
113 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
114 * gnu/classpath/jdwp/natVMVirtualMachine.cc
115 (jdwpExceptionCB): New function.
116 (jdwpVMInitCB): Set Exception event handler and enable.
117 * sources.am: Regenerated.
118 * Makefile.in: Regenerated.
120 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
122 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
123 * Makefile.in: Regenerate.
124 * scripts/makemake.tcl (scan_directory): Treat default.css as a
126 * classpath/javax/swing/text/html/default.css: Move to...
127 * classpath/resource/javax/swing/text/html/default.css: New file.
128 * classpath/javax/swing/text/html/HTMLEditorKit.java
129 (getStyleSheet): Throw RuntimeException when style loading fails.
130 * sources.am (property_files): Add
131 classpath/resource/javax/swing/text/html/default.css.
133 2007-05-02 Tom Tromey <tromey@redhat.com>
135 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
136 * java/lang/natCharacter.cc (Character::getType): Handle negative
138 (Character::toLowerCase): Likewise.
139 (Character::toUpperCase): Likewise.
140 (Character::digit): Likewise.
141 (Character::getNumericValue): Likewise.
142 (Character::getDirectionality): Likewise.
143 (Character::toTitleCase): Likewise.
145 2007-04-30 Keith Seitz <keiths@redhat.com>
147 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
148 executing the instruction.
149 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
150 one insn from the frame's PC. _Jv_InterpMethod::run et al
151 will advance the PC before executing the instruction.
153 2007-04-27 Keith Seitz <keiths@redhat.com>
155 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
156 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
158 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
160 2007-04-27 Keith Seitz <keiths@redhat.com>
162 * classpath/lib/gnu/classpath/jdwp/event/filters/
163 LocationOnlyFilter.class: Regenerated;
164 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
166 * gnu/classpath/jdwp/VMMethod.java
167 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
169 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
170 * gnu/classpath/jdwp/util/Location.h: Regenerated.
172 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
174 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
175 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
177 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
179 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
181 (get): Deal with ObjectId of 0.
183 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
186 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
188 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
190 * gnu/classpath/jdwp/natVMVirtualMachine.java
191 (getThreadStatus): Implement.
193 2007-04-24 Keith Seitz <keiths@redhat.com>
195 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
196 Add _Jv_RewriteBreakpointInsn friend declaration.
197 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
198 [DIRECT_THREADED]: New function.
199 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
200 * interpret-run.cc: Define new REWRITE_INSN macro.
201 Changed all occurrences of insn rewriting to call REWRITE_INSN.
203 2007-04-23 Keith Seitz <keiths@redhat.com>
205 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
206 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
207 * boehm.cc (_Jv_IsThreadSuspended): New function.
208 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
209 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
210 (_Jv_JVMTI_Interface): Define GetThreadState.
212 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
214 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
216 (<init>): Add a pointer to the interpreter PC as a parameter with
218 (get_pc): New method.
219 * interpret-run.cc: If debugging, pass a pointer to the PC when
220 creating the stack frame.
221 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
224 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
226 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
227 for null source file and throw an exception indicating this.
229 2007-04-20 Keith Seitz <keiths@redhat.com>
231 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
232 Install the new breakpoint into the bytecode.
233 (deleteBreakpoint): Remove the breakpoint from the bytecode.
234 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
236 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
237 Don't install the breakpoint here.
239 2007-04-19 Keith Seitz <keiths@redhat.com>
241 * interpret-run.cc [insn_breakpoint]: Save the original
242 insn for the breakpoint before posting the JVMTI notification.
244 2007-04-19 Tom Tromey <tromey@redhat.com>
246 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
248 2007-04-18 Tom Tromey <tromey@redhat.com>
250 * Regenerated headers with new gjavah.
252 2007-04-18 Andrew Haley <aph@redhat.com>
254 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
256 (generateProxyClass): Add field $Proxy0.m. Store methods array in
258 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
259 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
260 * java/lang/natClass.cc: Likewise.
261 * headers.txt: Likewise.
262 * java/lang/reflect/Method.h: Likewise.
264 2007-04-16 Andrew Haley <aph@redhat.com>
266 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
268 (bootGetResource): Use getBootURLLoader() to load resources.
269 (bootGetResources): Likewise.
271 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
272 check that the method's declaring class is accessible.
274 2007-04-10 Keith Seitz <keiths@redhat.com>
276 * sources.am: Regenerate.
277 * Makefile.in: Likewise.
279 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
281 * interpret-run.cc: If debugging, check if args is NULL before
282 getting the "this" pointer.
284 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
286 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
287 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
288 * gnu/classpath/jdwp/ArrayValue.h: New file.
289 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
292 2007-04-09 David Daney <ddaney@avtrex.com>
295 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
296 environment before the fork.
297 * testsuite/libjava.lang/Process_7.java: New test.
298 * testsuite/libjava.lang/Process_7.out: Its expected results.
299 * testsuite/libjava.lang/Process_7.jar: Generated file.
301 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
303 * prims.cc (load_jvmti_agent): Add the missing `,'.
305 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
307 * gij.cc (main): Accept -agentlib and -agentpath options.
308 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
309 (load_jvmti_agent): New function.
311 2007-04-04 Tania Bento <tbento@redhat.com>
313 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
314 Copyright information and introduced new variable, currency.
315 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
316 to "XXX", currencySymbol to "?" and localCurrency appropriately.
317 (getCurrency): Fixed documentation and return the value of currency.
318 (setCurrency): Fixed documentation and update the value of currency.
319 (setInternationalCurrencySymbol): Fixed documentation and update the
321 * java/util/Currency.java: Introduced two new variables, properties
322 and fractionDigits. In the static block, a properties object is
323 created and the currency resource is loaded.
324 (Currency(Locale)): fractionDigits is defined.
325 (Currency(String)): New method.
326 (getDefaultFractionDigits): Return the value of fractionDigits.
327 (getInstance(String)): Check if String is equal to "XXX".
329 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
331 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
332 to ints for argCnt and slots.
333 (write): Replace writeLong with writeInt for the above.
335 2007-04-03 Andrew Haley <aph@redhat.com>
337 * testsuite/libjava.lang/ProxyTest.java: New test.
339 2007-04-02 Tom Tromey <tromey@redhat.com>
341 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
342 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
343 file, when writing, if it is too short.
345 2007-04-02 Tom Tromey <tromey@redhat.com>
347 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
348 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
350 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
351 where localport is -1.
352 (create): Now public.
353 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
354 'create' on the socket.
356 2007-04-02 Andrew Haley <aph@redhat.com>
358 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
359 _Jv_LookupProxyMethod to find the Method.
360 If parameter_types->length == 0, pass a null paramameter list,
361 not a zero-length parameter list.
362 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
363 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
365 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
367 * interpret-run.cc: Add code to properly set up variable slots
369 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
370 (getObjectJVMTI): New function.
371 (setObjectJVMTI): New function.
372 (getIntJVMTI): New function.
373 (setIntJVMTI): New function.
374 (getLongJVMTI): New function.
375 (setLongJVMTI): New function.
376 (getFloatJVMTI): New function.
377 (setFloatJVMTI): New function.
378 (getDoubleJVMTI): New function.
379 (setDoubleJVMTI): New function.
380 (getFrameDepth): New function.
381 (getValue): Implement.
382 (setValue): Implement.
384 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
386 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
387 (executeResume): Call VMVirtualMachine.resumeThread.
389 2007-03-29 Tom Tromey <tromey@redhat.com>
392 * java/util/logging/LogManager.java (readConfiguration): Handle
393 comma-separated 'handlers'. Don't try to add a non-existing
396 2007-03-27 Tom Tromey <tromey@redhat.com>
398 * sources.am, Makefile.in: Rebuilt.
399 * scripts/mime.types: Removed.
400 * scripts/MakeDefaultMimeTypes.java: Removed.
401 * gnu/gcj/io/MimeTypes.java: Removed.
402 * gnu/gcj/io/MimeTypes.h: Removed.
403 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
404 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
406 2007-03-27 Keith Seitz <keiths@redhat.com>
408 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
410 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
411 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
412 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
413 (initialize): Fix compiler type-punning warning.
414 (getAllLoadedClasses): Return empty list instead of NULL.
415 (getLoadRequests): Likewise.
416 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
417 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
418 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
419 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
420 * gnu/classpath/jdwp/value/CharValue.h: New file.
421 * gnu/classpath/jdwp/value/LongValue.h: New file.
422 * gnu/classpath/jdwp/value/ShortValue.h: New file.
423 * gnu/classpath/jdwp/value/Value.h: New file.
424 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
425 * gnu/classpath/jdwp/value/VoidValue.h: New file.
426 * gnu/classpath/jdwp/value/ByteValue.h: New file.
427 * gnu/classpath/jdwp/value/FloatValue.h: New file.
428 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
429 * gnu/classpath/jdwp/value/StringValue.h: New file.
430 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
431 * gnu/classpath/jdwp/value/IntValue.h: New file.
432 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
433 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
434 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
435 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
436 * gnu/classpath/jdwp/util/NullObject.h: New file.
437 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
438 * Makefile.in: Rebuilt.
439 * sources.am: Rebuilt.
441 2006-03-26 David Daney <ddaney@avtrex.com>
443 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
444 fork, execvp, execinfo.h, pthread_mutexattr_settype,
445 pthread_mutexattr_setkind_np and sys/wait.h.
446 * Makefile.in: Regenerate.
447 * include/Makefile.in: Regenerate.
448 * include/config.h.in: Regenerate.
449 * testsuite/Makefile.in: Regenerate.
450 * configure: Regenerate.
451 * gcj/Makefile.in: Regenerate.
453 2007-03-23 Gary Benson <gbenson@redhat.com>
455 * link.cc (_Jv_Linker::resolve_method_entry):
456 Ensure that the argument types and the return type of the
457 found method match those expected by the calling method.
459 2007-03-22 David Daney <ddaney@avtrex.com>
462 * configure.ac: Add checks for getrlimit and sys/resource.h.
463 * include/posix.h (_Jv_platform_close_on_exec): Remove.
464 * include/config.h.in: Regenerate.
465 * configure: Regenerate.
466 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
467 _Jv_platform_close_on_exec;
468 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
470 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
471 * java/lang/natPosixProcess.cc: Include sys/resource.h.
472 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
475 2007-03-20 Andrew Haley <aph@redhat.com>
477 * testsuite/libjava.lang/PR31264.java: New test.
479 2007-03-14 Jakub Jelinek <jakub@redhat.com>
481 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
482 * Makefile.in: Rebuilt.
484 2007-03-13 Keith Seitz <keiths@redhat.com>
486 * include/java-interp.h (_Jv_InterpClass): Declare
487 friend function _Jv_GetInterpClassSourceFile.
488 * java/lang/Class.h (Class): Likewise.
489 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
491 * gnu/classpath/jdwp/natVMVirtualMachine.cc
492 (getSourceFile): Implement.
494 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
496 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
497 * classpath/configure.ac: Add --with-ecj-jar configure option.
498 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
500 * classpath/INSTALL: Document --with-ecj-jar configure option and
501 ecj jar requirement for com.sun.tools.javac support.
502 * classpath/tools/Makefile.am: Build decendents of com and sun
504 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
505 * gnu/classpath/Configuration.java,
506 gnu/classpath/natConfiguration.cc (ecj): New method.
507 (ECJ_JAR): New field.
508 * scripts/makemake.tcl (scan_packages): Add com directory.
509 * sources.am (property_files): Add
510 classpath/resource/sun/rmi/rmic/messages.properties and
511 classpath/resource/com/sun/tools/javac/messages.properties.
512 * classpath/resource/com, classpath/resource/com/sun,
513 classpath/resource/com/sun/tools,
514 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
515 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
516 classpath/tools/classes/com, classpath/tools/classes/com/sun,
517 classpath/tools/classes/com/sun/javadoc,
518 classpath/tools/classes/com/sun/tools,
519 classpath/tools/classes/com/sun/tools/doclets,
520 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
521 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
522 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
523 classpath/tools/com/sun/tools,
524 classpath/tools/com/sun/tools/doclets,
525 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
526 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
528 * classpath/resource/com/sun/tools/javac/messages.properties,
529 classpath/resource/sun/rmi/rmic/messages.properties,
530 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
531 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
532 classpath/tools/classes/com/sun/javadoc/Doc.class,
533 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
534 classpath/tools/classes/com/sun/javadoc/Doclet.class,
535 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
536 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
537 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
538 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
539 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
540 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
541 classpath/tools/classes/com/sun/javadoc/Parameter.class,
542 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
543 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
544 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
545 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
546 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
547 classpath/tools/classes/com/sun/javadoc/Tag.class,
548 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
549 classpath/tools/classes/com/sun/javadoc/Type.class,
550 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
551 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
552 classpath/tools/classes/sun/rmi/rmic/Main.class,
553 classpath/tools/classes/sun/rmi/rmic/Messages.class,
554 classpath/tools/com/sun/javadoc/ClassDoc.java,
555 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
556 classpath/tools/com/sun/javadoc/Doc.java,
557 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
558 classpath/tools/com/sun/javadoc/Doclet.java,
559 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
560 classpath/tools/com/sun/javadoc/FieldDoc.java,
561 classpath/tools/com/sun/javadoc/MemberDoc.java,
562 classpath/tools/com/sun/javadoc/MethodDoc.java,
563 classpath/tools/com/sun/javadoc/PackageDoc.java,
564 classpath/tools/com/sun/javadoc/ParamTag.java,
565 classpath/tools/com/sun/javadoc/Parameter.java,
566 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
567 classpath/tools/com/sun/javadoc/RootDoc.java,
568 classpath/tools/com/sun/javadoc/SeeTag.java,
569 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
570 classpath/tools/com/sun/javadoc/SourcePosition.java,
571 classpath/tools/com/sun/javadoc/Tag.java,
572 classpath/tools/com/sun/javadoc/ThrowsTag.java,
573 classpath/tools/com/sun/javadoc/Type.java,
574 classpath/tools/com/sun/javadoc/TypeVariable.java,
575 classpath/tools/com/sun/tools/doclets/Taglet.java,
576 classpath/tools/com/sun/tools/javac/Main.java,
577 classpath/tools/com/sun/tools/javac/Messages.java,
578 classpath/tools/sun/rmi/rmic/Main.java,
579 classpath/tools/sun/rmi/rmic/Messages.java: New files.
580 * Makefile.in, classpath/Makefile.in, classpath/configure,
581 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
582 classpath/examples/Makefile.in, classpath/external/Makefile.in,
583 classpath/external/jsr166/Makefile.in,
584 classpath/external/relaxngDatatype/Makefile.in,
585 classpath/external/sax/Makefile.in,
586 classpath/external/w3c_dom/Makefile.in,
587 classpath/include/Makefile.in, classpath/include/config.h.in,
588 classpath/lib/Makefile.in,
589 classpath/lib/gnu/classpath/Configuration.class,
590 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
591 classpath/native/jawt/Makefile.in,
592 classpath/native/jni/Makefile.in,
593 classpath/native/jni/classpath/Makefile.in,
594 classpath/native/jni/gconf-peer/Makefile.in,
595 classpath/native/jni/gtk-peer/Makefile.in,
596 classpath/native/jni/java-io/Makefile.in,
597 classpath/native/jni/java-lang/Makefile.in,
598 classpath/native/jni/java-net/Makefile.in,
599 classpath/native/jni/java-nio/Makefile.in,
600 classpath/native/jni/java-util/Makefile.in,
601 classpath/native/jni/midi-alsa/Makefile.in,
602 classpath/native/jni/midi-dssi/Makefile.in,
603 classpath/native/jni/native-lib/Makefile.in,
604 classpath/native/jni/qt-peer/Makefile.in,
605 classpath/native/jni/xmlj/Makefile.in,
606 classpath/native/plugin/Makefile.in,
607 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
608 classpath/tools/Makefile.in, configure,
609 gnu/classpath/Configuration.h: Regenerate.
611 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
613 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
616 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
618 * java/lang/natString.cc (getBytes (jstring enc)):
619 Fixed the loop for multiple cycles, Code cleanup
621 2007-03-09 Tom Tromey <tromey@redhat.com>
623 * sources.am, Makefile.in: Rebuilt.
624 * scripts/makemake.tcl (scan_directory): Allow service files to be
626 Omit all XML-related service files.
628 2007-03-07 Tom Tromey <tromey@redhat.com>
630 * configure: Rebuilt.
631 * configure.ac: Clear vm-tools-packages.
633 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
635 * java/lang/Win32Process.java: Added nested class EOFInputStream.
636 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
637 enum and implementation.
638 (startProcess): Use redirect flag.
639 * classpath/lib/java/lang/Win32Process.class: Regenerated.
640 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
641 * gcj/javaprims.h: Regenerated.
642 * java/lang/Win32Process$EOFInputStream.h: New.
644 2007-03-07 Andrew Haley <aph@redhat.com>
646 * libgcj_bc.c (JvRunMainName): Declare.
648 2007-03-07 Gary Benson <gbenson@redhat.com>
650 * sources.am, Makefile.in: Rebuilt.
652 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
654 * gcj/javaprims.h: Regenerated.
656 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
658 * include/jvm.h (_Jv_ClosureListFinalizer): New.
659 (_Jv_Linker::create_error_method): Adjust.
660 * boehm.cc (_Jv_ClosureListFinalizer): New.
661 * nogc.cc (_Jv_ClosureListFinalizer): New.
662 * java/lang/Class.h (class _Jv_ClosureList): New.
663 (class java::lang::Class): Declare it as friend.
664 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
665 (_Jv_ClosureList::registerClousure): New.
666 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
667 (_Jv_CompiledEngine::do_get_closure_list): New.
668 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
669 (_Jv_IndirectCompiledClass): Add closures.
670 (_Jv_IndirectCompiledEngine::get_aux_info): New.
671 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
673 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
674 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
675 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
676 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
677 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
678 (node_closure): Add closure list.
679 (_Jv_InterpMethod::ncode): Add jclass argument. Use
680 ffi_closure_alloc and the separate code pointer. Register the
681 closure for finalization.
682 (_Jv_JNIMethod::ncode): Likewise.
683 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
684 (_Jv_InterpreterEngine::do_get_closure_list): New.
685 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
686 (_Jv_InterpClass): Add closures field.
687 (_Jv_JNIMethod::ncode): Adjust.
688 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
689 (_Jv_ClassReader::handleMethodsEnd): Likewise.
690 * link.cc (struct method_closure): Add closure list.
691 (_Jv_Linker::create_error_method): Add jclass argument. Use
692 ffi_closure_alloc and the separate code pointer. Register the
693 closure for finalization.
694 (_Jv_Linker::link_symbol_table): Remove outdated comment about
695 sharing of otable and atable. Adjust.
696 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
698 (ncode): Add jclass argument. Use ffi_closure_alloc and the
699 separate code pointer. Register the closure for finalization.
700 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
701 * testsuite/libjava.jar/TestClosureGC.java: New.
702 * testsuite/libjava.jar/TestClosureGC.out: New.
703 * testsuite/libjava.jar/TestClosureGC.xfail: New.
704 * testsuite/libjava.jar/TestClosureGC.jar: New.
706 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
708 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
709 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
710 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
711 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
712 (VMMethod::getLineTable): Use new macro.
713 (VMMethod::getVariableTable): Implement.
714 * sources.am: Regenerated.
715 * Makefile.in: Ditto.
717 2007-03-06 Tom Tromey <tromey@redhat.com>
719 * Makefile.in: Rebuilt.
720 * Makefile.am (bin_PROGRAMS): Added gcjh.
721 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
722 gcjh_DEPENDENCIES): New variables.
724 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
726 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
727 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
728 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
730 2007-03-05 Matthias Klose <doko@debian.org>
732 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
733 * Makefile.in: Regnerate.
735 2007-03-05 Mark Wielaard <mark@klomp.org>
737 * java/lang/Character.java: Re-merged with Classpath.
738 * java/lang/natString.cc (nativeCompareTo): Renamed from
740 * java/lang/StringBuilder.java: Re-merged with Classpath.
741 * java/lang/String.java: Re-merged with Classpath.
742 (nativeCompareTo): Renamed from compareTo.
743 * java/lang/StringBuffer.java: Re-merged with Classpath.
744 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
746 2007-03-05 Andrew Haley <aph@redhat.com>
748 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
749 (generateProxyClass): Don't pass method to ncode.
750 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
751 * java/lang/reflect/Method.h: Rebuild.
752 * java/lang/reflect/Method.java (internalGetParameterTypes,
753 internalGetExceptionTypes): New methods.
754 * headers.txt (class java/lang/reflect/Method): Declare
755 _Jv_GetReflectedMethod. Be its friend.
756 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
757 * java/lang/Class.h: Declare it. Be its friend.
759 2007-03-05 Tom Tromey <tromey@redhat.com>
761 * sources.am, Makefile.in: Rebuilt.
762 * scripts/makemake.tcl (emit_package_rule): Don't omit
764 * Makefile.am (nat_source_files): Added natVMProcess.cc.
765 (inner_nat_headers): Added ImmediateEOFInputStream.h.
766 * gcj/javaprims.h: Regenerated.
767 * java/lang/System.java (EnvironmentMap): Now package-private.
768 (EnvironmentMap(Map)): New constructor.
769 (EnvironmentMap.put): New method.
770 * java/lang/natWin32Process.cc (startProcess): Update.
771 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
773 (startProcess): Likewise.
774 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
776 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
777 * java/lang/PosixProcess.java (redirect): New field.
778 (PosixProcess): Added 'redirect' argument.
779 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
780 argument to Process creation.
781 * java/lang/natVMProcess.cc: New file.
782 * java/lang/ProcessBuilder.java: Removed.
783 * java/lang/VMProcess.java: New file.
785 2007-03-03 Andrew Haley <aph@redhat.com>
787 * java/lang/natClass.cc (parseAnnotationElement): Correct long
788 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
790 2007-03-02 Andrew Haley <aph@redhat.com>
792 * sun/reflect/annotation/AnnotationInvocationHandler.java:
793 Generify in a few places.
794 (equals): Rewrite to use invoke on local proxy.
795 (deepToString): Remove most of it.
796 (toString): Make nonstatic.
797 (arrayClone): Delete.
798 (coerce): New method.
799 (invoke): Rewrite to handle gcj's structures correctly.
800 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
802 * sources.am: Regenerate.
803 * Makefile.am: Likewise.
805 2007-03-02 Andrew Haley <aph@redhat.com>
807 * sun/reflect/annotation/AnnotationInvocationHandler.java:
808 Whitespace only changes.
810 2007-03-02 Andrew Haley <aph@redhat.com>
812 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
813 from Classpath to libgcj local.
815 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
817 * Makefile.am: Add dummy install-pdf target.
818 * Makefile.in: Regenerate
819 * include/Makefile.in: Regenerate
820 * testsuite/Makefile.in: Regenerate
821 * gcj/Makefile.in: Regenerate
823 2007-02-23 Gary Benson <gbenson@redhat.com>
825 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
827 2007-02-23 Gary Benson <gbenson@redhat.com>
829 * java/lang/VMCompiler.java
830 (compileClass): Don't lose zeros from within the digest.
832 2007-02-22 Jakub Jelinek <jakub@redhat.com>
836 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
837 /etc/localtime, use ZoneInfo.readTZFile instead of
838 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
839 either if it is a symlink or through /etc/sysconfig/clock.
840 (readSysconfigClockFile): New static method.
841 (readtzFile): Removed.
842 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
843 * posix.cc (_Jv_platform_initProperties): Set
844 gnu.java.util.zoneinfo.dir.
845 * sources.am (gnu_java_util_source_files): Add
846 classpath/gnu/java/util/ZoneInfo.java.
847 * Makefile.in: Regenerated.
848 * java/util/VMTimeZone.h: Regenerated.
849 * java/util/TimeZone.h: Regenerated.
850 * gnu/java/util/ZoneInfo.h: Generated.
852 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
854 * include/win32-threads.h: Added #undef OUT.
856 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
858 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
859 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
860 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
861 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
862 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
863 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
865 2007-02-21 Gary Benson <gbenson@redhat.com>
867 * java/util/GregorianCalendar.java: Removed.
868 * sources.am, Makefile.in: Rebuilt.
870 2007-02-20 Keith Seitz <keiths@redhat.com>
872 * gnu/classpath/jdwp/natVMVirtualMachine.cc
873 (jdwpClassPrepareCB): Move class status stuff to ...
874 (getClassStatus): ... here.
876 2007-02-20 Gary Benson <gbenson@redhat.com>
878 * gnu/awt/xlib/XEventLoop.h: Regenerated.
879 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
880 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
882 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
883 * java/lang/SecurityManager.h: Likewise.
884 * java/lang/Thread.h: Likewise.
885 * java/security/VMSecureRandom$Spinner.h: Likewise.
886 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
887 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
888 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
889 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
890 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
891 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
892 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
893 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
894 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
895 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
896 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
897 * java/util/concurrent/Exchanger.h: Likewise.
898 * java/util/concurrent/Exchanger$Node.h: Likewise.
899 * java/util/concurrent/FutureTask$Sync.h: Likewise.
900 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
901 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
903 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
905 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
906 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
908 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
909 * java/util/concurrent/SynchronousQueue.h: Likewise.
910 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
911 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
913 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
914 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
916 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
917 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
918 * java/util/logging/ErrorManager.h: Likewise.
919 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
920 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
922 2007-02-16 Keith Seitz <keiths@redhat.com>
924 * gnu/classpath/jdwp/natVMVirtualMachine.cc
925 (get_line_table): New function.
926 (handle_single_step): New function.
927 (jdwpSingleStepCB): New function.
928 (jdwpVMInitCB): Define a JVMTI single step
929 callback, but don't enable it until needed.
931 2007-02-16 David Daney <ddaney@avtrex.com>
933 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
934 new parameter constructor.
935 (Thread(ThreadGroup, Runnable, String, long)): Same.
936 (Thread(String, boolean)): New constructor.
937 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
938 noInheritableThreadLocal, don't call
939 InheritableThreadLocal.newChildThread if set.
940 * java/lang/PosixProcess.java(ProcessManager()): Set
941 noInheritableThreadLocal in super.
942 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
943 parameter to Thread constructor.
944 (_Jv_AttachCurrentThreadAsDaemon): Same.
945 * java/lang/Thread.h: Regenerate.
946 * classpath/lib/java/lang/Thread.class: Same.
947 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
948 * classpath/lib/java/lang/PosixProcess.class: Same.
949 * classpath/lib/java/lang/Thread$State.class: Same.
950 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
952 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
954 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
955 variables to maintain type info.
956 * interpret-run.cc: Add local variable info to frame in the debug
958 * jvmti.cc (getLocalFrame): New method.
959 (_Jv_JVMTI_GetLocalObject): New method.
960 (_Jv_JVMTI_GetLocallInt): New method.
961 (_Jv_JVMTI_GetLocalFloat): New method.
962 (_Jv_JVMTI_GetLocalLong): New method.
963 (_Jv_JVMTI_GetLocalDouble): New method.
964 (_Jv_JVMTI_SetLocalObject): New method.
965 (_Jv_JVMTI_SetLocalInt): New method.
966 (_Jv_JVMTI_SetLocalFloat): New method.
967 (_Jv_JVMTI_SetLocalLong): New method.
968 (_Jv_JVMTI_SetLocalDouble): New method.
970 2007-02-16 Gary Benson <gbenson@redhat.com>
972 * gnu/gcj/tools/gcj_dbtool/Main.java
973 (bytesToString): Don't lose zeros from within the digest.
975 2007-02-15 Andrew Haley <aph@redhat.com>
977 * Makefile.am (nat_source_files): Remove
978 java/lang/management/natVMManagementFactory.cc.
979 * java/lang/Thread.java (getStackTrace): Use reflection to call
980 the ManagementFactory.
981 * java/lang/management/VMManagementFactory.java: Remove native
983 * java/lang/management/natVMManagementFactory.cc: Deleted.
984 * sources.am: Regnerate.
985 * scripts/makemake.tcl: Add new "bcheaders" type.
986 Move java/lang/management and gnu/classpath/management to "bc".
987 Move gnu/java/lang/management to "bcheaders".
989 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
991 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
992 * interpret-run.cc: Change the catch section to report exception
993 events and to use the new check_handler method.
994 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
995 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
996 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
997 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
998 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1000 * sources.am: Added ExceptionEvent.java.
1001 * Makefile.am: Added natExceptionEvent.cc
1002 * Makefile.in: Regenerated.
1003 * include/Makefile.in: Regenerated.
1004 * gcj/Makefile.in: Regenerated.
1006 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1007 David Daney <ddaney@avtrex.com>
1009 * configure.ac: Create vm-tools-packages file. Add
1010 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1011 Check for /proc/self/maps.
1012 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1013 (gc_analyze_SOURCES): New.
1014 (gc_analyze_LDFLAGS): New.
1015 (gc_analyze_LINK): New.
1016 (gc_analyze_LDADD): New.
1017 (gc_analyze_DEPENDENCIES): New.
1018 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1019 * Makefile.in: Regenerated.
1020 * configure: Regenerated.
1021 * include/config.h.in: Regenerated.
1022 * sources.am: Regenerated.
1023 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1024 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1025 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1026 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1027 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1028 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1029 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1030 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1031 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1032 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1033 * gnu/gcj/util/GCInfo.java: New.
1034 * gnu/gcj/util/GCInfo.h: New.
1035 * gnu/gcj/util/natGCInfo.cc: New.
1036 * gnu/gcj/util/UtilPermission.java: New.
1037 * gnu/gcj/util/UtilPermission.h: New.
1038 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1039 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1040 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1041 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1042 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1043 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1044 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1045 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1046 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1047 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1048 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1049 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1050 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1051 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1052 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1053 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1054 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1055 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1056 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1057 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1058 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1059 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1060 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1062 2007-02-15 David Daney <ddaney@avtrex.com>
1064 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1065 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1066 * gnu/classpath/jdwp/VMFrame.h: Same.
1067 * java/net/Socket.h: Same.
1068 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1070 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1072 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1073 Added LocalVariableTable attribute handling.
1074 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1075 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1076 * include/java-interp.h: Added local_var_table and
1077 local_var_table_len fields to _Jv_InterpMethod.
1078 (_Jv_InterpMethod::get_local_var_table): New method.
1079 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1080 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1081 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1083 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1084 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1086 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1088 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1090 2007-02-13 Keith Seitz <keiths@redhat.com>
1092 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1093 (jdwpBreakpointCB): New function.
1094 (jdwpVMInitCB): Define and enable the breakpoint
1097 2007-02-13 Andrew Haley <aph@redhat.com>
1099 * testsuite/libjava.lang/Divide_2.out
1100 * testsuite/libjava.lang/Divide_2.java: New test.
1102 2007-02-12 Keith Seitz <keiths@redhat.com>
1104 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1105 from jthread to Thread *; it is no longer needed.
1106 (_Jv_JVMTI_GetFrameCount): Likewise.
1107 Fix small formatting typo.
1109 2007-02-12 Tom Tromey <tromey@redhat.com>
1111 * sources.am, Makefile.in: Rebuilt.
1112 * java/lang/Socket.java: Removed override.
1113 * java/lang/DatagramSocket.java: Removed override.
1114 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1116 (getLocalAddress): New method.
1117 * gnu/java/net/PlainDatagramSocketImpl.java
1118 (PlainDatagramSocketImpl): Throws IOException.
1119 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1123 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1125 * java/util/VMTimeZone.java: Rewrite to handle both the old
1126 'TZif\0' format and the new one.
1128 2007-02-10 Andrew Haley <aph@redhat.com>
1131 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1132 (getCallingClass): Call GET_CALLING_CLASS.
1133 (getCallingClassLoader): Likewise.
1135 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1137 * configure: Rebuilt.
1138 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1140 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1142 * Makefile.in: Rebuilt.
1143 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1144 the host's ecj1 executable.
1146 2007-02-09 Richard Henderson <rth@redhat.com>
1148 * sysdep/alpha/locks.h (read_barrier): New.
1150 2007-02-09 Keith Seitz <keiths@redhat.com>
1152 * gnu/classpath/jdwp/VMVirtualMachine.java
1153 (_stepping_threads): New member.
1154 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1156 * gnu/classpath/jdwp/VMVirtualMachine.h:
1158 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1159 (get_request_step_filter): New function.
1160 (DISABLE_EVENT): New macro.
1161 (initialize): Initialize _stepping_threads.
1162 (registerEvent): Implement EVENT_SINGLE_STEP.
1163 (unregisterEvent): Likewise.
1165 2007-02-08 Keith Seitz <keiths@redhat.com>
1167 * sources.am: Regenerate.
1168 * Makefile.in: Regenerate.
1169 * testsuite/Makefile.in: Regenerate.
1170 * gcj/Makefile.in: Regenerate.
1171 * include/Makefile.in: Regenerate.
1173 * classpath/lib/javax/management/MBeanServerFactory.class:
1176 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1178 * classpath/gnu/classpath/jdwp/processor/
1179 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1181 (executeSetValues): Ditto.
1182 (executeThisObject): Ditto.
1183 * classpath/gnu/classpath/jdwp/processor/
1184 StackFrameCommandSet.class: Rebuilt.
1185 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1187 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1188 * classpath/lib/gnu/classpath/jdwp/exception/
1189 InvalidFrameException.java: New file.
1190 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1192 (Constructor): New method.
1193 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1194 * gnu/classpath/jdwp/VMVirtualMachine.java
1195 (getFrame): Changed ByteBuffer to jlong.
1196 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1197 (getFrame): Implement.
1198 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1200 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1202 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1203 to hold "this" pointer for frame.
1204 (_Jv_InterpFrame::get_this_ptr): New method.
1205 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1207 2007-02-07 Keith Seitz <keiths@redhat.com>
1209 * include/java-interp.h (_Jv_Frame::depth):
1211 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1213 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1215 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1216 (_Jv_JVMTI_GetMaxLocals): New method.
1217 * include/java-interp.h
1218 (_Jv_InterpMethod::get_max_locals): New method.
1220 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1222 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1224 2007-02-07 Tom Tromey <tromey@redhat.com>
1226 * testsuite/libjava.jni/init.c: New file.
1227 * testsuite/libjava.jni/init.java: New file.
1228 * testsuite/libjava.jni/init.out: New file.
1229 * testsuite/libjava.jni/init.jar: New file.
1230 * testsuite/libjava.jni/init.h: New file.
1231 * testsuite/libjava.jni/init$NativeClass.h: New file.
1233 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1236 * configure: Regenerate.
1238 2007-02-06 Andrew Haley <aph@redhat.com>
1240 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1241 * sources.am: Rebuild.
1243 2007-02-05 Keith Seitz <keiths@redhat.com>
1245 * jvmti.cc (_envListLock): Change type to
1246 ReentrantReadWriteLock.
1247 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1249 (check_enabled_event): Likewise.
1250 (_Jv_GetJVMTIEnv): Likewise.
1251 (_Jv_JVMTI_Init): Likewise.
1252 (_Jv_JVMTI_PostEvent): Likewise.
1254 2007-02-05 Keith Seitz <keiths@redhat.com>
1256 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1257 (registerEvent): Implement EVENT_BREAKPOINT.
1258 (unregisterEvent): Likewise.
1259 (get_request_location): New function.
1261 2007-02-05 Matthias Klose <doko@debian.org>
1263 testsuite/Makefile.am (compile-tests): Fix typo.
1264 testsuite/Makefile.in: Regenerate.
1266 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1268 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1271 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1273 * configure.ac (libjava_cv_anon_version_script): New test.
1274 (ANONVERSCRIPT): New AM_CONDITIONAL.
1275 * configure: Rebuilt.
1276 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1278 * Makefile.in: Rebuilt.
1279 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1280 * libgcj.ver: New file.
1282 2007-02-01 David Daney <ddaney@avtrex.com>
1284 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1286 * sources.am: Regenerate.
1287 * Makefile.in: Regenerate.
1289 2007-02-01 Tom Tromey <tromey@redhat.com>
1291 * java/lang/ClassLoader.java (getResources): No longer final.
1293 2007-02-01 Tom Tromey <tromey@redhat.com>
1295 * java/util/logging/LogManager.java (loggers): Genericized.
1296 (addLogger): Merged.
1297 (findAncestor): Likewise.
1298 (getLogger): Likewise.
1299 (getLoggerNames): Genericized.
1301 (getLevelProperty): Likewise.
1302 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1303 * java/lang/reflect/Constructor.java (getParameterTypes):
1305 (getExceptionTypes): Likewise.
1306 (newInstance): Likewise.
1307 * java/lang/reflect/Array.java (newInstance): Genericized.
1308 * java/lang/Object.java (getClass): Genericized.
1309 * java/nio/charset/spi/CharsetProvider.java (charsets):
1311 * java/text/Collator.java: Implement Comparable<Object>.
1313 2007-02-01 Tom Tromey <tromey@redhat.com>
1315 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1317 (clear): Call complete.
1318 (setTimeZone): Call computeTime, computeFields.
1319 (compareTo): New method.
1320 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1321 (availableCharsets): Genericized.
1322 (aliases): Likewise.
1323 (compareTo): Changed argument type.
1324 * java/lang/ClassLoader.java (loadClass): Genericized.
1325 (findClass): Likewise.
1326 (defineClass): Likewise.
1327 (resolveClass): Likewise.
1328 (findSystemClass): Likewise.
1329 (setSigners): Likewise.
1330 (findLoadedClass): Likewise.
1331 (getResources): Likewise.
1332 (findResources): Likewise.
1333 (getSystemResources): Likewise.
1334 (checkInitialized): New method.
1335 * java/lang/Class.java (getCanonicalName): New method.
1337 2007-01-31 Keith Seitz <keiths@redhat.com>
1339 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1340 * jvmti.cc (JVMTI): Add member "enabled".
1341 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1342 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1343 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1344 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1345 instead of run to compile the method.
1347 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1350 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1352 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1353 -shared-libgcc to the cxxflaglist for Darwin.
1355 2007-01-31 Tom Tromey <tromey@redhat.com>
1357 * scripts.am, Makefile.in: Rebuilt.
1358 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1360 (emit_ordinary_rule): New proc.
1362 2007-01-31 Keith Seitz <keiths@redhat.com>
1364 * testsuite/libjava.jvmti/getmethodname.h: New file.
1365 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1367 2007-01-31 Andrew Haley <aph@redhat.com>
1369 * prims.cc (_Jv_Abort): fflush (stderr).
1370 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1372 2007-01-31 Tom Tromey <tromey@redhat.com>
1374 * configure, Makefile.in: Rebuilt.
1375 * configure.ac (JAR): Check for -@ feature.
1376 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1378 2007-01-31 Tom Tromey <tromey@redhat.com>
1381 * configure, include/config.h.in: Rebuilt.
1382 * configure.ac: Check for magic_t in magic.h.
1383 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1385 2007-01-30 Tom Tromey <tromey@redhat.com>
1387 * Makefile.in: Rebuilt.
1388 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1390 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1392 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1393 cast to print it right.
1395 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1398 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1401 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1403 * include/java-interp.h: Added _Jv_Frame class and its two
1404 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1405 _Jv_FrameType from java-stack.h.
1406 * include/java-stack.h: Removed _Jv_FrameType.
1407 * java/lang/Thread.java: Added frame member to hold new
1408 composite frame stack.
1409 * java/lang/Thread.h: Regenerated.
1410 * java/lang/Thread.class: Rebuilt.
1411 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1412 calling a JNI method.
1413 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1414 (_Jv_JVMTI_GetFrameCount): New method.
1415 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1417 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1418 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1419 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1420 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1421 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1424 2007-01-29 Tom Tromey <tromey@redhat.com>
1426 * interpret.cc (run_debug): Remove comment.
1433 (run_normal_debug): Likewise.
1434 (run_synch_object_debug): Likewise.
1435 (run_class_debug): Likewise.
1436 (run_synch_class_debug): Likewise.
1441 (NULLARRAYCHECK): Likewise.
1442 (ARRAYBOUNDSCHECK): Likewise.
1443 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1445 2007-01-29 Tom Tromey <tromey@redhat.com>
1447 * configure, Makefile.in: Rebuilt.
1448 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1449 * configure.ac (BASH_JAR): Removed conditional.
1450 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1452 2007-01-29 Tom Tromey <tromey@redhat.com>
1454 * Makefile.in: Rebuilt.
1455 * Makefile.am (interpret.lo): New target. Add -fwrap to
1458 2007-01-29 Keith Seitz <keiths@redhat.com>
1460 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1462 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1463 gcj. All jvmti object types now are defined to be their
1464 corresponding java classes.
1465 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1467 (_Jv_JVMTI_ResumeThread): Likewise.
1468 (_Jv_JVMTI_InterruptThread): Likewise.
1469 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1470 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1471 (jdwpClassPrepareCB): Likewise.
1472 (jdwpThreadEndCB): Likewise.
1473 (jdwpThreadStartCB): Likewise.
1474 (jdwpVMInitCB): Likewise.
1476 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1478 * gnu/java/nio/channels/natFileChannelWin32.cc
1479 (lock): Implemented.
1480 (unlock): Implemented.
1482 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1485 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1486 libgcj_flags to undefine 'sun' at compile time.
1487 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1489 (write_barrier): Likewise.
1491 2007-01-27 Keith Seitz <keiths@redhat.com>
1493 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1494 (getAllClassMethods): Move error handling to ...
1495 (throw_jvmti_error): ... here.
1496 (jdwpClassPrepareCB): New function.
1497 (jdwpThreadEndCB): New function.
1498 (jdwpThreadStartCB): New function.
1499 (jdwpVMDeathCB): New function.
1500 (jdwpVMInitCB): Define and enable callbacks for
1501 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1503 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1505 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1506 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1507 (MYGCJH): New variable.
1508 (compile-tests): New goal.
1509 * Makefile.in: Rebuilt.
1510 * testsuite/Makefile.in: Rebuilt.
1512 2007-01-26 Andrew Haley <aph@redhat.com>
1514 * java/lang/natClass.cc (initializeClass): Re-throw
1516 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1517 * java/lang/ClassLoader.java: (loadClass): Likewise.
1519 2007-01-26 Tom Tromey <tromey@redhat.com>
1523 2007-01-25 Tom Tromey <tromey@redhat.com>
1526 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1527 input or output encodings. Removed unused local variables.
1529 2007-01-25 Keith Seitz <keiths@redhat.com>
1531 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1532 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1533 (_Jv_GetJDWP_JVMTIEnv): New function.
1534 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1535 (getSignature): Implement.
1536 (getModifiers): Implement.
1538 2007-01-25 Andrew Haley <aph@redhat.com>
1540 * configure, Makefile.in, include/config.h.in: Rebuilt.
1541 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1542 * configure.ac: Don't check for libmagic.
1543 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1544 p_magic_close, p_magic_buffer): New globals.
1545 (init): Look up 'magic' functions.
1546 (guessContentTypeFromBuffer): Updated.
1548 2007-01-25 Keith Seitz <keiths@redhat.com>
1550 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1551 (_Jv_JVMTI_Interface): Define GetMethodName.
1552 * testsuite/libjava.jvmti/getmethodname.java: New file.
1553 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1554 * testsuite/libjava.jvmti/getmethodname.out: New file.
1556 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1558 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1559 * libjava/testsuite/libjava.jvmti/interp: New folder.
1560 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1562 2007-01-24 Keith Seitz <keiths@redhat.com>
1564 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1565 CLASS_PREPARE notification.
1567 2007-01-24 Keith Seitz <keiths@redhat.com>
1569 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1570 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1571 * interpret-run.cc: Implement insn_breakpoint.
1573 2007-01-24 Keith Seitz <keiths@redhat.com>
1575 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1576 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1578 2007-01-24 Keith Seitz <keiths@redhat.com>
1580 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1581 (getAllClassMethods): Implement.
1583 2007-01-24 Andrew Haley <aph@redhat.com>
1585 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1586 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1587 from being sibcalled.
1589 2007-01-24 Andrew Haley <aph@redhat.com>
1591 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1592 * sources.am: Rebuild.
1594 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1596 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1597 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1599 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1602 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1603 * Makefile.in: Regenerated.
1605 2007-01-22 Keith Seitz <keiths@redhat.com>
1607 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1608 (getClassMethod): Implement.
1610 2007-01-22 Keith Seitz <keiths@redhat.com>
1612 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1613 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1614 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1615 (_Jv_JVMTI_Interface): Define GetClassStatus.
1617 2007-01-22 Tom Tromey <tromey@redhat.com>
1619 * configure: Rebuilt.
1620 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1622 2007-01-22 Tom Tromey <tromey@redhat.com>
1625 * testsuite/libjava.jni/pr29812.java: New file.
1626 * testsuite/libjava.jni/pr29812_injar.java: New file.
1627 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1628 * testsuite/libjava.jni/pr29812.out: New file.
1629 * testsuite/libjava.jni/pr29812_injar.c: New file.
1630 * testsuite/libjava.jni/pr29812_injar.h: New file.
1631 * testsuite/libjava.jni/pr29812.jar: New file.
1632 * testsuite/libjava.jni/pr29812.c: New file.
1633 * testsuite/libjava.jni/pr29812.h: New file.
1634 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1636 (gcj_jni_invocation_test_one): Use it.
1637 (gcj_jni_pr29812): New proc.
1638 (gcj_jni_run): Use it.
1639 * java/lang/natRuntime.cc (_load): Push a new system frame before
1641 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1642 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1643 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1644 <allocated_p>: Now bool.
1645 <loader>: New field.
1646 (_Jv_JNI_EnsureLocalCapacity): Updated.
1647 (_Jv_JNI_NewLocalRef): Likewise.
1648 (_Jv_JNI_NewLocalRef): Likewise.
1649 (_Jv_JNI_PopLocalFrame): Likewise.
1650 (_Jv_JNI_FindClass): Likewise.
1651 (_Jv_GetJNIEnvNewFrame): Likewise.
1652 (_Jv_JNI_AttachCurrentThread): Likewise.
1653 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1654 (_Jv_GetJNIEnvNewFrame): Use it.
1655 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1657 2007-01-22 Tom Tromey <tromey@redhat.com>
1659 * libtool-version: Bump current to 9.
1661 2007-01-22 Andrew Haley <aph@redhat.com>
1663 * sysdep/alpha/locks.h (write_barrier): New.
1665 2007-01-21 Matthias Klose <doko@debian.org>
1667 * Makefile.am (install-exec-hook): Use transformed name.
1668 * Makefile.in: Regenerate.
1670 2007-01-19 Keith Seitz <keiths@redhat.com>
1672 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1673 in methods and reformat.
1675 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1678 2007-01-18 Keith Seitz <keiths@redhat.com>
1680 From Macro Trudel <mtrudel@gmx.ch>:
1681 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1684 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1686 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1687 * testsuite/libjava.jni/findclass2.jar: New file.
1688 * testsuite/libjava.jni/findclass2.h: New file.
1689 * testsuite/libjava.jni/findclass2.java: New file
1690 * testsuite/libjava.jni/findclass2.c: New file.
1691 * testsuite/libjava.jni/findclass2.out: New file.
1693 2007-01-18 Tom Tromey <tromey@redhat.com>
1695 * configure: Rebuilt.
1696 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1698 2007-01-18 Gary Benson <gbenson@redhat.com>
1700 * gnu/java/nio/natVMPipeEcos.cc:
1701 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1702 * gnu/java/nio/natVMPipePosix.cc:
1703 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1704 * gnu/java/nio/natVMPipeWin32.cc:
1705 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1706 * gnu/java/nio/natVMSelectorEcos.cc:
1707 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1708 * gnu/java/nio/natVMSelectorPosix.cc:
1709 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1710 * gnu/java/nio/natVMSelectorWin32.cc:
1711 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1712 * java/io/natVMObjectInputStream.cc:
1713 Renamed from java/io/natObjectInputStream.cc.
1714 * java/lang/natVMDouble.cc:
1715 Renamed from java/lang/natDouble.cc.
1716 * java/lang/natVMFloat.cc:
1717 Renamed from java/lang/natFloat.cc.
1718 * Makefile.am, configure.ac: Reflect the above.
1719 * Makefile.in, configure: Rebuilt.
1721 2007-01-17 Andrew Haley <aph@redhat.com>
1723 * Makefile.in: Rebuilt.
1724 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1726 2007-01-17 Keith Seitz <keiths@redhat.com>
1728 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1729 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1731 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1733 * configure.ac: Use multi.m4 from aclocal rather than custom
1734 code. Use multi_basedir instead libgcj_basedir. Test for
1735 /proc/self/exe when not cross-compiling.
1736 * aclocal.m4: Regenerate.
1737 * configure: Regenerate.
1738 * Makefile.in: Regenerate.
1740 2007-01-17 Gary Benson <gbenson@redhat.com>
1742 * java/nio/natVMDirectByteBufferImpl.cc:
1743 Renamed from java/nio/natDirectByteBufferImpl.cc.
1744 * Makefile.am: Reflect the above.
1745 * Makefile.in: Rebuilt.
1747 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1749 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1750 Fixed indentation. Removed unused variable.
1752 2007-01-16 Tom Tromey <tromey@redhat.com>
1754 * java/lang/natThread.cc (finalize_native): Remove cast.
1755 (_Jv_GetCurrentJNIEnv): Likewise.
1756 * include/jvm.h (struct natThread) <jni_env>: Declare as
1759 2007-01-16 Keith Seitz <keiths@redhat.com>
1761 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1762 %#llx instead of %d for new_value.
1763 * testsuite/libjava.jvmti/events.out: Update expected output.
1764 * testsuite/libjava.jvmti/events.jar: Regenerate.
1766 2007-01-16 Keith Seitz <keiths@redhat.com>
1768 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1770 (ENABLE_EVENT): New macro.
1771 (initialize): Define and enable JVMTI VM_INIT callback.
1772 (jdwpVMInitCB): New function.
1774 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1776 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1777 * testsuite/libjava.jvmti/getallthreads.java: New test.
1778 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1779 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1780 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1781 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1783 2007-01-15 Keith Seitz <keiths@redhat.com>
1785 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1786 java.lang.StringBuilder instead of java.lang.StringBuffer.
1787 (resumeThread): Likewise.
1789 2007-01-15 Gary Benson <gbenson@redhat.com>
1791 * java/nio/MappedByteBuffer.java: Removed.
1792 * sources.am, Makefile.in: Rebuilt.
1794 2007-01-15 Gary Benson <gbenson@redhat.com>
1796 * java/net/URLClassLoader.java: Removed.
1797 * gnu/java/net/loader/Load_gcjlib.java: New file.
1798 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1799 URL handler is present in static executables.
1800 * sources.am, Makefile.in: Rebuilt.
1802 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1804 * Makefile.am (libgcj_la_LDFLAGS): Add
1805 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1806 (libgcj_tools_la_LDFLAGS): Likewise.
1807 (libgcj_bc_la_LDFLAGS): Likewise.
1808 * Makefile.in: Regenerated.
1810 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1811 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1812 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1813 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1814 * configure: Regenerated.
1815 * aclocal.m4: Likewise.
1816 * gcj/Makefile.in: Likewise.
1817 * include/Makefile.in: Likewise.
1818 * testsuite/Makefile.in: Likewise.
1820 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1822 * sysdep/sh/locks.h (read_barrier): New.
1823 (write_barrier): Likewise.
1825 2007-01-12 Andrew Haley <aph@redhat.com>
1827 * include/i386-signal.h: Rewrite to use rt_sigaction.
1829 2007-01-11 Andrew Haley <aph@redhat.com>
1831 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1833 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1836 2007-01-10 Tom Tromey <tromey@redhat.com>
1838 * gnu/gcj/xlib/*.h: New files.
1839 * gnu/awt/xlib/*.h: Likewise.
1840 * classpath/lib/gnu/gcj/xlib: New class files.
1841 * classpath/lib/gnu/awt/xlib: Likewise.
1843 2007-01-10 Tom Tromey <tromey@redhat.com>
1845 * HACKING: Various updates.
1847 2007-01-10 Tom Tromey <tromey@redhat.com>
1849 * java/lang/natDouble.cc (toString): Added parens.
1850 * gnu/gcj/io/shs.h (PROTO): Define.
1851 * link.cc (resolve_pool_entry): Added missing braces.
1853 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1856 * sysdep/ia64/locks.h (read_barrier): New.
1857 (write_barrier): New.
1859 2007-01-10 Gary Benson <gbenson@redhat.com>
1861 * java/net/URL.java: Removed.
1862 * sources.am, Makefile.in: Rebuilt.
1864 2007-01-10 Matthias Klose <doko@debian.org>
1866 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1867 * Makefile.in: Regenerated.
1869 2007-01-05 Tom Tromey <tromey@redhat.com>
1871 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1872 dummy.class in srcdir.
1874 2007-01-03 Tom Tromey <tromey@redhat.com>
1876 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1879 2007-01-03 Tom Tromey <tromey@redhat.com>
1881 * testsuite/*: Added many .jar and .h files.
1882 * testsuite/libjava.special/special.exp
1883 (gcj_special_try_compiler): New proc.
1884 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1885 bytecompile source. Search for .jar files.
1886 (gcj_loader_test_one): Don't look for MyLoader.java.
1887 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1888 bytecompile sources or build headers.
1889 (gcj_jvmti_run): Look for .jar files.
1890 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1892 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1893 Set classpath when invoking gij.
1894 (gcj_jni_invocation_test_one): Likewise.
1895 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1896 headers or bytecompile sources.
1897 (gcj_cni_run): Use .jar files, not .java files.
1898 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1900 2007-01-02 Tom Tromey <tromey@redhat.com>
1902 * configure: Rebuilt.
1903 * configure.ac: Check for gjar.
1905 2007-01-02 Tom Tromey <tromey@redhat.com>
1907 * testsuite/libjava.jacks/jacks.exp: Removed.
1908 * testsuite/libjava.jacks/jacks.xfail: Removed.