1 2007-03-22 David Daney <ddaney@avtrex.com>
4 * configure.ac: Add checks for getrlimit and sys/resource.h.
5 * include/posix.h (_Jv_platform_close_on_exec): Remove.
6 * include/config.h.in: Regenerate.
7 * configure: Regenerate.
8 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
9 _Jv_platform_close_on_exec;
10 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
12 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
13 * java/lang/natPosixProcess.cc: Include sys/resource.h.
14 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
17 2007-03-20 Andrew Haley <aph@redhat.com>
19 * testsuite/libjava.lang/PR31264.java: New test.
21 2007-03-14 Jakub Jelinek <jakub@redhat.com>
23 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
24 * Makefile.in: Rebuilt.
26 2007-03-13 Keith Seitz <keiths@redhat.com>
28 * include/java-interp.h (_Jv_InterpClass): Declare
29 friend function _Jv_GetInterpClassSourceFile.
30 * java/lang/Class.h (Class): Likewise.
31 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
33 * gnu/classpath/jdwp/natVMVirtualMachine.cc
34 (getSourceFile): Implement.
36 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
38 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
39 * classpath/configure.ac: Add --with-ecj-jar configure option.
40 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
42 * classpath/INSTALL: Document --with-ecj-jar configure option and
43 ecj jar requirement for com.sun.tools.javac support.
44 * classpath/tools/Makefile.am: Build decendents of com and sun
46 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
47 * gnu/classpath/Configuration.java,
48 gnu/classpath/natConfiguration.cc (ecj): New method.
50 * scripts/makemake.tcl (scan_packages): Add com directory.
51 * sources.am (property_files): Add
52 classpath/resource/sun/rmi/rmic/messages.properties and
53 classpath/resource/com/sun/tools/javac/messages.properties.
54 * classpath/resource/com, classpath/resource/com/sun,
55 classpath/resource/com/sun/tools,
56 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
57 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
58 classpath/tools/classes/com, classpath/tools/classes/com/sun,
59 classpath/tools/classes/com/sun/javadoc,
60 classpath/tools/classes/com/sun/tools,
61 classpath/tools/classes/com/sun/tools/doclets,
62 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
63 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
64 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
65 classpath/tools/com/sun/tools,
66 classpath/tools/com/sun/tools/doclets,
67 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
68 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
70 * classpath/resource/com/sun/tools/javac/messages.properties,
71 classpath/resource/sun/rmi/rmic/messages.properties,
72 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
73 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
74 classpath/tools/classes/com/sun/javadoc/Doc.class,
75 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
76 classpath/tools/classes/com/sun/javadoc/Doclet.class,
77 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
78 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
79 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
80 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
81 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
82 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
83 classpath/tools/classes/com/sun/javadoc/Parameter.class,
84 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
85 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
86 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
87 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
88 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
89 classpath/tools/classes/com/sun/javadoc/Tag.class,
90 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
91 classpath/tools/classes/com/sun/javadoc/Type.class,
92 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
93 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
94 classpath/tools/classes/sun/rmi/rmic/Main.class,
95 classpath/tools/classes/sun/rmi/rmic/Messages.class,
96 classpath/tools/com/sun/javadoc/ClassDoc.java,
97 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
98 classpath/tools/com/sun/javadoc/Doc.java,
99 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
100 classpath/tools/com/sun/javadoc/Doclet.java,
101 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
102 classpath/tools/com/sun/javadoc/FieldDoc.java,
103 classpath/tools/com/sun/javadoc/MemberDoc.java,
104 classpath/tools/com/sun/javadoc/MethodDoc.java,
105 classpath/tools/com/sun/javadoc/PackageDoc.java,
106 classpath/tools/com/sun/javadoc/ParamTag.java,
107 classpath/tools/com/sun/javadoc/Parameter.java,
108 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
109 classpath/tools/com/sun/javadoc/RootDoc.java,
110 classpath/tools/com/sun/javadoc/SeeTag.java,
111 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
112 classpath/tools/com/sun/javadoc/SourcePosition.java,
113 classpath/tools/com/sun/javadoc/Tag.java,
114 classpath/tools/com/sun/javadoc/ThrowsTag.java,
115 classpath/tools/com/sun/javadoc/Type.java,
116 classpath/tools/com/sun/javadoc/TypeVariable.java,
117 classpath/tools/com/sun/tools/doclets/Taglet.java,
118 classpath/tools/com/sun/tools/javac/Main.java,
119 classpath/tools/com/sun/tools/javac/Messages.java,
120 classpath/tools/sun/rmi/rmic/Main.java,
121 classpath/tools/sun/rmi/rmic/Messages.java: New files.
122 * Makefile.in, classpath/Makefile.in, classpath/configure,
123 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
124 classpath/examples/Makefile.in, classpath/external/Makefile.in,
125 classpath/external/jsr166/Makefile.in,
126 classpath/external/relaxngDatatype/Makefile.in,
127 classpath/external/sax/Makefile.in,
128 classpath/external/w3c_dom/Makefile.in,
129 classpath/include/Makefile.in, classpath/include/config.h.in,
130 classpath/lib/Makefile.in,
131 classpath/lib/gnu/classpath/Configuration.class,
132 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
133 classpath/native/jawt/Makefile.in,
134 classpath/native/jni/Makefile.in,
135 classpath/native/jni/classpath/Makefile.in,
136 classpath/native/jni/gconf-peer/Makefile.in,
137 classpath/native/jni/gtk-peer/Makefile.in,
138 classpath/native/jni/java-io/Makefile.in,
139 classpath/native/jni/java-lang/Makefile.in,
140 classpath/native/jni/java-net/Makefile.in,
141 classpath/native/jni/java-nio/Makefile.in,
142 classpath/native/jni/java-util/Makefile.in,
143 classpath/native/jni/midi-alsa/Makefile.in,
144 classpath/native/jni/midi-dssi/Makefile.in,
145 classpath/native/jni/native-lib/Makefile.in,
146 classpath/native/jni/qt-peer/Makefile.in,
147 classpath/native/jni/xmlj/Makefile.in,
148 classpath/native/plugin/Makefile.in,
149 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
150 classpath/tools/Makefile.in, configure,
151 gnu/classpath/Configuration.h: Regenerate.
153 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
155 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
158 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
160 * java/lang/natString.cc (getBytes (jstring enc)):
161 Fixed the loop for multiple cycles, Code cleanup
163 2007-03-09 Tom Tromey <tromey@redhat.com>
165 * sources.am, Makefile.in: Rebuilt.
166 * scripts/makemake.tcl (scan_directory): Allow service files to be
168 Omit all XML-related service files.
170 2007-03-07 Tom Tromey <tromey@redhat.com>
172 * configure: Rebuilt.
173 * configure.ac: Clear vm-tools-packages.
175 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
177 * java/lang/Win32Process.java: Added nested class EOFInputStream.
178 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
179 enum and implementation.
180 (startProcess): Use redirect flag.
181 * classpath/lib/java/lang/Win32Process.class: Regenerated.
182 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
183 * gcj/javaprims.h: Regenerated.
184 * java/lang/Win32Process$EOFInputStream.h: New.
186 2007-03-07 Andrew Haley <aph@redhat.com>
188 * libgcj_bc.c (JvRunMainName): Declare.
190 2007-03-07 Gary Benson <gbenson@redhat.com>
192 * sources.am, Makefile.in: Rebuilt.
194 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
196 * gcj/javaprims.h: Regenerated.
198 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
200 * include/jvm.h (_Jv_ClosureListFinalizer): New.
201 (_Jv_Linker::create_error_method): Adjust.
202 * boehm.cc (_Jv_ClosureListFinalizer): New.
203 * nogc.cc (_Jv_ClosureListFinalizer): New.
204 * java/lang/Class.h (class _Jv_ClosureList): New.
205 (class java::lang::Class): Declare it as friend.
206 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
207 (_Jv_ClosureList::registerClousure): New.
208 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
209 (_Jv_CompiledEngine::do_get_closure_list): New.
210 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
211 (_Jv_IndirectCompiledClass): Add closures.
212 (_Jv_IndirectCompiledEngine::get_aux_info): New.
213 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
215 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
216 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
217 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
218 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
219 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
220 (node_closure): Add closure list.
221 (_Jv_InterpMethod::ncode): Add jclass argument. Use
222 ffi_closure_alloc and the separate code pointer. Register the
223 closure for finalization.
224 (_Jv_JNIMethod::ncode): Likewise.
225 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
226 (_Jv_InterpreterEngine::do_get_closure_list): New.
227 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
228 (_Jv_InterpClass): Add closures field.
229 (_Jv_JNIMethod::ncode): Adjust.
230 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
231 (_Jv_ClassReader::handleMethodsEnd): Likewise.
232 * link.cc (struct method_closure): Add closure list.
233 (_Jv_Linker::create_error_method): Add jclass argument. Use
234 ffi_closure_alloc and the separate code pointer. Register the
235 closure for finalization.
236 (_Jv_Linker::link_symbol_table): Remove outdated comment about
237 sharing of otable and atable. Adjust.
238 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
240 (ncode): Add jclass argument. Use ffi_closure_alloc and the
241 separate code pointer. Register the closure for finalization.
242 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
243 * testsuite/libjava.jar/TestClosureGC.java: New.
244 * testsuite/libjava.jar/TestClosureGC.out: New.
245 * testsuite/libjava.jar/TestClosureGC.xfail: New.
246 * testsuite/libjava.jar/TestClosureGC.jar: New.
248 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
250 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
251 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
252 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
253 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
254 (VMMethod::getLineTable): Use new macro.
255 (VMMethod::getVariableTable): Implement.
256 * sources.am: Regenerated.
257 * Makefile.in: Ditto.
259 2007-03-06 Tom Tromey <tromey@redhat.com>
261 * Makefile.in: Rebuilt.
262 * Makefile.am (bin_PROGRAMS): Added gcjh.
263 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
264 gcjh_DEPENDENCIES): New variables.
266 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
268 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
269 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
270 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
272 2007-03-05 Matthias Klose <doko@debian.org>
274 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
275 * Makefile.in: Regnerate.
277 2007-03-05 Mark Wielaard <mark@klomp.org>
279 * java/lang/Character.java: Re-merged with Classpath.
280 * java/lang/natString.cc (nativeCompareTo): Renamed from
282 * java/lang/StringBuilder.java: Re-merged with Classpath.
283 * java/lang/String.java: Re-merged with Classpath.
284 (nativeCompareTo): Renamed from compareTo.
285 * java/lang/StringBuffer.java: Re-merged with Classpath.
286 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
288 2007-03-05 Andrew Haley <aph@redhat.com>
290 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
291 (generateProxyClass): Don't pass method to ncode.
292 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
293 * java/lang/reflect/Method.h: Rebuild.
294 * java/lang/reflect/Method.java (internalGetParameterTypes,
295 internalGetExceptionTypes): New methods.
296 * headers.txt (class java/lang/reflect/Method): Declare
297 _Jv_GetReflectedMethod. Be its friend.
298 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
299 * java/lang/Class.h: Declare it. Be its friend.
301 2007-03-05 Tom Tromey <tromey@redhat.com>
303 * sources.am, Makefile.in: Rebuilt.
304 * scripts/makemake.tcl (emit_package_rule): Don't omit
306 * Makefile.am (nat_source_files): Added natVMProcess.cc.
307 (inner_nat_headers): Added ImmediateEOFInputStream.h.
308 * gcj/javaprims.h: Regenerated.
309 * java/lang/System.java (EnvironmentMap): Now package-private.
310 (EnvironmentMap(Map)): New constructor.
311 (EnvironmentMap.put): New method.
312 * java/lang/natWin32Process.cc (startProcess): Update.
313 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
315 (startProcess): Likewise.
316 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
318 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
319 * java/lang/PosixProcess.java (redirect): New field.
320 (PosixProcess): Added 'redirect' argument.
321 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
322 argument to Process creation.
323 * java/lang/natVMProcess.cc: New file.
324 * java/lang/ProcessBuilder.java: Removed.
325 * java/lang/VMProcess.java: New file.
327 2007-03-03 Andrew Haley <aph@redhat.com>
329 * java/lang/natClass.cc (parseAnnotationElement): Correct long
330 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
332 2007-03-02 Andrew Haley <aph@redhat.com>
334 * sun/reflect/annotation/AnnotationInvocationHandler.java:
335 Generify in a few places.
336 (equals): Rewrite to use invoke on local proxy.
337 (deepToString): Remove most of it.
338 (toString): Make nonstatic.
339 (arrayClone): Delete.
340 (coerce): New method.
341 (invoke): Rewrite to handle gcj's structures correctly.
342 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
344 * sources.am: Regenerate.
345 * Makefile.am: Likewise.
347 2007-03-02 Andrew Haley <aph@redhat.com>
349 * sun/reflect/annotation/AnnotationInvocationHandler.java:
350 Whitespace only changes.
352 2007-03-02 Andrew Haley <aph@redhat.com>
354 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
355 from Classpath to libgcj local.
357 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
359 * Makefile.am: Add dummy install-pdf target.
360 * Makefile.in: Regenerate
361 * include/Makefile.in: Regenerate
362 * testsuite/Makefile.in: Regenerate
363 * gcj/Makefile.in: Regenerate
365 2007-02-23 Gary Benson <gbenson@redhat.com>
367 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
369 2007-02-23 Gary Benson <gbenson@redhat.com>
371 * java/lang/VMCompiler.java
372 (compileClass): Don't lose zeros from within the digest.
374 2007-02-22 Jakub Jelinek <jakub@redhat.com>
378 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
379 /etc/localtime, use ZoneInfo.readTZFile instead of
380 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
381 either if it is a symlink or through /etc/sysconfig/clock.
382 (readSysconfigClockFile): New static method.
383 (readtzFile): Removed.
384 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
385 * posix.cc (_Jv_platform_initProperties): Set
386 gnu.java.util.zoneinfo.dir.
387 * sources.am (gnu_java_util_source_files): Add
388 classpath/gnu/java/util/ZoneInfo.java.
389 * Makefile.in: Regenerated.
390 * java/util/VMTimeZone.h: Regenerated.
391 * java/util/TimeZone.h: Regenerated.
392 * gnu/java/util/ZoneInfo.h: Generated.
394 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
396 * include/win32-threads.h: Added #undef OUT.
398 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
400 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
401 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
402 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
403 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
404 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
405 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
407 2007-02-21 Gary Benson <gbenson@redhat.com>
409 * java/util/GregorianCalendar.java: Removed.
410 * sources.am, Makefile.in: Rebuilt.
412 2007-02-20 Keith Seitz <keiths@redhat.com>
414 * gnu/classpath/jdwp/natVMVirtualMachine.cc
415 (jdwpClassPrepareCB): Move class status stuff to ...
416 (getClassStatus): ... here.
418 2007-02-20 Gary Benson <gbenson@redhat.com>
420 * gnu/awt/xlib/XEventLoop.h: Regenerated.
421 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
422 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
424 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
425 * java/lang/SecurityManager.h: Likewise.
426 * java/lang/Thread.h: Likewise.
427 * java/security/VMSecureRandom$Spinner.h: Likewise.
428 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
429 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
430 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
431 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
432 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
433 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
434 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
435 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
436 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
437 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
438 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
439 * java/util/concurrent/Exchanger.h: Likewise.
440 * java/util/concurrent/Exchanger$Node.h: Likewise.
441 * java/util/concurrent/FutureTask$Sync.h: Likewise.
442 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
443 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
445 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
447 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
448 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
450 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
451 * java/util/concurrent/SynchronousQueue.h: Likewise.
452 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
453 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
455 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
456 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
458 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
459 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
460 * java/util/logging/ErrorManager.h: Likewise.
461 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
462 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
464 2007-02-16 Keith Seitz <keiths@redhat.com>
466 * gnu/classpath/jdwp/natVMVirtualMachine.cc
467 (get_line_table): New function.
468 (handle_single_step): New function.
469 (jdwpSingleStepCB): New function.
470 (jdwpVMInitCB): Define a JVMTI single step
471 callback, but don't enable it until needed.
473 2007-02-16 David Daney <ddaney@avtrex.com>
475 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
476 new parameter constructor.
477 (Thread(ThreadGroup, Runnable, String, long)): Same.
478 (Thread(String, boolean)): New constructor.
479 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
480 noInheritableThreadLocal, don't call
481 InheritableThreadLocal.newChildThread if set.
482 * java/lang/PosixProcess.java(ProcessManager()): Set
483 noInheritableThreadLocal in super.
484 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
485 parameter to Thread constructor.
486 (_Jv_AttachCurrentThreadAsDaemon): Same.
487 * java/lang/Thread.h: Regenerate.
488 * classpath/lib/java/lang/Thread.class: Same.
489 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
490 * classpath/lib/java/lang/PosixProcess.class: Same.
491 * classpath/lib/java/lang/Thread$State.class: Same.
492 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
494 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
496 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
497 variables to maintain type info.
498 * interpret-run.cc: Add local variable info to frame in the debug
500 * jvmti.cc (getLocalFrame): New method.
501 (_Jv_JVMTI_GetLocalObject): New method.
502 (_Jv_JVMTI_GetLocallInt): New method.
503 (_Jv_JVMTI_GetLocalFloat): New method.
504 (_Jv_JVMTI_GetLocalLong): New method.
505 (_Jv_JVMTI_GetLocalDouble): New method.
506 (_Jv_JVMTI_SetLocalObject): New method.
507 (_Jv_JVMTI_SetLocalInt): New method.
508 (_Jv_JVMTI_SetLocalFloat): New method.
509 (_Jv_JVMTI_SetLocalLong): New method.
510 (_Jv_JVMTI_SetLocalDouble): New method.
512 2007-02-16 Gary Benson <gbenson@redhat.com>
514 * gnu/gcj/tools/gcj_dbtool/Main.java
515 (bytesToString): Don't lose zeros from within the digest.
517 2007-02-15 Andrew Haley <aph@redhat.com>
519 * Makefile.am (nat_source_files): Remove
520 java/lang/management/natVMManagementFactory.cc.
521 * java/lang/Thread.java (getStackTrace): Use reflection to call
522 the ManagementFactory.
523 * java/lang/management/VMManagementFactory.java: Remove native
525 * java/lang/management/natVMManagementFactory.cc: Deleted.
526 * sources.am: Regnerate.
527 * scripts/makemake.tcl: Add new "bcheaders" type.
528 Move java/lang/management and gnu/classpath/management to "bc".
529 Move gnu/java/lang/management to "bcheaders".
531 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
533 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
534 * interpret-run.cc: Change the catch section to report exception
535 events and to use the new check_handler method.
536 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
537 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
538 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
539 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
540 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
542 * sources.am: Added ExceptionEvent.java.
543 * Makefile.am: Added natExceptionEvent.cc
544 * Makefile.in: Regenerated.
545 * include/Makefile.in: Regenerated.
546 * gcj/Makefile.in: Regenerated.
548 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
549 David Daney <ddaney@avtrex.com>
551 * configure.ac: Create vm-tools-packages file. Add
552 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
553 Check for /proc/self/maps.
554 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
555 (gc_analyze_SOURCES): New.
556 (gc_analyze_LDFLAGS): New.
557 (gc_analyze_LINK): New.
558 (gc_analyze_LDADD): New.
559 (gc_analyze_DEPENDENCIES): New.
560 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
561 * Makefile.in: Regenerated.
562 * configure: Regenerated.
563 * include/config.h.in: Regenerated.
564 * sources.am: Regenerated.
565 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
566 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
567 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
568 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
569 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
570 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
571 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
572 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
573 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
574 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
575 * gnu/gcj/util/GCInfo.java: New.
576 * gnu/gcj/util/GCInfo.h: New.
577 * gnu/gcj/util/natGCInfo.cc: New.
578 * gnu/gcj/util/UtilPermission.java: New.
579 * gnu/gcj/util/UtilPermission.h: New.
580 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
581 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
582 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
583 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
584 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
585 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
586 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
587 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
588 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
589 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
590 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
591 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
592 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
593 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
594 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
595 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
596 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
597 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
598 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
599 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
600 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
601 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
602 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
604 2007-02-15 David Daney <ddaney@avtrex.com>
606 * gnu/java/net/PlainSocketImpl.h: Regenerate.
607 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
608 * gnu/classpath/jdwp/VMFrame.h: Same.
609 * java/net/Socket.h: Same.
610 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
612 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
614 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
615 Added LocalVariableTable attribute handling.
616 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
617 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
618 * include/java-interp.h: Added local_var_table and
619 local_var_table_len fields to _Jv_InterpMethod.
620 (_Jv_InterpMethod::get_local_var_table): New method.
621 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
622 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
623 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
625 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
626 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
628 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
630 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
632 2007-02-13 Keith Seitz <keiths@redhat.com>
634 * gnu/classpath/jdwp/natVMVirtualMachine.cc
635 (jdwpBreakpointCB): New function.
636 (jdwpVMInitCB): Define and enable the breakpoint
639 2007-02-13 Andrew Haley <aph@redhat.com>
641 * testsuite/libjava.lang/Divide_2.out
642 * testsuite/libjava.lang/Divide_2.java: New test.
644 2007-02-12 Keith Seitz <keiths@redhat.com>
646 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
647 from jthread to Thread *; it is no longer needed.
648 (_Jv_JVMTI_GetFrameCount): Likewise.
649 Fix small formatting typo.
651 2007-02-12 Tom Tromey <tromey@redhat.com>
653 * sources.am, Makefile.in: Rebuilt.
654 * java/lang/Socket.java: Removed override.
655 * java/lang/DatagramSocket.java: Removed override.
656 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
658 (getLocalAddress): New method.
659 * gnu/java/net/PlainDatagramSocketImpl.java
660 (PlainDatagramSocketImpl): Throws IOException.
661 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
665 2007-02-09 Jakub Jelinek <jakub@redhat.com>
667 * java/util/VMTimeZone.java: Rewrite to handle both the old
668 'TZif\0' format and the new one.
670 2007-02-10 Andrew Haley <aph@redhat.com>
673 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
674 (getCallingClass): Call GET_CALLING_CLASS.
675 (getCallingClassLoader): Likewise.
677 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
679 * configure: Rebuilt.
680 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
682 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
684 * Makefile.in: Rebuilt.
685 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
686 the host's ecj1 executable.
688 2007-02-09 Richard Henderson <rth@redhat.com>
690 * sysdep/alpha/locks.h (read_barrier): New.
692 2007-02-09 Keith Seitz <keiths@redhat.com>
694 * gnu/classpath/jdwp/VMVirtualMachine.java
695 (_stepping_threads): New member.
696 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
698 * gnu/classpath/jdwp/VMVirtualMachine.h:
700 * gnu/claspath/jdwp/natVMVirtualMachine.cc
701 (get_request_step_filter): New function.
702 (DISABLE_EVENT): New macro.
703 (initialize): Initialize _stepping_threads.
704 (registerEvent): Implement EVENT_SINGLE_STEP.
705 (unregisterEvent): Likewise.
707 2007-02-08 Keith Seitz <keiths@redhat.com>
709 * sources.am: Regenerate.
710 * Makefile.in: Regenerate.
711 * testsuite/Makefile.in: Regenerate.
712 * gcj/Makefile.in: Regenerate.
713 * include/Makefile.in: Regenerate.
715 * classpath/lib/javax/management/MBeanServerFactory.class:
718 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
720 * classpath/gnu/classpath/jdwp/processor/
721 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
723 (executeSetValues): Ditto.
724 (executeThisObject): Ditto.
725 * classpath/gnu/classpath/jdwp/processor/
726 StackFrameCommandSet.class: Rebuilt.
727 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
729 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
730 * classpath/lib/gnu/classpath/jdwp/exception/
731 InvalidFrameException.java: New file.
732 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
734 (Constructor): New method.
735 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
736 * gnu/classpath/jdwp/VMVirtualMachine.java
737 (getFrame): Changed ByteBuffer to jlong.
738 * gnu/classpath/jdwp/natVMVirtualMachine.cc
739 (getFrame): Implement.
740 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
742 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
744 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
745 to hold "this" pointer for frame.
746 (_Jv_InterpFrame::get_this_ptr): New method.
747 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
749 2007-02-07 Keith Seitz <keiths@redhat.com>
751 * include/java-interp.h (_Jv_Frame::depth):
753 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
755 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
757 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
758 (_Jv_JVMTI_GetMaxLocals): New method.
759 * include/java-interp.h
760 (_Jv_InterpMethod::get_max_locals): New method.
762 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
764 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
766 2007-02-07 Tom Tromey <tromey@redhat.com>
768 * testsuite/libjava.jni/init.c: New file.
769 * testsuite/libjava.jni/init.java: New file.
770 * testsuite/libjava.jni/init.out: New file.
771 * testsuite/libjava.jni/init.jar: New file.
772 * testsuite/libjava.jni/init.h: New file.
773 * testsuite/libjava.jni/init$NativeClass.h: New file.
775 2007-02-07 Jakub Jelinek <jakub@redhat.com>
778 * configure: Regenerate.
780 2007-02-06 Andrew Haley <aph@redhat.com>
782 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
783 * sources.am: Rebuild.
785 2007-02-05 Keith Seitz <keiths@redhat.com>
787 * jvmti.cc (_envListLock): Change type to
788 ReentrantReadWriteLock.
789 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
791 (check_enabled_event): Likewise.
792 (_Jv_GetJVMTIEnv): Likewise.
793 (_Jv_JVMTI_Init): Likewise.
794 (_Jv_JVMTI_PostEvent): Likewise.
796 2007-02-05 Keith Seitz <keiths@redhat.com>
798 * gnu/classpath/jdwp/natVMVirtualMachine.cc
799 (registerEvent): Implement EVENT_BREAKPOINT.
800 (unregisterEvent): Likewise.
801 (get_request_location): New function.
803 2007-02-05 Matthias Klose <doko@debian.org>
805 testsuite/Makefile.am (compile-tests): Fix typo.
806 testsuite/Makefile.in: Regenerate.
808 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
810 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
813 2007-02-02 Jakub Jelinek <jakub@redhat.com>
815 * configure.ac (libjava_cv_anon_version_script): New test.
816 (ANONVERSCRIPT): New AM_CONDITIONAL.
817 * configure: Rebuilt.
818 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
820 * Makefile.in: Rebuilt.
821 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
822 * libgcj.ver: New file.
824 2007-02-01 David Daney <ddaney@avtrex.com>
826 * scripts/makemake.tcl: Replace gnu/xml build with build of all
828 * sources.am: Regenerate.
829 * Makefile.in: Regenerate.
831 2007-02-01 Tom Tromey <tromey@redhat.com>
833 * java/lang/ClassLoader.java (getResources): No longer final.
835 2007-02-01 Tom Tromey <tromey@redhat.com>
837 * java/util/logging/LogManager.java (loggers): Genericized.
839 (findAncestor): Likewise.
840 (getLogger): Likewise.
841 (getLoggerNames): Genericized.
843 (getLevelProperty): Likewise.
844 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
845 * java/lang/reflect/Constructor.java (getParameterTypes):
847 (getExceptionTypes): Likewise.
848 (newInstance): Likewise.
849 * java/lang/reflect/Array.java (newInstance): Genericized.
850 * java/lang/Object.java (getClass): Genericized.
851 * java/nio/charset/spi/CharsetProvider.java (charsets):
853 * java/text/Collator.java: Implement Comparable<Object>.
855 2007-02-01 Tom Tromey <tromey@redhat.com>
857 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
859 (clear): Call complete.
860 (setTimeZone): Call computeTime, computeFields.
861 (compareTo): New method.
862 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
863 (availableCharsets): Genericized.
865 (compareTo): Changed argument type.
866 * java/lang/ClassLoader.java (loadClass): Genericized.
867 (findClass): Likewise.
868 (defineClass): Likewise.
869 (resolveClass): Likewise.
870 (findSystemClass): Likewise.
871 (setSigners): Likewise.
872 (findLoadedClass): Likewise.
873 (getResources): Likewise.
874 (findResources): Likewise.
875 (getSystemResources): Likewise.
876 (checkInitialized): New method.
877 * java/lang/Class.java (getCanonicalName): New method.
879 2007-01-31 Keith Seitz <keiths@redhat.com>
881 * include/jvmti-int.h (JVMTI): Declare member "enabled".
882 * jvmti.cc (JVMTI): Add member "enabled".
883 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
884 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
885 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
886 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
887 instead of run to compile the method.
889 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
892 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
894 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
895 -shared-libgcc to the cxxflaglist for Darwin.
897 2007-01-31 Tom Tromey <tromey@redhat.com>
899 * scripts.am, Makefile.in: Rebuilt.
900 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
902 (emit_ordinary_rule): New proc.
904 2007-01-31 Keith Seitz <keiths@redhat.com>
906 * testsuite/libjava.jvmti/getmethodname.h: New file.
907 * testsuite/libjava.jvmti/getmethodname.jar: New file.
909 2007-01-31 Andrew Haley <aph@redhat.com>
911 * prims.cc (_Jv_Abort): fflush (stderr).
912 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
914 2007-01-31 Tom Tromey <tromey@redhat.com>
916 * configure, Makefile.in: Rebuilt.
917 * configure.ac (JAR): Check for -@ feature.
918 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
920 2007-01-31 Tom Tromey <tromey@redhat.com>
923 * configure, include/config.h.in: Rebuilt.
924 * configure.ac: Check for magic_t in magic.h.
925 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
927 2007-01-30 Tom Tromey <tromey@redhat.com>
929 * Makefile.in: Rebuilt.
930 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
932 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
934 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
935 cast to print it right.
937 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
940 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
943 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
945 * include/java-interp.h: Added _Jv_Frame class and its two
946 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
947 _Jv_FrameType from java-stack.h.
948 * include/java-stack.h: Removed _Jv_FrameType.
949 * java/lang/Thread.java: Added frame member to hold new
950 composite frame stack.
951 * java/lang/Thread.h: Regenerated.
952 * java/lang/Thread.class: Rebuilt.
953 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
954 calling a JNI method.
955 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
956 (_Jv_JVMTI_GetFrameCount): New method.
957 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
959 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
960 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
961 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
962 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
963 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
966 2007-01-29 Tom Tromey <tromey@redhat.com>
968 * interpret.cc (run_debug): Remove comment.
975 (run_normal_debug): Likewise.
976 (run_synch_object_debug): Likewise.
977 (run_class_debug): Likewise.
978 (run_synch_class_debug): Likewise.
983 (NULLARRAYCHECK): Likewise.
984 (ARRAYBOUNDSCHECK): Likewise.
985 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
987 2007-01-29 Tom Tromey <tromey@redhat.com>
989 * configure, Makefile.in: Rebuilt.
990 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
991 * configure.ac (BASH_JAR): Removed conditional.
992 (JAR): Prefer the jar found by AC_CHECK_PROGS.
994 2007-01-29 Tom Tromey <tromey@redhat.com>
996 * Makefile.in: Rebuilt.
997 * Makefile.am (interpret.lo): New target. Add -fwrap to
1000 2007-01-29 Keith Seitz <keiths@redhat.com>
1002 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1004 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1005 gcj. All jvmti object types now are defined to be their
1006 corresponding java classes.
1007 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1009 (_Jv_JVMTI_ResumeThread): Likewise.
1010 (_Jv_JVMTI_InterruptThread): Likewise.
1011 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1012 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1013 (jdwpClassPrepareCB): Likewise.
1014 (jdwpThreadEndCB): Likewise.
1015 (jdwpThreadStartCB): Likewise.
1016 (jdwpVMInitCB): Likewise.
1018 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1020 * gnu/java/nio/channels/natFileChannelWin32.cc
1021 (lock): Implemented.
1022 (unlock): Implemented.
1024 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1027 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1028 libgcj_flags to undefine 'sun' at compile time.
1029 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1031 (write_barrier): Likewise.
1033 2007-01-27 Keith Seitz <keiths@redhat.com>
1035 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1036 (getAllClassMethods): Move error handling to ...
1037 (throw_jvmti_error): ... here.
1038 (jdwpClassPrepareCB): New function.
1039 (jdwpThreadEndCB): New function.
1040 (jdwpThreadStartCB): New function.
1041 (jdwpVMDeathCB): New function.
1042 (jdwpVMInitCB): Define and enable callbacks for
1043 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1045 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1047 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1048 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1049 (MYGCJH): New variable.
1050 (compile-tests): New goal.
1051 * Makefile.in: Rebuilt.
1052 * testsuite/Makefile.in: Rebuilt.
1054 2007-01-26 Andrew Haley <aph@redhat.com>
1056 * java/lang/natClass.cc (initializeClass): Re-throw
1058 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1059 * java/lang/ClassLoader.java: (loadClass): Likewise.
1061 2007-01-26 Tom Tromey <tromey@redhat.com>
1065 2007-01-25 Tom Tromey <tromey@redhat.com>
1068 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1069 input or output encodings. Removed unused local variables.
1071 2007-01-25 Keith Seitz <keiths@redhat.com>
1073 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1074 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1075 (_Jv_GetJDWP_JVMTIEnv): New function.
1076 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1077 (getSignature): Implement.
1078 (getModifiers): Implement.
1080 2007-01-25 Andrew Haley <aph@redhat.com>
1082 * configure, Makefile.in, include/config.h.in: Rebuilt.
1083 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1084 * configure.ac: Don't check for libmagic.
1085 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1086 p_magic_close, p_magic_buffer): New globals.
1087 (init): Look up 'magic' functions.
1088 (guessContentTypeFromBuffer): Updated.
1090 2007-01-25 Keith Seitz <keiths@redhat.com>
1092 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1093 (_Jv_JVMTI_Interface): Define GetMethodName.
1094 * testsuite/libjava.jvmti/getmethodname.java: New file.
1095 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1096 * testsuite/libjava.jvmti/getmethodname.out: New file.
1098 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1100 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1101 * libjava/testsuite/libjava.jvmti/interp: New folder.
1102 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1104 2007-01-24 Keith Seitz <keiths@redhat.com>
1106 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1107 CLASS_PREPARE notification.
1109 2007-01-24 Keith Seitz <keiths@redhat.com>
1111 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1112 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1113 * interpret-run.cc: Implement insn_breakpoint.
1115 2007-01-24 Keith Seitz <keiths@redhat.com>
1117 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1118 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1120 2007-01-24 Keith Seitz <keiths@redhat.com>
1122 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1123 (getAllClassMethods): Implement.
1125 2007-01-24 Andrew Haley <aph@redhat.com>
1127 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1128 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1129 from being sibcalled.
1131 2007-01-24 Andrew Haley <aph@redhat.com>
1133 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1134 * sources.am: Rebuild.
1136 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1138 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1139 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1141 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1144 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1145 * Makefile.in: Regenerated.
1147 2007-01-22 Keith Seitz <keiths@redhat.com>
1149 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1150 (getClassMethod): Implement.
1152 2007-01-22 Keith Seitz <keiths@redhat.com>
1154 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1155 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1156 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1157 (_Jv_JVMTI_Interface): Define GetClassStatus.
1159 2007-01-22 Tom Tromey <tromey@redhat.com>
1161 * configure: Rebuilt.
1162 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1164 2007-01-22 Tom Tromey <tromey@redhat.com>
1167 * testsuite/libjava.jni/pr29812.java: New file.
1168 * testsuite/libjava.jni/pr29812_injar.java: New file.
1169 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1170 * testsuite/libjava.jni/pr29812.out: New file.
1171 * testsuite/libjava.jni/pr29812_injar.c: New file.
1172 * testsuite/libjava.jni/pr29812_injar.h: New file.
1173 * testsuite/libjava.jni/pr29812.jar: New file.
1174 * testsuite/libjava.jni/pr29812.c: New file.
1175 * testsuite/libjava.jni/pr29812.h: New file.
1176 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1178 (gcj_jni_invocation_test_one): Use it.
1179 (gcj_jni_pr29812): New proc.
1180 (gcj_jni_run): Use it.
1181 * java/lang/natRuntime.cc (_load): Push a new system frame before
1183 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1184 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1185 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1186 <allocated_p>: Now bool.
1187 <loader>: New field.
1188 (_Jv_JNI_EnsureLocalCapacity): Updated.
1189 (_Jv_JNI_NewLocalRef): Likewise.
1190 (_Jv_JNI_NewLocalRef): Likewise.
1191 (_Jv_JNI_PopLocalFrame): Likewise.
1192 (_Jv_JNI_FindClass): Likewise.
1193 (_Jv_GetJNIEnvNewFrame): Likewise.
1194 (_Jv_JNI_AttachCurrentThread): Likewise.
1195 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1196 (_Jv_GetJNIEnvNewFrame): Use it.
1197 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1199 2007-01-22 Tom Tromey <tromey@redhat.com>
1201 * libtool-version: Bump current to 9.
1203 2007-01-22 Andrew Haley <aph@redhat.com>
1205 * sysdep/alpha/locks.h (write_barrier): New.
1207 2007-01-21 Matthias Klose <doko@debian.org>
1209 * Makefile.am (install-exec-hook): Use transformed name.
1210 * Makefile.in: Regenerate.
1212 2007-01-19 Keith Seitz <keiths@redhat.com>
1214 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1215 in methods and reformat.
1217 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1220 2007-01-18 Keith Seitz <keiths@redhat.com>
1222 From Macro Trudel <mtrudel@gmx.ch>:
1223 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1226 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1228 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1229 * testsuite/libjava.jni/findclass2.jar: New file.
1230 * testsuite/libjava.jni/findclass2.h: New file.
1231 * testsuite/libjava.jni/findclass2.java: New file
1232 * testsuite/libjava.jni/findclass2.c: New file.
1233 * testsuite/libjava.jni/findclass2.out: New file.
1235 2007-01-18 Tom Tromey <tromey@redhat.com>
1237 * configure: Rebuilt.
1238 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1240 2007-01-18 Gary Benson <gbenson@redhat.com>
1242 * gnu/java/nio/natVMPipeEcos.cc:
1243 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1244 * gnu/java/nio/natVMPipePosix.cc:
1245 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1246 * gnu/java/nio/natVMPipeWin32.cc:
1247 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1248 * gnu/java/nio/natVMSelectorEcos.cc:
1249 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1250 * gnu/java/nio/natVMSelectorPosix.cc:
1251 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1252 * gnu/java/nio/natVMSelectorWin32.cc:
1253 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1254 * java/io/natVMObjectInputStream.cc:
1255 Renamed from java/io/natObjectInputStream.cc.
1256 * java/lang/natVMDouble.cc:
1257 Renamed from java/lang/natDouble.cc.
1258 * java/lang/natVMFloat.cc:
1259 Renamed from java/lang/natFloat.cc.
1260 * Makefile.am, configure.ac: Reflect the above.
1261 * Makefile.in, configure: Rebuilt.
1263 2007-01-17 Andrew Haley <aph@redhat.com>
1265 * Makefile.in: Rebuilt.
1266 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1268 2007-01-17 Keith Seitz <keiths@redhat.com>
1270 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1271 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1273 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1275 * configure.ac: Use multi.m4 from aclocal rather than custom
1276 code. Use multi_basedir instead libgcj_basedir. Test for
1277 /proc/self/exe when not cross-compiling.
1278 * aclocal.m4: Regenerate.
1279 * configure: Regenerate.
1280 * Makefile.in: Regenerate.
1282 2007-01-17 Gary Benson <gbenson@redhat.com>
1284 * java/nio/natVMDirectByteBufferImpl.cc:
1285 Renamed from java/nio/natDirectByteBufferImpl.cc.
1286 * Makefile.am: Reflect the above.
1287 * Makefile.in: Rebuilt.
1289 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1291 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1292 Fixed indentation. Removed unused variable.
1294 2007-01-16 Tom Tromey <tromey@redhat.com>
1296 * java/lang/natThread.cc (finalize_native): Remove cast.
1297 (_Jv_GetCurrentJNIEnv): Likewise.
1298 * include/jvm.h (struct natThread) <jni_env>: Declare as
1301 2007-01-16 Keith Seitz <keiths@redhat.com>
1303 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1304 %#llx instead of %d for new_value.
1305 * testsuite/libjava.jvmti/events.out: Update expected output.
1306 * testsuite/libjava.jvmti/events.jar: Regenerate.
1308 2007-01-16 Keith Seitz <keiths@redhat.com>
1310 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1312 (ENABLE_EVENT): New macro.
1313 (initialize): Define and enable JVMTI VM_INIT callback.
1314 (jdwpVMInitCB): New function.
1316 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1318 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1319 * testsuite/libjava.jvmti/getallthreads.java: New test.
1320 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1321 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1322 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1323 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1325 2007-01-15 Keith Seitz <keiths@redhat.com>
1327 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1328 java.lang.StringBuilder instead of java.lang.StringBuffer.
1329 (resumeThread): Likewise.
1331 2007-01-15 Gary Benson <gbenson@redhat.com>
1333 * java/nio/MappedByteBuffer.java: Removed.
1334 * sources.am, Makefile.in: Rebuilt.
1336 2007-01-15 Gary Benson <gbenson@redhat.com>
1338 * java/net/URLClassLoader.java: Removed.
1339 * gnu/java/net/loader/Load_gcjlib.java: New file.
1340 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1341 URL handler is present in static executables.
1342 * sources.am, Makefile.in: Rebuilt.
1344 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1346 * Makefile.am (libgcj_la_LDFLAGS): Add
1347 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1348 (libgcj_tools_la_LDFLAGS): Likewise.
1349 (libgcj_bc_la_LDFLAGS): Likewise.
1350 * Makefile.in: Regenerated.
1352 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1353 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1354 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1355 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1356 * configure: Regenerated.
1357 * aclocal.m4: Likewise.
1358 * gcj/Makefile.in: Likewise.
1359 * include/Makefile.in: Likewise.
1360 * testsuite/Makefile.in: Likewise.
1362 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1364 * sysdep/sh/locks.h (read_barrier): New.
1365 (write_barrier): Likewise.
1367 2007-01-12 Andrew Haley <aph@redhat.com>
1369 * include/i386-signal.h: Rewrite to use rt_sigaction.
1371 2007-01-11 Andrew Haley <aph@redhat.com>
1373 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1375 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1378 2007-01-10 Tom Tromey <tromey@redhat.com>
1380 * gnu/gcj/xlib/*.h: New files.
1381 * gnu/awt/xlib/*.h: Likewise.
1382 * classpath/lib/gnu/gcj/xlib: New class files.
1383 * classpath/lib/gnu/awt/xlib: Likewise.
1385 2007-01-10 Tom Tromey <tromey@redhat.com>
1387 * HACKING: Various updates.
1389 2007-01-10 Tom Tromey <tromey@redhat.com>
1391 * java/lang/natDouble.cc (toString): Added parens.
1392 * gnu/gcj/io/shs.h (PROTO): Define.
1393 * link.cc (resolve_pool_entry): Added missing braces.
1395 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1398 * sysdep/ia64/locks.h (read_barrier): New.
1399 (write_barrier): New.
1401 2007-01-10 Gary Benson <gbenson@redhat.com>
1403 * java/net/URL.java: Removed.
1404 * sources.am, Makefile.in: Rebuilt.
1406 2007-01-10 Matthias Klose <doko@debian.org>
1408 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1409 * Makefile.in: Regenerated.
1411 2007-01-05 Tom Tromey <tromey@redhat.com>
1413 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1414 dummy.class in srcdir.
1416 2007-01-03 Tom Tromey <tromey@redhat.com>
1418 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1421 2007-01-03 Tom Tromey <tromey@redhat.com>
1423 * testsuite/*: Added many .jar and .h files.
1424 * testsuite/libjava.special/special.exp
1425 (gcj_special_try_compiler): New proc.
1426 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1427 bytecompile source. Search for .jar files.
1428 (gcj_loader_test_one): Don't look for MyLoader.java.
1429 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1430 bytecompile sources or build headers.
1431 (gcj_jvmti_run): Look for .jar files.
1432 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1434 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1435 Set classpath when invoking gij.
1436 (gcj_jni_invocation_test_one): Likewise.
1437 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1438 headers or bytecompile sources.
1439 (gcj_cni_run): Use .jar files, not .java files.
1440 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1442 2007-01-02 Tom Tromey <tromey@redhat.com>
1444 * configure: Rebuilt.
1445 * configure.ac: Check for gjar.
1447 2007-01-02 Tom Tromey <tromey@redhat.com>
1449 * testsuite/libjava.jacks/jacks.exp: Removed.
1450 * testsuite/libjava.jacks/jacks.xfail: Removed.