]> gcc.gnu.org Git - gcc.git/blob - libjava/ChangeLog
libgcj_bc.c (JvRunMainName): Declare.
[gcc.git] / libjava / ChangeLog
1 2007-03-07 Andrew Haley <aph@redhat.com>
2
3 * libgcj_bc.c (JvRunMainName): Declare.
4
5 2007-03-07 Gary Benson <gbenson@redhat.com>
6
7 * sources.am, Makefile.in: Rebuilt.
8
9 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
10
11 * gcj/javaprims.h: Regenerated.
12
13 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
14
15 * include/jvm.h (_Jv_ClosureListFinalizer): New.
16 (_Jv_Linker::create_error_method): Adjust.
17 * boehm.cc (_Jv_ClosureListFinalizer): New.
18 * nogc.cc (_Jv_ClosureListFinalizer): New.
19 * java/lang/Class.h (class _Jv_ClosureList): New.
20 (class java::lang::Class): Declare it as friend.
21 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
22 (_Jv_ClosureList::registerClousure): New.
23 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
24 (_Jv_CompiledEngine::do_get_closure_list): New.
25 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
26 (_Jv_IndirectCompiledClass): Add closures.
27 (_Jv_IndirectCompiledEngine::get_aux_info): New.
28 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
29 it.
30 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
31 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
32 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
33 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
34 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
35 (node_closure): Add closure list.
36 (_Jv_InterpMethod::ncode): Add jclass argument. Use
37 ffi_closure_alloc and the separate code pointer. Register the
38 closure for finalization.
39 (_Jv_JNIMethod::ncode): Likewise.
40 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
41 (_Jv_InterpreterEngine::do_get_closure_list): New.
42 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
43 (_Jv_InterpClass): Add closures field.
44 (_Jv_JNIMethod::ncode): Adjust.
45 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
46 (_Jv_ClassReader::handleMethodsEnd): Likewise.
47 * link.cc (struct method_closure): Add closure list.
48 (_Jv_Linker::create_error_method): Add jclass argument. Use
49 ffi_closure_alloc and the separate code pointer. Register the
50 closure for finalization.
51 (_Jv_Linker::link_symbol_table): Remove outdated comment about
52 sharing of otable and atable. Adjust.
53 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
54 list.
55 (ncode): Add jclass argument. Use ffi_closure_alloc and the
56 separate code pointer. Register the closure for finalization.
57 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
58 * testsuite/libjava.jar/TestClosureGC.java: New.
59 * testsuite/libjava.jar/TestClosureGC.out: New.
60 * testsuite/libjava.jar/TestClosureGC.xfail: New.
61 * testsuite/libjava.jar/TestClosureGC.jar: New.
62
63 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
64
65 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
66 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
67 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
68 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
69 (VMMethod::getLineTable): Use new macro.
70 (VMMethod::getVariableTable): Implement.
71 * sources.am: Regenerated.
72 * Makefile.in: Ditto.
73
74 2007-03-06 Tom Tromey <tromey@redhat.com>
75
76 * Makefile.in: Rebuilt.
77 * Makefile.am (bin_PROGRAMS): Added gcjh.
78 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
79 gcjh_DEPENDENCIES): New variables.
80
81 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
82
83 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
84 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
85 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
86
87 2007-03-05 Matthias Klose <doko@debian.org>
88
89 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
90 * Makefile.in: Regnerate.
91
92 2007-03-05 Mark Wielaard <mark@klomp.org>
93
94 * java/lang/Character.java: Re-merged with Classpath.
95 * java/lang/natString.cc (nativeCompareTo): Renamed from
96 compareTo.
97 * java/lang/StringBuilder.java: Re-merged with Classpath.
98 * java/lang/String.java: Re-merged with Classpath.
99 (nativeCompareTo): Renamed from compareTo.
100 * java/lang/StringBuffer.java: Re-merged with Classpath.
101 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
102
103 2007-03-05 Andrew Haley <aph@redhat.com>
104
105 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
106 (generateProxyClass): Don't pass method to ncode.
107 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
108 * java/lang/reflect/Method.h: Rebuild.
109 * java/lang/reflect/Method.java (internalGetParameterTypes,
110 internalGetExceptionTypes): New methods.
111 * headers.txt (class java/lang/reflect/Method): Declare
112 _Jv_GetReflectedMethod. Be its friend.
113 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
114 * java/lang/Class.h: Declare it. Be its friend.
115
116 2007-03-05 Tom Tromey <tromey@redhat.com>
117
118 * sources.am, Makefile.in: Rebuilt.
119 * scripts/makemake.tcl (emit_package_rule): Don't omit
120 VMProcess.java.
121 * Makefile.am (nat_source_files): Added natVMProcess.cc.
122 (inner_nat_headers): Added ImmediateEOFInputStream.h.
123 * gcj/javaprims.h: Regenerated.
124 * java/lang/System.java (EnvironmentMap): Now package-private.
125 (EnvironmentMap(Map)): New constructor.
126 (EnvironmentMap.put): New method.
127 * java/lang/natWin32Process.cc (startProcess): Update.
128 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
129 argument.
130 (startProcess): Likewise.
131 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
132 argument.
133 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
134 * java/lang/PosixProcess.java (redirect): New field.
135 (PosixProcess): Added 'redirect' argument.
136 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
137 argument to Process creation.
138 * java/lang/natVMProcess.cc: New file.
139 * java/lang/ProcessBuilder.java: Removed.
140 * java/lang/VMProcess.java: New file.
141
142 2007-03-03 Andrew Haley <aph@redhat.com>
143
144 * java/lang/natClass.cc (parseAnnotationElement): Correct long
145 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
146
147 2007-03-02 Andrew Haley <aph@redhat.com>
148
149 * sun/reflect/annotation/AnnotationInvocationHandler.java:
150 Generify in a few places.
151 (equals): Rewrite to use invoke on local proxy.
152 (deepToString): Remove most of it.
153 (toString): Make nonstatic.
154 (arrayClone): Delete.
155 (coerce): New method.
156 (invoke): Rewrite to handle gcj's structures correctly.
157 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
158 null loader.
159 * sources.am: Regenerate.
160 * Makefile.am: Likewise.
161
162 2007-03-02 Andrew Haley <aph@redhat.com>
163
164 * sun/reflect/annotation/AnnotationInvocationHandler.java:
165 Whitespace only changes.
166
167 2007-03-02 Andrew Haley <aph@redhat.com>
168
169 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
170 from Classpath to libgcj local.
171
172 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
173
174 * Makefile.am: Add dummy install-pdf target.
175 * Makefile.in: Regenerate
176 * include/Makefile.in: Regenerate
177 * testsuite/Makefile.in: Regenerate
178 * gcj/Makefile.in: Regenerate
179
180 2007-02-23 Gary Benson <gbenson@redhat.com>
181
182 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
183
184 2007-02-23 Gary Benson <gbenson@redhat.com>
185
186 * java/lang/VMCompiler.java
187 (compileClass): Don't lose zeros from within the digest.
188
189 2007-02-22 Jakub Jelinek <jakub@redhat.com>
190
191 PR libgcj/17002
192 PR classpath/28550
193 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
194 /etc/localtime, use ZoneInfo.readTZFile instead of
195 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
196 either if it is a symlink or through /etc/sysconfig/clock.
197 (readSysconfigClockFile): New static method.
198 (readtzFile): Removed.
199 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
200 * posix.cc (_Jv_platform_initProperties): Set
201 gnu.java.util.zoneinfo.dir.
202 * sources.am (gnu_java_util_source_files): Add
203 classpath/gnu/java/util/ZoneInfo.java.
204 * Makefile.in: Regenerated.
205 * java/util/VMTimeZone.h: Regenerated.
206 * java/util/TimeZone.h: Regenerated.
207 * gnu/java/util/ZoneInfo.h: Generated.
208
209 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
210
211 * include/win32-threads.h: Added #undef OUT.
212
213 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
214
215 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
216 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
217 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
218 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
219 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
220 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
221
222 2007-02-21 Gary Benson <gbenson@redhat.com>
223
224 * java/util/GregorianCalendar.java: Removed.
225 * sources.am, Makefile.in: Rebuilt.
226
227 2007-02-20 Keith Seitz <keiths@redhat.com>
228
229 * gnu/classpath/jdwp/natVMVirtualMachine.cc
230 (jdwpClassPrepareCB): Move class status stuff to ...
231 (getClassStatus): ... here.
232
233 2007-02-20 Gary Benson <gbenson@redhat.com>
234
235 * gnu/awt/xlib/XEventLoop.h: Regenerated.
236 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
237 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
238 Likewise.
239 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
240 * java/lang/SecurityManager.h: Likewise.
241 * java/lang/Thread.h: Likewise.
242 * java/security/VMSecureRandom$Spinner.h: Likewise.
243 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
244 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
245 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
246 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
247 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
248 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
249 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
250 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
251 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
252 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
253 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
254 * java/util/concurrent/Exchanger.h: Likewise.
255 * java/util/concurrent/Exchanger$Node.h: Likewise.
256 * java/util/concurrent/FutureTask$Sync.h: Likewise.
257 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
258 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
259 Likewise.
260 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
261 Likewise.
262 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
263 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
264 Likewise.
265 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
266 * java/util/concurrent/SynchronousQueue.h: Likewise.
267 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
268 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
269 Likewise.
270 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
271 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
272 Likewise.
273 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
274 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
275 * java/util/logging/ErrorManager.h: Likewise.
276 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
277 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
278
279 2007-02-16 Keith Seitz <keiths@redhat.com>
280
281 * gnu/classpath/jdwp/natVMVirtualMachine.cc
282 (get_line_table): New function.
283 (handle_single_step): New function.
284 (jdwpSingleStepCB): New function.
285 (jdwpVMInitCB): Define a JVMTI single step
286 callback, but don't enable it until needed.
287
288 2007-02-16 David Daney <ddaney@avtrex.com>
289
290 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
291 new parameter constructor.
292 (Thread(ThreadGroup, Runnable, String, long)): Same.
293 (Thread(String, boolean)): New constructor.
294 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
295 noInheritableThreadLocal, don't call
296 InheritableThreadLocal.newChildThread if set.
297 * java/lang/PosixProcess.java(ProcessManager()): Set
298 noInheritableThreadLocal in super.
299 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
300 parameter to Thread constructor.
301 (_Jv_AttachCurrentThreadAsDaemon): Same.
302 * java/lang/Thread.h: Regenerate.
303 * classpath/lib/java/lang/Thread.class: Same.
304 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
305 * classpath/lib/java/lang/PosixProcess.class: Same.
306 * classpath/lib/java/lang/Thread$State.class: Same.
307 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
308
309 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
310
311 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
312 variables to maintain type info.
313 * interpret-run.cc: Add local variable info to frame in the debug
314 interpreter.
315 * jvmti.cc (getLocalFrame): New method.
316 (_Jv_JVMTI_GetLocalObject): New method.
317 (_Jv_JVMTI_GetLocallInt): New method.
318 (_Jv_JVMTI_GetLocalFloat): New method.
319 (_Jv_JVMTI_GetLocalLong): New method.
320 (_Jv_JVMTI_GetLocalDouble): New method.
321 (_Jv_JVMTI_SetLocalObject): New method.
322 (_Jv_JVMTI_SetLocalInt): New method.
323 (_Jv_JVMTI_SetLocalFloat): New method.
324 (_Jv_JVMTI_SetLocalLong): New method.
325 (_Jv_JVMTI_SetLocalDouble): New method.
326
327 2007-02-16 Gary Benson <gbenson@redhat.com>
328
329 * gnu/gcj/tools/gcj_dbtool/Main.java
330 (bytesToString): Don't lose zeros from within the digest.
331
332 2007-02-15 Andrew Haley <aph@redhat.com>
333
334 * Makefile.am (nat_source_files): Remove
335 java/lang/management/natVMManagementFactory.cc.
336 * java/lang/Thread.java (getStackTrace): Use reflection to call
337 the ManagementFactory.
338 * java/lang/management/VMManagementFactory.java: Remove native
339 methods.
340 * java/lang/management/natVMManagementFactory.cc: Deleted.
341 * sources.am: Regnerate.
342 * scripts/makemake.tcl: Add new "bcheaders" type.
343 Move java/lang/management and gnu/classpath/management to "bc".
344 Move gnu/java/lang/management to "bcheaders".
345
346 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
347
348 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
349 * interpret-run.cc: Change the catch section to report exception
350 events and to use the new check_handler method.
351 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
352 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
353 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
354 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
355 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
356 file.
357 * sources.am: Added ExceptionEvent.java.
358 * Makefile.am: Added natExceptionEvent.cc
359 * Makefile.in: Regenerated.
360 * include/Makefile.in: Regenerated.
361 * gcj/Makefile.in: Regenerated.
362
363 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
364 David Daney <ddaney@avtrex.com>
365
366 * configure.ac: Create vm-tools-packages file. Add
367 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
368 Check for /proc/self/maps.
369 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
370 (gc_analyze_SOURCES): New.
371 (gc_analyze_LDFLAGS): New.
372 (gc_analyze_LINK): New.
373 (gc_analyze_LDADD): New.
374 (gc_analyze_DEPENDENCIES): New.
375 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
376 * Makefile.in: Regenerated.
377 * configure: Regenerated.
378 * include/config.h.in: Regenerated.
379 * sources.am: Regenerated.
380 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
381 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
382 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
383 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
384 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
385 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
386 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
387 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
388 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
389 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
390 * gnu/gcj/util/GCInfo.java: New.
391 * gnu/gcj/util/GCInfo.h: New.
392 * gnu/gcj/util/natGCInfo.cc: New.
393 * gnu/gcj/util/UtilPermission.java: New.
394 * gnu/gcj/util/UtilPermission.h: New.
395 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
396 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
397 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
398 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
399 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
400 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
401 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
402 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
403 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
404 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
405 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
406 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
407 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
408 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
409 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
410 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
411 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
412 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
413 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
414 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
415 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
416 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
417 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
418
419 2007-02-15 David Daney <ddaney@avtrex.com>
420
421 * gnu/java/net/PlainSocketImpl.h: Regenerate.
422 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
423 * gnu/classpath/jdwp/VMFrame.h: Same.
424 * java/net/Socket.h: Same.
425 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
426
427 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
428
429 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
430 Added LocalVariableTable attribute handling.
431 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
432 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
433 * include/java-interp.h: Added local_var_table and
434 local_var_table_len fields to _Jv_InterpMethod.
435 (_Jv_InterpMethod::get_local_var_table): New method.
436 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
437 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
438 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
439 for new test.
440 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
441 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
442
443 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
444
445 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
446
447 2007-02-13 Keith Seitz <keiths@redhat.com>
448
449 * gnu/classpath/jdwp/natVMVirtualMachine.cc
450 (jdwpBreakpointCB): New function.
451 (jdwpVMInitCB): Define and enable the breakpoint
452 callback.
453
454 2007-02-13 Andrew Haley <aph@redhat.com>
455
456 * testsuite/libjava.lang/Divide_2.out
457 * testsuite/libjava.lang/Divide_2.java: New test.
458
459 2007-02-12 Keith Seitz <keiths@redhat.com>
460
461 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
462 from jthread to Thread *; it is no longer needed.
463 (_Jv_JVMTI_GetFrameCount): Likewise.
464 Fix small formatting typo.
465
466 2007-02-12 Tom Tromey <tromey@redhat.com>
467
468 * sources.am, Makefile.in: Rebuilt.
469 * java/lang/Socket.java: Removed override.
470 * java/lang/DatagramSocket.java: Removed override.
471 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
472 field.
473 (getLocalAddress): New method.
474 * gnu/java/net/PlainDatagramSocketImpl.java
475 (PlainDatagramSocketImpl): Throws IOException.
476 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
477 'sizeof'.
478 (read): Likewise.
479
480 2007-02-09 Jakub Jelinek <jakub@redhat.com>
481
482 * java/util/VMTimeZone.java: Rewrite to handle both the old
483 'TZif\0' format and the new one.
484
485 2007-02-10 Andrew Haley <aph@redhat.com>
486
487 PR java/30742
488 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
489 (getCallingClass): Call GET_CALLING_CLASS.
490 (getCallingClassLoader): Likewise.
491
492 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
493
494 * configure: Rebuilt.
495 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
496
497 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
498
499 * Makefile.in: Rebuilt.
500 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
501 the host's ecj1 executable.
502
503 2007-02-09 Richard Henderson <rth@redhat.com>
504
505 * sysdep/alpha/locks.h (read_barrier): New.
506
507 2007-02-09 Keith Seitz <keiths@redhat.com>
508
509 * gnu/classpath/jdwp/VMVirtualMachine.java
510 (_stepping_threads): New member.
511 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
512 Regenerated.
513 * gnu/classpath/jdwp/VMVirtualMachine.h:
514 Regenerated.
515 * gnu/claspath/jdwp/natVMVirtualMachine.cc
516 (get_request_step_filter): New function.
517 (DISABLE_EVENT): New macro.
518 (initialize): Initialize _stepping_threads.
519 (registerEvent): Implement EVENT_SINGLE_STEP.
520 (unregisterEvent): Likewise.
521
522 2007-02-08 Keith Seitz <keiths@redhat.com>
523
524 * sources.am: Regenerate.
525 * Makefile.in: Regenerate.
526 * testsuite/Makefile.in: Regenerate.
527 * gcj/Makefile.in: Regenerate.
528 * include/Makefile.in: Regenerate.
529
530 * classpath/lib/javax/management/MBeanServerFactory.class:
531 Regenerate.
532
533 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
534
535 * classpath/gnu/classpath/jdwp/processor/
536 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
537 of ByteBuffer.
538 (executeSetValues): Ditto.
539 (executeThisObject): Ditto.
540 * classpath/gnu/classpath/jdwp/processor/
541 StackFrameCommandSet.class: Rebuilt.
542 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
543 Rebuilt.
544 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
545 * classpath/lib/gnu/classpath/jdwp/exception/
546 InvalidFrameException.java: New file.
547 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
548 frame.
549 (Constructor): New method.
550 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
551 * gnu/classpath/jdwp/VMVirtualMachine.java
552 (getFrame): Changed ByteBuffer to jlong.
553 * gnu/classpath/jdwp/natVMVirtualMachine.cc
554 (getFrame): Implement.
555 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
556
557 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
558
559 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
560 to hold "this" pointer for frame.
561 (_Jv_InterpFrame::get_this_ptr): New method.
562 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
563
564 2007-02-07 Keith Seitz <keiths@redhat.com>
565
566 * include/java-interp.h (_Jv_Frame::depth):
567 New function.
568 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
569
570 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
571
572 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
573 (_Jv_JVMTI_GetMaxLocals): New method.
574 * include/java-interp.h
575 (_Jv_InterpMethod::get_max_locals): New method.
576
577 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
578
579 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
580
581 2007-02-07 Tom Tromey <tromey@redhat.com>
582
583 * testsuite/libjava.jni/init.c: New file.
584 * testsuite/libjava.jni/init.java: New file.
585 * testsuite/libjava.jni/init.out: New file.
586 * testsuite/libjava.jni/init.jar: New file.
587 * testsuite/libjava.jni/init.h: New file.
588 * testsuite/libjava.jni/init$NativeClass.h: New file.
589
590 2007-02-07 Jakub Jelinek <jakub@redhat.com>
591
592 PR libgomp/28468
593 * configure: Regenerate.
594
595 2007-02-06 Andrew Haley <aph@redhat.com>
596
597 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
598 * sources.am: Rebuild.
599
600 2007-02-05 Keith Seitz <keiths@redhat.com>
601
602 * jvmti.cc (_envListLock): Change type to
603 ReentrantReadWriteLock.
604 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
605 lock.
606 (check_enabled_event): Likewise.
607 (_Jv_GetJVMTIEnv): Likewise.
608 (_Jv_JVMTI_Init): Likewise.
609 (_Jv_JVMTI_PostEvent): Likewise.
610
611 2007-02-05 Keith Seitz <keiths@redhat.com>
612
613 * gnu/classpath/jdwp/natVMVirtualMachine.cc
614 (registerEvent): Implement EVENT_BREAKPOINT.
615 (unregisterEvent): Likewise.
616 (get_request_location): New function.
617
618 2007-02-05 Matthias Klose <doko@debian.org>
619
620 testsuite/Makefile.am (compile-tests): Fix typo.
621 testsuite/Makefile.in: Regenerate.
622
623 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
624
625 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
626 Implment.
627
628 2007-02-02 Jakub Jelinek <jakub@redhat.com>
629
630 * configure.ac (libjava_cv_anon_version_script): New test.
631 (ANONVERSCRIPT): New AM_CONDITIONAL.
632 * configure: Rebuilt.
633 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
634 if ANONVERSCRIPT.
635 * Makefile.in: Rebuilt.
636 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
637 * libgcj.ver: New file.
638
639 2007-02-01 David Daney <ddaney@avtrex.com>
640
641 * scripts/makemake.tcl: Replace gnu/xml build with build of all
642 its subpackages.
643 * sources.am: Regenerate.
644 * Makefile.in: Regenerate.
645
646 2007-02-01 Tom Tromey <tromey@redhat.com>
647
648 * java/lang/ClassLoader.java (getResources): No longer final.
649
650 2007-02-01 Tom Tromey <tromey@redhat.com>
651
652 * java/util/logging/LogManager.java (loggers): Genericized.
653 (addLogger): Merged.
654 (findAncestor): Likewise.
655 (getLogger): Likewise.
656 (getLoggerNames): Genericized.
657 (reset): Merged.
658 (getLevelProperty): Likewise.
659 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
660 * java/lang/reflect/Constructor.java (getParameterTypes):
661 Genericized.
662 (getExceptionTypes): Likewise.
663 (newInstance): Likewise.
664 * java/lang/reflect/Array.java (newInstance): Genericized.
665 * java/lang/Object.java (getClass): Genericized.
666 * java/nio/charset/spi/CharsetProvider.java (charsets):
667 Genericized.
668 * java/text/Collator.java: Implement Comparable<Object>.
669
670 2007-02-01 Tom Tromey <tromey@redhat.com>
671
672 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
673 comments.
674 (clear): Call complete.
675 (setTimeZone): Call computeTime, computeFields.
676 (compareTo): New method.
677 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
678 (availableCharsets): Genericized.
679 (aliases): Likewise.
680 (compareTo): Changed argument type.
681 * java/lang/ClassLoader.java (loadClass): Genericized.
682 (findClass): Likewise.
683 (defineClass): Likewise.
684 (resolveClass): Likewise.
685 (findSystemClass): Likewise.
686 (setSigners): Likewise.
687 (findLoadedClass): Likewise.
688 (getResources): Likewise.
689 (findResources): Likewise.
690 (getSystemResources): Likewise.
691 (checkInitialized): New method.
692 * java/lang/Class.java (getCanonicalName): New method.
693
694 2007-01-31 Keith Seitz <keiths@redhat.com>
695
696 * include/jvmti-int.h (JVMTI): Declare member "enabled".
697 * jvmti.cc (JVMTI): Add member "enabled".
698 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
699 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
700 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
701 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
702 instead of run to compile the method.
703
704 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
705 notification.
706
707 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
708
709 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
710 -shared-libgcc to the cxxflaglist for Darwin.
711
712 2007-01-31 Tom Tromey <tromey@redhat.com>
713
714 * scripts.am, Makefile.in: Rebuilt.
715 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
716 as 'ordinary'.
717 (emit_ordinary_rule): New proc.
718
719 2007-01-31 Keith Seitz <keiths@redhat.com>
720
721 * testsuite/libjava.jvmti/getmethodname.h: New file.
722 * testsuite/libjava.jvmti/getmethodname.jar: New file.
723
724 2007-01-31 Andrew Haley <aph@redhat.com>
725
726 * prims.cc (_Jv_Abort): fflush (stderr).
727 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
728
729 2007-01-31 Tom Tromey <tromey@redhat.com>
730
731 * configure, Makefile.in: Rebuilt.
732 * configure.ac (JAR): Check for -@ feature.
733 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
734
735 2007-01-31 Tom Tromey <tromey@redhat.com>
736
737 PR libgcj/30606:
738 * configure, include/config.h.in: Rebuilt.
739 * configure.ac: Check for magic_t in magic.h.
740 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
741
742 2007-01-30 Tom Tromey <tromey@redhat.com>
743
744 * Makefile.in: Rebuilt.
745 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
746
747 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
748
749 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
750 cast to print it right.
751
752 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
753
754 PR libgcj/30600:
755 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
756 'limit'.
757
758 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
759
760 * include/java-interp.h: Added _Jv_Frame class and its two
761 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
762 _Jv_FrameType from java-stack.h.
763 * include/java-stack.h: Removed _Jv_FrameType.
764 * java/lang/Thread.java: Added frame member to hold new
765 composite frame stack.
766 * java/lang/Thread.h: Regenerated.
767 * java/lang/Thread.class: Rebuilt.
768 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
769 calling a JNI method.
770 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
771 (_Jv_JVMTI_GetFrameCount): New method.
772 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
773 classes.
774 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
775 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
776 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
777 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
778 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
779 for test.
780
781 2007-01-29 Tom Tromey <tromey@redhat.com>
782
783 * interpret.cc (run_debug): Remove comment.
784 (STOREA): Reformat.
785 (STOREI): Likewise.
786 (STOREF): Likewise.
787 (STOREL): Likewise.
788 (STORED): Likewise.
789 (POKEI): Likewise.
790 (run_normal_debug): Likewise.
791 (run_synch_object_debug): Likewise.
792 (run_class_debug): Likewise.
793 (run_synch_class_debug): Likewise.
794 (get1s): Likewise.
795 (get1u): Likewise.
796 (get2u): Likewise.
797 (get4): Likewise.
798 (NULLARRAYCHECK): Likewise.
799 (ARRAYBOUNDSCHECK): Likewise.
800 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
801
802 2007-01-29 Tom Tromey <tromey@redhat.com>
803
804 * configure, Makefile.in: Rebuilt.
805 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
806 * configure.ac (BASH_JAR): Removed conditional.
807 (JAR): Prefer the jar found by AC_CHECK_PROGS.
808
809 2007-01-29 Tom Tromey <tromey@redhat.com>
810
811 * Makefile.in: Rebuilt.
812 * Makefile.am (interpret.lo): New target. Add -fwrap to
813 AM_CXXFLAGS.
814
815 2007-01-29 Keith Seitz <keiths@redhat.com>
816
817 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
818 Define.
819 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
820 gcj. All jvmti object types now are defined to be their
821 corresponding java classes.
822 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
823 jthread to Thread*.
824 (_Jv_JVMTI_ResumeThread): Likewise.
825 (_Jv_JVMTI_InterruptThread): Likewise.
826 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
827 * gnu/classpath/jdwp/natVMVirtualMachine.cc
828 (jdwpClassPrepareCB): Likewise.
829 (jdwpThreadEndCB): Likewise.
830 (jdwpThreadStartCB): Likewise.
831 (jdwpVMInitCB): Likewise.
832
833 2007-01-28 Michele Sandri <gpointorama@gmail.com>
834
835 * gnu/java/nio/channels/natFileChannelWin32.cc
836 (lock): Implemented.
837 (unlock): Implemented.
838
839 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
840
841 PR libgcj/30513
842 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
843 libgcj_flags to undefine 'sun' at compile time.
844 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
845 Sparc.
846 (write_barrier): Likewise.
847
848 2007-01-27 Keith Seitz <keiths@redhat.com>
849
850 * gnu/classpath/jdwp/natVMVirtualMachine.cc
851 (getAllClassMethods): Move error handling to ...
852 (throw_jvmti_error): ... here.
853 (jdwpClassPrepareCB): New function.
854 (jdwpThreadEndCB): New function.
855 (jdwpThreadStartCB): New function.
856 (jdwpVMDeathCB): New function.
857 (jdwpVMInitCB): Define and enable callbacks for
858 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
859
860 2007-01-27 Jakub Jelinek <jakub@redhat.com>
861
862 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
863 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
864 (MYGCJH): New variable.
865 (compile-tests): New goal.
866 * Makefile.in: Rebuilt.
867 * testsuite/Makefile.in: Rebuilt.
868
869 2007-01-26 Andrew Haley <aph@redhat.com>
870
871 * java/lang/natClass.cc (initializeClass): Re-throw
872 SecurityExceptions.
873 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
874 * java/lang/ClassLoader.java: (loadClass): Likewise.
875
876 2007-01-26 Tom Tromey <tromey@redhat.com>
877
878 * Updated headers.
879
880 2007-01-25 Tom Tromey <tromey@redhat.com>
881
882 PR libgcj/29594:
883 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
884 input or output encodings. Removed unused local variables.
885
886 2007-01-25 Keith Seitz <keiths@redhat.com>
887
888 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
889 * gnu/classpath/jdwp/natVMVirtualMachine.cc
890 (_Jv_GetJDWP_JVMTIEnv): New function.
891 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
892 (getSignature): Implement.
893 (getModifiers): Implement.
894
895 2007-01-25 Andrew Haley <aph@redhat.com>
896
897 * configure, Makefile.in, include/config.h.in: Rebuilt.
898 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
899 * configure.ac: Don't check for libmagic.
900 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
901 p_magic_close, p_magic_buffer): New globals.
902 (init): Look up 'magic' functions.
903 (guessContentTypeFromBuffer): Updated.
904
905 2007-01-25 Keith Seitz <keiths@redhat.com>
906
907 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
908 (_Jv_JVMTI_Interface): Define GetMethodName.
909 * testsuite/libjava.jvmti/getmethodname.java: New file.
910 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
911 * testsuite/libjava.jvmti/getmethodname.out: New file.
912
913 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
914
915 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
916 * libjava/testsuite/libjava.jvmti/interp: New folder.
917 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
918
919 2007-01-24 Keith Seitz <keiths@redhat.com>
920
921 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
922 CLASS_PREPARE notification.
923
924 2007-01-24 Keith Seitz <keiths@redhat.com>
925
926 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
927 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
928 * interpret-run.cc: Implement insn_breakpoint.
929
930 2007-01-24 Keith Seitz <keiths@redhat.com>
931
932 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
933 for VM_INIT and VM_DEATH instead of the JDWP notifications.
934
935 2007-01-24 Keith Seitz <keiths@redhat.com>
936
937 * gnu/classpath/jdwp/natVMVirtualMachine.cc
938 (getAllClassMethods): Implement.
939
940 2007-01-24 Andrew Haley <aph@redhat.com>
941
942 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
943 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
944 from being sibcalled.
945
946 2007-01-24 Andrew Haley <aph@redhat.com>
947
948 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
949 * sources.am: Rebuild.
950
951 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
952
953 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
954 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
955
956 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
957
958 PR libgcj/30550
959 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
960 * Makefile.in: Regenerated.
961
962 2007-01-22 Keith Seitz <keiths@redhat.com>
963
964 * gnu/classpath/jdwp/natVMVirtualMachine.cc
965 (getClassMethod): Implement.
966
967 2007-01-22 Keith Seitz <keiths@redhat.com>
968
969 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
970 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
971 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
972 (_Jv_JVMTI_Interface): Define GetClassStatus.
973
974 2007-01-22 Tom Tromey <tromey@redhat.com>
975
976 * configure: Rebuilt.
977 * configure.ac (GCJ): Reverted patch of 2006-12-20.
978
979 2007-01-22 Tom Tromey <tromey@redhat.com>
980
981 PR java/29812:
982 * testsuite/libjava.jni/pr29812.java: New file.
983 * testsuite/libjava.jni/pr29812_injar.java: New file.
984 * testsuite/libjava.jni/pr29812_injar.jar: New file.
985 * testsuite/libjava.jni/pr29812.out: New file.
986 * testsuite/libjava.jni/pr29812_injar.c: New file.
987 * testsuite/libjava.jni/pr29812_injar.h: New file.
988 * testsuite/libjava.jni/pr29812.jar: New file.
989 * testsuite/libjava.jni/pr29812.c: New file.
990 * testsuite/libjava.jni/pr29812.h: New file.
991 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
992 New proc.
993 (gcj_jni_invocation_test_one): Use it.
994 (gcj_jni_pr29812): New proc.
995 (gcj_jni_run): Use it.
996 * java/lang/natRuntime.cc (_load): Push a new system frame before
997 calling JNI_OnLoad.
998 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
999 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1000 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1001 <allocated_p>: Now bool.
1002 <loader>: New field.
1003 (_Jv_JNI_EnsureLocalCapacity): Updated.
1004 (_Jv_JNI_NewLocalRef): Likewise.
1005 (_Jv_JNI_NewLocalRef): Likewise.
1006 (_Jv_JNI_PopLocalFrame): Likewise.
1007 (_Jv_JNI_FindClass): Likewise.
1008 (_Jv_GetJNIEnvNewFrame): Likewise.
1009 (_Jv_JNI_AttachCurrentThread): Likewise.
1010 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1011 (_Jv_GetJNIEnvNewFrame): Use it.
1012 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1013
1014 2007-01-22 Tom Tromey <tromey@redhat.com>
1015
1016 * libtool-version: Bump current to 9.
1017
1018 2007-01-22 Andrew Haley <aph@redhat.com>
1019
1020 * sysdep/alpha/locks.h (write_barrier): New.
1021
1022 2007-01-21 Matthias Klose <doko@debian.org>
1023
1024 * Makefile.am (install-exec-hook): Use transformed name.
1025 * Makefile.in: Regenerate.
1026
1027 2007-01-19 Keith Seitz <keiths@redhat.com>
1028
1029 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1030 in methods and reformat.
1031
1032 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1033 MAYBE_UNUSED.
1034
1035 2007-01-18 Keith Seitz <keiths@redhat.com>
1036
1037 From Macro Trudel <mtrudel@gmx.ch>:
1038 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1039 Use JNICALL.
1040
1041 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1042
1043 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1044 * testsuite/libjava.jni/findclass2.jar: New file.
1045 * testsuite/libjava.jni/findclass2.h: New file.
1046 * testsuite/libjava.jni/findclass2.java: New file
1047 * testsuite/libjava.jni/findclass2.c: New file.
1048 * testsuite/libjava.jni/findclass2.out: New file.
1049
1050 2007-01-18 Tom Tromey <tromey@redhat.com>
1051
1052 * configure: Rebuilt.
1053 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1054
1055 2007-01-18 Gary Benson <gbenson@redhat.com>
1056
1057 * gnu/java/nio/natVMPipeEcos.cc:
1058 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1059 * gnu/java/nio/natVMPipePosix.cc:
1060 Renamed from gnu/java/nio/natPipeImplPosix.cc.
1061 * gnu/java/nio/natVMPipeWin32.cc:
1062 Renamed from gnu/java/nio/natPipeImplWin32.cc.
1063 * gnu/java/nio/natVMSelectorEcos.cc:
1064 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
1065 * gnu/java/nio/natVMSelectorPosix.cc:
1066 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
1067 * gnu/java/nio/natVMSelectorWin32.cc:
1068 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
1069 * java/io/natVMObjectInputStream.cc:
1070 Renamed from java/io/natObjectInputStream.cc.
1071 * java/lang/natVMDouble.cc:
1072 Renamed from java/lang/natDouble.cc.
1073 * java/lang/natVMFloat.cc:
1074 Renamed from java/lang/natFloat.cc.
1075 * Makefile.am, configure.ac: Reflect the above.
1076 * Makefile.in, configure: Rebuilt.
1077
1078 2007-01-17 Andrew Haley <aph@redhat.com>
1079
1080 * Makefile.in: Rebuilt.
1081 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
1082
1083 2007-01-17 Keith Seitz <keiths@redhat.com>
1084
1085 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
1086 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
1087
1088 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
1089
1090 * configure.ac: Use multi.m4 from aclocal rather than custom
1091 code. Use multi_basedir instead libgcj_basedir. Test for
1092 /proc/self/exe when not cross-compiling.
1093 * aclocal.m4: Regenerate.
1094 * configure: Regenerate.
1095 * Makefile.in: Regenerate.
1096
1097 2007-01-17 Gary Benson <gbenson@redhat.com>
1098
1099 * java/nio/natVMDirectByteBufferImpl.cc:
1100 Renamed from java/nio/natDirectByteBufferImpl.cc.
1101 * Makefile.am: Reflect the above.
1102 * Makefile.in: Rebuilt.
1103
1104 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
1105
1106 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
1107 Fixed indentation. Removed unused variable.
1108
1109 2007-01-16 Tom Tromey <tromey@redhat.com>
1110
1111 * java/lang/natThread.cc (finalize_native): Remove cast.
1112 (_Jv_GetCurrentJNIEnv): Likewise.
1113 * include/jvm.h (struct natThread) <jni_env>: Declare as
1114 _Jv_JNIEnv*.
1115
1116 2007-01-16 Keith Seitz <keiths@redhat.com>
1117
1118 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
1119 %#llx instead of %d for new_value.
1120 * testsuite/libjava.jvmti/events.out: Update expected output.
1121 * testsuite/libjava.jvmti/events.jar: Regenerate.
1122
1123 2007-01-16 Keith Seitz <keiths@redhat.com>
1124
1125 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
1126 New macro.
1127 (ENABLE_EVENT): New macro.
1128 (initialize): Define and enable JVMTI VM_INIT callback.
1129 (jdwpVMInitCB): New function.
1130
1131 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
1132
1133 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
1134 * testsuite/libjava.jvmti/getallthreads.java: New test.
1135 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
1136 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
1137 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
1138 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
1139
1140 2007-01-15 Keith Seitz <keiths@redhat.com>
1141
1142 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1143 java.lang.StringBuilder instead of java.lang.StringBuffer.
1144 (resumeThread): Likewise.
1145
1146 2007-01-15 Gary Benson <gbenson@redhat.com>
1147
1148 * java/nio/MappedByteBuffer.java: Removed.
1149 * sources.am, Makefile.in: Rebuilt.
1150
1151 2007-01-15 Gary Benson <gbenson@redhat.com>
1152
1153 * java/net/URLClassLoader.java: Removed.
1154 * gnu/java/net/loader/Load_gcjlib.java: New file.
1155 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1156 URL handler is present in static executables.
1157 * sources.am, Makefile.in: Rebuilt.
1158
1159 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * Makefile.am (libgcj_la_LDFLAGS): Add
1162 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1163 (libgcj_tools_la_LDFLAGS): Likewise.
1164 (libgcj_bc_la_LDFLAGS): Likewise.
1165 * Makefile.in: Regenerated.
1166
1167 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
1168 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
1169 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1170 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1171 * configure: Regenerated.
1172 * aclocal.m4: Likewise.
1173 * gcj/Makefile.in: Likewise.
1174 * include/Makefile.in: Likewise.
1175 * testsuite/Makefile.in: Likewise.
1176
1177 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1178
1179 * sysdep/sh/locks.h (read_barrier): New.
1180 (write_barrier): Likewise.
1181
1182 2007-01-12 Andrew Haley <aph@redhat.com>
1183
1184 * include/i386-signal.h: Rewrite to use rt_sigaction.
1185
1186 2007-01-11 Andrew Haley <aph@redhat.com>
1187
1188 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1189 to char*.
1190 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1191 aliasing violation.
1192
1193 2007-01-10 Tom Tromey <tromey@redhat.com>
1194
1195 * gnu/gcj/xlib/*.h: New files.
1196 * gnu/awt/xlib/*.h: Likewise.
1197 * classpath/lib/gnu/gcj/xlib: New class files.
1198 * classpath/lib/gnu/awt/xlib: Likewise.
1199
1200 2007-01-10 Tom Tromey <tromey@redhat.com>
1201
1202 * HACKING: Various updates.
1203
1204 2007-01-10 Tom Tromey <tromey@redhat.com>
1205
1206 * java/lang/natDouble.cc (toString): Added parens.
1207 * gnu/gcj/io/shs.h (PROTO): Define.
1208 * link.cc (resolve_pool_entry): Added missing braces.
1209
1210 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 PR libgcj/30424
1213 * sysdep/ia64/locks.h (read_barrier): New.
1214 (write_barrier): New.
1215
1216 2007-01-10 Gary Benson <gbenson@redhat.com>
1217
1218 * java/net/URL.java: Removed.
1219 * sources.am, Makefile.in: Rebuilt.
1220
1221 2007-01-10 Matthias Klose <doko@debian.org>
1222
1223 * Makefile.am (install-exec-hook): Support $(DESTDIR).
1224 * Makefile.in: Regenerated.
1225
1226 2007-01-05 Tom Tromey <tromey@redhat.com>
1227
1228 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1229 dummy.class in srcdir.
1230
1231 2007-01-03 Tom Tromey <tromey@redhat.com>
1232
1233 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1234 for srcdir.
1235
1236 2007-01-03 Tom Tromey <tromey@redhat.com>
1237
1238 * testsuite/*: Added many .jar and .h files.
1239 * testsuite/libjava.special/special.exp
1240 (gcj_special_try_compiler): New proc.
1241 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1242 bytecompile source. Search for .jar files.
1243 (gcj_loader_test_one): Don't look for MyLoader.java.
1244 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1245 bytecompile sources or build headers.
1246 (gcj_jvmti_run): Look for .jar files.
1247 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1248 files.
1249 (gcj_jni_test_one): Don't bytecompile sources or build headers.
1250 Set classpath when invoking gij.
1251 (gcj_jni_invocation_test_one): Likewise.
1252 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1253 headers or bytecompile sources.
1254 (gcj_cni_run): Use .jar files, not .java files.
1255 * testsuite/libjava.lang/lang.exp: Compile .jar files.
1256
1257 2007-01-02 Tom Tromey <tromey@redhat.com>
1258
1259 * configure: Rebuilt.
1260 * configure.ac: Check for gjar.
1261
1262 2007-01-02 Tom Tromey <tromey@redhat.com>
1263
1264 * testsuite/libjava.jacks/jacks.exp: Removed.
1265 * testsuite/libjava.jacks/jacks.xfail: Removed.
1266
This page took 0.0914 seconds and 6 git commands to generate.