1 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
3 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
5 (get): Deal with ObjectId of 0.
7 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
12 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
14 * gnu/classpath/jdwp/natVMVirtualMachine.java
15 (getThreadStatus): Implement.
17 2007-04-24 Keith Seitz <keiths@redhat.com>
19 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
20 Add _Jv_RewriteBreakpointInsn friend declaration.
21 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
22 [DIRECT_THREADED]: New function.
23 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
24 * interpret-run.cc: Define new REWRITE_INSN macro.
25 Changed all occurrences of insn rewriting to call REWRITE_INSN.
27 2007-04-23 Keith Seitz <keiths@redhat.com>
29 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
30 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
31 * boehm.cc (_Jv_IsThreadSuspended): New function.
32 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
33 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
34 (_Jv_JVMTI_Interface): Define GetThreadState.
36 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
38 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
40 (<init>): Add a pointer to the interpreter PC as a parameter with
43 * interpret-run.cc: If debugging, pass a pointer to the PC when
44 creating the stack frame.
45 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
48 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
50 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
51 for null source file and throw an exception indicating this.
53 2007-04-20 Keith Seitz <keiths@redhat.com>
55 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
56 Install the new breakpoint into the bytecode.
57 (deleteBreakpoint): Remove the breakpoint from the bytecode.
58 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
60 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
61 Don't install the breakpoint here.
63 2007-04-19 Keith Seitz <keiths@redhat.com>
65 * interpret-run.cc [insn_breakpoint]: Save the original
66 insn for the breakpoint before posting the JVMTI notification.
68 2007-04-19 Tom Tromey <tromey@redhat.com>
70 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
72 2007-04-18 Tom Tromey <tromey@redhat.com>
74 * Regenerated headers with new gjavah.
76 2007-04-18 Andrew Haley <aph@redhat.com>
78 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
80 (generateProxyClass): Add field $Proxy0.m. Store methods array in
82 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
83 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
84 * java/lang/natClass.cc: Likewise.
85 * headers.txt: Likewise.
86 * java/lang/reflect/Method.h: Likewise.
88 2007-04-16 Andrew Haley <aph@redhat.com>
90 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
92 (bootGetResource): Use getBootURLLoader() to load resources.
93 (bootGetResources): Likewise.
95 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
96 check that the method's declaring class is accessible.
98 2007-04-10 Keith Seitz <keiths@redhat.com>
100 * sources.am: Regenerate.
101 * Makefile.in: Likewise.
103 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
105 * interpret-run.cc: If debugging, check if args is NULL before
106 getting the "this" pointer.
108 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
110 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
111 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
112 * gnu/classpath/jdwp/ArrayValue.h: New file.
113 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
116 2007-04-09 David Daney <ddaney@avtrex.com>
119 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
120 environment before the fork.
121 * testsuite/libjava.lang/Process_7.java: New test.
122 * testsuite/libjava.lang/Process_7.out: Its expected results.
123 * testsuite/libjava.lang/Process_7.jar: Generated file.
125 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
127 * prims.cc (load_jvmti_agent): Add the missing `,'.
129 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
131 * gij.cc (main): Accept -agentlib and -agentpath options.
132 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
133 (load_jvmti_agent): New function.
135 2007-04-04 Tania Bento <tbento@redhat.com>
137 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
138 Copyright information and introduced new variable, currency.
139 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
140 to "XXX", currencySymbol to "?" and localCurrency appropriately.
141 (getCurrency): Fixed documentation and return the value of currency.
142 (setCurrency): Fixed documentation and update the value of currency.
143 (setInternationalCurrencySymbol): Fixed documentation and update the
145 * java/util/Currency.java: Introduced two new variables, properties
146 and fractionDigits. In the static block, a properties object is
147 created and the currency resource is loaded.
148 (Currency(Locale)): fractionDigits is defined.
149 (Currency(String)): New method.
150 (getDefaultFractionDigits): Return the value of fractionDigits.
151 (getInstance(String)): Check if String is equal to "XXX".
153 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
155 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
156 to ints for argCnt and slots.
157 (write): Replace writeLong with writeInt for the above.
159 2007-04-03 Andrew Haley <aph@redhat.com>
161 * testsuite/libjava.lang/ProxyTest.java: New test.
163 2007-04-02 Tom Tromey <tromey@redhat.com>
165 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
166 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
167 file, when writing, if it is too short.
169 2007-04-02 Tom Tromey <tromey@redhat.com>
171 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
172 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
174 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
175 where localport is -1.
176 (create): Now public.
177 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
178 'create' on the socket.
180 2007-04-02 Andrew Haley <aph@redhat.com>
182 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
183 _Jv_LookupProxyMethod to find the Method.
184 If parameter_types->length == 0, pass a null paramameter list,
185 not a zero-length parameter list.
186 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
187 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
189 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
191 * interpret-run.cc: Add code to properly set up variable slots
193 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
194 (getObjectJVMTI): New function.
195 (setObjectJVMTI): New function.
196 (getIntJVMTI): New function.
197 (setIntJVMTI): New function.
198 (getLongJVMTI): New function.
199 (setLongJVMTI): New function.
200 (getFloatJVMTI): New function.
201 (setFloatJVMTI): New function.
202 (getDoubleJVMTI): New function.
203 (setDoubleJVMTI): New function.
204 (getFrameDepth): New function.
205 (getValue): Implement.
206 (setValue): Implement.
208 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
210 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
211 (executeResume): Call VMVirtualMachine.resumeThread.
213 2007-03-29 Tom Tromey <tromey@redhat.com>
216 * java/util/logging/LogManager.java (readConfiguration): Handle
217 comma-separated 'handlers'. Don't try to add a non-existing
220 2007-03-27 Tom Tromey <tromey@redhat.com>
222 * sources.am, Makefile.in: Rebuilt.
223 * scripts/mime.types: Removed.
224 * scripts/MakeDefaultMimeTypes.java: Removed.
225 * gnu/gcj/io/MimeTypes.java: Removed.
226 * gnu/gcj/io/MimeTypes.h: Removed.
227 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
228 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
230 2007-03-27 Keith Seitz <keiths@redhat.com>
232 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
234 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
235 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
236 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
237 (initialize): Fix compiler type-punning warning.
238 (getAllLoadedClasses): Return empty list instead of NULL.
239 (getLoadRequests): Likewise.
240 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
241 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
242 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
243 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
244 * gnu/classpath/jdwp/value/CharValue.h: New file.
245 * gnu/classpath/jdwp/value/LongValue.h: New file.
246 * gnu/classpath/jdwp/value/ShortValue.h: New file.
247 * gnu/classpath/jdwp/value/Value.h: New file.
248 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
249 * gnu/classpath/jdwp/value/VoidValue.h: New file.
250 * gnu/classpath/jdwp/value/ByteValue.h: New file.
251 * gnu/classpath/jdwp/value/FloatValue.h: New file.
252 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
253 * gnu/classpath/jdwp/value/StringValue.h: New file.
254 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
255 * gnu/classpath/jdwp/value/IntValue.h: New file.
256 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
257 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
258 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
259 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
260 * gnu/classpath/jdwp/util/NullObject.h: New file.
261 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
262 * Makefile.in: Rebuilt.
263 * sources.am: Rebuilt.
265 2006-03-26 David Daney <ddaney@avtrex.com>
267 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
268 fork, execvp, execinfo.h, pthread_mutexattr_settype,
269 pthread_mutexattr_setkind_np and sys/wait.h.
270 * Makefile.in: Regenerate.
271 * include/Makefile.in: Regenerate.
272 * include/config.h.in: Regenerate.
273 * testsuite/Makefile.in: Regenerate.
274 * configure: Regenerate.
275 * gcj/Makefile.in: Regenerate.
277 2007-03-23 Gary Benson <gbenson@redhat.com>
279 * link.cc (_Jv_Linker::resolve_method_entry):
280 Ensure that the argument types and the return type of the
281 found method match those expected by the calling method.
283 2007-03-22 David Daney <ddaney@avtrex.com>
286 * configure.ac: Add checks for getrlimit and sys/resource.h.
287 * include/posix.h (_Jv_platform_close_on_exec): Remove.
288 * include/config.h.in: Regenerate.
289 * configure: Regenerate.
290 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
291 _Jv_platform_close_on_exec;
292 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
294 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
295 * java/lang/natPosixProcess.cc: Include sys/resource.h.
296 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
299 2007-03-20 Andrew Haley <aph@redhat.com>
301 * testsuite/libjava.lang/PR31264.java: New test.
303 2007-03-14 Jakub Jelinek <jakub@redhat.com>
305 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
306 * Makefile.in: Rebuilt.
308 2007-03-13 Keith Seitz <keiths@redhat.com>
310 * include/java-interp.h (_Jv_InterpClass): Declare
311 friend function _Jv_GetInterpClassSourceFile.
312 * java/lang/Class.h (Class): Likewise.
313 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
315 * gnu/classpath/jdwp/natVMVirtualMachine.cc
316 (getSourceFile): Implement.
318 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
320 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
321 * classpath/configure.ac: Add --with-ecj-jar configure option.
322 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
324 * classpath/INSTALL: Document --with-ecj-jar configure option and
325 ecj jar requirement for com.sun.tools.javac support.
326 * classpath/tools/Makefile.am: Build decendents of com and sun
328 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
329 * gnu/classpath/Configuration.java,
330 gnu/classpath/natConfiguration.cc (ecj): New method.
331 (ECJ_JAR): New field.
332 * scripts/makemake.tcl (scan_packages): Add com directory.
333 * sources.am (property_files): Add
334 classpath/resource/sun/rmi/rmic/messages.properties and
335 classpath/resource/com/sun/tools/javac/messages.properties.
336 * classpath/resource/com, classpath/resource/com/sun,
337 classpath/resource/com/sun/tools,
338 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
339 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
340 classpath/tools/classes/com, classpath/tools/classes/com/sun,
341 classpath/tools/classes/com/sun/javadoc,
342 classpath/tools/classes/com/sun/tools,
343 classpath/tools/classes/com/sun/tools/doclets,
344 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
345 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
346 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
347 classpath/tools/com/sun/tools,
348 classpath/tools/com/sun/tools/doclets,
349 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
350 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
352 * classpath/resource/com/sun/tools/javac/messages.properties,
353 classpath/resource/sun/rmi/rmic/messages.properties,
354 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
355 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
356 classpath/tools/classes/com/sun/javadoc/Doc.class,
357 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
358 classpath/tools/classes/com/sun/javadoc/Doclet.class,
359 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
360 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
361 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
362 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
363 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
364 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
365 classpath/tools/classes/com/sun/javadoc/Parameter.class,
366 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
367 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
368 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
369 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
370 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
371 classpath/tools/classes/com/sun/javadoc/Tag.class,
372 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
373 classpath/tools/classes/com/sun/javadoc/Type.class,
374 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
375 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
376 classpath/tools/classes/sun/rmi/rmic/Main.class,
377 classpath/tools/classes/sun/rmi/rmic/Messages.class,
378 classpath/tools/com/sun/javadoc/ClassDoc.java,
379 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
380 classpath/tools/com/sun/javadoc/Doc.java,
381 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
382 classpath/tools/com/sun/javadoc/Doclet.java,
383 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
384 classpath/tools/com/sun/javadoc/FieldDoc.java,
385 classpath/tools/com/sun/javadoc/MemberDoc.java,
386 classpath/tools/com/sun/javadoc/MethodDoc.java,
387 classpath/tools/com/sun/javadoc/PackageDoc.java,
388 classpath/tools/com/sun/javadoc/ParamTag.java,
389 classpath/tools/com/sun/javadoc/Parameter.java,
390 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
391 classpath/tools/com/sun/javadoc/RootDoc.java,
392 classpath/tools/com/sun/javadoc/SeeTag.java,
393 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
394 classpath/tools/com/sun/javadoc/SourcePosition.java,
395 classpath/tools/com/sun/javadoc/Tag.java,
396 classpath/tools/com/sun/javadoc/ThrowsTag.java,
397 classpath/tools/com/sun/javadoc/Type.java,
398 classpath/tools/com/sun/javadoc/TypeVariable.java,
399 classpath/tools/com/sun/tools/doclets/Taglet.java,
400 classpath/tools/com/sun/tools/javac/Main.java,
401 classpath/tools/com/sun/tools/javac/Messages.java,
402 classpath/tools/sun/rmi/rmic/Main.java,
403 classpath/tools/sun/rmi/rmic/Messages.java: New files.
404 * Makefile.in, classpath/Makefile.in, classpath/configure,
405 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
406 classpath/examples/Makefile.in, classpath/external/Makefile.in,
407 classpath/external/jsr166/Makefile.in,
408 classpath/external/relaxngDatatype/Makefile.in,
409 classpath/external/sax/Makefile.in,
410 classpath/external/w3c_dom/Makefile.in,
411 classpath/include/Makefile.in, classpath/include/config.h.in,
412 classpath/lib/Makefile.in,
413 classpath/lib/gnu/classpath/Configuration.class,
414 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
415 classpath/native/jawt/Makefile.in,
416 classpath/native/jni/Makefile.in,
417 classpath/native/jni/classpath/Makefile.in,
418 classpath/native/jni/gconf-peer/Makefile.in,
419 classpath/native/jni/gtk-peer/Makefile.in,
420 classpath/native/jni/java-io/Makefile.in,
421 classpath/native/jni/java-lang/Makefile.in,
422 classpath/native/jni/java-net/Makefile.in,
423 classpath/native/jni/java-nio/Makefile.in,
424 classpath/native/jni/java-util/Makefile.in,
425 classpath/native/jni/midi-alsa/Makefile.in,
426 classpath/native/jni/midi-dssi/Makefile.in,
427 classpath/native/jni/native-lib/Makefile.in,
428 classpath/native/jni/qt-peer/Makefile.in,
429 classpath/native/jni/xmlj/Makefile.in,
430 classpath/native/plugin/Makefile.in,
431 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
432 classpath/tools/Makefile.in, configure,
433 gnu/classpath/Configuration.h: Regenerate.
435 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
437 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
440 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
442 * java/lang/natString.cc (getBytes (jstring enc)):
443 Fixed the loop for multiple cycles, Code cleanup
445 2007-03-09 Tom Tromey <tromey@redhat.com>
447 * sources.am, Makefile.in: Rebuilt.
448 * scripts/makemake.tcl (scan_directory): Allow service files to be
450 Omit all XML-related service files.
452 2007-03-07 Tom Tromey <tromey@redhat.com>
454 * configure: Rebuilt.
455 * configure.ac: Clear vm-tools-packages.
457 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
459 * java/lang/Win32Process.java: Added nested class EOFInputStream.
460 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
461 enum and implementation.
462 (startProcess): Use redirect flag.
463 * classpath/lib/java/lang/Win32Process.class: Regenerated.
464 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
465 * gcj/javaprims.h: Regenerated.
466 * java/lang/Win32Process$EOFInputStream.h: New.
468 2007-03-07 Andrew Haley <aph@redhat.com>
470 * libgcj_bc.c (JvRunMainName): Declare.
472 2007-03-07 Gary Benson <gbenson@redhat.com>
474 * sources.am, Makefile.in: Rebuilt.
476 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
478 * gcj/javaprims.h: Regenerated.
480 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
482 * include/jvm.h (_Jv_ClosureListFinalizer): New.
483 (_Jv_Linker::create_error_method): Adjust.
484 * boehm.cc (_Jv_ClosureListFinalizer): New.
485 * nogc.cc (_Jv_ClosureListFinalizer): New.
486 * java/lang/Class.h (class _Jv_ClosureList): New.
487 (class java::lang::Class): Declare it as friend.
488 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
489 (_Jv_ClosureList::registerClousure): New.
490 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
491 (_Jv_CompiledEngine::do_get_closure_list): New.
492 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
493 (_Jv_IndirectCompiledClass): Add closures.
494 (_Jv_IndirectCompiledEngine::get_aux_info): New.
495 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
497 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
498 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
499 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
500 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
501 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
502 (node_closure): Add closure list.
503 (_Jv_InterpMethod::ncode): Add jclass argument. Use
504 ffi_closure_alloc and the separate code pointer. Register the
505 closure for finalization.
506 (_Jv_JNIMethod::ncode): Likewise.
507 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
508 (_Jv_InterpreterEngine::do_get_closure_list): New.
509 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
510 (_Jv_InterpClass): Add closures field.
511 (_Jv_JNIMethod::ncode): Adjust.
512 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
513 (_Jv_ClassReader::handleMethodsEnd): Likewise.
514 * link.cc (struct method_closure): Add closure list.
515 (_Jv_Linker::create_error_method): Add jclass argument. Use
516 ffi_closure_alloc and the separate code pointer. Register the
517 closure for finalization.
518 (_Jv_Linker::link_symbol_table): Remove outdated comment about
519 sharing of otable and atable. Adjust.
520 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
522 (ncode): Add jclass argument. Use ffi_closure_alloc and the
523 separate code pointer. Register the closure for finalization.
524 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
525 * testsuite/libjava.jar/TestClosureGC.java: New.
526 * testsuite/libjava.jar/TestClosureGC.out: New.
527 * testsuite/libjava.jar/TestClosureGC.xfail: New.
528 * testsuite/libjava.jar/TestClosureGC.jar: New.
530 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
532 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
533 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
534 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
535 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
536 (VMMethod::getLineTable): Use new macro.
537 (VMMethod::getVariableTable): Implement.
538 * sources.am: Regenerated.
539 * Makefile.in: Ditto.
541 2007-03-06 Tom Tromey <tromey@redhat.com>
543 * Makefile.in: Rebuilt.
544 * Makefile.am (bin_PROGRAMS): Added gcjh.
545 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
546 gcjh_DEPENDENCIES): New variables.
548 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
550 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
551 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
552 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
554 2007-03-05 Matthias Klose <doko@debian.org>
556 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
557 * Makefile.in: Regnerate.
559 2007-03-05 Mark Wielaard <mark@klomp.org>
561 * java/lang/Character.java: Re-merged with Classpath.
562 * java/lang/natString.cc (nativeCompareTo): Renamed from
564 * java/lang/StringBuilder.java: Re-merged with Classpath.
565 * java/lang/String.java: Re-merged with Classpath.
566 (nativeCompareTo): Renamed from compareTo.
567 * java/lang/StringBuffer.java: Re-merged with Classpath.
568 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
570 2007-03-05 Andrew Haley <aph@redhat.com>
572 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
573 (generateProxyClass): Don't pass method to ncode.
574 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
575 * java/lang/reflect/Method.h: Rebuild.
576 * java/lang/reflect/Method.java (internalGetParameterTypes,
577 internalGetExceptionTypes): New methods.
578 * headers.txt (class java/lang/reflect/Method): Declare
579 _Jv_GetReflectedMethod. Be its friend.
580 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
581 * java/lang/Class.h: Declare it. Be its friend.
583 2007-03-05 Tom Tromey <tromey@redhat.com>
585 * sources.am, Makefile.in: Rebuilt.
586 * scripts/makemake.tcl (emit_package_rule): Don't omit
588 * Makefile.am (nat_source_files): Added natVMProcess.cc.
589 (inner_nat_headers): Added ImmediateEOFInputStream.h.
590 * gcj/javaprims.h: Regenerated.
591 * java/lang/System.java (EnvironmentMap): Now package-private.
592 (EnvironmentMap(Map)): New constructor.
593 (EnvironmentMap.put): New method.
594 * java/lang/natWin32Process.cc (startProcess): Update.
595 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
597 (startProcess): Likewise.
598 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
600 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
601 * java/lang/PosixProcess.java (redirect): New field.
602 (PosixProcess): Added 'redirect' argument.
603 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
604 argument to Process creation.
605 * java/lang/natVMProcess.cc: New file.
606 * java/lang/ProcessBuilder.java: Removed.
607 * java/lang/VMProcess.java: New file.
609 2007-03-03 Andrew Haley <aph@redhat.com>
611 * java/lang/natClass.cc (parseAnnotationElement): Correct long
612 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
614 2007-03-02 Andrew Haley <aph@redhat.com>
616 * sun/reflect/annotation/AnnotationInvocationHandler.java:
617 Generify in a few places.
618 (equals): Rewrite to use invoke on local proxy.
619 (deepToString): Remove most of it.
620 (toString): Make nonstatic.
621 (arrayClone): Delete.
622 (coerce): New method.
623 (invoke): Rewrite to handle gcj's structures correctly.
624 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
626 * sources.am: Regenerate.
627 * Makefile.am: Likewise.
629 2007-03-02 Andrew Haley <aph@redhat.com>
631 * sun/reflect/annotation/AnnotationInvocationHandler.java:
632 Whitespace only changes.
634 2007-03-02 Andrew Haley <aph@redhat.com>
636 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
637 from Classpath to libgcj local.
639 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
641 * Makefile.am: Add dummy install-pdf target.
642 * Makefile.in: Regenerate
643 * include/Makefile.in: Regenerate
644 * testsuite/Makefile.in: Regenerate
645 * gcj/Makefile.in: Regenerate
647 2007-02-23 Gary Benson <gbenson@redhat.com>
649 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
651 2007-02-23 Gary Benson <gbenson@redhat.com>
653 * java/lang/VMCompiler.java
654 (compileClass): Don't lose zeros from within the digest.
656 2007-02-22 Jakub Jelinek <jakub@redhat.com>
660 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
661 /etc/localtime, use ZoneInfo.readTZFile instead of
662 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
663 either if it is a symlink or through /etc/sysconfig/clock.
664 (readSysconfigClockFile): New static method.
665 (readtzFile): Removed.
666 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
667 * posix.cc (_Jv_platform_initProperties): Set
668 gnu.java.util.zoneinfo.dir.
669 * sources.am (gnu_java_util_source_files): Add
670 classpath/gnu/java/util/ZoneInfo.java.
671 * Makefile.in: Regenerated.
672 * java/util/VMTimeZone.h: Regenerated.
673 * java/util/TimeZone.h: Regenerated.
674 * gnu/java/util/ZoneInfo.h: Generated.
676 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
678 * include/win32-threads.h: Added #undef OUT.
680 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
682 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
683 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
684 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
685 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
686 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
687 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
689 2007-02-21 Gary Benson <gbenson@redhat.com>
691 * java/util/GregorianCalendar.java: Removed.
692 * sources.am, Makefile.in: Rebuilt.
694 2007-02-20 Keith Seitz <keiths@redhat.com>
696 * gnu/classpath/jdwp/natVMVirtualMachine.cc
697 (jdwpClassPrepareCB): Move class status stuff to ...
698 (getClassStatus): ... here.
700 2007-02-20 Gary Benson <gbenson@redhat.com>
702 * gnu/awt/xlib/XEventLoop.h: Regenerated.
703 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
704 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
706 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
707 * java/lang/SecurityManager.h: Likewise.
708 * java/lang/Thread.h: Likewise.
709 * java/security/VMSecureRandom$Spinner.h: Likewise.
710 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
711 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
712 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
713 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
714 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
715 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
716 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
717 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
718 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
719 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
720 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
721 * java/util/concurrent/Exchanger.h: Likewise.
722 * java/util/concurrent/Exchanger$Node.h: Likewise.
723 * java/util/concurrent/FutureTask$Sync.h: Likewise.
724 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
725 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
727 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
729 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
730 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
732 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
733 * java/util/concurrent/SynchronousQueue.h: Likewise.
734 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
735 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
737 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
738 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
740 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
741 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
742 * java/util/logging/ErrorManager.h: Likewise.
743 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
744 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
746 2007-02-16 Keith Seitz <keiths@redhat.com>
748 * gnu/classpath/jdwp/natVMVirtualMachine.cc
749 (get_line_table): New function.
750 (handle_single_step): New function.
751 (jdwpSingleStepCB): New function.
752 (jdwpVMInitCB): Define a JVMTI single step
753 callback, but don't enable it until needed.
755 2007-02-16 David Daney <ddaney@avtrex.com>
757 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
758 new parameter constructor.
759 (Thread(ThreadGroup, Runnable, String, long)): Same.
760 (Thread(String, boolean)): New constructor.
761 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
762 noInheritableThreadLocal, don't call
763 InheritableThreadLocal.newChildThread if set.
764 * java/lang/PosixProcess.java(ProcessManager()): Set
765 noInheritableThreadLocal in super.
766 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
767 parameter to Thread constructor.
768 (_Jv_AttachCurrentThreadAsDaemon): Same.
769 * java/lang/Thread.h: Regenerate.
770 * classpath/lib/java/lang/Thread.class: Same.
771 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
772 * classpath/lib/java/lang/PosixProcess.class: Same.
773 * classpath/lib/java/lang/Thread$State.class: Same.
774 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
776 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
778 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
779 variables to maintain type info.
780 * interpret-run.cc: Add local variable info to frame in the debug
782 * jvmti.cc (getLocalFrame): New method.
783 (_Jv_JVMTI_GetLocalObject): New method.
784 (_Jv_JVMTI_GetLocallInt): New method.
785 (_Jv_JVMTI_GetLocalFloat): New method.
786 (_Jv_JVMTI_GetLocalLong): New method.
787 (_Jv_JVMTI_GetLocalDouble): New method.
788 (_Jv_JVMTI_SetLocalObject): New method.
789 (_Jv_JVMTI_SetLocalInt): New method.
790 (_Jv_JVMTI_SetLocalFloat): New method.
791 (_Jv_JVMTI_SetLocalLong): New method.
792 (_Jv_JVMTI_SetLocalDouble): New method.
794 2007-02-16 Gary Benson <gbenson@redhat.com>
796 * gnu/gcj/tools/gcj_dbtool/Main.java
797 (bytesToString): Don't lose zeros from within the digest.
799 2007-02-15 Andrew Haley <aph@redhat.com>
801 * Makefile.am (nat_source_files): Remove
802 java/lang/management/natVMManagementFactory.cc.
803 * java/lang/Thread.java (getStackTrace): Use reflection to call
804 the ManagementFactory.
805 * java/lang/management/VMManagementFactory.java: Remove native
807 * java/lang/management/natVMManagementFactory.cc: Deleted.
808 * sources.am: Regnerate.
809 * scripts/makemake.tcl: Add new "bcheaders" type.
810 Move java/lang/management and gnu/classpath/management to "bc".
811 Move gnu/java/lang/management to "bcheaders".
813 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
815 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
816 * interpret-run.cc: Change the catch section to report exception
817 events and to use the new check_handler method.
818 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
819 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
820 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
821 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
822 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
824 * sources.am: Added ExceptionEvent.java.
825 * Makefile.am: Added natExceptionEvent.cc
826 * Makefile.in: Regenerated.
827 * include/Makefile.in: Regenerated.
828 * gcj/Makefile.in: Regenerated.
830 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
831 David Daney <ddaney@avtrex.com>
833 * configure.ac: Create vm-tools-packages file. Add
834 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
835 Check for /proc/self/maps.
836 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
837 (gc_analyze_SOURCES): New.
838 (gc_analyze_LDFLAGS): New.
839 (gc_analyze_LINK): New.
840 (gc_analyze_LDADD): New.
841 (gc_analyze_DEPENDENCIES): New.
842 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
843 * Makefile.in: Regenerated.
844 * configure: Regenerated.
845 * include/config.h.in: Regenerated.
846 * sources.am: Regenerated.
847 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
848 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
849 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
850 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
851 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
852 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
853 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
854 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
855 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
856 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
857 * gnu/gcj/util/GCInfo.java: New.
858 * gnu/gcj/util/GCInfo.h: New.
859 * gnu/gcj/util/natGCInfo.cc: New.
860 * gnu/gcj/util/UtilPermission.java: New.
861 * gnu/gcj/util/UtilPermission.h: New.
862 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
863 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
864 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
865 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
866 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
867 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
868 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
869 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
870 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
871 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
872 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
873 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
874 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
875 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
876 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
877 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
878 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
879 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
880 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
881 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
882 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
883 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
884 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
886 2007-02-15 David Daney <ddaney@avtrex.com>
888 * gnu/java/net/PlainSocketImpl.h: Regenerate.
889 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
890 * gnu/classpath/jdwp/VMFrame.h: Same.
891 * java/net/Socket.h: Same.
892 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
894 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
896 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
897 Added LocalVariableTable attribute handling.
898 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
899 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
900 * include/java-interp.h: Added local_var_table and
901 local_var_table_len fields to _Jv_InterpMethod.
902 (_Jv_InterpMethod::get_local_var_table): New method.
903 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
904 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
905 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
907 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
908 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
910 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
912 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
914 2007-02-13 Keith Seitz <keiths@redhat.com>
916 * gnu/classpath/jdwp/natVMVirtualMachine.cc
917 (jdwpBreakpointCB): New function.
918 (jdwpVMInitCB): Define and enable the breakpoint
921 2007-02-13 Andrew Haley <aph@redhat.com>
923 * testsuite/libjava.lang/Divide_2.out
924 * testsuite/libjava.lang/Divide_2.java: New test.
926 2007-02-12 Keith Seitz <keiths@redhat.com>
928 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
929 from jthread to Thread *; it is no longer needed.
930 (_Jv_JVMTI_GetFrameCount): Likewise.
931 Fix small formatting typo.
933 2007-02-12 Tom Tromey <tromey@redhat.com>
935 * sources.am, Makefile.in: Rebuilt.
936 * java/lang/Socket.java: Removed override.
937 * java/lang/DatagramSocket.java: Removed override.
938 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
940 (getLocalAddress): New method.
941 * gnu/java/net/PlainDatagramSocketImpl.java
942 (PlainDatagramSocketImpl): Throws IOException.
943 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
947 2007-02-09 Jakub Jelinek <jakub@redhat.com>
949 * java/util/VMTimeZone.java: Rewrite to handle both the old
950 'TZif\0' format and the new one.
952 2007-02-10 Andrew Haley <aph@redhat.com>
955 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
956 (getCallingClass): Call GET_CALLING_CLASS.
957 (getCallingClassLoader): Likewise.
959 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
961 * configure: Rebuilt.
962 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
964 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
966 * Makefile.in: Rebuilt.
967 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
968 the host's ecj1 executable.
970 2007-02-09 Richard Henderson <rth@redhat.com>
972 * sysdep/alpha/locks.h (read_barrier): New.
974 2007-02-09 Keith Seitz <keiths@redhat.com>
976 * gnu/classpath/jdwp/VMVirtualMachine.java
977 (_stepping_threads): New member.
978 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
980 * gnu/classpath/jdwp/VMVirtualMachine.h:
982 * gnu/claspath/jdwp/natVMVirtualMachine.cc
983 (get_request_step_filter): New function.
984 (DISABLE_EVENT): New macro.
985 (initialize): Initialize _stepping_threads.
986 (registerEvent): Implement EVENT_SINGLE_STEP.
987 (unregisterEvent): Likewise.
989 2007-02-08 Keith Seitz <keiths@redhat.com>
991 * sources.am: Regenerate.
992 * Makefile.in: Regenerate.
993 * testsuite/Makefile.in: Regenerate.
994 * gcj/Makefile.in: Regenerate.
995 * include/Makefile.in: Regenerate.
997 * classpath/lib/javax/management/MBeanServerFactory.class:
1000 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1002 * classpath/gnu/classpath/jdwp/processor/
1003 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1005 (executeSetValues): Ditto.
1006 (executeThisObject): Ditto.
1007 * classpath/gnu/classpath/jdwp/processor/
1008 StackFrameCommandSet.class: Rebuilt.
1009 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1011 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1012 * classpath/lib/gnu/classpath/jdwp/exception/
1013 InvalidFrameException.java: New file.
1014 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1016 (Constructor): New method.
1017 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1018 * gnu/classpath/jdwp/VMVirtualMachine.java
1019 (getFrame): Changed ByteBuffer to jlong.
1020 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1021 (getFrame): Implement.
1022 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1024 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1026 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1027 to hold "this" pointer for frame.
1028 (_Jv_InterpFrame::get_this_ptr): New method.
1029 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1031 2007-02-07 Keith Seitz <keiths@redhat.com>
1033 * include/java-interp.h (_Jv_Frame::depth):
1035 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1037 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1039 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1040 (_Jv_JVMTI_GetMaxLocals): New method.
1041 * include/java-interp.h
1042 (_Jv_InterpMethod::get_max_locals): New method.
1044 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1046 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1048 2007-02-07 Tom Tromey <tromey@redhat.com>
1050 * testsuite/libjava.jni/init.c: New file.
1051 * testsuite/libjava.jni/init.java: New file.
1052 * testsuite/libjava.jni/init.out: New file.
1053 * testsuite/libjava.jni/init.jar: New file.
1054 * testsuite/libjava.jni/init.h: New file.
1055 * testsuite/libjava.jni/init$NativeClass.h: New file.
1057 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1060 * configure: Regenerate.
1062 2007-02-06 Andrew Haley <aph@redhat.com>
1064 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1065 * sources.am: Rebuild.
1067 2007-02-05 Keith Seitz <keiths@redhat.com>
1069 * jvmti.cc (_envListLock): Change type to
1070 ReentrantReadWriteLock.
1071 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1073 (check_enabled_event): Likewise.
1074 (_Jv_GetJVMTIEnv): Likewise.
1075 (_Jv_JVMTI_Init): Likewise.
1076 (_Jv_JVMTI_PostEvent): Likewise.
1078 2007-02-05 Keith Seitz <keiths@redhat.com>
1080 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1081 (registerEvent): Implement EVENT_BREAKPOINT.
1082 (unregisterEvent): Likewise.
1083 (get_request_location): New function.
1085 2007-02-05 Matthias Klose <doko@debian.org>
1087 testsuite/Makefile.am (compile-tests): Fix typo.
1088 testsuite/Makefile.in: Regenerate.
1090 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1092 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1095 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1097 * configure.ac (libjava_cv_anon_version_script): New test.
1098 (ANONVERSCRIPT): New AM_CONDITIONAL.
1099 * configure: Rebuilt.
1100 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1102 * Makefile.in: Rebuilt.
1103 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1104 * libgcj.ver: New file.
1106 2007-02-01 David Daney <ddaney@avtrex.com>
1108 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1110 * sources.am: Regenerate.
1111 * Makefile.in: Regenerate.
1113 2007-02-01 Tom Tromey <tromey@redhat.com>
1115 * java/lang/ClassLoader.java (getResources): No longer final.
1117 2007-02-01 Tom Tromey <tromey@redhat.com>
1119 * java/util/logging/LogManager.java (loggers): Genericized.
1120 (addLogger): Merged.
1121 (findAncestor): Likewise.
1122 (getLogger): Likewise.
1123 (getLoggerNames): Genericized.
1125 (getLevelProperty): Likewise.
1126 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1127 * java/lang/reflect/Constructor.java (getParameterTypes):
1129 (getExceptionTypes): Likewise.
1130 (newInstance): Likewise.
1131 * java/lang/reflect/Array.java (newInstance): Genericized.
1132 * java/lang/Object.java (getClass): Genericized.
1133 * java/nio/charset/spi/CharsetProvider.java (charsets):
1135 * java/text/Collator.java: Implement Comparable<Object>.
1137 2007-02-01 Tom Tromey <tromey@redhat.com>
1139 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1141 (clear): Call complete.
1142 (setTimeZone): Call computeTime, computeFields.
1143 (compareTo): New method.
1144 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1145 (availableCharsets): Genericized.
1146 (aliases): Likewise.
1147 (compareTo): Changed argument type.
1148 * java/lang/ClassLoader.java (loadClass): Genericized.
1149 (findClass): Likewise.
1150 (defineClass): Likewise.
1151 (resolveClass): Likewise.
1152 (findSystemClass): Likewise.
1153 (setSigners): Likewise.
1154 (findLoadedClass): Likewise.
1155 (getResources): Likewise.
1156 (findResources): Likewise.
1157 (getSystemResources): Likewise.
1158 (checkInitialized): New method.
1159 * java/lang/Class.java (getCanonicalName): New method.
1161 2007-01-31 Keith Seitz <keiths@redhat.com>
1163 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1164 * jvmti.cc (JVMTI): Add member "enabled".
1165 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1166 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1167 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1168 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1169 instead of run to compile the method.
1171 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1174 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1176 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1177 -shared-libgcc to the cxxflaglist for Darwin.
1179 2007-01-31 Tom Tromey <tromey@redhat.com>
1181 * scripts.am, Makefile.in: Rebuilt.
1182 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1184 (emit_ordinary_rule): New proc.
1186 2007-01-31 Keith Seitz <keiths@redhat.com>
1188 * testsuite/libjava.jvmti/getmethodname.h: New file.
1189 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1191 2007-01-31 Andrew Haley <aph@redhat.com>
1193 * prims.cc (_Jv_Abort): fflush (stderr).
1194 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1196 2007-01-31 Tom Tromey <tromey@redhat.com>
1198 * configure, Makefile.in: Rebuilt.
1199 * configure.ac (JAR): Check for -@ feature.
1200 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1202 2007-01-31 Tom Tromey <tromey@redhat.com>
1205 * configure, include/config.h.in: Rebuilt.
1206 * configure.ac: Check for magic_t in magic.h.
1207 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1209 2007-01-30 Tom Tromey <tromey@redhat.com>
1211 * Makefile.in: Rebuilt.
1212 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1214 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1216 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1217 cast to print it right.
1219 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1222 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1225 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1227 * include/java-interp.h: Added _Jv_Frame class and its two
1228 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1229 _Jv_FrameType from java-stack.h.
1230 * include/java-stack.h: Removed _Jv_FrameType.
1231 * java/lang/Thread.java: Added frame member to hold new
1232 composite frame stack.
1233 * java/lang/Thread.h: Regenerated.
1234 * java/lang/Thread.class: Rebuilt.
1235 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1236 calling a JNI method.
1237 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1238 (_Jv_JVMTI_GetFrameCount): New method.
1239 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1241 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1242 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1243 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1244 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1245 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1248 2007-01-29 Tom Tromey <tromey@redhat.com>
1250 * interpret.cc (run_debug): Remove comment.
1257 (run_normal_debug): Likewise.
1258 (run_synch_object_debug): Likewise.
1259 (run_class_debug): Likewise.
1260 (run_synch_class_debug): Likewise.
1265 (NULLARRAYCHECK): Likewise.
1266 (ARRAYBOUNDSCHECK): Likewise.
1267 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1269 2007-01-29 Tom Tromey <tromey@redhat.com>
1271 * configure, Makefile.in: Rebuilt.
1272 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1273 * configure.ac (BASH_JAR): Removed conditional.
1274 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1276 2007-01-29 Tom Tromey <tromey@redhat.com>
1278 * Makefile.in: Rebuilt.
1279 * Makefile.am (interpret.lo): New target. Add -fwrap to
1282 2007-01-29 Keith Seitz <keiths@redhat.com>
1284 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1286 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1287 gcj. All jvmti object types now are defined to be their
1288 corresponding java classes.
1289 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1291 (_Jv_JVMTI_ResumeThread): Likewise.
1292 (_Jv_JVMTI_InterruptThread): Likewise.
1293 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1294 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1295 (jdwpClassPrepareCB): Likewise.
1296 (jdwpThreadEndCB): Likewise.
1297 (jdwpThreadStartCB): Likewise.
1298 (jdwpVMInitCB): Likewise.
1300 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1302 * gnu/java/nio/channels/natFileChannelWin32.cc
1303 (lock): Implemented.
1304 (unlock): Implemented.
1306 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1309 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1310 libgcj_flags to undefine 'sun' at compile time.
1311 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1313 (write_barrier): Likewise.
1315 2007-01-27 Keith Seitz <keiths@redhat.com>
1317 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1318 (getAllClassMethods): Move error handling to ...
1319 (throw_jvmti_error): ... here.
1320 (jdwpClassPrepareCB): New function.
1321 (jdwpThreadEndCB): New function.
1322 (jdwpThreadStartCB): New function.
1323 (jdwpVMDeathCB): New function.
1324 (jdwpVMInitCB): Define and enable callbacks for
1325 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1327 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1329 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1330 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1331 (MYGCJH): New variable.
1332 (compile-tests): New goal.
1333 * Makefile.in: Rebuilt.
1334 * testsuite/Makefile.in: Rebuilt.
1336 2007-01-26 Andrew Haley <aph@redhat.com>
1338 * java/lang/natClass.cc (initializeClass): Re-throw
1340 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1341 * java/lang/ClassLoader.java: (loadClass): Likewise.
1343 2007-01-26 Tom Tromey <tromey@redhat.com>
1347 2007-01-25 Tom Tromey <tromey@redhat.com>
1350 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1351 input or output encodings. Removed unused local variables.
1353 2007-01-25 Keith Seitz <keiths@redhat.com>
1355 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1356 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1357 (_Jv_GetJDWP_JVMTIEnv): New function.
1358 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1359 (getSignature): Implement.
1360 (getModifiers): Implement.
1362 2007-01-25 Andrew Haley <aph@redhat.com>
1364 * configure, Makefile.in, include/config.h.in: Rebuilt.
1365 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1366 * configure.ac: Don't check for libmagic.
1367 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1368 p_magic_close, p_magic_buffer): New globals.
1369 (init): Look up 'magic' functions.
1370 (guessContentTypeFromBuffer): Updated.
1372 2007-01-25 Keith Seitz <keiths@redhat.com>
1374 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1375 (_Jv_JVMTI_Interface): Define GetMethodName.
1376 * testsuite/libjava.jvmti/getmethodname.java: New file.
1377 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1378 * testsuite/libjava.jvmti/getmethodname.out: New file.
1380 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1382 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1383 * libjava/testsuite/libjava.jvmti/interp: New folder.
1384 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1386 2007-01-24 Keith Seitz <keiths@redhat.com>
1388 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1389 CLASS_PREPARE notification.
1391 2007-01-24 Keith Seitz <keiths@redhat.com>
1393 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1394 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1395 * interpret-run.cc: Implement insn_breakpoint.
1397 2007-01-24 Keith Seitz <keiths@redhat.com>
1399 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1400 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1402 2007-01-24 Keith Seitz <keiths@redhat.com>
1404 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1405 (getAllClassMethods): Implement.
1407 2007-01-24 Andrew Haley <aph@redhat.com>
1409 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1410 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1411 from being sibcalled.
1413 2007-01-24 Andrew Haley <aph@redhat.com>
1415 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1416 * sources.am: Rebuild.
1418 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1420 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1421 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1423 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1426 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1427 * Makefile.in: Regenerated.
1429 2007-01-22 Keith Seitz <keiths@redhat.com>
1431 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1432 (getClassMethod): Implement.
1434 2007-01-22 Keith Seitz <keiths@redhat.com>
1436 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1437 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1438 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1439 (_Jv_JVMTI_Interface): Define GetClassStatus.
1441 2007-01-22 Tom Tromey <tromey@redhat.com>
1443 * configure: Rebuilt.
1444 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1446 2007-01-22 Tom Tromey <tromey@redhat.com>
1449 * testsuite/libjava.jni/pr29812.java: New file.
1450 * testsuite/libjava.jni/pr29812_injar.java: New file.
1451 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1452 * testsuite/libjava.jni/pr29812.out: New file.
1453 * testsuite/libjava.jni/pr29812_injar.c: New file.
1454 * testsuite/libjava.jni/pr29812_injar.h: New file.
1455 * testsuite/libjava.jni/pr29812.jar: New file.
1456 * testsuite/libjava.jni/pr29812.c: New file.
1457 * testsuite/libjava.jni/pr29812.h: New file.
1458 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1460 (gcj_jni_invocation_test_one): Use it.
1461 (gcj_jni_pr29812): New proc.
1462 (gcj_jni_run): Use it.
1463 * java/lang/natRuntime.cc (_load): Push a new system frame before
1465 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1466 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1467 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1468 <allocated_p>: Now bool.
1469 <loader>: New field.
1470 (_Jv_JNI_EnsureLocalCapacity): Updated.
1471 (_Jv_JNI_NewLocalRef): Likewise.
1472 (_Jv_JNI_NewLocalRef): Likewise.
1473 (_Jv_JNI_PopLocalFrame): Likewise.
1474 (_Jv_JNI_FindClass): Likewise.
1475 (_Jv_GetJNIEnvNewFrame): Likewise.
1476 (_Jv_JNI_AttachCurrentThread): Likewise.
1477 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1478 (_Jv_GetJNIEnvNewFrame): Use it.
1479 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1481 2007-01-22 Tom Tromey <tromey@redhat.com>
1483 * libtool-version: Bump current to 9.
1485 2007-01-22 Andrew Haley <aph@redhat.com>
1487 * sysdep/alpha/locks.h (write_barrier): New.
1489 2007-01-21 Matthias Klose <doko@debian.org>
1491 * Makefile.am (install-exec-hook): Use transformed name.
1492 * Makefile.in: Regenerate.
1494 2007-01-19 Keith Seitz <keiths@redhat.com>
1496 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1497 in methods and reformat.
1499 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1502 2007-01-18 Keith Seitz <keiths@redhat.com>
1504 From Macro Trudel <mtrudel@gmx.ch>:
1505 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1508 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1510 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1511 * testsuite/libjava.jni/findclass2.jar: New file.
1512 * testsuite/libjava.jni/findclass2.h: New file.
1513 * testsuite/libjava.jni/findclass2.java: New file
1514 * testsuite/libjava.jni/findclass2.c: New file.
1515 * testsuite/libjava.jni/findclass2.out: New file.
1517 2007-01-18 Tom Tromey <tromey@redhat.com>
1519 * configure: Rebuilt.
1520 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1522 2007-01-18 Gary Benson <gbenson@redhat.com>
1524 * gnu/java/nio/natVMPipeEcos.cc:
1525 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1526 * gnu/java/nio/natVMPipePosix.cc:
1527 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1528 * gnu/java/nio/natVMPipeWin32.cc:
1529 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1530 * gnu/java/nio/natVMSelectorEcos.cc:
1531 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1532 * gnu/java/nio/natVMSelectorPosix.cc:
1533 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1534 * gnu/java/nio/natVMSelectorWin32.cc:
1535 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1536 * java/io/natVMObjectInputStream.cc:
1537 Renamed from java/io/natObjectInputStream.cc.
1538 * java/lang/natVMDouble.cc:
1539 Renamed from java/lang/natDouble.cc.
1540 * java/lang/natVMFloat.cc:
1541 Renamed from java/lang/natFloat.cc.
1542 * Makefile.am, configure.ac: Reflect the above.
1543 * Makefile.in, configure: Rebuilt.
1545 2007-01-17 Andrew Haley <aph@redhat.com>
1547 * Makefile.in: Rebuilt.
1548 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1550 2007-01-17 Keith Seitz <keiths@redhat.com>
1552 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1553 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1555 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1557 * configure.ac: Use multi.m4 from aclocal rather than custom
1558 code. Use multi_basedir instead libgcj_basedir. Test for
1559 /proc/self/exe when not cross-compiling.
1560 * aclocal.m4: Regenerate.
1561 * configure: Regenerate.
1562 * Makefile.in: Regenerate.
1564 2007-01-17 Gary Benson <gbenson@redhat.com>
1566 * java/nio/natVMDirectByteBufferImpl.cc:
1567 Renamed from java/nio/natDirectByteBufferImpl.cc.
1568 * Makefile.am: Reflect the above.
1569 * Makefile.in: Rebuilt.
1571 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1573 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1574 Fixed indentation. Removed unused variable.
1576 2007-01-16 Tom Tromey <tromey@redhat.com>
1578 * java/lang/natThread.cc (finalize_native): Remove cast.
1579 (_Jv_GetCurrentJNIEnv): Likewise.
1580 * include/jvm.h (struct natThread) <jni_env>: Declare as
1583 2007-01-16 Keith Seitz <keiths@redhat.com>
1585 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1586 %#llx instead of %d for new_value.
1587 * testsuite/libjava.jvmti/events.out: Update expected output.
1588 * testsuite/libjava.jvmti/events.jar: Regenerate.
1590 2007-01-16 Keith Seitz <keiths@redhat.com>
1592 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1594 (ENABLE_EVENT): New macro.
1595 (initialize): Define and enable JVMTI VM_INIT callback.
1596 (jdwpVMInitCB): New function.
1598 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1600 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1601 * testsuite/libjava.jvmti/getallthreads.java: New test.
1602 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1603 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1604 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1605 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1607 2007-01-15 Keith Seitz <keiths@redhat.com>
1609 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1610 java.lang.StringBuilder instead of java.lang.StringBuffer.
1611 (resumeThread): Likewise.
1613 2007-01-15 Gary Benson <gbenson@redhat.com>
1615 * java/nio/MappedByteBuffer.java: Removed.
1616 * sources.am, Makefile.in: Rebuilt.
1618 2007-01-15 Gary Benson <gbenson@redhat.com>
1620 * java/net/URLClassLoader.java: Removed.
1621 * gnu/java/net/loader/Load_gcjlib.java: New file.
1622 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1623 URL handler is present in static executables.
1624 * sources.am, Makefile.in: Rebuilt.
1626 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1628 * Makefile.am (libgcj_la_LDFLAGS): Add
1629 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1630 (libgcj_tools_la_LDFLAGS): Likewise.
1631 (libgcj_bc_la_LDFLAGS): Likewise.
1632 * Makefile.in: Regenerated.
1634 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1635 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1636 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1637 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1638 * configure: Regenerated.
1639 * aclocal.m4: Likewise.
1640 * gcj/Makefile.in: Likewise.
1641 * include/Makefile.in: Likewise.
1642 * testsuite/Makefile.in: Likewise.
1644 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1646 * sysdep/sh/locks.h (read_barrier): New.
1647 (write_barrier): Likewise.
1649 2007-01-12 Andrew Haley <aph@redhat.com>
1651 * include/i386-signal.h: Rewrite to use rt_sigaction.
1653 2007-01-11 Andrew Haley <aph@redhat.com>
1655 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1657 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1660 2007-01-10 Tom Tromey <tromey@redhat.com>
1662 * gnu/gcj/xlib/*.h: New files.
1663 * gnu/awt/xlib/*.h: Likewise.
1664 * classpath/lib/gnu/gcj/xlib: New class files.
1665 * classpath/lib/gnu/awt/xlib: Likewise.
1667 2007-01-10 Tom Tromey <tromey@redhat.com>
1669 * HACKING: Various updates.
1671 2007-01-10 Tom Tromey <tromey@redhat.com>
1673 * java/lang/natDouble.cc (toString): Added parens.
1674 * gnu/gcj/io/shs.h (PROTO): Define.
1675 * link.cc (resolve_pool_entry): Added missing braces.
1677 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1680 * sysdep/ia64/locks.h (read_barrier): New.
1681 (write_barrier): New.
1683 2007-01-10 Gary Benson <gbenson@redhat.com>
1685 * java/net/URL.java: Removed.
1686 * sources.am, Makefile.in: Rebuilt.
1688 2007-01-10 Matthias Klose <doko@debian.org>
1690 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1691 * Makefile.in: Regenerated.
1693 2007-01-05 Tom Tromey <tromey@redhat.com>
1695 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1696 dummy.class in srcdir.
1698 2007-01-03 Tom Tromey <tromey@redhat.com>
1700 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1703 2007-01-03 Tom Tromey <tromey@redhat.com>
1705 * testsuite/*: Added many .jar and .h files.
1706 * testsuite/libjava.special/special.exp
1707 (gcj_special_try_compiler): New proc.
1708 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1709 bytecompile source. Search for .jar files.
1710 (gcj_loader_test_one): Don't look for MyLoader.java.
1711 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1712 bytecompile sources or build headers.
1713 (gcj_jvmti_run): Look for .jar files.
1714 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1716 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1717 Set classpath when invoking gij.
1718 (gcj_jni_invocation_test_one): Likewise.
1719 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1720 headers or bytecompile sources.
1721 (gcj_cni_run): Use .jar files, not .java files.
1722 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1724 2007-01-02 Tom Tromey <tromey@redhat.com>
1726 * configure: Rebuilt.
1727 * configure.ac: Check for gjar.
1729 2007-01-02 Tom Tromey <tromey@redhat.com>
1731 * testsuite/libjava.jacks/jacks.exp: Removed.
1732 * testsuite/libjava.jacks/jacks.xfail: Removed.