summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* 2007-03-09 Gary Benson <gbenson@redhat.com>gary2007-03-093-24/+34
| | | | | | | | | | | | Chris Burdess <dog@gnu.org> PR classpath/30831 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document properties when reader is available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-08 Gary Benson <gbenson@redhat.com>gary2007-03-083-16/+7
| | | | | | | | | | PR classpath/30983: * gnu/xml/dom/ls/DomLSParser.java (getInputSource): Do not use the entity resolver to resolve the top-level document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122700 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2007-03-073-2/+9
| | | | | | * configure.ac: Clear vm-tools-packages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122677 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Win32Process.java: Added nested class EOFInputStream.membar2007-03-077-6/+60
| | | | | | | | | | | | | * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY enum and implementation. (startProcess): Use redirect flag. * classpath/lib/java/lang/Win32Process.class: Regenerated. * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. * gcj/javaprims.h: Regenerated. * java/lang/Win32Process$EOFInputStream.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122668 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-07 Andrew Haley <aph@redhat.com>aph2007-03-072-0/+5
| | | | | | | | * libgcj_bc.c (JvRunMainName): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122663 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-07 Gary Benson <gbenson@redhat.com>gary2007-03-075-0/+12
| | | | | | | | | | | | | * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: New file. 2007-03-07 Gary Benson <gbenson@redhat.com> * sources.am, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122661 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj/javaprims.h: Regenerated.membar2007-03-072-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122660 138bc75d-0d04-0410-961f-82ee72b054a4
* libffi/ChangeLog:aoliva2007-03-0716-50/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New. (ffi_prep_closure_loc): New. (ffi_prep_raw_closure_loc): New. (ffi_prep_java_raw_closure_loc): New. * src/closures.c: New file. * src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment): Replace sflags with exec_offset. [FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset, sub_segment_exec_offset): New macros. (get_segment_flags, set_segment_flags, check_segment_merge): New macros. (is_mmapped_segment, is_extern_segment): Use get_segment_flags. (add_segment, sys_alloc, create_mspace, create_mspace_with_base, destroy_mspace): Use new macros. (sys_alloc): Silence warning. * Makefile.am (libffi_la_SOURCES): Add src/closures.c. * Makefile.in: Rebuilt. * src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in terms of ffi_prep_closure_loc. * src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted from... (ffi_prep_raw_closure): ... this. Re-implement in terms of the renamed version. * src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and adjusted from... (ffi_prep_java_raw_closure): ... this. Re-implement in terms of the renamed version. * src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from (ffi_prep_closure): ... this. * src/pa/ffi.c: Likewise. * src/cris/ffi.c: Likewise. Adjust. * src/frv/ffi.c: Likewise. * src/ia64/ffi.c: Likewise. * src/mips/ffi.c: Likewise. * src/powerpc/ffi_darwin.c: Likewise. * src/s390/ffi.c: Likewise. * src/sh/ffi.c: Likewise. * src/sh64/ffi.c: Likewise. * src/sparc/ffi.c: Likewise. * src/x86/ffi64.c: Likewise. * src/x86/ffi.c: Likewise. (FFI_INIT_TRAMPOLINE): Adjust. (ffi_prep_raw_closure_loc): Renamed and adjusted from... (ffi_prep_raw_closure): ... this. * src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from (ffi_prep_closure): ... this. (flush_icache): Adjust. boehm-gc/ChangeLog: * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New. (GC_register_finalizer_unreachable): Declare. (GC_debug_register_finalizer_unreachable): Declare. * finalize.c (GC_unreachable_finalize_mark_proc): New. (GC_register_finalizer_unreachable): New. (GC_finalize): Handle it. * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New. (GC_debug_register_finalizer_no_order): Fix whitespace. libjava/ChangeLog: * include/jvm.h (_Jv_ClosureListFinalizer): New. (_Jv_Linker::create_error_method): Adjust. * boehm.cc (_Jv_ClosureListFinalizer): New. * nogc.cc (_Jv_ClosureListFinalizer): New. * java/lang/Class.h (class _Jv_ClosureList): New. (class java::lang::Class): Declare it as friend. * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New. (_Jv_ClosureList::registerClousure): New. * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list. (_Jv_CompiledEngine::do_get_closure_list): New. (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it. (_Jv_IndirectCompiledClass): Add closures. (_Jv_IndirectCompiledEngine::get_aux_info): New. (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use it. (_Jv_IndirectCompiledEngine::do_get_closure_list): New. (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it. (_Jv_InterpreterEngine::do_get_closure_list): Declare. (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it. * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants. (node_closure): Add closure list. (_Jv_InterpMethod::ncode): Add jclass argument. Use ffi_closure_alloc and the separate code pointer. Register the closure for finalization. (_Jv_JNIMethod::ncode): Likewise. (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode. (_Jv_InterpreterEngine::do_get_closure_list): New. * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust. (_Jv_InterpClass): Add closures field. (_Jv_JNIMethod::ncode): Adjust. * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust. (_Jv_ClassReader::handleMethodsEnd): Likewise. * link.cc (struct method_closure): Add closure list. (_Jv_Linker::create_error_method): Add jclass argument. Use ffi_closure_alloc and the separate code pointer. Register the closure for finalization. (_Jv_Linker::link_symbol_table): Remove outdated comment about sharing of otable and atable. Adjust. * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure list. (ncode): Add jclass argument. Use ffi_closure_alloc and the separate code pointer. Register the closure for finalization. (java::lang::reflect::VMProxy::generateProxyClass): Adjust. * testsuite/libjava.jar/TestClosureGC.java: New. * testsuite/libjava.jar/TestClosureGC.out: New. * testsuite/libjava.jar/TestClosureGC.xfail: New. * testsuite/libjava.jar/TestClosureGC.jar: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122652 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-06 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-03-067-7/+194
| | | | | | | | | | | | | * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto. * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto. * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro. (VMMethod::getLineTable): Use new macro. (VMMethod::getVariableTable): Implement. * sources.am: Regenerated. * Makefile.in: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122639 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-06 Matthias Klose <doko@ubuntu.com>doko2007-03-063-6/+11
| | | | | | | | * doc/Makefile.am(gkeytool.pod): Don't use sed -i. * doc/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122634 138bc75d-0d04-0410-961f-82ee72b054a4
* libjavatromey2007-03-0628-14/+221
| | | | | | | | | | | | | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (bin_PROGRAMS): Added gcjh. (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD, gcjh_DEPENDENCIES): New variables. libjava/classpath * tools/gnu/classpath/tools/javah/Main.java (getName): New method. (getParser): Now protected. Use getName. Add '-v' alias for --verbose. (postParse): New method. (run): Now protected. Use postParse. * tools/gnu/classpath/tools/javah/GcjhMain.java: New file. * tools/Makefile.in: Rebuilt. * tools/Makefile.am: Remove vm-tools.lst before creating it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122631 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-06 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-03-063-10/+18
| | | | | | | | | | * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc (do_getlocalvartable_tests): Add Deallocate calls to free strings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122630 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-02 Mario Torre <neugens@limasoftware.net>doko2007-03-053-28/+34
| | | | | | | | | PR classpath/31017: committed for Petteri R<C3><83><C2><A4>ty <betelgeuse@gentoo.org> * configure.ac: fix broken build for gcj browser plugin git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122580 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-05 Matthias Klose <doko@ubuntu.com>doko2007-03-053-13/+72
| | | | | | | | * doc/Makefile.am(man_MANS): Add $(TOOLS_MANFILES). * doc/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122573 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-05 Matthias Klose <doko@debian.org>doko2007-03-053-2/+7
| | | | | | | | * Makefile.am (gij_LDFLAGS): Use dbexecdir. * Makefile.in: Regnerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122564 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-05 Mark Wielaard <mark@klomp.org>tromey2007-03-0522-246/+609
| | | | | | | | | | | | | * java/lang/Character.java: Re-merged with Classpath. * java/lang/natString.cc (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuilder.java: Re-merged with Classpath. * java/lang/String.java: Re-merged with Classpath. (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuffer.java: Re-merged with Classpath. * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122560 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-05 Andrew Haley <aph@redhat.com>aph2007-03-058-13/+83
| | | | | | | | | | | | | | | | | * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete. (generateProxyClass): Don't pass method to ncode. (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method. * java/lang/reflect/Method.h: Rebuild. * java/lang/reflect/Method.java (internalGetParameterTypes, internalGetExceptionTypes): New methods. * headers.txt (class java/lang/reflect/Method): Declare _Jv_GetReflectedMethod. Be its friend. * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method. * java/lang/Class.h: Declare it. Be its friend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122554 138bc75d-0d04-0410-961f-82ee72b054a4
* * sources.am, Makefile.in: Rebuilt.tromey2007-03-0529-129/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/makemake.tcl (emit_package_rule): Don't omit VMProcess.java. * Makefile.am (nat_source_files): Added natVMProcess.cc. (inner_nat_headers): Added ImmediateEOFInputStream.h. * gcj/javaprims.h: Regenerated. * java/lang/System.java (EnvironmentMap): Now package-private. (EnvironmentMap(Map)): New constructor. (EnvironmentMap.put): New method. * java/lang/natWin32Process.cc (startProcess): Update. * java/lang/Win32Process.java (Win32Process): Added 'redirect' argument. (startProcess): Likewise. * java/lang/EcosProcess.java (EcosProcess): Added 'redirect' argument. * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection. * java/lang/PosixProcess.java (redirect): New field. (PosixProcess): Added 'redirect' argument. * java/lang/natRuntime.cc (execInternal): Added 'redirect' argument to Process creation. * java/lang/natVMProcess.cc: New file. * java/lang/ProcessBuilder.java: Removed. * java/lang/VMProcess.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122553 138bc75d-0d04-0410-961f-82ee72b054a4
* Updating header files. Earlier change here seems to have been in error.tromey2007-03-0538-66/+66
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122550 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-03 Andrew Haley <aph@redhat.com>aph2007-03-052-1/+6
| | | | | | | | | * java/lang/natClass.cc (parseAnnotationElement): Correct long annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122545 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-02 Andrew Haley <aph@redhat.com>aph2007-03-021-3/+2
| | | | | | | | | | | | | | | | | | | * sun/reflect/annotation/AnnotationInvocationHandler.java: Generify in a few places. (equals): Rewrite to use invoke on local proxy. (deepToString): Remove most of it. (toString): Make nonstatic. (arrayClone): Delete. (coerce): New method. (invoke): Rewrite to handle gcj's structures correctly. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for null loader. * sources.am: Regenerate. * Makefile.am: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122485 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-02 Andrew Haley <aph@redhat.com>aph2007-03-026-78/+138
| | | | | | | | | | | | | | | | | | | * sun/reflect/annotation/AnnotationInvocationHandler.java: Generify in a few places. (equals): Rewrite to use invoke on local proxy. (deepToString): Remove most of it. (toString): Make nonstatic. (arrayClone): Delete. (coerce): New method. (invoke): Rewrite to handle gcj's structures correctly. * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for null loader. * sources.am: Regenerate. * Makefile.am: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122483 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-02 Andrew Haley <aph@redhat.com>aph2007-03-022-324/+334
| | | | | | | | | | | | | | * sun/reflect/annotation/AnnotationInvocationHandler.java: Whitespace only changes. 2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved from Classpath to libgcj local. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122471 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-02 Andrew Haley <aph@redhat.com>aph2007-03-021-0/+396
| | | | | | | | | * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved from Classpath to libgcj local. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122470 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add dummy install-pdf target.brooks2007-03-026-40/+38
| | | | | | | | | | * Makefile.in: Regenerate * include/Makefile.in: Regenerate * testsuite/Makefile.in: Regenerate * gcj/Makefile.in: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122454 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TimeZone.java (getDefaultDisplayName): Don'tjakub2007-02-262-8/+6
| | | | | | | check if TimeZone is instanceof SimpleTimeZone. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122330 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-23 Gary Benson <gbenson@redhat.com>gary2007-02-232-1/+5
| | | | | | | | * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122261 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-23 Gary Benson <gbenson@redhat.com>gary2007-02-231-0/+0
| | | | | | | | | * java/lang/VMCompiler.java (compileClass): Don't lose zeros from within the digest. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122260 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-23 Gary Benson <gbenson@redhat.com>gary2007-02-232-2/+12
| | | | | | | | | * java/lang/VMCompiler.java (compileClass): Don't lose zeros from within the digest. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122259 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-22 Jakub Jelinek <jakub@redhat.com>gary2007-02-2311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | PR libgcj/17002 PR classpath/28550 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read /etc/localtime, use ZoneInfo.readTZFile instead of VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, either if it is a symlink or through /etc/sysconfig/clock. (readSysconfigClockFile): New static method. (readtzFile): Removed. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. * posix.cc (_Jv_platform_initProperties): Set gnu.java.util.zoneinfo.dir. * sources.am (gnu_java_util_source_files): Add classpath/gnu/java/util/ZoneInfo.java. * Makefile.in: Regenerated. * java/util/VMTimeZone.h: Regenerated. * java/util/TimeZone.h: Regenerated. * gnu/java/util/ZoneInfo.h: Generated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122258 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava/jakub2007-02-2220-607/+1702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libgcj/17002 PR classpath/28550 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read /etc/localtime, use ZoneInfo.readTZFile instead of VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, either if it is a symlink or through /etc/sysconfig/clock. (readSysconfigClockFile): New static method. (readtzFile): Removed. * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. * posix.cc (_Jv_platform_initProperties): Set gnu.java.util.zoneinfo.dir. * sources.am (gnu_java_util_source_files): Add classpath/gnu/java/util/ZoneInfo.java. * Makefile.in: Regenerated. * java/util/VMTimeZone.h: Regenerated. * java/util/TimeZone.h: Regenerated. * gnu/java/util/ZoneInfo.h: Generated. libjava/classpath/ * java/util/Date.java (parse): Properly parse 09:01:02 as hours/minutes/seconds, not as hours/minutes/year. * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify {start,end}TimeMode constructor by calling shorter constructor, set {start,end}TimeMode fields after it returns. (setStartRule): Don't adjust startTime into WALL_TIME. Set startTimeMode to WALL_TIME. (endStartRule): Similarly. (getOffset): Handle properly millis + dstOffset overflowing into the next day. Adjust startTime resp. endTime based on startTimeMode resp. endTimeMode. * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New static fields. (timezones): Remove synchronized keyword. Set zoneinfo_dir. If non-null, set up aliases0 and don't put anything into timezones0. (defaultZone): Call getTimeZone instead of timezones().get. (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use getTimeZoneInternal instead of timezones().get. (parseTime): Parse correctly hour:minute. (getTimeZoneInternal): New private method. (getTimeZone): Do the custom ID checking first, canonicalize ID for custom IDs as required by documentation. Call getTimeZoneInternal to handle the rest. (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null. (getAvailableIDs(File,String,ArrayList)): New private method. (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null. * gnu/java/util/ZoneInfo.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122229 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/win32-threads.h: Added #undef OUT.membar2007-02-222-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122227 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-21 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-217-1/+167
| | | | | | | | | | | | | * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function. * testsuite/libjava.jvmti/interp/getargssize.java: New test. * testsuite/libjava.jvmti/interp/getargssize.h: Ditto. * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto. * testsuite/libjava.jvmti/interp/getargssize.out: Ditto. * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122201 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-21 Gary Benson <gbenson@redhat.com>gary2007-02-216-1361/+7
| | | | | | | | | * java/util/GregorianCalendar.java: Removed. * sources.am, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122198 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-21 Gary Benson <gbenson@redhat.com>gary2007-02-212-1/+7
| | | | | | | | | * java/util/GregorianCalendar.java, (add): Don't set fields directly anymore. Use set() git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122197 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLogdoko2007-02-207-254/+1025
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-20 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am: Add rules to build and install man pages from texinfo docs. * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo: Rename, prefix files with "cp-". * doc/cp-tools.texinfo: Add markup for man page generation, add documentation for command line options for gjar, gjavah, gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv. doc/texi2pod.pl: New, taken from the GCC sources. ChangeLog.gcj 2007-02-20 Matthias Klose <doko@ubuntu.com> * Merge doc update from classpath HEAD. * doc/texi2pod.pl: Not imported. * doc/Makefile.am: Use GCC's texi2pod.pl * doc/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122170 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-20 Gary Benson <gbenson@redhat.com>gary2007-02-2010-76/+96
| | | | | | | | | | | * javax/management/MBeanServer.java: Updated. * javax/management/MBeanServerConnection.java: Likewise. * javax/management/ObjectName.java: Likewise. * javax/management/StandardMBean.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122165 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-202-19/+26
| | | | | | | | (jdwpClassPrepareCB): Move class status stuff to ... (getClassStatus): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122164 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-20 Gary Benson <gbenson@redhat.com>gary2007-02-2038-66/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/awt/xlib/XEventLoop.h: Regenerated. * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise. * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h: Likewise. * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise. * java/lang/SecurityManager.h: Likewise. * java/lang/Thread.h: Likewise. * java/security/VMSecureRandom$Spinner.h: Likewise. * java/util/concurrent/atomic/AtomicBoolean.h: Likewise. * java/util/concurrent/atomic/AtomicInteger.h: Likewise. * java/util/concurrent/atomic/AtomicLong.h: Likewise. * java/util/concurrent/atomic/AtomicReference.h: Likewise. * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise. * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise. * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise. * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise. * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise. * java/util/concurrent/Exchanger.h: Likewise. * java/util/concurrent/Exchanger$Node.h: Likewise. * java/util/concurrent/FutureTask$Sync.h: Likewise. * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h: Likewise. * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: Likewise. * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise. * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h: Likewise. * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise. * java/util/concurrent/SynchronousQueue.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise. * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h: Likewise. * java/util/concurrent/ThreadPoolExecutor.h: Likewise. * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise. * java/util/logging/ErrorManager.h: Likewise. * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise. * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122161 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cckseitz2007-02-172-0/+184
| | | | | | | | | | | (get_line_table): New function. (handle_single_step): New function. (jdwpSingleStepCB): New function. (jdwpVMInitCB): Define a JVMTI single step callback, but don't enable it until needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122065 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Passdaney2007-02-1610-8/+55
| | | | | | | | | | | | | | | | | | | | | | | new parameter constructor. (Thread(ThreadGroup, Runnable, String, long)): Same. (Thread(String, boolean)): New constructor. (Thread(Thread, ThreadGroup, Runnable, String): Add parameter noInheritableThreadLocal, don't call InheritableThreadLocal.newChildThread if set. * java/lang/PosixProcess.java(ProcessManager()): Set noInheritableThreadLocal in super. * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new parameter to Thread constructor. (_Jv_AttachCurrentThreadAsDaemon): Same. * java/lang/Thread.h: Regenerate. * classpath/lib/java/lang/Thread.class: Same. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same. * classpath/lib/java/lang/PosixProcess.class: Same. * classpath/lib/java/lang/Thread$State.class: Same. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122054 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>tromey2007-02-163-16/+15
| | | | | | | | | PR classpath/28652: * javax/management/MBeanInfo.java (MBeanInfo): Use clone to duplicate the arrays in order to preserve the array type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122050 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-16 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-164-57/+338
| | | | | | | | | | | | | | | | | | | | | * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot variables to maintain type info. * interpret-run.cc: Add local variable info to frame in the debug interpreter. * jvmti.cc (getLocalFrame): New method. (_Jv_JVMTI_GetLocalObject): New method. (_Jv_JVMTI_GetLocallInt): New method. (_Jv_JVMTI_GetLocalFloat): New method. (_Jv_JVMTI_GetLocalLong): New method. (_Jv_JVMTI_GetLocalDouble): New method. (_Jv_JVMTI_SetLocalObject): New method. (_Jv_JVMTI_SetLocalInt): New method. (_Jv_JVMTI_SetLocalFloat): New method. (_Jv_JVMTI_SetLocalLong): New method. (_Jv_JVMTI_SetLocalDouble): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122048 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-16 Gary Benson <gbenson@redhat.com>gary2007-02-165-1/+11
| | | | | | | | | * gnu/gcj/tools/gcj_dbtool/Main.java (bytesToString): Don't lose zeros from within the digest. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122045 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-15 Andrew Haley <aph@redhat.com>aph2007-02-1620-185/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (nat_source_files): Remove java/lang/management/natVMManagementFactory.cc. * java/lang/Thread.java (getStackTrace): Use reflection to call the ManagementFactory. * java/lang/management/VMManagementFactory.java: Remove native methods. * java/lang/management/natVMManagementFactory.cc: Deleted. * sources.am: Regnerate. * scripts/makemake.tcl: Add new "bcheaders" type. Move java/lang/management and gnu/classpath/management to "bc". Move gnu/java/lang/management to "bcheaders". 2007-02-16 Andrew Haley <aph@redhat.com> * gnu/java/lang/management/MemoryMXBeanImpl.java, javax/management/MBeanServerDelegate.java: Use gnu.javax.management.ListenerData rather than gnu.classpath.ListenerData. * gnu/javax/management/ListenerData.java: Move here from gnu/classpath/ListenerData.java. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122041 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-15 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-1614-60/+345
| | | | | | | | | | | | | | | | | | | * interpret.cc (_Jv_InterpMethod::check_handler): New method. * interpret-run.cc: Change the catch section to report exception events and to use the new check_handler method. * include/java-interp.h (_Jv_InterpMethod): Add check_handler. * gnu/gcj/jvmti/ExceptionEvent.java: New file. * gnu/gcj/jvmti/ExceptionEvent.h: New file. * gnu/gcj/jvmti/natExceptionEvent.cc: New file. * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New file. * sources.am: Added ExceptionEvent.java. * Makefile.am: Added natExceptionEvent.cc * Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122019 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:daney2007-02-1548-34/+2680
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-15 David Daney <ddaney@avtrex.com> * Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1. (java.maintainer-clean):Add gc-analyze.1. (.INTERMEDIATE): Add gc-analyze.pod. (gc-analyze.pod): New rule. (java.install-man): Install gc-analyze.1 * gcj.texi: Add new section for the gc-analyze program. libjava: 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com> David Daney <ddaney@avtrex.com> * configure.ac: Create vm-tools-packages file. Add gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages. Check for /proc/self/maps. * Makefile.am (bin_PROGRAMS): Added gc-analyze. (gc_analyze_SOURCES): New. (gc_analyze_LDFLAGS): New. (gc_analyze_LINK): New. (gc_analyze_LDADD): New. (gc_analyze_DEPENDENCIES): New. (nat_source_files): Add gnu/gcj/util/natGCInfo.cc. * Makefile.in: Regenerated. * configure: Regenerated. * include/config.h.in: Regenerated. * sources.am: Regenerated. * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj. * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New. * gnu/gcj/tools/gc_analyze/ObjectMap.java: New. * gnu/gcj/tools/gc_analyze/MemoryMap.java: New. * gnu/gcj/tools/gc_analyze/SymbolTable.java: New. * gnu/gcj/tools/gc_analyze/BlockMap.java: New. * gnu/gcj/tools/gc_analyze/BytePtr.java: New. * gnu/gcj/tools/gc_analyze/ItemList.java: New. * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New. * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New. * gnu/gcj/util/GCInfo.java: New. * gnu/gcj/util/GCInfo.h: New. * gnu/gcj/util/natGCInfo.cc: New. * gnu/gcj/util/UtilPermission.java: New. * gnu/gcj/util/UtilPermission.h: New. * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New. * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New. * classpath/lib/gnu/gcj/util/GCInfo.class: New. * classpath/lib/gnu/gcj/util/UtilPermission.class: New. libjava/classpath: 2007-02-15 David Daney <ddaney@avtrex.com> * tools/Makefile.am (TOOLS_ZIP): Add classes from vm-tools-packages. * tools/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122007 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/net/PlainSocketImpl.h: Regenerate.daney2007-02-156-48/+60
| | | | | | | | | | * gnu/classpath/jdwp/VMVirtualMachine.h: Same. * gnu/classpath/jdwp/VMFrame.h: Same. * java/net/Socket.h: Same. * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122006 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-15 Gary Benson <gbenson@redhat.com>gary2007-02-159-18/+30
| | | | | | | | | | | * javax/management/AttributeList.java: Updated. * javax/management/MBeanServerDelegate.java: Likewise. * javax/management/MBeanServerFactory.java: Likewise. * javax/management/StandardMBean.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122004 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-02-15 Kyle Galloway <kgallowa@redhat.com>kgallowa2007-02-155-3/+202
| | | | | | | | | | | | | | | | | | | | * defineclass.cc (_Jv_ClassReader::read_one_code_attribute): Added LocalVariableTable attribute handling. (_Jv_ClassReader::pool_Utf8_to_char_arr): New method. * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method. * include/java-interp.h: Added local_var_table and local_var_table_len fields to _Jv_InterpMethod. (_Jv_InterpMethod::get_local_var_table): New method. * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test. * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test. * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output for new test. * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121999 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud