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