aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2007-03-13java-interp.h (_Jv_InterpClass): Declare friend function ↵Keith Seitz5-2/+27
_Jv_GetInterpClassSourceFile. * include/java-interp.h (_Jv_InterpClass): Declare friend function _Jv_GetInterpClassSourceFile. * java/lang/Class.h (Class): Likewise. * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile): New function. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Implement. From-SVN: r122882
2007-03-13Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.Thomas Fitzsimmons101-7/+3254
2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE. * classpath/configure.ac: Add --with-ecj-jar configure option. * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New field. * classpath/INSTALL: Document --with-ecj-jar configure option and ecj jar requirement for com.sun.tools.javac support. * classpath/tools/Makefile.am: Build decendents of com and sun directories. * configure.ac: Substitute ECJ_JAR in stub Configuration.java. * gnu/classpath/Configuration.java, gnu/classpath/natConfiguration.cc (ecj): New method. (ECJ_JAR): New field. * scripts/makemake.tcl (scan_packages): Add com directory. * sources.am (property_files): Add classpath/resource/sun/rmi/rmic/messages.properties and classpath/resource/com/sun/tools/javac/messages.properties. * classpath/resource/com, classpath/resource/com/sun, classpath/resource/com/sun/tools, classpath/resource/com/sun/tools/javac, classpath/resource/sun, classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic, classpath/tools/classes/com, classpath/tools/classes/com/sun, classpath/tools/classes/com/sun/javadoc, classpath/tools/classes/com/sun/tools, classpath/tools/classes/com/sun/tools/doclets, classpath/tools/classes/sun, classpath/tools/classes/sun/rmi, classpath/tools/classes/sun/rmi/rmic, classpath/tools/com, classpath/tools/com/sun, classpath/tools/com/sun/javadoc, classpath/tools/com/sun/tools, classpath/tools/com/sun/tools/doclets, classpath/tools/com/sun/tools/javac, classpath/tools/sun, classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New directories. * classpath/resource/com/sun/tools/javac/messages.properties, classpath/resource/sun/rmi/rmic/messages.properties, classpath/tools/classes/com/sun/javadoc/ClassDoc.class, classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class, classpath/tools/classes/com/sun/javadoc/Doc.class, classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class, classpath/tools/classes/com/sun/javadoc/Doclet.class, classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class, classpath/tools/classes/com/sun/javadoc/FieldDoc.class, classpath/tools/classes/com/sun/javadoc/MemberDoc.class, classpath/tools/classes/com/sun/javadoc/MethodDoc.class, classpath/tools/classes/com/sun/javadoc/PackageDoc.class, classpath/tools/classes/com/sun/javadoc/ParamTag.class, classpath/tools/classes/com/sun/javadoc/Parameter.class, classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class, classpath/tools/classes/com/sun/javadoc/RootDoc.class, classpath/tools/classes/com/sun/javadoc/SeeTag.class, classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class, classpath/tools/classes/com/sun/javadoc/SourcePosition.class, classpath/tools/classes/com/sun/javadoc/Tag.class, classpath/tools/classes/com/sun/javadoc/ThrowsTag.class, classpath/tools/classes/com/sun/javadoc/Type.class, classpath/tools/classes/com/sun/javadoc/TypeVariable.class, classpath/tools/classes/com/sun/tools/doclets/Taglet.class, classpath/tools/classes/sun/rmi/rmic/Main.class, classpath/tools/classes/sun/rmi/rmic/Messages.class, classpath/tools/com/sun/javadoc/ClassDoc.java, classpath/tools/com/sun/javadoc/ConstructorDoc.java, classpath/tools/com/sun/javadoc/Doc.java, classpath/tools/com/sun/javadoc/DocErrorReporter.java, classpath/tools/com/sun/javadoc/Doclet.java, classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java, classpath/tools/com/sun/javadoc/FieldDoc.java, classpath/tools/com/sun/javadoc/MemberDoc.java, classpath/tools/com/sun/javadoc/MethodDoc.java, classpath/tools/com/sun/javadoc/PackageDoc.java, classpath/tools/com/sun/javadoc/ParamTag.java, classpath/tools/com/sun/javadoc/Parameter.java, classpath/tools/com/sun/javadoc/ProgramElementDoc.java, classpath/tools/com/sun/javadoc/RootDoc.java, classpath/tools/com/sun/javadoc/SeeTag.java, classpath/tools/com/sun/javadoc/SerialFieldTag.java, classpath/tools/com/sun/javadoc/SourcePosition.java, classpath/tools/com/sun/javadoc/Tag.java, classpath/tools/com/sun/javadoc/ThrowsTag.java, classpath/tools/com/sun/javadoc/Type.java, classpath/tools/com/sun/javadoc/TypeVariable.java, classpath/tools/com/sun/tools/doclets/Taglet.java, classpath/tools/com/sun/tools/javac/Main.java, classpath/tools/com/sun/tools/javac/Messages.java, classpath/tools/sun/rmi/rmic/Main.java, classpath/tools/sun/rmi/rmic/Messages.java: New files. * Makefile.in, classpath/Makefile.in, classpath/configure, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/examples/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/include/Makefile.in, classpath/include/config.h.in, classpath/lib/Makefile.in, classpath/lib/gnu/classpath/Configuration.class, classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, configure, gnu/classpath/Configuration.h: Regenerate. From-SVN: r122876
2007-03-12jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a ↵Kyle Galloway1-1/+1
sigle slot. 2007-03-12 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot. From-SVN: r122864
2007-03-12jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a ↵Kyle Galloway2-1/+12
sigle slot. 2007-03-12 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count as a sigle slot. From-SVN: r122863
2007-03-12natString.cc (getBytes (jstring enc)): Fixed the loop for multiple cycles, ↵Marco Trudel2-8/+16
Code cleanup 2007-03-12 Marco Trudel <mtrudel@gmx.ch> * java/lang/natString.cc (getBytes (jstring enc)): Fixed the loop for multiple cycles, Code cleanup From-SVN: r122859
2007-03-09sources.am, [...]: Rebuilt.Tom Tromey4-16/+21
* sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl (scan_directory): Allow service files to be omitted. Omit all XML-related service files. From-SVN: r122764
2007-03-09re PR xml/30831 (Writing (transforming) XML fails)Gary Benson3-24/+34
2007-03-09 Gary Benson <gbenson@redhat.com> Chris Burdess <dog@gnu.org> PR classpath/30831 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document properties when reader is available. Co-Authored-By: Chris Burdess <dog@gnu.org> From-SVN: r122743
2007-03-08re PR xml/30983 (DocumentBuilder.parse throws exception)Gary Benson3-16/+7
2007-03-08 Gary Benson <gbenson@redhat.com> PR classpath/30983: * gnu/xml/dom/ls/DomLSParser.java (getInputSource): Do not use the entity resolver to resolve the top-level document. From-SVN: r122700
2007-03-07configure: Rebuilt.Tom Tromey3-2/+9
* configure: Rebuilt. * configure.ac: Clear vm-tools-packages. From-SVN: r122677
2007-03-07Win32Process.java: Added nested class EOFInputStream.Mohan Embar7-6/+60
* java/lang/Win32Process.java: Added nested class EOFInputStream. * 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. From-SVN: r122668
2007-03-07libgcj_bc.c (JvRunMainName): Declare.Andrew Haley2-0/+5
2007-03-07 Andrew Haley <aph@redhat.com> * libgcj_bc.c (JvRunMainName): Declare. From-SVN: r122663
2007-03-07org.w3c.dom.DOMImplementationSourceList: New file.Gary Benson5-0/+12
2007-03-07 Gary Benson <gbenson@redhat.com> * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: New file. 2007-03-07 Gary Benson <gbenson@redhat.com> * sources.am, Makefile.in: Rebuilt. From-SVN: r122661
2007-03-07* gcj/javaprims.h: Regenerated.Mohan Embar2-0/+5
From-SVN: r122660
2007-03-07ffi.h.in (ffi_closure_alloc, [...]): New.Alexandre Oliva16-50/+364
libffi/ChangeLog: * 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. From-SVN: r122652
2007-03-06AbsentInformationException.java: New file.Kyle Galloway7-7/+194
2007-03-06 Kyle Galloway <kgallowa@redhat.com> * 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. From-SVN: r122639
2007-03-06Makefile.am (gkeytool.pod): Don't use sed -i.Matthias Klose3-6/+11
2007-03-06 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am(gkeytool.pod): Don't use sed -i. * doc/Makefile.in: Regenerate. From-SVN: r122634
2007-03-06Makefile.in: Rebuilt.Tom Tromey28-14/+221
libjava * 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. From-SVN: r122631
2007-03-06jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.Kyle Galloway3-10/+18
2007-03-06 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters. * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc (do_getlocalvartable_tests): Add Deallocate calls to free strings. From-SVN: r122630
2007-03-05re PR classpath/31017 (gnu-classpath browser plugin does not compile against ↵Mario Torre3-28/+34
newest version of mozilla-firefox (2.0.0.2) or seamonkey (1.1.1)) 2007-03-02 Mario Torre <neugens@limasoftware.net> PR classpath/31017: committed for Petteri R<C3><83><C2><A4>ty <betelgeuse@gentoo.org> * configure.ac: fix broken build for gcj browser plugin From-SVN: r122580
2007-03-05Makefile.am (man_MANS): Add $(TOOLS_MANFILES).Matthias Klose3-13/+72
2007-03-05 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am(man_MANS): Add $(TOOLS_MANFILES). * doc/Makefile.in: Regenerate. From-SVN: r122573
2007-03-05Makefile.am (gij_LDFLAGS): Use dbexecdir.Matthias Klose3-2/+7
2007-03-05 Matthias Klose <doko@debian.org> * Makefile.am (gij_LDFLAGS): Use dbexecdir. * Makefile.in: Regnerate. From-SVN: r122564
2007-03-05Character.java: Re-merged with Classpath.Mark Wielaard22-246/+609
2007-03-05 Mark Wielaard <mark@klomp.org> * 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. From-SVN: r122560
2007-03-05natVMProxy.cc (ncode_closure.meth): Delete.Andrew Haley8-13/+83
2007-03-05 Andrew Haley <aph@redhat.com> * 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. From-SVN: r122554
2007-03-05sources.am, [...]: Rebuilt.Tom Tromey29-129/+235
* sources.am, Makefile.in: Rebuilt. * 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. From-SVN: r122553
2007-03-05Updating header files. Earlier change here seems to have been in error.Tom Tromey38-66/+66
From-SVN: r122550
2007-03-05natClass.cc (parseAnnotationElement): Correct long annotations to read ↵Andrew Haley2-1/+6
JV_CONSTANT_Long, not JV_CONSTANT_Double. 2007-03-03 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (parseAnnotationElement): Correct long annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double. From-SVN: r122545
2007-03-02AnnotationInvocationHandler.java: Generify in a few places.Andrew Haley1-3/+2
2007-03-02 Andrew Haley <aph@redhat.com> * 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. From-SVN: r122485
2007-03-02AnnotationInvocationHandler.java: Generify in a few places.Andrew Haley6-78/+138
2007-03-02 Andrew Haley <aph@redhat.com> * 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. From-SVN: r122483
2007-03-02AnnotationInvocationHandler.java: Whitespace only changes.Andrew Haley2-324/+334
2007-03-02 Andrew Haley <aph@redhat.com> * 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. From-SVN: r122471
2007-03-02AnnotationInvocationHandler.java: Moved from Classpath to libgcj local.Andrew Haley1-0/+396
2007-03-02 Andrew Haley <aph@redhat.com> * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved from Classpath to libgcj local. From-SVN: r122470
2007-03-01Makefile.am: Add dummy install-pdf target.Brooks Moses6-40/+38
* Makefile.am: Add dummy install-pdf target. * Makefile.in: Regenerate * include/Makefile.in: Regenerate * testsuite/Makefile.in: Regenerate * gcj/Makefile.in: Regenerate From-SVN: r122454
2007-02-26TimeZone.java (getDefaultDisplayName): Don't check if TimeZone is instanceof ↵Jakub Jelinek2-8/+6
SimpleTimeZone. * java/util/TimeZone.java (getDefaultDisplayName): Don't check if TimeZone is instanceof SimpleTimeZone. From-SVN: r122330
2007-02-23Main.java: Updated copyright year.Gary Benson2-1/+5
2007-02-23 Gary Benson <gbenson@redhat.com> * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year. From-SVN: r122261
2007-02-232007-02-23 Gary Benson <gbenson@redhat.com>Gary Benson1-0/+0
* java/lang/VMCompiler.java (compileClass): Don't lose zeros from within the digest. From-SVN: r122260
2007-02-232007-02-23 Gary Benson <gbenson@redhat.com>Gary Benson2-2/+12
* java/lang/VMCompiler.java (compileClass): Don't lose zeros from within the digest. From-SVN: r122259
2007-02-23re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)Jakub Jelinek11-0/+0
2007-02-22 Jakub Jelinek <jakub@redhat.com> 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. From-SVN: r122258
2007-02-22re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)Jakub Jelinek20-607/+1702
libjava/ 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. From-SVN: r122229
2007-02-22* include/win32-threads.h: Added #undef OUT.Mohan Embar2-0/+5
From-SVN: r122227
2007-02-21jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.Kyle Galloway7-1/+167
2007-02-21 Kyle Galloway <kgallowa@redhat.com> * 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. From-SVN: r122201
2007-02-21GregorianCalendar.java: Removed.Gary Benson6-1361/+7
2007-02-21 Gary Benson <gbenson@redhat.com> * java/util/GregorianCalendar.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r122198
2007-02-212007-02-21 Gary Benson <gbenson@redhat.com>Gary Benson2-1/+7
* java/util/GregorianCalendar.java, (add): Don't set fields directly anymore. Use set() From-SVN: r122197
2007-02-20Makefile.am: Add rules to build and install man pages from texinfo docs.Matthias Klose7-254/+1025
ChangeLog 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. From-SVN: r122170
2007-02-20MBeanServer.java: Updated.Gary Benson10-76/+96
2007-02-20 Gary Benson <gbenson@redhat.com> * javax/management/MBeanServer.java: Updated. * javax/management/MBeanServerConnection.java: Likewise. * javax/management/ObjectName.java: Likewise. * javax/management/StandardMBean.java: Likewise. From-SVN: r122165
2007-02-20* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-19/+26
(jdwpClassPrepareCB): Move class status stuff to ... (getClassStatus): ... here. From-SVN: r122164
2007-02-20XEventLoop.h: Regenerated.Gary Benson38-66/+112
2007-02-20 Gary Benson <gbenson@redhat.com> * 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. From-SVN: r122161
2007-02-17* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-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. From-SVN: r122065
2007-02-16Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter ↵David Daney10-8/+55
constructor. * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass 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. From-SVN: r122054
2007-02-16re PR classpath/28652 (JBoss fails to start due class cast exception in the ↵Edwin Steiner3-16/+15
management classes) 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net> PR classpath/28652: * javax/management/MBeanInfo.java (MBeanInfo): Use clone to duplicate the arrays in order to preserve the array type. From-SVN: r122050
2007-02-16interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot variables to ↵Kyle Galloway4-57/+338
maintain type info. 2007-02-16 Kyle Galloway <kgallowa@redhat.com> * 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. From-SVN: r122048
2007-02-162007-02-16 Gary Benson <gbenson@redhat.com>Gary Benson5-1/+11
* gnu/gcj/tools/gcj_dbtool/Main.java (bytesToString): Don't lose zeros from within the digest. From-SVN: r122045