aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2006-06-07makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-qt.lo.Thomas Fitzsimmons15-4697/+3895
2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-qt.lo. * configure.ac (QT_AWT): Remove conditional. Do not add gnu/java/awt/peer/qt to standard.omit. * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so in GCJ's versioned library directory. * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load libqtpeer.so unconditionally. * gij.cc (main): Do not re-exec gij. * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic. (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory when linking gij. From-SVN: r114473
2006-06-06gcj.texi (libgcj Runtime Properties): Document ↵David Daney3-2/+38
gnu.gcj.runtime.NameFinder.show_raw and... 2006-06-05 David Daney <ddaney@avtrex.com> * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.runtime.NameFinder.show_raw and gnu.gcj.runtime.NameFinder.remove_unknown. 2006-06-05 David Daney <ddaney@avtrex.com> * gnu/gcj/runtime/NameFinder.java (show_raw): New field. (showRaw): New method. * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h. (getLineNumberForFrame): Show IP offset in trace if line number not available and show_raw true. From-SVN: r114437
2006-06-06natFilePosix.cc (getCanonicalPath): Rewritten.Gary Benson6-78/+163
* java/io/natFilePosix.cc (getCanonicalPath): Rewritten. * configure.ac: Remove realpath check and add checks for lstat and readlink. * configure: Rebuilt. * include/config.h.in: Likewise. * java/io/File.java: Javadoc fix. From-SVN: r114434
2006-06-05re PR libgcj/27860 (build failure on m68k: error: 'ffi_closure' does not ↵Andreas Schwab2-3/+8
name a type) PR libgcj/27860 * link.cc: Check for closure support in libffi with FFI_CLOSURES. From-SVN: r114411
2006-06-05re PR libgcj/27892 (gij.cc:104: error: 'setenv' was not declared in this scope)Tom Tromey2-1/+11
PR libgcj/27892: * gij.cc (main): Use putenv. From-SVN: r114410
2006-06-05re PR bootstrap/27818 (libjava installs libltdl sources in ↵Tom Tromey3-5/+15
$prefix/share/libtool) PR gcc/27818: * Makefile.in: Rebuilt. * Makefile.am (install-data-local): Define conditionally. From-SVN: r114389
2006-06-03jar.in: Ensure return with argument has non-empty argument.Paolo Bonzini2-1/+6
2006-06-03 Paolo Bonzini <bonzini@gnu.org> * scripts/jar.in: Ensure return with argument has non-empty argument. From-SVN: r114341
2006-06-01install.texi: Document that InfoZIP can replace jar.Paolo Bonzini9-3777/+5234
gcc: 2006-06-01 Paolo Bonzini <bonzini@gnu.org> * doc/install.texi: Document that InfoZIP can replace jar. libjava: 2006-06-01 Paolo Bonzini <bonzini@gnu.org> * configure.ac (ZIP, UNZIP): New programs. (JAR): Fall back to bash script. Generate it. (BASH_JAR): New conditional. * Makefile.am (bin_SCRIPTS): New. * jar.in: New file. From-SVN: r114304
2006-06-01MainThread (run): Revert exception chaining change.Bryce McKinlay2-0/+5
2006-06-01 Bryce McKinlay <mckinlay@redhat.com> * gnu/java/lang/MainThread (run): Revert exception chaining change. From-SVN: r114303
2006-06-01prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class name, not ↵Bryce McKinlay3-4/+14
Latin1. 2006-05-31 Bryce McKinlay <mckinlay@redhat.com> * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class name, not Latin1. * gnu/java/lang/MainThread.java (run): Allow file separator char to be used in place of '.' as class-name separator. Don't chain ClassNotFoundException. From-SVN: r114300
2006-05-31VMClassLoader.java (initialize): Set default library control to LIB_NEVER.Thomas Fitzsimmons2-1/+6
2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com> * java/lang/VMClassLoader.java (initialize): Set default library control to LIB_NEVER. From-SVN: r114277
2006-05-31stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add interpreted classes.Alan Modra2-17/+20
* stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add interpreted classes. From-SVN: r114253
2006-05-30ChangeLog: Fix latest entry.Thomas Fitzsimmons1-2/+3
* ChangeLog: Fix latest entry. From-SVN: r114249
2006-05-30makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-gtk.lo.Thomas Fitzsimmons58-6047/+5039
2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-gtk.lo. Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++ ABI for gnu/java/awt/peer/gtk package. * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir): New function. (insertSystemProperties): Only set java.ext.dirs if it is not already defined. Prepend GCJ_VERSIONED_LIBDIR to module search path where necessary. * configure.ac (GTK_AWT): Remove automake conditional. * include/jvm.h (_Jv_PrependVersionedLibdir): New function declaration. * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR and re-exec self. * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR, GIJ_EXECUTABLE and PATH_SEPARATOR macros. Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic. * prims.cc (_Jv_PrependVersionedLibdir): New function. 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> * native/jni/gtk-peer/Makefile.am (gcc_version): New variable. (gcjversionedlibdir): Likewise. (libgtkpeer_la_LDFLAGS): Likewise. Install libgtkpeer.so in GCJ versioned library directory. * native/jawt/Makefile.am (gcc_version): New variable. (gcjversionedlibdir): Likewise. (libjawt_la_LDFLAGS): Likewise. Rename libjawtgnu.so libjawt.so. Install libjawt.so in GCJ versioned library directory. * gnu/java/awt/peer/gtk/GdkFontPeer.java (static): Call System.loadLibrary unconditionally. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Likewise. * gnu/java/awt/peer/gtk/GdkGraphics.java: Likewise. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise. From-SVN: r114247
2006-05-29natThread.cc (countStackFrames): Do not throw UnsupportedOperationException.Thomas Fitzsimmons2-9/+21
2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com> * java/lang/natThread.cc (countStackFrames): Do not throw UnsupportedOperationException. (resume): Likewise. (stop): Likewise. (suspend): Likewise. From-SVN: r114218
2006-05-26Correction. Checking in gcj/Makefile.in.Carlos O'Donell1-11/+8
2006-05-24 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-html target. Add install-html to .PHONY * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r114136
2006-05-25configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.John David Anglin5-3/+21
* configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS. * configure: Rebuilt. * include/config.h.in: Likewise. * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include <sys/rw_lock.h>. From-SVN: r114121
2006-05-24re PR libgcj/27024 (Implement URLConnection.getFileNameMap)Tom Tromey5-1188/+11
PR libgcj/27024: * sources.am, Makefile.in: Rebuilt. * gnu/java/net/DefaultContentHandlerFactory.java: Removed. * java/net/URLConnection.java: Removed. From-SVN: r114056
2006-05-24Makefile.am: Add install-html target.Carlos O'Donell6-345/+174
2006-05-24 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-html target. Add install-html to .PHONY * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r114054
2006-05-24stacktrace.java: New file.Andreas Tobler3-1/+79
2006-05-24 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.lang/stacktrace.java: New file. * testsuite/libjava.lang/stacktrace.out: Likewise. From-SVN: r114052
2006-05-24sources.am, [...]: Rebuilt.Tom Tromey4-59/+176
* sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl: Accept -verbose command-line option. (is_verbose): New global. (verbose): Use it. (classify_source_file): Don't special case '.' for 'package' type. From-SVN: r114051
2006-05-24re PR libgcj/27729 (Field, Method and Constructor need isSynthetic() ↵Tom Tromey8-160/+1060
implemetation) gcc/java: PR libgcj/27729: * jcf.h (ACC_INVISIBLE): Changed value. libjava: PR libgcj/27729: * java/lang/reflect/natField.cc (getAddr): Added parens. * java/lang/reflect/natConstructor.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New constant. (getModifiersInternal): Renamed. (getModifiers): Rewrote. (isSynthetic, isVarArgs): New methods. (hashCode): Rewrote. (addTypeParameters, toGenericString): New methods. (getTypeParameters): Rewrote. (getSignature): New method. (getGenericParameterTypes, getGenericExceptionTypes): Likewise. * java/lang/reflect/natMethod.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/natField.cc (getModifiersInternal): Renamed. Don't mask flags. * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC, ENUM): New constants. (INVISIBLE): Changed value. * java/lang/reflect/Method.java: Mostly merged with Classpath. (getModifiersInternal): Renamed. (getModifiers): Rewrote. (isBridge, isSynthetic, isVarArgs): New methods. (toGenericString): Likewise. (getTypeParameters): Likewise. (getSignature): Likewise. (getGenericExceptionTypes, getGenericParameterTypes, getGenericReturnType): Likewise. (METHOD_MODIFIERS): New constant. * java/lang/reflect/Field.java: Mostly merged with Classpath. Added javadoc everywhere. (getModifiersInternal): Renamed. (getModifiers, isSynthetic, isEnumConstant): Rewrote. (toGenericString): New method. (getGenericType, getSignature): Likewise. (FIELD_MODIFIERS): New constant. From-SVN: r114046
2006-05-24re PR libgcj/27731 (Math cbrt(), cosh(), expm1(), hypot(), log1p(), sinh() ↵Tom Tromey3-2/+192
and tanh() not implemented) PR libgcj/27731: * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh, tanh): New methods. * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh, tanh): Declare. From-SVN: r114045
2006-05-22* HACKING: Update GNU Classpath import instructions.Mark Wielaard2-11/+37
From-SVN: r113989
2006-05-21natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as ↵Andreas Tobler1-0/+7
MAYBE_UNUSED for HAVE_TLS == 0. 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch> * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as MAYBE_UNUSED for HAVE_TLS == 0. (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for HAVE_TLS == 0. From-SVN: r113940
2006-05-21natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as ↵Andreas Tobler1-5/+6
MAYBE_UNUSED for HAVE_TLS == 0. 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch> * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as MAYBE_UNUSED for HAVE_TLS == 0. (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for HAVE_TLS == 0. From-SVN: r113939
2006-05-20configure.ac: Add the POSIX thread libs to the HP-UX PA configuration.Andreas Tobler8-3/+202
2006-05-20 Andreas Tobler <a.tobler@schweiz.ch> John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * configure.ac: Add the POSIX thread libs to the HP-UX PA configuration. Add signal specification for HP-UX PA. * configure: Rebuilt. * configure.host: Add defaults for the HP-UX PA architecture. Add descriptor files for HP-UX PA 32-bit and 64-bit. * include/hppa-signal.h: New file. * include/posix.h: Add shared library suffix for HP-UX. * sysdep/pa/descriptor-pa32-hpux.h: New file. * sysdep/pa/descriptor-pa64-hpux.h: Likewise. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r113937
2006-05-19ChangeLog: Correct incorrect GNU Classpath version in the entry for the ↵Ranjit Mathew1-1/+6
latest import. * ChangeLog: Correct incorrect GNU Classpath version in the entry for the latest import. From-SVN: r113910
2006-05-19config-int.h: Delete, it is a generated file.Andreas Tobler1-9/+0
2006-05-19 Andreas Tobler <a.tobler@schweiz.ch> * include/config-int.h: Delete, it is a generated file. From-SVN: r113909
2006-05-19config-int.h: Delete, it is a generated file.Andreas Tobler1-0/+4
2006-05-19 Andreas Tobler <a.tobler@schweiz.ch> * include/config-int.h: Delete, it is a generated file. From-SVN: r113908
2006-05-18source.am, [...]: Rebuilt.Tom Tromey5-39/+87
* source.am, Makefile.in: Rebuilt. * Makefile.am (property_files): Removed. * scripts/makemake.tcl (properties_map): New global. (properties_files): Likewise. (emit_property_files): New proc. (scan_packages): Scan META-INF. Print property_files variable. Scan classpath/resource. From-SVN: r113891
2006-05-18special.exp (gcj_special_pr21115): Renamed.Tom Tromey2-3/+78
* testsuite/libjava.special/special.exp (gcj_special_pr21115): Renamed. (gcj_write_and_byte_compile): New proc. (gcj_special_lazy_illegal_access): Likewise. From-SVN: r113890
2006-05-18Imported GNU Classpath 0.90Mark Wielaard1640-104442/+126119
Imported GNU Classpath 0.90 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. From-SVN: r113887
2006-05-17re PR libgcj/27352 (SecurityManager.checkPermission() called unnecessarily)Bryce McKinlay2-7/+26
PR libgcj/27352 * java/lang/Class.java (getClassLoaderInternal): New method. (forName (String, Class)): Use getClassLoaderInternal. (getPackage): Likewise. (getResource): Likewise. (getResourceAsStream): Likewise. (desiredAssertionStatus): Likewise. From-SVN: r113863
2006-05-15Fix typo in the last commit. Sorry.Andreas Tobler1-1/+1
From-SVN: r113802
2006-05-15stacktrace.cc (StackTrace::FillInFrameInfo): Use UNWRAP_FUNCTION_DESCRIPTOR ↵Andreas Tobler2-3/+10
to compare frame->start_ip against the... 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch> * stacktrace.cc (StackTrace::FillInFrameInfo): Use UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the klass->methods[j].ncode. From-SVN: r113801
2006-05-13sources.am, [...]: Rebuilt.Tom Tromey6-98/+41
* sources.am, Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Mention natVMChannels.cc, not natChannels.cc. * java/nio/channels/natVMChannels.cc: Renamed from natChannels.cc. * java/nio/channels/Channels.java: Removed. * java/nio/channels/natChannels.cc: Removed. * java/nio/channels/VMChannels.java: New file. From-SVN: r113745
2006-05-13sources.am, [...]: Rebuilt.Tom Tromey4-926/+7
* sources.am, Makefile.in: Rebuilt. * java/text/DateFormat.java: Removed. From-SVN: r113740
2006-05-13sources.am, [...]: Rebuilt.Tom Tromey5-581/+18
* sources.am, Makefile.in: Rebuilt. * gnu/java/net/protocol/jar/Connection.java: Removed. * java/net/JarURLConnection.java: Removed. From-SVN: r113739
2006-05-13java-interp.h (_Jv_InterpMethod::dump_object): Removed declaration.Tom Tromey2-1/+5
* include/java-interp.h (_Jv_InterpMethod::dump_object): Removed declaration. From-SVN: r113738
2006-05-13sources.am, [...]: Rebuilt.Tom Tromey14-2925/+102
* sources.am, Makefile.in: Rebuilt. * java/util/logging/LogManager.java: Removed. * java/util/logging/Logger.java (resetLogger): New method, from Classpath. * java/io/RandomAccessFile.java: Removed. * gnu/java/nio/channels/FileChannelImpl.java (create): New method. (FileChannelImpl): Now private. * java/io/FileInputStream.java: Removed. * java/io/FileOutputStream.java: Removed. * java/security/AccessControlContext.java: Removed. * java/lang/ThreadLocal.java: Removed. * java/lang/InheritableThreadLocal.java: Removed. * java/lang/Thread.java (locals): New field. (getThreadLocals): New method. * java/lang/natThread.cc (finish_): Clear 'locals'. From-SVN: r113735
2006-05-11NameFinder.java (lookup): If exec'ing addr2line fails, don't try again.Bryce McKinlay2-3/+12
2006-05-11 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line fails, don't try again. (use_addr2line): Field no longer final. From-SVN: r113715
2006-05-11NameFinder.java (blacklist): New static field.Bryce McKinlay2-1/+20
2006-05-11 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/NameFinder.java (blacklist): New static field. (lookup): If addr2line fails to find an address, flag the binary as having no debug info and avoid calling addr2line on it again. From-SVN: r113711
2006-05-11re PR java/20418 (ICE if variable name is omitted in an initialiser and a ↵David Daney3-0/+13
qualified type for the variable is used) * testsuite/libjava.compile/PR20418.java: New. * testsuite/libjava.compile/PR20418.xfail: New. From-SVN: r113707
2006-05-11natSharedLibLoader.cc (init): Remove debugging line.Andrew Haley2-1/+5
2006-05-11 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging line. From-SVN: r113693
2006-05-10natClassLoader.cc: Add comments.Andrew Haley2-0/+28
2006-05-10 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc: Add comments. From-SVN: r113677
2006-05-10prims.cc (_Jv_soleIndirectCompiledEngine): New.Andrew Haley7-21/+119
2006-05-09 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_soleIndirectCompiledEngine): New. * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields): Remove body. (_Jv_CompiledEngine::allocate_field_initializers): New. (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize allocate_field_initializers. (class _Jv_IndirectCompiledClass): New. (struct _Jv_IndirectCompiledEngine): New. * java/lang/Class.h: (IndirectCompiledEngine): New. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set engine to _Jv_soleIndirectCompiledEngine * link.cc (ensure_fields_laid_out): Call engine->allocate_field_initializers(). From-SVN: r113674
2006-05-06jni.exp (gcj_jni_compile_c_to_so): Add check for HP-UX and add appropriate ↵Andreas Tobler3-8/+24
extension for shared libraries, sl. 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for HP-UX and add appropriate extension for shared libraries, sl. (gcj_jni_test_one): Likewise. * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared library extensions. From-SVN: r113587
2006-05-05re PR libgcj/27294 (gij throws NullPointerException, when the interpreter is ↵Tom Tromey2-1/+22
not enabled) PR libgcj/27294: * java/lang/natVMClassLoader.cc (defineClass): Throw VirtualMachineError if no interpreter configured. From-SVN: r113554
2006-05-04[multiple changes]Andrew Haley5-3/+42
2006-05-04 Andrew Haley <aph@redhat.com> * class.c (make_field_value): Always build_address_of fdecl if there is an initializer. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * expr.c (maybe_rewrite_invocation): New function. (rewrite_arglist_getclass): Likewise. (rules): New. (expand_invoke): Call maybe_rewrite_invocation. * parse.y (patch_invoke): Likewise. * java-tree.h: (maybe_rewrite_invocation): New function. 2006-05-03 Andrew Haley <aph@redhat.com> PR libgcj/27352 * java/lang/Class.java (getClassLoader(Class)): New. forName(String, Class): New. * java/lang/natClass.cc (getClassLoader(Class)): New. 2006-05-02 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_NewMultiArray): Check for phantom class. From-SVN: r113532