1 2007-06-09 Keith Seitz <keiths@redhat.com>
3 * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
4 Add missing return value.
6 2007-06-03 Matthias Klose <doko@ubuntu.com>
8 * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
9 _access: Handle EXEC query, stub only.
11 2007-06-03 Matthias Klose <doko@ubuntu.com>
13 Merged from classpath:
14 * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
15 * java/lang/System.java(inheritedChannel): New.
16 * java/lang/Character.java: Remove stray`;'.
17 * java/net/MulticastSocket.java: Merged.
18 * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
19 * java/text/Collator.java(getInstance): Merged.
20 * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
21 getDisplayName, getDisplayNames: New.
22 * java/util/logging/Logger.java: Merged.
23 * Regenerate .class and .h files.
25 2007-06-03 Matthias Klose <doko@ubuntu.com>
27 * java/io/File.java: Merge with classpath-0.95, new method
28 setFilePermissions, new attribute EXEC.
29 * java/io/natFilePosix.cc (setFilePermissions): New.
30 _access: Handle EXEC query.
31 * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
33 2007-06-03 Matthias Klose <doko@ubuntu.com>
35 Imported GNU Classpath 0.95.
37 * classpath/Makefile.in,
38 classpath/native/jni/midi-dssi/Makefile.in,
39 classpath/native/jni/classpath/Makefile.in,
40 classpath/native/jni/Makefile.in,
41 classpath/native/jni/gconf-peer/Makefile.in,
42 classpath/native/jni/java-io/Makefile.in,
43 classpath/native/jni/native-lib/Makefile.in,
44 classpath/native/jni/java-util/Makefile.in,
45 classpath/native/jni/midi-alsa/Makefile.in,
46 classpath/native/jni/java-lang/Makefile.in,
47 classpath/native/jni/java-nio/Makefile.in,
48 classpath/native/jni/java-net/Makefile.in,
49 classpath/native/jni/xmlj/Makefile.in,
50 classpath/native/jni/qt-peer/Makefile.in,
51 classpath/native/jni/gtk-peer/Makefile.in,
52 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
53 classpath/native/fdlibm/Makefile.in,
54 classpath/native/plugin/Makefile.in,
55 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
56 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
57 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
58 classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
59 classpath/external/sax/Makefile.in,
60 classpath/external/w3c_dom/Makefile.in,
61 classpath/external/relaxngDatatype/Makefile.in,
62 classpath/include/Makefile.in,
63 classpath/examples/Makefile.in: Regenerate.
64 * classpath/config.guess, classpath/config.sub,
65 classpath/ltmain.sh : Update.
66 * classpath/configure, classpath/depcomp, classpath/missing,
67 classpath/aclocal.m4, classpath/install-sh: Regenerate.
69 * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
70 * sources.am: Regenerate.
71 * Makefile.in: Regenerate.
73 * Update the .class files and generated CNI header files, add new
74 .class and generated CNI header files.
75 * Remove generated files for removed java source files:
76 classpath/gnu/java/net/BASE64.java,
77 classpath/gnu/java/security/util/Base64.java,
78 classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
79 classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
80 classpath/gnu/java/awt/font/autofit/Scaler.java,
81 classpath/gnu/classpath/jdwp/util/Value.java,
82 classpath/gnu/javax/net/ssl/Base64.java.
83 * Remove empty directories.
85 * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
86 * java/lang/Class.java(setAccessible): Merge from classpath.
87 * java/util/Locale.java: Remove.
88 * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
89 gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
90 * gcj/javaprims.h: Update class declarations.
91 * scripts/classes.pl: Update usage.
92 * HACKING: Mention to build all peers.
94 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
96 * configure: Regenerate.
98 2007-05-31 Andrew Haley <aph@redhat.com>
100 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
101 INTERPRETED access modifier.
103 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
106 * configure: Regenerated.
107 * aclocal.m4: Regenerated.
109 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
112 * configure: Regenerated.
114 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
116 * configure.ac: Don't include ../config/confsubdir.m4.
117 * aclocal.m4: Regenerated.
118 * configure: Likewise.
120 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
123 * configure.ac: Include confsubdir.m4.
124 * configure: Regenerate.
126 2007-05-24 Keith Seitz <keiths@redhat.com>
128 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
129 one when pc_ptr is non-NULL.
131 * prims.cc (parse_init_args): Enable JVMTI with agentlib
132 and agentpath options.
134 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
136 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
137 Pass '-agentlib:dummyagent' when executing gij.
138 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
139 and remove it when finished.
140 * testsuite/libjava.jvmti/dummyagent.c: New file.
142 2007-05-23 Steve Ellcey <sje@cup.hp.com>
144 * Makefile.in: Regenerate.
145 * configure: Regenerate.
146 * aclocal.m4: Regenerate.
147 * gcj/Makefile.in: Regenerate.
148 * include/Makefile.in: Regenerate.
149 * testsuite/Makefile.in: Regenerate.
151 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
153 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
154 (executeMethods): Remove cast to ClassReferenceTypeId.
155 * classpath/lib/gnu/classpath/jdwp/processor/
156 ReferenceTypeCommandSet.class: Rebuilt.
158 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
160 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
161 classes and mark methods as native appropriately.
163 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
165 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
167 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
168 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
169 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
172 2007-05-16 David Daney <ddaney@avtrex.com>
174 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
175 (_Jv_StackFrame): Remove commented out code.
176 (_Jv_UnwindState): Remove superfluous 'typedef'.
177 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
179 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
180 (getCollectionUsage): Don't declare unused parameter n.
181 (getMemoryManagerNames): Same.
182 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
185 2007-05-16 Keith Seitz <keiths@redhat.com>
187 * include/java-interp.h (breakpoint_at): Declare.
188 * interpret.cc (breakpoint_at): New function.
189 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
191 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
192 Initialize _event_list.
193 (handle_single_step): If there is a breakpoint at the
194 location at which we are stopping, do not send the notification.
195 Instead add the event to a list of events that occur at this
197 (jdwpBreakpointCB): If the event list is not empty, send
198 whatever events are in it and the breakpoint event in a single
200 Mark parameter jni_env as MAYBE_UNUSED.
201 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
203 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
205 2007-05-15 David Daney <ddaney@avtrex.com>
207 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
208 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
210 2007-05-15 Keith Seitz <keiths@redhat.com>
212 * interpret.cc (STOREA): Rewrite using temporary variable to
213 avoid double-macro expansion side-effects.
216 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
217 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
218 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
219 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
222 2007-05-12 David Daney <ddaney@avtrex.com>
225 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
226 (_Jv_UnBlockSigchld): Same.
227 * posix-threads.cc: Include posix-threads.h.
228 (block_sigchld) Rename to...
229 (_Jv_BlockSigchld) ... this.
230 (_Jv_UnBlockSigchld): New function.
231 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
232 (_Jv_ThreadStart): Same.
233 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
234 * java/lang/PosixProcess.java: Clean up imports.
235 (ProcessManager): Make final.
236 (ProcessManager.queue): Genericise and make private.
237 (ProcessManager.pidToProcess): Remove.
238 (ProcessManager.liveProcesses): New field.
239 (ProcessManager.reaperPID): Remove.
240 (ProcessManager.nativeData): New field.
241 (ProcessManager.removeProcessFromMap): Remove.
242 (ProcessManager.addProcessToMap):Remove.
243 (ProcessManager.addToLiveProcesses): New method.
244 (ProcessManager.run): Rewritten.
245 (ProcessManager.reap): Change method signature,
246 (getErrorStream): Correct formatting.
247 (getInputStream): Same.
248 (spawn): Add process to liveProcesses list.
249 (pid): Make package private.
250 * java/lang/PosixProcess.h: Regenerate.
251 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
252 Add useing namespace java::lang.
253 (ProcessManagerInternal): New struct.
254 (sigchld_handler): Rewritten.
256 (waitForSignal): Same.
258 (signalReaper): Same.
259 (nativeDestroy): Call kill as ::kill.
260 (nativeSpawn): Correct formatting.
261 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
262 * classpath/lib/java/lang/PosixProcess.class: Same.
263 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
265 2007-05-07 Ian Lance Taylor <iant@google.com>
268 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
271 2007-05-07 Keith Seitz <keiths@redhat.com>
273 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
274 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
275 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
277 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
279 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
280 * gnu/classpath/jdwp/event/Event.h: Regenerate.
281 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
283 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
285 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
288 2007-05-03 Keith Seitz <keiths@redhat.com>
290 * interpret.cc: Don't include ExceptionEvent.h.
291 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
292 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
293 * Makefile.in: Regenerated.
295 2007-05-03 Keith Seitz <keiths@redhat.com>
297 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
299 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
300 (find_catch_location): New function.
301 (REPORT_EXCEPTION): New macro.
302 (throw_internal_error): Use REPORT_EXCEPTION.
303 (throw_incompatible_class_change_error): Likewise.
304 (throw_null_pointer_exception): Likewise.
305 (throw_class_format_error): Likewise.
306 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
308 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
309 (insn_new): Use INTERP_REPORT_EXCEPTION.
310 (insn_athrow): Likewise.
311 Remove previous JVMTI exception notifications.
312 Add JVMTI ExceptionCatch notificatin.
313 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
315 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
316 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
317 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
318 * gnu/classpath/jdwp/natVMVirtualMachine.cc
319 (jdwpExceptionCB): New function.
320 (jdwpVMInitCB): Set Exception event handler and enable.
321 * sources.am: Regenerated.
322 * Makefile.in: Regenerated.
324 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
326 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
327 * Makefile.in: Regenerate.
328 * scripts/makemake.tcl (scan_directory): Treat default.css as a
330 * classpath/javax/swing/text/html/default.css: Move to...
331 * classpath/resource/javax/swing/text/html/default.css: New file.
332 * classpath/javax/swing/text/html/HTMLEditorKit.java
333 (getStyleSheet): Throw RuntimeException when style loading fails.
334 * sources.am (property_files): Add
335 classpath/resource/javax/swing/text/html/default.css.
337 2007-05-02 Tom Tromey <tromey@redhat.com>
339 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
340 * java/lang/natCharacter.cc (Character::getType): Handle negative
342 (Character::toLowerCase): Likewise.
343 (Character::toUpperCase): Likewise.
344 (Character::digit): Likewise.
345 (Character::getNumericValue): Likewise.
346 (Character::getDirectionality): Likewise.
347 (Character::toTitleCase): Likewise.
349 2007-04-30 Keith Seitz <keiths@redhat.com>
351 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
352 executing the instruction.
353 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
354 one insn from the frame's PC. _Jv_InterpMethod::run et al
355 will advance the PC before executing the instruction.
357 2007-04-27 Keith Seitz <keiths@redhat.com>
359 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
360 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
362 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
364 2007-04-27 Keith Seitz <keiths@redhat.com>
366 * classpath/lib/gnu/classpath/jdwp/event/filters/
367 LocationOnlyFilter.class: Regenerated;
368 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
370 * gnu/classpath/jdwp/VMMethod.java
371 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
373 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
374 * gnu/classpath/jdwp/util/Location.h: Regenerated.
376 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
378 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
379 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
381 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
383 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
385 (get): Deal with ObjectId of 0.
387 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
390 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
392 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
394 * gnu/classpath/jdwp/natVMVirtualMachine.java
395 (getThreadStatus): Implement.
397 2007-04-24 Keith Seitz <keiths@redhat.com>
399 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
400 Add _Jv_RewriteBreakpointInsn friend declaration.
401 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
402 [DIRECT_THREADED]: New function.
403 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
404 * interpret-run.cc: Define new REWRITE_INSN macro.
405 Changed all occurrences of insn rewriting to call REWRITE_INSN.
407 2007-04-23 Keith Seitz <keiths@redhat.com>
409 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
410 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
411 * boehm.cc (_Jv_IsThreadSuspended): New function.
412 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
413 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
414 (_Jv_JVMTI_Interface): Define GetThreadState.
416 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
418 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
420 (<init>): Add a pointer to the interpreter PC as a parameter with
422 (get_pc): New method.
423 * interpret-run.cc: If debugging, pass a pointer to the PC when
424 creating the stack frame.
425 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
428 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
430 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
431 for null source file and throw an exception indicating this.
433 2007-04-20 Keith Seitz <keiths@redhat.com>
435 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
436 Install the new breakpoint into the bytecode.
437 (deleteBreakpoint): Remove the breakpoint from the bytecode.
438 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
440 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
441 Don't install the breakpoint here.
443 2007-04-19 Keith Seitz <keiths@redhat.com>
445 * interpret-run.cc [insn_breakpoint]: Save the original
446 insn for the breakpoint before posting the JVMTI notification.
448 2007-04-19 Tom Tromey <tromey@redhat.com>
450 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
452 2007-04-18 Tom Tromey <tromey@redhat.com>
454 * Regenerated headers with new gjavah.
456 2007-04-18 Andrew Haley <aph@redhat.com>
458 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
460 (generateProxyClass): Add field $Proxy0.m. Store methods array in
462 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
463 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
464 * java/lang/natClass.cc: Likewise.
465 * headers.txt: Likewise.
466 * java/lang/reflect/Method.h: Likewise.
468 2007-04-16 Andrew Haley <aph@redhat.com>
470 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
472 (bootGetResource): Use getBootURLLoader() to load resources.
473 (bootGetResources): Likewise.
475 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
476 check that the method's declaring class is accessible.
478 2007-04-10 Keith Seitz <keiths@redhat.com>
480 * sources.am: Regenerate.
481 * Makefile.in: Likewise.
483 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
485 * interpret-run.cc: If debugging, check if args is NULL before
486 getting the "this" pointer.
488 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
490 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
491 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
492 * gnu/classpath/jdwp/ArrayValue.h: New file.
493 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
496 2007-04-09 David Daney <ddaney@avtrex.com>
499 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
500 environment before the fork.
501 * testsuite/libjava.lang/Process_7.java: New test.
502 * testsuite/libjava.lang/Process_7.out: Its expected results.
503 * testsuite/libjava.lang/Process_7.jar: Generated file.
505 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
507 * prims.cc (load_jvmti_agent): Add the missing `,'.
509 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
511 * gij.cc (main): Accept -agentlib and -agentpath options.
512 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
513 (load_jvmti_agent): New function.
515 2007-04-04 Tania Bento <tbento@redhat.com>
517 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
518 Copyright information and introduced new variable, currency.
519 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
520 to "XXX", currencySymbol to "?" and localCurrency appropriately.
521 (getCurrency): Fixed documentation and return the value of currency.
522 (setCurrency): Fixed documentation and update the value of currency.
523 (setInternationalCurrencySymbol): Fixed documentation and update the
525 * java/util/Currency.java: Introduced two new variables, properties
526 and fractionDigits. In the static block, a properties object is
527 created and the currency resource is loaded.
528 (Currency(Locale)): fractionDigits is defined.
529 (Currency(String)): New method.
530 (getDefaultFractionDigits): Return the value of fractionDigits.
531 (getInstance(String)): Check if String is equal to "XXX".
533 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
535 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
536 to ints for argCnt and slots.
537 (write): Replace writeLong with writeInt for the above.
539 2007-04-03 Andrew Haley <aph@redhat.com>
541 * testsuite/libjava.lang/ProxyTest.java: New test.
543 2007-04-02 Tom Tromey <tromey@redhat.com>
545 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
546 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
547 file, when writing, if it is too short.
549 2007-04-02 Tom Tromey <tromey@redhat.com>
551 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
552 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
554 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
555 where localport is -1.
556 (create): Now public.
557 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
558 'create' on the socket.
560 2007-04-02 Andrew Haley <aph@redhat.com>
562 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
563 _Jv_LookupProxyMethod to find the Method.
564 If parameter_types->length == 0, pass a null paramameter list,
565 not a zero-length parameter list.
566 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
567 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
569 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
571 * interpret-run.cc: Add code to properly set up variable slots
573 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
574 (getObjectJVMTI): New function.
575 (setObjectJVMTI): New function.
576 (getIntJVMTI): New function.
577 (setIntJVMTI): New function.
578 (getLongJVMTI): New function.
579 (setLongJVMTI): New function.
580 (getFloatJVMTI): New function.
581 (setFloatJVMTI): New function.
582 (getDoubleJVMTI): New function.
583 (setDoubleJVMTI): New function.
584 (getFrameDepth): New function.
585 (getValue): Implement.
586 (setValue): Implement.
588 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
590 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
591 (executeResume): Call VMVirtualMachine.resumeThread.
593 2007-03-29 Tom Tromey <tromey@redhat.com>
596 * java/util/logging/LogManager.java (readConfiguration): Handle
597 comma-separated 'handlers'. Don't try to add a non-existing
600 2007-03-27 Tom Tromey <tromey@redhat.com>
602 * sources.am, Makefile.in: Rebuilt.
603 * scripts/mime.types: Removed.
604 * scripts/MakeDefaultMimeTypes.java: Removed.
605 * gnu/gcj/io/MimeTypes.java: Removed.
606 * gnu/gcj/io/MimeTypes.h: Removed.
607 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
608 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
610 2007-03-27 Keith Seitz <keiths@redhat.com>
612 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
614 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
615 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
616 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
617 (initialize): Fix compiler type-punning warning.
618 (getAllLoadedClasses): Return empty list instead of NULL.
619 (getLoadRequests): Likewise.
620 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
621 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
622 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
623 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
624 * gnu/classpath/jdwp/value/CharValue.h: New file.
625 * gnu/classpath/jdwp/value/LongValue.h: New file.
626 * gnu/classpath/jdwp/value/ShortValue.h: New file.
627 * gnu/classpath/jdwp/value/Value.h: New file.
628 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
629 * gnu/classpath/jdwp/value/VoidValue.h: New file.
630 * gnu/classpath/jdwp/value/ByteValue.h: New file.
631 * gnu/classpath/jdwp/value/FloatValue.h: New file.
632 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
633 * gnu/classpath/jdwp/value/StringValue.h: New file.
634 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
635 * gnu/classpath/jdwp/value/IntValue.h: New file.
636 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
637 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
638 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
639 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
640 * gnu/classpath/jdwp/util/NullObject.h: New file.
641 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
642 * Makefile.in: Rebuilt.
643 * sources.am: Rebuilt.
645 2006-03-26 David Daney <ddaney@avtrex.com>
647 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
648 fork, execvp, execinfo.h, pthread_mutexattr_settype,
649 pthread_mutexattr_setkind_np and sys/wait.h.
650 * Makefile.in: Regenerate.
651 * include/Makefile.in: Regenerate.
652 * include/config.h.in: Regenerate.
653 * testsuite/Makefile.in: Regenerate.
654 * configure: Regenerate.
655 * gcj/Makefile.in: Regenerate.
657 2007-03-23 Gary Benson <gbenson@redhat.com>
659 * link.cc (_Jv_Linker::resolve_method_entry):
660 Ensure that the argument types and the return type of the
661 found method match those expected by the calling method.
663 2007-03-22 David Daney <ddaney@avtrex.com>
666 * configure.ac: Add checks for getrlimit and sys/resource.h.
667 * include/posix.h (_Jv_platform_close_on_exec): Remove.
668 * include/config.h.in: Regenerate.
669 * configure: Regenerate.
670 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
671 _Jv_platform_close_on_exec;
672 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
674 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
675 * java/lang/natPosixProcess.cc: Include sys/resource.h.
676 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
679 2007-03-20 Andrew Haley <aph@redhat.com>
681 * testsuite/libjava.lang/PR31264.java: New test.
683 2007-03-14 Jakub Jelinek <jakub@redhat.com>
685 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
686 * Makefile.in: Rebuilt.
688 2007-03-13 Keith Seitz <keiths@redhat.com>
690 * include/java-interp.h (_Jv_InterpClass): Declare
691 friend function _Jv_GetInterpClassSourceFile.
692 * java/lang/Class.h (Class): Likewise.
693 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
695 * gnu/classpath/jdwp/natVMVirtualMachine.cc
696 (getSourceFile): Implement.
698 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
700 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
701 * classpath/configure.ac: Add --with-ecj-jar configure option.
702 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
704 * classpath/INSTALL: Document --with-ecj-jar configure option and
705 ecj jar requirement for com.sun.tools.javac support.
706 * classpath/tools/Makefile.am: Build decendents of com and sun
708 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
709 * gnu/classpath/Configuration.java,
710 gnu/classpath/natConfiguration.cc (ecj): New method.
711 (ECJ_JAR): New field.
712 * scripts/makemake.tcl (scan_packages): Add com directory.
713 * sources.am (property_files): Add
714 classpath/resource/sun/rmi/rmic/messages.properties and
715 classpath/resource/com/sun/tools/javac/messages.properties.
716 * classpath/resource/com, classpath/resource/com/sun,
717 classpath/resource/com/sun/tools,
718 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
719 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
720 classpath/tools/classes/com, classpath/tools/classes/com/sun,
721 classpath/tools/classes/com/sun/javadoc,
722 classpath/tools/classes/com/sun/tools,
723 classpath/tools/classes/com/sun/tools/doclets,
724 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
725 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
726 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
727 classpath/tools/com/sun/tools,
728 classpath/tools/com/sun/tools/doclets,
729 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
730 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
732 * classpath/resource/com/sun/tools/javac/messages.properties,
733 classpath/resource/sun/rmi/rmic/messages.properties,
734 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
735 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
736 classpath/tools/classes/com/sun/javadoc/Doc.class,
737 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
738 classpath/tools/classes/com/sun/javadoc/Doclet.class,
739 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
740 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
741 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
742 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
743 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
744 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
745 classpath/tools/classes/com/sun/javadoc/Parameter.class,
746 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
747 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
748 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
749 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
750 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
751 classpath/tools/classes/com/sun/javadoc/Tag.class,
752 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
753 classpath/tools/classes/com/sun/javadoc/Type.class,
754 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
755 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
756 classpath/tools/classes/sun/rmi/rmic/Main.class,
757 classpath/tools/classes/sun/rmi/rmic/Messages.class,
758 classpath/tools/com/sun/javadoc/ClassDoc.java,
759 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
760 classpath/tools/com/sun/javadoc/Doc.java,
761 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
762 classpath/tools/com/sun/javadoc/Doclet.java,
763 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
764 classpath/tools/com/sun/javadoc/FieldDoc.java,
765 classpath/tools/com/sun/javadoc/MemberDoc.java,
766 classpath/tools/com/sun/javadoc/MethodDoc.java,
767 classpath/tools/com/sun/javadoc/PackageDoc.java,
768 classpath/tools/com/sun/javadoc/ParamTag.java,
769 classpath/tools/com/sun/javadoc/Parameter.java,
770 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
771 classpath/tools/com/sun/javadoc/RootDoc.java,
772 classpath/tools/com/sun/javadoc/SeeTag.java,
773 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
774 classpath/tools/com/sun/javadoc/SourcePosition.java,
775 classpath/tools/com/sun/javadoc/Tag.java,
776 classpath/tools/com/sun/javadoc/ThrowsTag.java,
777 classpath/tools/com/sun/javadoc/Type.java,
778 classpath/tools/com/sun/javadoc/TypeVariable.java,
779 classpath/tools/com/sun/tools/doclets/Taglet.java,
780 classpath/tools/com/sun/tools/javac/Main.java,
781 classpath/tools/com/sun/tools/javac/Messages.java,
782 classpath/tools/sun/rmi/rmic/Main.java,
783 classpath/tools/sun/rmi/rmic/Messages.java: New files.
784 * Makefile.in, classpath/Makefile.in, classpath/configure,
785 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
786 classpath/examples/Makefile.in, classpath/external/Makefile.in,
787 classpath/external/jsr166/Makefile.in,
788 classpath/external/relaxngDatatype/Makefile.in,
789 classpath/external/sax/Makefile.in,
790 classpath/external/w3c_dom/Makefile.in,
791 classpath/include/Makefile.in, classpath/include/config.h.in,
792 classpath/lib/Makefile.in,
793 classpath/lib/gnu/classpath/Configuration.class,
794 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
795 classpath/native/jawt/Makefile.in,
796 classpath/native/jni/Makefile.in,
797 classpath/native/jni/classpath/Makefile.in,
798 classpath/native/jni/gconf-peer/Makefile.in,
799 classpath/native/jni/gtk-peer/Makefile.in,
800 classpath/native/jni/java-io/Makefile.in,
801 classpath/native/jni/java-lang/Makefile.in,
802 classpath/native/jni/java-net/Makefile.in,
803 classpath/native/jni/java-nio/Makefile.in,
804 classpath/native/jni/java-util/Makefile.in,
805 classpath/native/jni/midi-alsa/Makefile.in,
806 classpath/native/jni/midi-dssi/Makefile.in,
807 classpath/native/jni/native-lib/Makefile.in,
808 classpath/native/jni/qt-peer/Makefile.in,
809 classpath/native/jni/xmlj/Makefile.in,
810 classpath/native/plugin/Makefile.in,
811 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
812 classpath/tools/Makefile.in, configure,
813 gnu/classpath/Configuration.h: Regenerate.
815 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
817 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
820 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
822 * java/lang/natString.cc (getBytes (jstring enc)):
823 Fixed the loop for multiple cycles, Code cleanup
825 2007-03-09 Tom Tromey <tromey@redhat.com>
827 * sources.am, Makefile.in: Rebuilt.
828 * scripts/makemake.tcl (scan_directory): Allow service files to be
830 Omit all XML-related service files.
832 2007-03-07 Tom Tromey <tromey@redhat.com>
834 * configure: Rebuilt.
835 * configure.ac: Clear vm-tools-packages.
837 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
839 * java/lang/Win32Process.java: Added nested class EOFInputStream.
840 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
841 enum and implementation.
842 (startProcess): Use redirect flag.
843 * classpath/lib/java/lang/Win32Process.class: Regenerated.
844 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
845 * gcj/javaprims.h: Regenerated.
846 * java/lang/Win32Process$EOFInputStream.h: New.
848 2007-03-07 Andrew Haley <aph@redhat.com>
850 * libgcj_bc.c (JvRunMainName): Declare.
852 2007-03-07 Gary Benson <gbenson@redhat.com>
854 * sources.am, Makefile.in: Rebuilt.
856 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
858 * gcj/javaprims.h: Regenerated.
860 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
862 * include/jvm.h (_Jv_ClosureListFinalizer): New.
863 (_Jv_Linker::create_error_method): Adjust.
864 * boehm.cc (_Jv_ClosureListFinalizer): New.
865 * nogc.cc (_Jv_ClosureListFinalizer): New.
866 * java/lang/Class.h (class _Jv_ClosureList): New.
867 (class java::lang::Class): Declare it as friend.
868 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
869 (_Jv_ClosureList::registerClousure): New.
870 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
871 (_Jv_CompiledEngine::do_get_closure_list): New.
872 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
873 (_Jv_IndirectCompiledClass): Add closures.
874 (_Jv_IndirectCompiledEngine::get_aux_info): New.
875 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
877 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
878 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
879 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
880 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
881 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
882 (node_closure): Add closure list.
883 (_Jv_InterpMethod::ncode): Add jclass argument. Use
884 ffi_closure_alloc and the separate code pointer. Register the
885 closure for finalization.
886 (_Jv_JNIMethod::ncode): Likewise.
887 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
888 (_Jv_InterpreterEngine::do_get_closure_list): New.
889 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
890 (_Jv_InterpClass): Add closures field.
891 (_Jv_JNIMethod::ncode): Adjust.
892 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
893 (_Jv_ClassReader::handleMethodsEnd): Likewise.
894 * link.cc (struct method_closure): Add closure list.
895 (_Jv_Linker::create_error_method): Add jclass argument. Use
896 ffi_closure_alloc and the separate code pointer. Register the
897 closure for finalization.
898 (_Jv_Linker::link_symbol_table): Remove outdated comment about
899 sharing of otable and atable. Adjust.
900 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
902 (ncode): Add jclass argument. Use ffi_closure_alloc and the
903 separate code pointer. Register the closure for finalization.
904 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
905 * testsuite/libjava.jar/TestClosureGC.java: New.
906 * testsuite/libjava.jar/TestClosureGC.out: New.
907 * testsuite/libjava.jar/TestClosureGC.xfail: New.
908 * testsuite/libjava.jar/TestClosureGC.jar: New.
910 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
912 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
913 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
914 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
915 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
916 (VMMethod::getLineTable): Use new macro.
917 (VMMethod::getVariableTable): Implement.
918 * sources.am: Regenerated.
919 * Makefile.in: Ditto.
921 2007-03-06 Tom Tromey <tromey@redhat.com>
923 * Makefile.in: Rebuilt.
924 * Makefile.am (bin_PROGRAMS): Added gcjh.
925 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
926 gcjh_DEPENDENCIES): New variables.
928 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
930 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
931 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
932 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
934 2007-03-05 Matthias Klose <doko@debian.org>
936 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
937 * Makefile.in: Regnerate.
939 2007-03-05 Mark Wielaard <mark@klomp.org>
941 * java/lang/Character.java: Re-merged with Classpath.
942 * java/lang/natString.cc (nativeCompareTo): Renamed from
944 * java/lang/StringBuilder.java: Re-merged with Classpath.
945 * java/lang/String.java: Re-merged with Classpath.
946 (nativeCompareTo): Renamed from compareTo.
947 * java/lang/StringBuffer.java: Re-merged with Classpath.
948 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
950 2007-03-05 Andrew Haley <aph@redhat.com>
952 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
953 (generateProxyClass): Don't pass method to ncode.
954 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
955 * java/lang/reflect/Method.h: Rebuild.
956 * java/lang/reflect/Method.java (internalGetParameterTypes,
957 internalGetExceptionTypes): New methods.
958 * headers.txt (class java/lang/reflect/Method): Declare
959 _Jv_GetReflectedMethod. Be its friend.
960 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
961 * java/lang/Class.h: Declare it. Be its friend.
963 2007-03-05 Tom Tromey <tromey@redhat.com>
965 * sources.am, Makefile.in: Rebuilt.
966 * scripts/makemake.tcl (emit_package_rule): Don't omit
968 * Makefile.am (nat_source_files): Added natVMProcess.cc.
969 (inner_nat_headers): Added ImmediateEOFInputStream.h.
970 * gcj/javaprims.h: Regenerated.
971 * java/lang/System.java (EnvironmentMap): Now package-private.
972 (EnvironmentMap(Map)): New constructor.
973 (EnvironmentMap.put): New method.
974 * java/lang/natWin32Process.cc (startProcess): Update.
975 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
977 (startProcess): Likewise.
978 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
980 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
981 * java/lang/PosixProcess.java (redirect): New field.
982 (PosixProcess): Added 'redirect' argument.
983 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
984 argument to Process creation.
985 * java/lang/natVMProcess.cc: New file.
986 * java/lang/ProcessBuilder.java: Removed.
987 * java/lang/VMProcess.java: New file.
989 2007-03-03 Andrew Haley <aph@redhat.com>
991 * java/lang/natClass.cc (parseAnnotationElement): Correct long
992 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
994 2007-03-02 Andrew Haley <aph@redhat.com>
996 * sun/reflect/annotation/AnnotationInvocationHandler.java:
997 Generify in a few places.
998 (equals): Rewrite to use invoke on local proxy.
999 (deepToString): Remove most of it.
1000 (toString): Make nonstatic.
1001 (arrayClone): Delete.
1002 (coerce): New method.
1003 (invoke): Rewrite to handle gcj's structures correctly.
1004 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1006 * sources.am: Regenerate.
1007 * Makefile.am: Likewise.
1009 2007-03-02 Andrew Haley <aph@redhat.com>
1011 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1012 Whitespace only changes.
1014 2007-03-02 Andrew Haley <aph@redhat.com>
1016 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1017 from Classpath to libgcj local.
1019 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1021 * Makefile.am: Add dummy install-pdf target.
1022 * Makefile.in: Regenerate
1023 * include/Makefile.in: Regenerate
1024 * testsuite/Makefile.in: Regenerate
1025 * gcj/Makefile.in: Regenerate
1027 2007-02-23 Gary Benson <gbenson@redhat.com>
1029 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1031 2007-02-23 Gary Benson <gbenson@redhat.com>
1033 * java/lang/VMCompiler.java
1034 (compileClass): Don't lose zeros from within the digest.
1036 2007-02-22 Jakub Jelinek <jakub@redhat.com>
1040 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1041 /etc/localtime, use ZoneInfo.readTZFile instead of
1042 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
1043 either if it is a symlink or through /etc/sysconfig/clock.
1044 (readSysconfigClockFile): New static method.
1045 (readtzFile): Removed.
1046 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1047 * posix.cc (_Jv_platform_initProperties): Set
1048 gnu.java.util.zoneinfo.dir.
1049 * sources.am (gnu_java_util_source_files): Add
1050 classpath/gnu/java/util/ZoneInfo.java.
1051 * Makefile.in: Regenerated.
1052 * java/util/VMTimeZone.h: Regenerated.
1053 * java/util/TimeZone.h: Regenerated.
1054 * gnu/java/util/ZoneInfo.h: Generated.
1056 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
1058 * include/win32-threads.h: Added #undef OUT.
1060 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
1062 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1063 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1064 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1065 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1066 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1067 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1069 2007-02-21 Gary Benson <gbenson@redhat.com>
1071 * java/util/GregorianCalendar.java: Removed.
1072 * sources.am, Makefile.in: Rebuilt.
1074 2007-02-20 Keith Seitz <keiths@redhat.com>
1076 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1077 (jdwpClassPrepareCB): Move class status stuff to ...
1078 (getClassStatus): ... here.
1080 2007-02-20 Gary Benson <gbenson@redhat.com>
1082 * gnu/awt/xlib/XEventLoop.h: Regenerated.
1083 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1084 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1086 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1087 * java/lang/SecurityManager.h: Likewise.
1088 * java/lang/Thread.h: Likewise.
1089 * java/security/VMSecureRandom$Spinner.h: Likewise.
1090 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1091 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1092 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1093 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1094 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1095 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1096 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1097 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1098 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1099 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1100 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1101 * java/util/concurrent/Exchanger.h: Likewise.
1102 * java/util/concurrent/Exchanger$Node.h: Likewise.
1103 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1104 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1105 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1107 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1109 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1110 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1112 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1113 * java/util/concurrent/SynchronousQueue.h: Likewise.
1114 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1115 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1117 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1118 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1120 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1121 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1122 * java/util/logging/ErrorManager.h: Likewise.
1123 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1124 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1126 2007-02-16 Keith Seitz <keiths@redhat.com>
1128 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1129 (get_line_table): New function.
1130 (handle_single_step): New function.
1131 (jdwpSingleStepCB): New function.
1132 (jdwpVMInitCB): Define a JVMTI single step
1133 callback, but don't enable it until needed.
1135 2007-02-16 David Daney <ddaney@avtrex.com>
1137 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1138 new parameter constructor.
1139 (Thread(ThreadGroup, Runnable, String, long)): Same.
1140 (Thread(String, boolean)): New constructor.
1141 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1142 noInheritableThreadLocal, don't call
1143 InheritableThreadLocal.newChildThread if set.
1144 * java/lang/PosixProcess.java(ProcessManager()): Set
1145 noInheritableThreadLocal in super.
1146 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1147 parameter to Thread constructor.
1148 (_Jv_AttachCurrentThreadAsDaemon): Same.
1149 * java/lang/Thread.h: Regenerate.
1150 * classpath/lib/java/lang/Thread.class: Same.
1151 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1152 * classpath/lib/java/lang/PosixProcess.class: Same.
1153 * classpath/lib/java/lang/Thread$State.class: Same.
1154 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1156 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1158 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1159 variables to maintain type info.
1160 * interpret-run.cc: Add local variable info to frame in the debug
1162 * jvmti.cc (getLocalFrame): New method.
1163 (_Jv_JVMTI_GetLocalObject): New method.
1164 (_Jv_JVMTI_GetLocallInt): New method.
1165 (_Jv_JVMTI_GetLocalFloat): New method.
1166 (_Jv_JVMTI_GetLocalLong): New method.
1167 (_Jv_JVMTI_GetLocalDouble): New method.
1168 (_Jv_JVMTI_SetLocalObject): New method.
1169 (_Jv_JVMTI_SetLocalInt): New method.
1170 (_Jv_JVMTI_SetLocalFloat): New method.
1171 (_Jv_JVMTI_SetLocalLong): New method.
1172 (_Jv_JVMTI_SetLocalDouble): New method.
1174 2007-02-16 Gary Benson <gbenson@redhat.com>
1176 * gnu/gcj/tools/gcj_dbtool/Main.java
1177 (bytesToString): Don't lose zeros from within the digest.
1179 2007-02-15 Andrew Haley <aph@redhat.com>
1181 * Makefile.am (nat_source_files): Remove
1182 java/lang/management/natVMManagementFactory.cc.
1183 * java/lang/Thread.java (getStackTrace): Use reflection to call
1184 the ManagementFactory.
1185 * java/lang/management/VMManagementFactory.java: Remove native
1187 * java/lang/management/natVMManagementFactory.cc: Deleted.
1188 * sources.am: Regnerate.
1189 * scripts/makemake.tcl: Add new "bcheaders" type.
1190 Move java/lang/management and gnu/classpath/management to "bc".
1191 Move gnu/java/lang/management to "bcheaders".
1193 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1195 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1196 * interpret-run.cc: Change the catch section to report exception
1197 events and to use the new check_handler method.
1198 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1199 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1200 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1201 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1202 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1204 * sources.am: Added ExceptionEvent.java.
1205 * Makefile.am: Added natExceptionEvent.cc
1206 * Makefile.in: Regenerated.
1207 * include/Makefile.in: Regenerated.
1208 * gcj/Makefile.in: Regenerated.
1210 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1211 David Daney <ddaney@avtrex.com>
1213 * configure.ac: Create vm-tools-packages file. Add
1214 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1215 Check for /proc/self/maps.
1216 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1217 (gc_analyze_SOURCES): New.
1218 (gc_analyze_LDFLAGS): New.
1219 (gc_analyze_LINK): New.
1220 (gc_analyze_LDADD): New.
1221 (gc_analyze_DEPENDENCIES): New.
1222 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1223 * Makefile.in: Regenerated.
1224 * configure: Regenerated.
1225 * include/config.h.in: Regenerated.
1226 * sources.am: Regenerated.
1227 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1228 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1229 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1230 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1231 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1232 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1233 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1234 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1235 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1236 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1237 * gnu/gcj/util/GCInfo.java: New.
1238 * gnu/gcj/util/GCInfo.h: New.
1239 * gnu/gcj/util/natGCInfo.cc: New.
1240 * gnu/gcj/util/UtilPermission.java: New.
1241 * gnu/gcj/util/UtilPermission.h: New.
1242 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1243 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1244 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1245 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1246 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1247 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1248 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1249 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1250 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1251 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1252 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1253 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1254 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1255 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1256 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1257 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1258 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1259 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1260 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1261 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1262 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1263 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1264 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1266 2007-02-15 David Daney <ddaney@avtrex.com>
1268 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1269 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1270 * gnu/classpath/jdwp/VMFrame.h: Same.
1271 * java/net/Socket.h: Same.
1272 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1274 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1276 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1277 Added LocalVariableTable attribute handling.
1278 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1279 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1280 * include/java-interp.h: Added local_var_table and
1281 local_var_table_len fields to _Jv_InterpMethod.
1282 (_Jv_InterpMethod::get_local_var_table): New method.
1283 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1284 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1285 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1287 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1288 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1290 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1292 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1294 2007-02-13 Keith Seitz <keiths@redhat.com>
1296 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1297 (jdwpBreakpointCB): New function.
1298 (jdwpVMInitCB): Define and enable the breakpoint
1301 2007-02-13 Andrew Haley <aph@redhat.com>
1303 * testsuite/libjava.lang/Divide_2.out
1304 * testsuite/libjava.lang/Divide_2.java: New test.
1306 2007-02-12 Keith Seitz <keiths@redhat.com>
1308 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1309 from jthread to Thread *; it is no longer needed.
1310 (_Jv_JVMTI_GetFrameCount): Likewise.
1311 Fix small formatting typo.
1313 2007-02-12 Tom Tromey <tromey@redhat.com>
1315 * sources.am, Makefile.in: Rebuilt.
1316 * java/lang/Socket.java: Removed override.
1317 * java/lang/DatagramSocket.java: Removed override.
1318 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1320 (getLocalAddress): New method.
1321 * gnu/java/net/PlainDatagramSocketImpl.java
1322 (PlainDatagramSocketImpl): Throws IOException.
1323 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1327 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1329 * java/util/VMTimeZone.java: Rewrite to handle both the old
1330 'TZif\0' format and the new one.
1332 2007-02-10 Andrew Haley <aph@redhat.com>
1335 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1336 (getCallingClass): Call GET_CALLING_CLASS.
1337 (getCallingClassLoader): Likewise.
1339 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1341 * configure: Rebuilt.
1342 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1344 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1346 * Makefile.in: Rebuilt.
1347 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1348 the host's ecj1 executable.
1350 2007-02-09 Richard Henderson <rth@redhat.com>
1352 * sysdep/alpha/locks.h (read_barrier): New.
1354 2007-02-09 Keith Seitz <keiths@redhat.com>
1356 * gnu/classpath/jdwp/VMVirtualMachine.java
1357 (_stepping_threads): New member.
1358 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1360 * gnu/classpath/jdwp/VMVirtualMachine.h:
1362 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1363 (get_request_step_filter): New function.
1364 (DISABLE_EVENT): New macro.
1365 (initialize): Initialize _stepping_threads.
1366 (registerEvent): Implement EVENT_SINGLE_STEP.
1367 (unregisterEvent): Likewise.
1369 2007-02-08 Keith Seitz <keiths@redhat.com>
1371 * sources.am: Regenerate.
1372 * Makefile.in: Regenerate.
1373 * testsuite/Makefile.in: Regenerate.
1374 * gcj/Makefile.in: Regenerate.
1375 * include/Makefile.in: Regenerate.
1377 * classpath/lib/javax/management/MBeanServerFactory.class:
1380 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1382 * classpath/gnu/classpath/jdwp/processor/
1383 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1385 (executeSetValues): Ditto.
1386 (executeThisObject): Ditto.
1387 * classpath/gnu/classpath/jdwp/processor/
1388 StackFrameCommandSet.class: Rebuilt.
1389 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1391 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1392 * classpath/lib/gnu/classpath/jdwp/exception/
1393 InvalidFrameException.java: New file.
1394 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1396 (Constructor): New method.
1397 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1398 * gnu/classpath/jdwp/VMVirtualMachine.java
1399 (getFrame): Changed ByteBuffer to jlong.
1400 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1401 (getFrame): Implement.
1402 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1404 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1406 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1407 to hold "this" pointer for frame.
1408 (_Jv_InterpFrame::get_this_ptr): New method.
1409 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1411 2007-02-07 Keith Seitz <keiths@redhat.com>
1413 * include/java-interp.h (_Jv_Frame::depth):
1415 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1417 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1419 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1420 (_Jv_JVMTI_GetMaxLocals): New method.
1421 * include/java-interp.h
1422 (_Jv_InterpMethod::get_max_locals): New method.
1424 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1426 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1428 2007-02-07 Tom Tromey <tromey@redhat.com>
1430 * testsuite/libjava.jni/init.c: New file.
1431 * testsuite/libjava.jni/init.java: New file.
1432 * testsuite/libjava.jni/init.out: New file.
1433 * testsuite/libjava.jni/init.jar: New file.
1434 * testsuite/libjava.jni/init.h: New file.
1435 * testsuite/libjava.jni/init$NativeClass.h: New file.
1437 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1440 * configure: Regenerate.
1442 2007-02-06 Andrew Haley <aph@redhat.com>
1444 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1445 * sources.am: Rebuild.
1447 2007-02-05 Keith Seitz <keiths@redhat.com>
1449 * jvmti.cc (_envListLock): Change type to
1450 ReentrantReadWriteLock.
1451 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1453 (check_enabled_event): Likewise.
1454 (_Jv_GetJVMTIEnv): Likewise.
1455 (_Jv_JVMTI_Init): Likewise.
1456 (_Jv_JVMTI_PostEvent): Likewise.
1458 2007-02-05 Keith Seitz <keiths@redhat.com>
1460 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1461 (registerEvent): Implement EVENT_BREAKPOINT.
1462 (unregisterEvent): Likewise.
1463 (get_request_location): New function.
1465 2007-02-05 Matthias Klose <doko@debian.org>
1467 testsuite/Makefile.am (compile-tests): Fix typo.
1468 testsuite/Makefile.in: Regenerate.
1470 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1472 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1475 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1477 * configure.ac (libjava_cv_anon_version_script): New test.
1478 (ANONVERSCRIPT): New AM_CONDITIONAL.
1479 * configure: Rebuilt.
1480 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1482 * Makefile.in: Rebuilt.
1483 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1484 * libgcj.ver: New file.
1486 2007-02-01 David Daney <ddaney@avtrex.com>
1488 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1490 * sources.am: Regenerate.
1491 * Makefile.in: Regenerate.
1493 2007-02-01 Tom Tromey <tromey@redhat.com>
1495 * java/lang/ClassLoader.java (getResources): No longer final.
1497 2007-02-01 Tom Tromey <tromey@redhat.com>
1499 * java/util/logging/LogManager.java (loggers): Genericized.
1500 (addLogger): Merged.
1501 (findAncestor): Likewise.
1502 (getLogger): Likewise.
1503 (getLoggerNames): Genericized.
1505 (getLevelProperty): Likewise.
1506 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1507 * java/lang/reflect/Constructor.java (getParameterTypes):
1509 (getExceptionTypes): Likewise.
1510 (newInstance): Likewise.
1511 * java/lang/reflect/Array.java (newInstance): Genericized.
1512 * java/lang/Object.java (getClass): Genericized.
1513 * java/nio/charset/spi/CharsetProvider.java (charsets):
1515 * java/text/Collator.java: Implement Comparable<Object>.
1517 2007-02-01 Tom Tromey <tromey@redhat.com>
1519 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1521 (clear): Call complete.
1522 (setTimeZone): Call computeTime, computeFields.
1523 (compareTo): New method.
1524 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1525 (availableCharsets): Genericized.
1526 (aliases): Likewise.
1527 (compareTo): Changed argument type.
1528 * java/lang/ClassLoader.java (loadClass): Genericized.
1529 (findClass): Likewise.
1530 (defineClass): Likewise.
1531 (resolveClass): Likewise.
1532 (findSystemClass): Likewise.
1533 (setSigners): Likewise.
1534 (findLoadedClass): Likewise.
1535 (getResources): Likewise.
1536 (findResources): Likewise.
1537 (getSystemResources): Likewise.
1538 (checkInitialized): New method.
1539 * java/lang/Class.java (getCanonicalName): New method.
1541 2007-01-31 Keith Seitz <keiths@redhat.com>
1543 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1544 * jvmti.cc (JVMTI): Add member "enabled".
1545 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1546 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1547 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1548 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1549 instead of run to compile the method.
1551 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1554 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1556 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1557 -shared-libgcc to the cxxflaglist for Darwin.
1559 2007-01-31 Tom Tromey <tromey@redhat.com>
1561 * scripts.am, Makefile.in: Rebuilt.
1562 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1564 (emit_ordinary_rule): New proc.
1566 2007-01-31 Keith Seitz <keiths@redhat.com>
1568 * testsuite/libjava.jvmti/getmethodname.h: New file.
1569 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1571 2007-01-31 Andrew Haley <aph@redhat.com>
1573 * prims.cc (_Jv_Abort): fflush (stderr).
1574 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1576 2007-01-31 Tom Tromey <tromey@redhat.com>
1578 * configure, Makefile.in: Rebuilt.
1579 * configure.ac (JAR): Check for -@ feature.
1580 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1582 2007-01-31 Tom Tromey <tromey@redhat.com>
1585 * configure, include/config.h.in: Rebuilt.
1586 * configure.ac: Check for magic_t in magic.h.
1587 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1589 2007-01-30 Tom Tromey <tromey@redhat.com>
1591 * Makefile.in: Rebuilt.
1592 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1594 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1596 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1597 cast to print it right.
1599 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1602 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1605 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1607 * include/java-interp.h: Added _Jv_Frame class and its two
1608 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1609 _Jv_FrameType from java-stack.h.
1610 * include/java-stack.h: Removed _Jv_FrameType.
1611 * java/lang/Thread.java: Added frame member to hold new
1612 composite frame stack.
1613 * java/lang/Thread.h: Regenerated.
1614 * java/lang/Thread.class: Rebuilt.
1615 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1616 calling a JNI method.
1617 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1618 (_Jv_JVMTI_GetFrameCount): New method.
1619 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1621 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1622 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1623 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1624 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1625 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1628 2007-01-29 Tom Tromey <tromey@redhat.com>
1630 * interpret.cc (run_debug): Remove comment.
1637 (run_normal_debug): Likewise.
1638 (run_synch_object_debug): Likewise.
1639 (run_class_debug): Likewise.
1640 (run_synch_class_debug): Likewise.
1645 (NULLARRAYCHECK): Likewise.
1646 (ARRAYBOUNDSCHECK): Likewise.
1647 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1649 2007-01-29 Tom Tromey <tromey@redhat.com>
1651 * configure, Makefile.in: Rebuilt.
1652 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1653 * configure.ac (BASH_JAR): Removed conditional.
1654 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1656 2007-01-29 Tom Tromey <tromey@redhat.com>
1658 * Makefile.in: Rebuilt.
1659 * Makefile.am (interpret.lo): New target. Add -fwrap to
1662 2007-01-29 Keith Seitz <keiths@redhat.com>
1664 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1666 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1667 gcj. All jvmti object types now are defined to be their
1668 corresponding java classes.
1669 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1671 (_Jv_JVMTI_ResumeThread): Likewise.
1672 (_Jv_JVMTI_InterruptThread): Likewise.
1673 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1674 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1675 (jdwpClassPrepareCB): Likewise.
1676 (jdwpThreadEndCB): Likewise.
1677 (jdwpThreadStartCB): Likewise.
1678 (jdwpVMInitCB): Likewise.
1680 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1682 * gnu/java/nio/channels/natFileChannelWin32.cc
1683 (lock): Implemented.
1684 (unlock): Implemented.
1686 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1689 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1690 libgcj_flags to undefine 'sun' at compile time.
1691 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1693 (write_barrier): Likewise.
1695 2007-01-27 Keith Seitz <keiths@redhat.com>
1697 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1698 (getAllClassMethods): Move error handling to ...
1699 (throw_jvmti_error): ... here.
1700 (jdwpClassPrepareCB): New function.
1701 (jdwpThreadEndCB): New function.
1702 (jdwpThreadStartCB): New function.
1703 (jdwpVMDeathCB): New function.
1704 (jdwpVMInitCB): Define and enable callbacks for
1705 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1707 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1709 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1710 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1711 (MYGCJH): New variable.
1712 (compile-tests): New goal.
1713 * Makefile.in: Rebuilt.
1714 * testsuite/Makefile.in: Rebuilt.
1716 2007-01-26 Andrew Haley <aph@redhat.com>
1718 * java/lang/natClass.cc (initializeClass): Re-throw
1720 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1721 * java/lang/ClassLoader.java: (loadClass): Likewise.
1723 2007-01-26 Tom Tromey <tromey@redhat.com>
1727 2007-01-25 Tom Tromey <tromey@redhat.com>
1730 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1731 input or output encodings. Removed unused local variables.
1733 2007-01-25 Keith Seitz <keiths@redhat.com>
1735 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1736 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1737 (_Jv_GetJDWP_JVMTIEnv): New function.
1738 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1739 (getSignature): Implement.
1740 (getModifiers): Implement.
1742 2007-01-25 Andrew Haley <aph@redhat.com>
1744 * configure, Makefile.in, include/config.h.in: Rebuilt.
1745 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1746 * configure.ac: Don't check for libmagic.
1747 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1748 p_magic_close, p_magic_buffer): New globals.
1749 (init): Look up 'magic' functions.
1750 (guessContentTypeFromBuffer): Updated.
1752 2007-01-25 Keith Seitz <keiths@redhat.com>
1754 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1755 (_Jv_JVMTI_Interface): Define GetMethodName.
1756 * testsuite/libjava.jvmti/getmethodname.java: New file.
1757 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1758 * testsuite/libjava.jvmti/getmethodname.out: New file.
1760 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1762 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1763 * libjava/testsuite/libjava.jvmti/interp: New folder.
1764 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1766 2007-01-24 Keith Seitz <keiths@redhat.com>
1768 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1769 CLASS_PREPARE notification.
1771 2007-01-24 Keith Seitz <keiths@redhat.com>
1773 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1774 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1775 * interpret-run.cc: Implement insn_breakpoint.
1777 2007-01-24 Keith Seitz <keiths@redhat.com>
1779 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1780 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1782 2007-01-24 Keith Seitz <keiths@redhat.com>
1784 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1785 (getAllClassMethods): Implement.
1787 2007-01-24 Andrew Haley <aph@redhat.com>
1789 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1790 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1791 from being sibcalled.
1793 2007-01-24 Andrew Haley <aph@redhat.com>
1795 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1796 * sources.am: Rebuild.
1798 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1800 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1801 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1803 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1806 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1807 * Makefile.in: Regenerated.
1809 2007-01-22 Keith Seitz <keiths@redhat.com>
1811 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1812 (getClassMethod): Implement.
1814 2007-01-22 Keith Seitz <keiths@redhat.com>
1816 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1817 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1818 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1819 (_Jv_JVMTI_Interface): Define GetClassStatus.
1821 2007-01-22 Tom Tromey <tromey@redhat.com>
1823 * configure: Rebuilt.
1824 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1826 2007-01-22 Tom Tromey <tromey@redhat.com>
1829 * testsuite/libjava.jni/pr29812.java: New file.
1830 * testsuite/libjava.jni/pr29812_injar.java: New file.
1831 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1832 * testsuite/libjava.jni/pr29812.out: New file.
1833 * testsuite/libjava.jni/pr29812_injar.c: New file.
1834 * testsuite/libjava.jni/pr29812_injar.h: New file.
1835 * testsuite/libjava.jni/pr29812.jar: New file.
1836 * testsuite/libjava.jni/pr29812.c: New file.
1837 * testsuite/libjava.jni/pr29812.h: New file.
1838 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1840 (gcj_jni_invocation_test_one): Use it.
1841 (gcj_jni_pr29812): New proc.
1842 (gcj_jni_run): Use it.
1843 * java/lang/natRuntime.cc (_load): Push a new system frame before
1845 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1846 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1847 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1848 <allocated_p>: Now bool.
1849 <loader>: New field.
1850 (_Jv_JNI_EnsureLocalCapacity): Updated.
1851 (_Jv_JNI_NewLocalRef): Likewise.
1852 (_Jv_JNI_NewLocalRef): Likewise.
1853 (_Jv_JNI_PopLocalFrame): Likewise.
1854 (_Jv_JNI_FindClass): Likewise.
1855 (_Jv_GetJNIEnvNewFrame): Likewise.
1856 (_Jv_JNI_AttachCurrentThread): Likewise.
1857 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1858 (_Jv_GetJNIEnvNewFrame): Use it.
1859 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1861 2007-01-22 Tom Tromey <tromey@redhat.com>
1863 * libtool-version: Bump current to 9.
1865 2007-01-22 Andrew Haley <aph@redhat.com>
1867 * sysdep/alpha/locks.h (write_barrier): New.
1869 2007-01-21 Matthias Klose <doko@debian.org>
1871 * Makefile.am (install-exec-hook): Use transformed name.
1872 * Makefile.in: Regenerate.
1874 2007-01-19 Keith Seitz <keiths@redhat.com>
1876 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1877 in methods and reformat.
1879 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1882 2007-01-18 Keith Seitz <keiths@redhat.com>
1884 From Macro Trudel <mtrudel@gmx.ch>:
1885 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1888 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1890 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1891 * testsuite/libjava.jni/findclass2.jar: New file.
1892 * testsuite/libjava.jni/findclass2.h: New file.
1893 * testsuite/libjava.jni/findclass2.java: New file
1894 * testsuite/libjava.jni/findclass2.c: New file.
1895 * testsuite/libjava.jni/findclass2.out: New file.
1897 2007-01-18 Tom Tromey <tromey@redhat.com>
1899 * configure: Rebuilt.
1900 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1902 2007-01-18 Gary Benson <gbenson@redhat.com>
1904 * gnu/java/nio/natVMPipeEcos.cc:
1905 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1906 * gnu/java/nio/natVMPipePosix.cc:
1907 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1908 * gnu/java/nio/natVMPipeWin32.cc:
1909 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1910 * gnu/java/nio/natVMSelectorEcos.cc:
1911 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1912 * gnu/java/nio/natVMSelectorPosix.cc:
1913 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1914 * gnu/java/nio/natVMSelectorWin32.cc:
1915 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1916 * java/io/natVMObjectInputStream.cc:
1917 Renamed from java/io/natObjectInputStream.cc.
1918 * java/lang/natVMDouble.cc:
1919 Renamed from java/lang/natDouble.cc.
1920 * java/lang/natVMFloat.cc:
1921 Renamed from java/lang/natFloat.cc.
1922 * Makefile.am, configure.ac: Reflect the above.
1923 * Makefile.in, configure: Rebuilt.
1925 2007-01-17 Andrew Haley <aph@redhat.com>
1927 * Makefile.in: Rebuilt.
1928 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1930 2007-01-17 Keith Seitz <keiths@redhat.com>
1932 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1933 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1935 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1937 * configure.ac: Use multi.m4 from aclocal rather than custom
1938 code. Use multi_basedir instead libgcj_basedir. Test for
1939 /proc/self/exe when not cross-compiling.
1940 * aclocal.m4: Regenerate.
1941 * configure: Regenerate.
1942 * Makefile.in: Regenerate.
1944 2007-01-17 Gary Benson <gbenson@redhat.com>
1946 * java/nio/natVMDirectByteBufferImpl.cc:
1947 Renamed from java/nio/natDirectByteBufferImpl.cc.
1948 * Makefile.am: Reflect the above.
1949 * Makefile.in: Rebuilt.
1951 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1953 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1954 Fixed indentation. Removed unused variable.
1956 2007-01-16 Tom Tromey <tromey@redhat.com>
1958 * java/lang/natThread.cc (finalize_native): Remove cast.
1959 (_Jv_GetCurrentJNIEnv): Likewise.
1960 * include/jvm.h (struct natThread) <jni_env>: Declare as
1963 2007-01-16 Keith Seitz <keiths@redhat.com>
1965 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1966 %#llx instead of %d for new_value.
1967 * testsuite/libjava.jvmti/events.out: Update expected output.
1968 * testsuite/libjava.jvmti/events.jar: Regenerate.
1970 2007-01-16 Keith Seitz <keiths@redhat.com>
1972 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1974 (ENABLE_EVENT): New macro.
1975 (initialize): Define and enable JVMTI VM_INIT callback.
1976 (jdwpVMInitCB): New function.
1978 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1980 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1981 * testsuite/libjava.jvmti/getallthreads.java: New test.
1982 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1983 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1984 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1985 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1987 2007-01-15 Keith Seitz <keiths@redhat.com>
1989 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1990 java.lang.StringBuilder instead of java.lang.StringBuffer.
1991 (resumeThread): Likewise.
1993 2007-01-15 Gary Benson <gbenson@redhat.com>
1995 * java/nio/MappedByteBuffer.java: Removed.
1996 * sources.am, Makefile.in: Rebuilt.
1998 2007-01-15 Gary Benson <gbenson@redhat.com>
2000 * java/net/URLClassLoader.java: Removed.
2001 * gnu/java/net/loader/Load_gcjlib.java: New file.
2002 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2003 URL handler is present in static executables.
2004 * sources.am, Makefile.in: Rebuilt.
2006 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
2008 * Makefile.am (libgcj_la_LDFLAGS): Add
2009 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2010 (libgcj_tools_la_LDFLAGS): Likewise.
2011 (libgcj_bc_la_LDFLAGS): Likewise.
2012 * Makefile.in: Regenerated.
2014 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
2015 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
2016 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2017 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2018 * configure: Regenerated.
2019 * aclocal.m4: Likewise.
2020 * gcj/Makefile.in: Likewise.
2021 * include/Makefile.in: Likewise.
2022 * testsuite/Makefile.in: Likewise.
2024 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2026 * sysdep/sh/locks.h (read_barrier): New.
2027 (write_barrier): Likewise.
2029 2007-01-12 Andrew Haley <aph@redhat.com>
2031 * include/i386-signal.h: Rewrite to use rt_sigaction.
2033 2007-01-11 Andrew Haley <aph@redhat.com>
2035 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2037 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2040 2007-01-10 Tom Tromey <tromey@redhat.com>
2042 * gnu/gcj/xlib/*.h: New files.
2043 * gnu/awt/xlib/*.h: Likewise.
2044 * classpath/lib/gnu/gcj/xlib: New class files.
2045 * classpath/lib/gnu/awt/xlib: Likewise.
2047 2007-01-10 Tom Tromey <tromey@redhat.com>
2049 * HACKING: Various updates.
2051 2007-01-10 Tom Tromey <tromey@redhat.com>
2053 * java/lang/natDouble.cc (toString): Added parens.
2054 * gnu/gcj/io/shs.h (PROTO): Define.
2055 * link.cc (resolve_pool_entry): Added missing braces.
2057 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
2060 * sysdep/ia64/locks.h (read_barrier): New.
2061 (write_barrier): New.
2063 2007-01-10 Gary Benson <gbenson@redhat.com>
2065 * java/net/URL.java: Removed.
2066 * sources.am, Makefile.in: Rebuilt.
2068 2007-01-10 Matthias Klose <doko@debian.org>
2070 * Makefile.am (install-exec-hook): Support $(DESTDIR).
2071 * Makefile.in: Regenerated.
2073 2007-01-05 Tom Tromey <tromey@redhat.com>
2075 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2076 dummy.class in srcdir.
2078 2007-01-03 Tom Tromey <tromey@redhat.com>
2080 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2083 2007-01-03 Tom Tromey <tromey@redhat.com>
2085 * testsuite/*: Added many .jar and .h files.
2086 * testsuite/libjava.special/special.exp
2087 (gcj_special_try_compiler): New proc.
2088 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2089 bytecompile source. Search for .jar files.
2090 (gcj_loader_test_one): Don't look for MyLoader.java.
2091 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2092 bytecompile sources or build headers.
2093 (gcj_jvmti_run): Look for .jar files.
2094 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2096 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2097 Set classpath when invoking gij.
2098 (gcj_jni_invocation_test_one): Likewise.
2099 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2100 headers or bytecompile sources.
2101 (gcj_cni_run): Use .jar files, not .java files.
2102 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2104 2007-01-02 Tom Tromey <tromey@redhat.com>
2106 * configure: Rebuilt.
2107 * configure.ac: Check for gjar.
2109 2007-01-02 Tom Tromey <tromey@redhat.com>
2111 * testsuite/libjava.jacks/jacks.exp: Removed.
2112 * testsuite/libjava.jacks/jacks.xfail: Removed.