1 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
4 * classpath/configure.ac: Add --with-ecj-jar configure option.
5 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
7 * classpath/INSTALL: Document --with-ecj-jar configure option and
8 ecj jar requirement for com.sun.tools.javac support.
9 * classpath/tools/Makefile.am: Build decendents of com and sun
11 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
12 * gnu/classpath/Configuration.java,
13 gnu/classpath/natConfiguration.cc (ecj): New method.
15 * scripts/makemake.tcl (scan_packages): Add com directory.
16 * sources.am (property_files): Add
17 classpath/resource/sun/rmi/rmic/messages.properties and
18 classpath/resource/com/sun/tools/javac/messages.properties.
19 * classpath/resource/com, classpath/resource/com/sun,
20 classpath/resource/com/sun/tools,
21 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
22 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
23 classpath/tools/classes/com, classpath/tools/classes/com/sun,
24 classpath/tools/classes/com/sun/javadoc,
25 classpath/tools/classes/com/sun/tools,
26 classpath/tools/classes/com/sun/tools/doclets,
27 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
28 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
29 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
30 classpath/tools/com/sun/tools,
31 classpath/tools/com/sun/tools/doclets,
32 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
33 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
35 * classpath/resource/com/sun/tools/javac/messages.properties,
36 classpath/resource/sun/rmi/rmic/messages.properties,
37 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
38 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
39 classpath/tools/classes/com/sun/javadoc/Doc.class,
40 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
41 classpath/tools/classes/com/sun/javadoc/Doclet.class,
42 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
43 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
44 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
45 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
46 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
47 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
48 classpath/tools/classes/com/sun/javadoc/Parameter.class,
49 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
50 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
51 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
52 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
53 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
54 classpath/tools/classes/com/sun/javadoc/Tag.class,
55 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
56 classpath/tools/classes/com/sun/javadoc/Type.class,
57 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
58 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
59 classpath/tools/classes/sun/rmi/rmic/Main.class,
60 classpath/tools/classes/sun/rmi/rmic/Messages.class,
61 classpath/tools/com/sun/javadoc/ClassDoc.java,
62 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
63 classpath/tools/com/sun/javadoc/Doc.java,
64 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
65 classpath/tools/com/sun/javadoc/Doclet.java,
66 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
67 classpath/tools/com/sun/javadoc/FieldDoc.java,
68 classpath/tools/com/sun/javadoc/MemberDoc.java,
69 classpath/tools/com/sun/javadoc/MethodDoc.java,
70 classpath/tools/com/sun/javadoc/PackageDoc.java,
71 classpath/tools/com/sun/javadoc/ParamTag.java,
72 classpath/tools/com/sun/javadoc/Parameter.java,
73 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
74 classpath/tools/com/sun/javadoc/RootDoc.java,
75 classpath/tools/com/sun/javadoc/SeeTag.java,
76 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
77 classpath/tools/com/sun/javadoc/SourcePosition.java,
78 classpath/tools/com/sun/javadoc/Tag.java,
79 classpath/tools/com/sun/javadoc/ThrowsTag.java,
80 classpath/tools/com/sun/javadoc/Type.java,
81 classpath/tools/com/sun/javadoc/TypeVariable.java,
82 classpath/tools/com/sun/tools/doclets/Taglet.java,
83 classpath/tools/com/sun/tools/javac/Main.java,
84 classpath/tools/com/sun/tools/javac/Messages.java,
85 classpath/tools/sun/rmi/rmic/Main.java,
86 classpath/tools/sun/rmi/rmic/Messages.java: New files.
87 * Makefile.in, classpath/Makefile.in, classpath/configure,
88 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
89 classpath/examples/Makefile.in, classpath/external/Makefile.in,
90 classpath/external/jsr166/Makefile.in,
91 classpath/external/relaxngDatatype/Makefile.in,
92 classpath/external/sax/Makefile.in,
93 classpath/external/w3c_dom/Makefile.in,
94 classpath/include/Makefile.in, classpath/include/config.h.in,
95 classpath/lib/Makefile.in,
96 classpath/lib/gnu/classpath/Configuration.class,
97 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
98 classpath/native/jawt/Makefile.in,
99 classpath/native/jni/Makefile.in,
100 classpath/native/jni/classpath/Makefile.in,
101 classpath/native/jni/gconf-peer/Makefile.in,
102 classpath/native/jni/gtk-peer/Makefile.in,
103 classpath/native/jni/java-io/Makefile.in,
104 classpath/native/jni/java-lang/Makefile.in,
105 classpath/native/jni/java-net/Makefile.in,
106 classpath/native/jni/java-nio/Makefile.in,
107 classpath/native/jni/java-util/Makefile.in,
108 classpath/native/jni/midi-alsa/Makefile.in,
109 classpath/native/jni/midi-dssi/Makefile.in,
110 classpath/native/jni/native-lib/Makefile.in,
111 classpath/native/jni/qt-peer/Makefile.in,
112 classpath/native/jni/xmlj/Makefile.in,
113 classpath/native/plugin/Makefile.in,
114 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
115 classpath/tools/Makefile.in, configure,
116 gnu/classpath/Configuration.h: Regenerate.
118 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
120 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
123 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
125 * java/lang/natString.cc (getBytes (jstring enc)):
126 Fixed the loop for multiple cycles, Code cleanup
128 2007-03-09 Tom Tromey <tromey@redhat.com>
130 * sources.am, Makefile.in: Rebuilt.
131 * scripts/makemake.tcl (scan_directory): Allow service files to be
133 Omit all XML-related service files.
135 2007-03-07 Tom Tromey <tromey@redhat.com>
137 * configure: Rebuilt.
138 * configure.ac: Clear vm-tools-packages.
140 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
142 * java/lang/Win32Process.java: Added nested class EOFInputStream.
143 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
144 enum and implementation.
145 (startProcess): Use redirect flag.
146 * classpath/lib/java/lang/Win32Process.class: Regenerated.
147 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
148 * gcj/javaprims.h: Regenerated.
149 * java/lang/Win32Process$EOFInputStream.h: New.
151 2007-03-07 Andrew Haley <aph@redhat.com>
153 * libgcj_bc.c (JvRunMainName): Declare.
155 2007-03-07 Gary Benson <gbenson@redhat.com>
157 * sources.am, Makefile.in: Rebuilt.
159 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
161 * gcj/javaprims.h: Regenerated.
163 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
165 * include/jvm.h (_Jv_ClosureListFinalizer): New.
166 (_Jv_Linker::create_error_method): Adjust.
167 * boehm.cc (_Jv_ClosureListFinalizer): New.
168 * nogc.cc (_Jv_ClosureListFinalizer): New.
169 * java/lang/Class.h (class _Jv_ClosureList): New.
170 (class java::lang::Class): Declare it as friend.
171 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
172 (_Jv_ClosureList::registerClousure): New.
173 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
174 (_Jv_CompiledEngine::do_get_closure_list): New.
175 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
176 (_Jv_IndirectCompiledClass): Add closures.
177 (_Jv_IndirectCompiledEngine::get_aux_info): New.
178 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
180 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
181 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
182 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
183 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
184 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
185 (node_closure): Add closure list.
186 (_Jv_InterpMethod::ncode): Add jclass argument. Use
187 ffi_closure_alloc and the separate code pointer. Register the
188 closure for finalization.
189 (_Jv_JNIMethod::ncode): Likewise.
190 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
191 (_Jv_InterpreterEngine::do_get_closure_list): New.
192 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
193 (_Jv_InterpClass): Add closures field.
194 (_Jv_JNIMethod::ncode): Adjust.
195 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
196 (_Jv_ClassReader::handleMethodsEnd): Likewise.
197 * link.cc (struct method_closure): Add closure list.
198 (_Jv_Linker::create_error_method): Add jclass argument. Use
199 ffi_closure_alloc and the separate code pointer. Register the
200 closure for finalization.
201 (_Jv_Linker::link_symbol_table): Remove outdated comment about
202 sharing of otable and atable. Adjust.
203 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
205 (ncode): Add jclass argument. Use ffi_closure_alloc and the
206 separate code pointer. Register the closure for finalization.
207 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
208 * testsuite/libjava.jar/TestClosureGC.java: New.
209 * testsuite/libjava.jar/TestClosureGC.out: New.
210 * testsuite/libjava.jar/TestClosureGC.xfail: New.
211 * testsuite/libjava.jar/TestClosureGC.jar: New.
213 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
215 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
216 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
217 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
218 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
219 (VMMethod::getLineTable): Use new macro.
220 (VMMethod::getVariableTable): Implement.
221 * sources.am: Regenerated.
222 * Makefile.in: Ditto.
224 2007-03-06 Tom Tromey <tromey@redhat.com>
226 * Makefile.in: Rebuilt.
227 * Makefile.am (bin_PROGRAMS): Added gcjh.
228 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
229 gcjh_DEPENDENCIES): New variables.
231 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
233 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
234 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
235 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
237 2007-03-05 Matthias Klose <doko@debian.org>
239 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
240 * Makefile.in: Regnerate.
242 2007-03-05 Mark Wielaard <mark@klomp.org>
244 * java/lang/Character.java: Re-merged with Classpath.
245 * java/lang/natString.cc (nativeCompareTo): Renamed from
247 * java/lang/StringBuilder.java: Re-merged with Classpath.
248 * java/lang/String.java: Re-merged with Classpath.
249 (nativeCompareTo): Renamed from compareTo.
250 * java/lang/StringBuffer.java: Re-merged with Classpath.
251 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
253 2007-03-05 Andrew Haley <aph@redhat.com>
255 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
256 (generateProxyClass): Don't pass method to ncode.
257 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
258 * java/lang/reflect/Method.h: Rebuild.
259 * java/lang/reflect/Method.java (internalGetParameterTypes,
260 internalGetExceptionTypes): New methods.
261 * headers.txt (class java/lang/reflect/Method): Declare
262 _Jv_GetReflectedMethod. Be its friend.
263 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
264 * java/lang/Class.h: Declare it. Be its friend.
266 2007-03-05 Tom Tromey <tromey@redhat.com>
268 * sources.am, Makefile.in: Rebuilt.
269 * scripts/makemake.tcl (emit_package_rule): Don't omit
271 * Makefile.am (nat_source_files): Added natVMProcess.cc.
272 (inner_nat_headers): Added ImmediateEOFInputStream.h.
273 * gcj/javaprims.h: Regenerated.
274 * java/lang/System.java (EnvironmentMap): Now package-private.
275 (EnvironmentMap(Map)): New constructor.
276 (EnvironmentMap.put): New method.
277 * java/lang/natWin32Process.cc (startProcess): Update.
278 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
280 (startProcess): Likewise.
281 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
283 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
284 * java/lang/PosixProcess.java (redirect): New field.
285 (PosixProcess): Added 'redirect' argument.
286 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
287 argument to Process creation.
288 * java/lang/natVMProcess.cc: New file.
289 * java/lang/ProcessBuilder.java: Removed.
290 * java/lang/VMProcess.java: New file.
292 2007-03-03 Andrew Haley <aph@redhat.com>
294 * java/lang/natClass.cc (parseAnnotationElement): Correct long
295 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
297 2007-03-02 Andrew Haley <aph@redhat.com>
299 * sun/reflect/annotation/AnnotationInvocationHandler.java:
300 Generify in a few places.
301 (equals): Rewrite to use invoke on local proxy.
302 (deepToString): Remove most of it.
303 (toString): Make nonstatic.
304 (arrayClone): Delete.
305 (coerce): New method.
306 (invoke): Rewrite to handle gcj's structures correctly.
307 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
309 * sources.am: Regenerate.
310 * Makefile.am: Likewise.
312 2007-03-02 Andrew Haley <aph@redhat.com>
314 * sun/reflect/annotation/AnnotationInvocationHandler.java:
315 Whitespace only changes.
317 2007-03-02 Andrew Haley <aph@redhat.com>
319 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
320 from Classpath to libgcj local.
322 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
324 * Makefile.am: Add dummy install-pdf target.
325 * Makefile.in: Regenerate
326 * include/Makefile.in: Regenerate
327 * testsuite/Makefile.in: Regenerate
328 * gcj/Makefile.in: Regenerate
330 2007-02-23 Gary Benson <gbenson@redhat.com>
332 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
334 2007-02-23 Gary Benson <gbenson@redhat.com>
336 * java/lang/VMCompiler.java
337 (compileClass): Don't lose zeros from within the digest.
339 2007-02-22 Jakub Jelinek <jakub@redhat.com>
343 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
344 /etc/localtime, use ZoneInfo.readTZFile instead of
345 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
346 either if it is a symlink or through /etc/sysconfig/clock.
347 (readSysconfigClockFile): New static method.
348 (readtzFile): Removed.
349 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
350 * posix.cc (_Jv_platform_initProperties): Set
351 gnu.java.util.zoneinfo.dir.
352 * sources.am (gnu_java_util_source_files): Add
353 classpath/gnu/java/util/ZoneInfo.java.
354 * Makefile.in: Regenerated.
355 * java/util/VMTimeZone.h: Regenerated.
356 * java/util/TimeZone.h: Regenerated.
357 * gnu/java/util/ZoneInfo.h: Generated.
359 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
361 * include/win32-threads.h: Added #undef OUT.
363 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
365 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
366 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
367 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
368 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
369 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
370 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
372 2007-02-21 Gary Benson <gbenson@redhat.com>
374 * java/util/GregorianCalendar.java: Removed.
375 * sources.am, Makefile.in: Rebuilt.
377 2007-02-20 Keith Seitz <keiths@redhat.com>
379 * gnu/classpath/jdwp/natVMVirtualMachine.cc
380 (jdwpClassPrepareCB): Move class status stuff to ...
381 (getClassStatus): ... here.
383 2007-02-20 Gary Benson <gbenson@redhat.com>
385 * gnu/awt/xlib/XEventLoop.h: Regenerated.
386 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
387 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
389 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
390 * java/lang/SecurityManager.h: Likewise.
391 * java/lang/Thread.h: Likewise.
392 * java/security/VMSecureRandom$Spinner.h: Likewise.
393 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
394 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
395 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
396 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
397 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
398 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
399 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
400 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
401 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
402 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
403 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
404 * java/util/concurrent/Exchanger.h: Likewise.
405 * java/util/concurrent/Exchanger$Node.h: Likewise.
406 * java/util/concurrent/FutureTask$Sync.h: Likewise.
407 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
408 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
410 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
412 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
413 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
415 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
416 * java/util/concurrent/SynchronousQueue.h: Likewise.
417 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
418 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
420 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
421 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
423 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
424 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
425 * java/util/logging/ErrorManager.h: Likewise.
426 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
427 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
429 2007-02-16 Keith Seitz <keiths@redhat.com>
431 * gnu/classpath/jdwp/natVMVirtualMachine.cc
432 (get_line_table): New function.
433 (handle_single_step): New function.
434 (jdwpSingleStepCB): New function.
435 (jdwpVMInitCB): Define a JVMTI single step
436 callback, but don't enable it until needed.
438 2007-02-16 David Daney <ddaney@avtrex.com>
440 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
441 new parameter constructor.
442 (Thread(ThreadGroup, Runnable, String, long)): Same.
443 (Thread(String, boolean)): New constructor.
444 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
445 noInheritableThreadLocal, don't call
446 InheritableThreadLocal.newChildThread if set.
447 * java/lang/PosixProcess.java(ProcessManager()): Set
448 noInheritableThreadLocal in super.
449 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
450 parameter to Thread constructor.
451 (_Jv_AttachCurrentThreadAsDaemon): Same.
452 * java/lang/Thread.h: Regenerate.
453 * classpath/lib/java/lang/Thread.class: Same.
454 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
455 * classpath/lib/java/lang/PosixProcess.class: Same.
456 * classpath/lib/java/lang/Thread$State.class: Same.
457 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
459 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
461 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
462 variables to maintain type info.
463 * interpret-run.cc: Add local variable info to frame in the debug
465 * jvmti.cc (getLocalFrame): New method.
466 (_Jv_JVMTI_GetLocalObject): New method.
467 (_Jv_JVMTI_GetLocallInt): New method.
468 (_Jv_JVMTI_GetLocalFloat): New method.
469 (_Jv_JVMTI_GetLocalLong): New method.
470 (_Jv_JVMTI_GetLocalDouble): New method.
471 (_Jv_JVMTI_SetLocalObject): New method.
472 (_Jv_JVMTI_SetLocalInt): New method.
473 (_Jv_JVMTI_SetLocalFloat): New method.
474 (_Jv_JVMTI_SetLocalLong): New method.
475 (_Jv_JVMTI_SetLocalDouble): New method.
477 2007-02-16 Gary Benson <gbenson@redhat.com>
479 * gnu/gcj/tools/gcj_dbtool/Main.java
480 (bytesToString): Don't lose zeros from within the digest.
482 2007-02-15 Andrew Haley <aph@redhat.com>
484 * Makefile.am (nat_source_files): Remove
485 java/lang/management/natVMManagementFactory.cc.
486 * java/lang/Thread.java (getStackTrace): Use reflection to call
487 the ManagementFactory.
488 * java/lang/management/VMManagementFactory.java: Remove native
490 * java/lang/management/natVMManagementFactory.cc: Deleted.
491 * sources.am: Regnerate.
492 * scripts/makemake.tcl: Add new "bcheaders" type.
493 Move java/lang/management and gnu/classpath/management to "bc".
494 Move gnu/java/lang/management to "bcheaders".
496 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
498 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
499 * interpret-run.cc: Change the catch section to report exception
500 events and to use the new check_handler method.
501 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
502 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
503 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
504 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
505 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
507 * sources.am: Added ExceptionEvent.java.
508 * Makefile.am: Added natExceptionEvent.cc
509 * Makefile.in: Regenerated.
510 * include/Makefile.in: Regenerated.
511 * gcj/Makefile.in: Regenerated.
513 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
514 David Daney <ddaney@avtrex.com>
516 * configure.ac: Create vm-tools-packages file. Add
517 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
518 Check for /proc/self/maps.
519 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
520 (gc_analyze_SOURCES): New.
521 (gc_analyze_LDFLAGS): New.
522 (gc_analyze_LINK): New.
523 (gc_analyze_LDADD): New.
524 (gc_analyze_DEPENDENCIES): New.
525 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
526 * Makefile.in: Regenerated.
527 * configure: Regenerated.
528 * include/config.h.in: Regenerated.
529 * sources.am: Regenerated.
530 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
531 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
532 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
533 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
534 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
535 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
536 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
537 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
538 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
539 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
540 * gnu/gcj/util/GCInfo.java: New.
541 * gnu/gcj/util/GCInfo.h: New.
542 * gnu/gcj/util/natGCInfo.cc: New.
543 * gnu/gcj/util/UtilPermission.java: New.
544 * gnu/gcj/util/UtilPermission.h: New.
545 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
546 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
547 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
548 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
549 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
550 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
551 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
552 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
553 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
554 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
555 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
556 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
557 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
558 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
559 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
560 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
561 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
562 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
563 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
564 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
565 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
566 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
567 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
569 2007-02-15 David Daney <ddaney@avtrex.com>
571 * gnu/java/net/PlainSocketImpl.h: Regenerate.
572 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
573 * gnu/classpath/jdwp/VMFrame.h: Same.
574 * java/net/Socket.h: Same.
575 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
577 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
579 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
580 Added LocalVariableTable attribute handling.
581 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
582 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
583 * include/java-interp.h: Added local_var_table and
584 local_var_table_len fields to _Jv_InterpMethod.
585 (_Jv_InterpMethod::get_local_var_table): New method.
586 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
587 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
588 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
590 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
591 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
593 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
595 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
597 2007-02-13 Keith Seitz <keiths@redhat.com>
599 * gnu/classpath/jdwp/natVMVirtualMachine.cc
600 (jdwpBreakpointCB): New function.
601 (jdwpVMInitCB): Define and enable the breakpoint
604 2007-02-13 Andrew Haley <aph@redhat.com>
606 * testsuite/libjava.lang/Divide_2.out
607 * testsuite/libjava.lang/Divide_2.java: New test.
609 2007-02-12 Keith Seitz <keiths@redhat.com>
611 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
612 from jthread to Thread *; it is no longer needed.
613 (_Jv_JVMTI_GetFrameCount): Likewise.
614 Fix small formatting typo.
616 2007-02-12 Tom Tromey <tromey@redhat.com>
618 * sources.am, Makefile.in: Rebuilt.
619 * java/lang/Socket.java: Removed override.
620 * java/lang/DatagramSocket.java: Removed override.
621 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
623 (getLocalAddress): New method.
624 * gnu/java/net/PlainDatagramSocketImpl.java
625 (PlainDatagramSocketImpl): Throws IOException.
626 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
630 2007-02-09 Jakub Jelinek <jakub@redhat.com>
632 * java/util/VMTimeZone.java: Rewrite to handle both the old
633 'TZif\0' format and the new one.
635 2007-02-10 Andrew Haley <aph@redhat.com>
638 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
639 (getCallingClass): Call GET_CALLING_CLASS.
640 (getCallingClassLoader): Likewise.
642 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
644 * configure: Rebuilt.
645 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
647 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
649 * Makefile.in: Rebuilt.
650 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
651 the host's ecj1 executable.
653 2007-02-09 Richard Henderson <rth@redhat.com>
655 * sysdep/alpha/locks.h (read_barrier): New.
657 2007-02-09 Keith Seitz <keiths@redhat.com>
659 * gnu/classpath/jdwp/VMVirtualMachine.java
660 (_stepping_threads): New member.
661 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
663 * gnu/classpath/jdwp/VMVirtualMachine.h:
665 * gnu/claspath/jdwp/natVMVirtualMachine.cc
666 (get_request_step_filter): New function.
667 (DISABLE_EVENT): New macro.
668 (initialize): Initialize _stepping_threads.
669 (registerEvent): Implement EVENT_SINGLE_STEP.
670 (unregisterEvent): Likewise.
672 2007-02-08 Keith Seitz <keiths@redhat.com>
674 * sources.am: Regenerate.
675 * Makefile.in: Regenerate.
676 * testsuite/Makefile.in: Regenerate.
677 * gcj/Makefile.in: Regenerate.
678 * include/Makefile.in: Regenerate.
680 * classpath/lib/javax/management/MBeanServerFactory.class:
683 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
685 * classpath/gnu/classpath/jdwp/processor/
686 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
688 (executeSetValues): Ditto.
689 (executeThisObject): Ditto.
690 * classpath/gnu/classpath/jdwp/processor/
691 StackFrameCommandSet.class: Rebuilt.
692 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
694 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
695 * classpath/lib/gnu/classpath/jdwp/exception/
696 InvalidFrameException.java: New file.
697 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
699 (Constructor): New method.
700 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
701 * gnu/classpath/jdwp/VMVirtualMachine.java
702 (getFrame): Changed ByteBuffer to jlong.
703 * gnu/classpath/jdwp/natVMVirtualMachine.cc
704 (getFrame): Implement.
705 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
707 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
709 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
710 to hold "this" pointer for frame.
711 (_Jv_InterpFrame::get_this_ptr): New method.
712 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
714 2007-02-07 Keith Seitz <keiths@redhat.com>
716 * include/java-interp.h (_Jv_Frame::depth):
718 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
720 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
722 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
723 (_Jv_JVMTI_GetMaxLocals): New method.
724 * include/java-interp.h
725 (_Jv_InterpMethod::get_max_locals): New method.
727 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
729 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
731 2007-02-07 Tom Tromey <tromey@redhat.com>
733 * testsuite/libjava.jni/init.c: New file.
734 * testsuite/libjava.jni/init.java: New file.
735 * testsuite/libjava.jni/init.out: New file.
736 * testsuite/libjava.jni/init.jar: New file.
737 * testsuite/libjava.jni/init.h: New file.
738 * testsuite/libjava.jni/init$NativeClass.h: New file.
740 2007-02-07 Jakub Jelinek <jakub@redhat.com>
743 * configure: Regenerate.
745 2007-02-06 Andrew Haley <aph@redhat.com>
747 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
748 * sources.am: Rebuild.
750 2007-02-05 Keith Seitz <keiths@redhat.com>
752 * jvmti.cc (_envListLock): Change type to
753 ReentrantReadWriteLock.
754 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
756 (check_enabled_event): Likewise.
757 (_Jv_GetJVMTIEnv): Likewise.
758 (_Jv_JVMTI_Init): Likewise.
759 (_Jv_JVMTI_PostEvent): Likewise.
761 2007-02-05 Keith Seitz <keiths@redhat.com>
763 * gnu/classpath/jdwp/natVMVirtualMachine.cc
764 (registerEvent): Implement EVENT_BREAKPOINT.
765 (unregisterEvent): Likewise.
766 (get_request_location): New function.
768 2007-02-05 Matthias Klose <doko@debian.org>
770 testsuite/Makefile.am (compile-tests): Fix typo.
771 testsuite/Makefile.in: Regenerate.
773 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
775 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
778 2007-02-02 Jakub Jelinek <jakub@redhat.com>
780 * configure.ac (libjava_cv_anon_version_script): New test.
781 (ANONVERSCRIPT): New AM_CONDITIONAL.
782 * configure: Rebuilt.
783 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
785 * Makefile.in: Rebuilt.
786 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
787 * libgcj.ver: New file.
789 2007-02-01 David Daney <ddaney@avtrex.com>
791 * scripts/makemake.tcl: Replace gnu/xml build with build of all
793 * sources.am: Regenerate.
794 * Makefile.in: Regenerate.
796 2007-02-01 Tom Tromey <tromey@redhat.com>
798 * java/lang/ClassLoader.java (getResources): No longer final.
800 2007-02-01 Tom Tromey <tromey@redhat.com>
802 * java/util/logging/LogManager.java (loggers): Genericized.
804 (findAncestor): Likewise.
805 (getLogger): Likewise.
806 (getLoggerNames): Genericized.
808 (getLevelProperty): Likewise.
809 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
810 * java/lang/reflect/Constructor.java (getParameterTypes):
812 (getExceptionTypes): Likewise.
813 (newInstance): Likewise.
814 * java/lang/reflect/Array.java (newInstance): Genericized.
815 * java/lang/Object.java (getClass): Genericized.
816 * java/nio/charset/spi/CharsetProvider.java (charsets):
818 * java/text/Collator.java: Implement Comparable<Object>.
820 2007-02-01 Tom Tromey <tromey@redhat.com>
822 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
824 (clear): Call complete.
825 (setTimeZone): Call computeTime, computeFields.
826 (compareTo): New method.
827 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
828 (availableCharsets): Genericized.
830 (compareTo): Changed argument type.
831 * java/lang/ClassLoader.java (loadClass): Genericized.
832 (findClass): Likewise.
833 (defineClass): Likewise.
834 (resolveClass): Likewise.
835 (findSystemClass): Likewise.
836 (setSigners): Likewise.
837 (findLoadedClass): Likewise.
838 (getResources): Likewise.
839 (findResources): Likewise.
840 (getSystemResources): Likewise.
841 (checkInitialized): New method.
842 * java/lang/Class.java (getCanonicalName): New method.
844 2007-01-31 Keith Seitz <keiths@redhat.com>
846 * include/jvmti-int.h (JVMTI): Declare member "enabled".
847 * jvmti.cc (JVMTI): Add member "enabled".
848 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
849 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
850 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
851 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
852 instead of run to compile the method.
854 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
857 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
859 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
860 -shared-libgcc to the cxxflaglist for Darwin.
862 2007-01-31 Tom Tromey <tromey@redhat.com>
864 * scripts.am, Makefile.in: Rebuilt.
865 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
867 (emit_ordinary_rule): New proc.
869 2007-01-31 Keith Seitz <keiths@redhat.com>
871 * testsuite/libjava.jvmti/getmethodname.h: New file.
872 * testsuite/libjava.jvmti/getmethodname.jar: New file.
874 2007-01-31 Andrew Haley <aph@redhat.com>
876 * prims.cc (_Jv_Abort): fflush (stderr).
877 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
879 2007-01-31 Tom Tromey <tromey@redhat.com>
881 * configure, Makefile.in: Rebuilt.
882 * configure.ac (JAR): Check for -@ feature.
883 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
885 2007-01-31 Tom Tromey <tromey@redhat.com>
888 * configure, include/config.h.in: Rebuilt.
889 * configure.ac: Check for magic_t in magic.h.
890 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
892 2007-01-30 Tom Tromey <tromey@redhat.com>
894 * Makefile.in: Rebuilt.
895 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
897 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
899 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
900 cast to print it right.
902 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
905 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
908 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
910 * include/java-interp.h: Added _Jv_Frame class and its two
911 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
912 _Jv_FrameType from java-stack.h.
913 * include/java-stack.h: Removed _Jv_FrameType.
914 * java/lang/Thread.java: Added frame member to hold new
915 composite frame stack.
916 * java/lang/Thread.h: Regenerated.
917 * java/lang/Thread.class: Rebuilt.
918 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
919 calling a JNI method.
920 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
921 (_Jv_JVMTI_GetFrameCount): New method.
922 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
924 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
925 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
926 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
927 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
928 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
931 2007-01-29 Tom Tromey <tromey@redhat.com>
933 * interpret.cc (run_debug): Remove comment.
940 (run_normal_debug): Likewise.
941 (run_synch_object_debug): Likewise.
942 (run_class_debug): Likewise.
943 (run_synch_class_debug): Likewise.
948 (NULLARRAYCHECK): Likewise.
949 (ARRAYBOUNDSCHECK): Likewise.
950 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
952 2007-01-29 Tom Tromey <tromey@redhat.com>
954 * configure, Makefile.in: Rebuilt.
955 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
956 * configure.ac (BASH_JAR): Removed conditional.
957 (JAR): Prefer the jar found by AC_CHECK_PROGS.
959 2007-01-29 Tom Tromey <tromey@redhat.com>
961 * Makefile.in: Rebuilt.
962 * Makefile.am (interpret.lo): New target. Add -fwrap to
965 2007-01-29 Keith Seitz <keiths@redhat.com>
967 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
969 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
970 gcj. All jvmti object types now are defined to be their
971 corresponding java classes.
972 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
974 (_Jv_JVMTI_ResumeThread): Likewise.
975 (_Jv_JVMTI_InterruptThread): Likewise.
976 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
977 * gnu/classpath/jdwp/natVMVirtualMachine.cc
978 (jdwpClassPrepareCB): Likewise.
979 (jdwpThreadEndCB): Likewise.
980 (jdwpThreadStartCB): Likewise.
981 (jdwpVMInitCB): Likewise.
983 2007-01-28 Michele Sandri <gpointorama@gmail.com>
985 * gnu/java/nio/channels/natFileChannelWin32.cc
987 (unlock): Implemented.
989 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
992 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
993 libgcj_flags to undefine 'sun' at compile time.
994 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
996 (write_barrier): Likewise.
998 2007-01-27 Keith Seitz <keiths@redhat.com>
1000 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1001 (getAllClassMethods): Move error handling to ...
1002 (throw_jvmti_error): ... here.
1003 (jdwpClassPrepareCB): New function.
1004 (jdwpThreadEndCB): New function.
1005 (jdwpThreadStartCB): New function.
1006 (jdwpVMDeathCB): New function.
1007 (jdwpVMInitCB): Define and enable callbacks for
1008 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1010 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1012 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1013 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1014 (MYGCJH): New variable.
1015 (compile-tests): New goal.
1016 * Makefile.in: Rebuilt.
1017 * testsuite/Makefile.in: Rebuilt.
1019 2007-01-26 Andrew Haley <aph@redhat.com>
1021 * java/lang/natClass.cc (initializeClass): Re-throw
1023 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1024 * java/lang/ClassLoader.java: (loadClass): Likewise.
1026 2007-01-26 Tom Tromey <tromey@redhat.com>
1030 2007-01-25 Tom Tromey <tromey@redhat.com>
1033 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1034 input or output encodings. Removed unused local variables.
1036 2007-01-25 Keith Seitz <keiths@redhat.com>
1038 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1039 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1040 (_Jv_GetJDWP_JVMTIEnv): New function.
1041 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1042 (getSignature): Implement.
1043 (getModifiers): Implement.
1045 2007-01-25 Andrew Haley <aph@redhat.com>
1047 * configure, Makefile.in, include/config.h.in: Rebuilt.
1048 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1049 * configure.ac: Don't check for libmagic.
1050 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1051 p_magic_close, p_magic_buffer): New globals.
1052 (init): Look up 'magic' functions.
1053 (guessContentTypeFromBuffer): Updated.
1055 2007-01-25 Keith Seitz <keiths@redhat.com>
1057 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1058 (_Jv_JVMTI_Interface): Define GetMethodName.
1059 * testsuite/libjava.jvmti/getmethodname.java: New file.
1060 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1061 * testsuite/libjava.jvmti/getmethodname.out: New file.
1063 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1065 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1066 * libjava/testsuite/libjava.jvmti/interp: New folder.
1067 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1069 2007-01-24 Keith Seitz <keiths@redhat.com>
1071 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1072 CLASS_PREPARE notification.
1074 2007-01-24 Keith Seitz <keiths@redhat.com>
1076 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1077 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1078 * interpret-run.cc: Implement insn_breakpoint.
1080 2007-01-24 Keith Seitz <keiths@redhat.com>
1082 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1083 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1085 2007-01-24 Keith Seitz <keiths@redhat.com>
1087 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1088 (getAllClassMethods): Implement.
1090 2007-01-24 Andrew Haley <aph@redhat.com>
1092 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1093 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1094 from being sibcalled.
1096 2007-01-24 Andrew Haley <aph@redhat.com>
1098 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1099 * sources.am: Rebuild.
1101 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1103 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1104 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1106 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1109 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1110 * Makefile.in: Regenerated.
1112 2007-01-22 Keith Seitz <keiths@redhat.com>
1114 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1115 (getClassMethod): Implement.
1117 2007-01-22 Keith Seitz <keiths@redhat.com>
1119 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1120 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1121 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1122 (_Jv_JVMTI_Interface): Define GetClassStatus.
1124 2007-01-22 Tom Tromey <tromey@redhat.com>
1126 * configure: Rebuilt.
1127 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1129 2007-01-22 Tom Tromey <tromey@redhat.com>
1132 * testsuite/libjava.jni/pr29812.java: New file.
1133 * testsuite/libjava.jni/pr29812_injar.java: New file.
1134 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1135 * testsuite/libjava.jni/pr29812.out: New file.
1136 * testsuite/libjava.jni/pr29812_injar.c: New file.
1137 * testsuite/libjava.jni/pr29812_injar.h: New file.
1138 * testsuite/libjava.jni/pr29812.jar: New file.
1139 * testsuite/libjava.jni/pr29812.c: New file.
1140 * testsuite/libjava.jni/pr29812.h: New file.
1141 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1143 (gcj_jni_invocation_test_one): Use it.
1144 (gcj_jni_pr29812): New proc.
1145 (gcj_jni_run): Use it.
1146 * java/lang/natRuntime.cc (_load): Push a new system frame before
1148 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1149 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1150 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1151 <allocated_p>: Now bool.
1152 <loader>: New field.
1153 (_Jv_JNI_EnsureLocalCapacity): Updated.
1154 (_Jv_JNI_NewLocalRef): Likewise.
1155 (_Jv_JNI_NewLocalRef): Likewise.
1156 (_Jv_JNI_PopLocalFrame): Likewise.
1157 (_Jv_JNI_FindClass): Likewise.
1158 (_Jv_GetJNIEnvNewFrame): Likewise.
1159 (_Jv_JNI_AttachCurrentThread): Likewise.
1160 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1161 (_Jv_GetJNIEnvNewFrame): Use it.
1162 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1164 2007-01-22 Tom Tromey <tromey@redhat.com>
1166 * libtool-version: Bump current to 9.
1168 2007-01-22 Andrew Haley <aph@redhat.com>
1170 * sysdep/alpha/locks.h (write_barrier): New.
1172 2007-01-21 Matthias Klose <doko@debian.org>
1174 * Makefile.am (install-exec-hook): Use transformed name.
1175 * Makefile.in: Regenerate.
1177 2007-01-19 Keith Seitz <keiths@redhat.com>
1179 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1180 in methods and reformat.
1182 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1185 2007-01-18 Keith Seitz <keiths@redhat.com>
1187 From Macro Trudel <mtrudel@gmx.ch>:
1188 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1191 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1193 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1194 * testsuite/libjava.jni/findclass2.jar: New file.
1195 * testsuite/libjava.jni/findclass2.h: New file.
1196 * testsuite/libjava.jni/findclass2.java: New file
1197 * testsuite/libjava.jni/findclass2.c: New file.
1198 * testsuite/libjava.jni/findclass2.out: New file.
1200 2007-01-18 Tom Tromey <tromey@redhat.com>
1202 * configure: Rebuilt.
1203 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1205 2007-01-18 Gary Benson <gbenson@redhat.com>
1207 * gnu/java/nio/natVMPipeEcos.cc:
1208 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1209 * gnu/java/nio/natVMPipePosix.cc:
1210 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1211 * gnu/java/nio/natVMPipeWin32.cc:
1212 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1213 * gnu/java/nio/natVMSelectorEcos.cc:
1214 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1215 * gnu/java/nio/natVMSelectorPosix.cc:
1216 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1217 * gnu/java/nio/natVMSelectorWin32.cc:
1218 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1219 * java/io/natVMObjectInputStream.cc:
1220 Renamed from java/io/natObjectInputStream.cc.
1221 * java/lang/natVMDouble.cc:
1222 Renamed from java/lang/natDouble.cc.
1223 * java/lang/natVMFloat.cc:
1224 Renamed from java/lang/natFloat.cc.
1225 * Makefile.am, configure.ac: Reflect the above.
1226 * Makefile.in, configure: Rebuilt.
1228 2007-01-17 Andrew Haley <aph@redhat.com>
1230 * Makefile.in: Rebuilt.
1231 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1233 2007-01-17 Keith Seitz <keiths@redhat.com>
1235 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1236 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1238 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1240 * configure.ac: Use multi.m4 from aclocal rather than custom
1241 code. Use multi_basedir instead libgcj_basedir. Test for
1242 /proc/self/exe when not cross-compiling.
1243 * aclocal.m4: Regenerate.
1244 * configure: Regenerate.
1245 * Makefile.in: Regenerate.
1247 2007-01-17 Gary Benson <gbenson@redhat.com>
1249 * java/nio/natVMDirectByteBufferImpl.cc:
1250 Renamed from java/nio/natDirectByteBufferImpl.cc.
1251 * Makefile.am: Reflect the above.
1252 * Makefile.in: Rebuilt.
1254 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1256 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1257 Fixed indentation. Removed unused variable.
1259 2007-01-16 Tom Tromey <tromey@redhat.com>
1261 * java/lang/natThread.cc (finalize_native): Remove cast.
1262 (_Jv_GetCurrentJNIEnv): Likewise.
1263 * include/jvm.h (struct natThread) <jni_env>: Declare as
1266 2007-01-16 Keith Seitz <keiths@redhat.com>
1268 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1269 %#llx instead of %d for new_value.
1270 * testsuite/libjava.jvmti/events.out: Update expected output.
1271 * testsuite/libjava.jvmti/events.jar: Regenerate.
1273 2007-01-16 Keith Seitz <keiths@redhat.com>
1275 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1277 (ENABLE_EVENT): New macro.
1278 (initialize): Define and enable JVMTI VM_INIT callback.
1279 (jdwpVMInitCB): New function.
1281 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1283 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1284 * testsuite/libjava.jvmti/getallthreads.java: New test.
1285 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1286 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1287 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1288 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1290 2007-01-15 Keith Seitz <keiths@redhat.com>
1292 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1293 java.lang.StringBuilder instead of java.lang.StringBuffer.
1294 (resumeThread): Likewise.
1296 2007-01-15 Gary Benson <gbenson@redhat.com>
1298 * java/nio/MappedByteBuffer.java: Removed.
1299 * sources.am, Makefile.in: Rebuilt.
1301 2007-01-15 Gary Benson <gbenson@redhat.com>
1303 * java/net/URLClassLoader.java: Removed.
1304 * gnu/java/net/loader/Load_gcjlib.java: New file.
1305 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1306 URL handler is present in static executables.
1307 * sources.am, Makefile.in: Rebuilt.
1309 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1311 * Makefile.am (libgcj_la_LDFLAGS): Add
1312 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1313 (libgcj_tools_la_LDFLAGS): Likewise.
1314 (libgcj_bc_la_LDFLAGS): Likewise.
1315 * Makefile.in: Regenerated.
1317 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1318 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1319 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1320 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1321 * configure: Regenerated.
1322 * aclocal.m4: Likewise.
1323 * gcj/Makefile.in: Likewise.
1324 * include/Makefile.in: Likewise.
1325 * testsuite/Makefile.in: Likewise.
1327 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1329 * sysdep/sh/locks.h (read_barrier): New.
1330 (write_barrier): Likewise.
1332 2007-01-12 Andrew Haley <aph@redhat.com>
1334 * include/i386-signal.h: Rewrite to use rt_sigaction.
1336 2007-01-11 Andrew Haley <aph@redhat.com>
1338 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1340 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1343 2007-01-10 Tom Tromey <tromey@redhat.com>
1345 * gnu/gcj/xlib/*.h: New files.
1346 * gnu/awt/xlib/*.h: Likewise.
1347 * classpath/lib/gnu/gcj/xlib: New class files.
1348 * classpath/lib/gnu/awt/xlib: Likewise.
1350 2007-01-10 Tom Tromey <tromey@redhat.com>
1352 * HACKING: Various updates.
1354 2007-01-10 Tom Tromey <tromey@redhat.com>
1356 * java/lang/natDouble.cc (toString): Added parens.
1357 * gnu/gcj/io/shs.h (PROTO): Define.
1358 * link.cc (resolve_pool_entry): Added missing braces.
1360 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1363 * sysdep/ia64/locks.h (read_barrier): New.
1364 (write_barrier): New.
1366 2007-01-10 Gary Benson <gbenson@redhat.com>
1368 * java/net/URL.java: Removed.
1369 * sources.am, Makefile.in: Rebuilt.
1371 2007-01-10 Matthias Klose <doko@debian.org>
1373 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1374 * Makefile.in: Regenerated.
1376 2007-01-05 Tom Tromey <tromey@redhat.com>
1378 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1379 dummy.class in srcdir.
1381 2007-01-03 Tom Tromey <tromey@redhat.com>
1383 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1386 2007-01-03 Tom Tromey <tromey@redhat.com>
1388 * testsuite/*: Added many .jar and .h files.
1389 * testsuite/libjava.special/special.exp
1390 (gcj_special_try_compiler): New proc.
1391 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1392 bytecompile source. Search for .jar files.
1393 (gcj_loader_test_one): Don't look for MyLoader.java.
1394 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1395 bytecompile sources or build headers.
1396 (gcj_jvmti_run): Look for .jar files.
1397 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1399 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1400 Set classpath when invoking gij.
1401 (gcj_jni_invocation_test_one): Likewise.
1402 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1403 headers or bytecompile sources.
1404 (gcj_cni_run): Use .jar files, not .java files.
1405 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1407 2007-01-02 Tom Tromey <tromey@redhat.com>
1409 * configure: Rebuilt.
1410 * configure.ac: Check for gjar.
1412 2007-01-02 Tom Tromey <tromey@redhat.com>
1414 * testsuite/libjava.jacks/jacks.exp: Removed.
1415 * testsuite/libjava.jacks/jacks.xfail: Removed.