aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2005-12-16Class.java (getPackage): Get package from VMClassLoader if needed.Tom Tromey2-3/+8
* java/lang/Class.java (getPackage): Get package from VMClassLoader if needed. From-SVN: r108685
2005-12-16* testsuite/libjava.jacks/jacks.xfailTom Tromey2-1/+5
(8.5.2-accessible-static-member-usage-3): Removed. From-SVN: r108656
2005-12-16re PR java/25429 (can't see private static final int CREATE = 1)Tom Tromey3-0/+31
gcc/java: PR java/25429 * parse.y (resolve_expression_name): Don't generate accessor methods for constant fields. libjava: * testsuite/libjava.compile/rh175833.java: New file. * testsuite/libjava.compile/pr25429.java: New file. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r108608
2005-12-15libjava.exp: Revert 2005-12-01.Alan Modra3-6/+5
* testsuite/lib/libjava.exp: Revert 2005-12-01. * testsuite/libjava.lang/Array_3.xfail: Delete. From-SVN: r108563
2005-12-14CompilerProcess.java: Use a new thread to handle stdout from the child process.Andrew Haley2-4/+26
2005-12-14 Andrew Haley <aph@redhat.com> * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to handle stdout from the child process. From-SVN: r108536
2005-12-14re PR classpath/25389 (File(new URI("file:./")) -> ↵Tom Tromey2-1/+11
java.lang.NullPointerException) PR classpath/25389: * java/io/File.java (File): Throw IllegalArgumentException if URI is non-hierarchical. From-SVN: r108528
2005-12-12VMCompiler.java: Directly generate a new instance of ↵Andrew Haley2-16/+17
gnu.java.security.provider.MD5. 2005-12-12 Andrew Haley <aph@redhat.com> * java/lang/VMCompiler.java: Directly generate a new instance of gnu.java.security.provider.MD5. From-SVN: r108421
2005-12-08re PR libgcj/25265 (linking BC-compiled classes with incompatible changes)Andrew Haley1-0/+1
2005-12-08 Andrew Haley <aph@redhat.com> PR libgcj/25265 * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE. (soft_abstractmethod_node): New. * expr.c (build_field_ref): Add in-line check for missing field. * decl.c (java_init_decl_processing): Add soft_nosuchfield_node. 2005-12-08 Andrew Haley <aph@redhat.com> PR libgcj/25265 * java/lang/Object.h (throwNoSuchMethodError): New method. * java/lang/Object.java (throwNoSuchMethodError): New method. * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare. * link.cc (_Jv_ThrowNoSuchFieldError): New. (link_symbol_table): Don't throw a NoSuchFieldError if a field is missing. Instead, set the otable entry to zero. (link_symbol_table): If we don't find a nonstatic method, insert the vtable offset of Object.throwNoSuchMethodError() into the otable. From-SVN: r108235
2005-12-08Object.h (throwNoSuchMethodError): New method.Andrew Haley5-18/+85
2005-12-08 Andrew Haley <aph@redhat.com> * java/lang/Object.h (throwNoSuchMethodError): New method. * java/lang/Object.java (throwNoSuchMethodError): New method. * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare. * link.cc (_Jv_ThrowNoSuchFieldError): New. (link_symbol_table): Don't throw a NoSuchFieldError if a field is missing. Instead, set the otable entry to zero. (link_symbol_table): If we don't find a nonstatic method, insert the vtable offset of Object.throwNoSuchMethodError() into the otable. From-SVN: r108231
2005-12-06parse.y (patch_new_array_init): Don't set length on array.Tom Tromey2-0/+21
gcc/java: * parse.y (patch_new_array_init): Don't set length on array. libjava: * testsuite/libjava.compile/rh174912.java: New file. From-SVN: r108099
2005-12-01re PR bootstrap/25207 (bootstrap fails on libjava if alsa headers present ↵Anthony Green3-85/+212
but no -lasound.) 2005-12-01 Anthony Green <green@redhat.com> PR bootstrap/25207 * configure.ac: Make sure we have an alsa library in addition to the headers. This extra test is required for systems with multilibs. * configure: Rebuilt. From-SVN: r107828
2005-12-01libjava.exp (test_libjava_from_javac): Support xfail-byte-exec.Geoffrey Keating3-0/+12
* testsuite/lib/libjava.exp (test_libjava_from_javac): Support xfail-byte-exec. * testsuite/libjava.lang/Array_3.xfail: New file. From-SVN: r107811
2005-12-01stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR to compare ↵Alan Modra2-5/+11
_Jv_InterpMethod::run against current... * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR to compare _Jv_InterpMethod::run against current func. From-SVN: r107746
2005-11-30Makefile.am (resources): Use `cp -p'.Andrew Haley3-16/+21
2005-11-30 Andrew Haley <aph@redhat.com> * classpath/lib/Makefile.am (resources): Use `cp -p'. Remove `@' from start of line. From-SVN: r107714
2005-11-29re PR java/18278 (JNI functions cannot return a weak reference)Tom Tromey6-0/+50
gcc/java: PR java/18278: * expr.c (build_jni_stub): Unwrap the return value. * java-tree.h (soft_unwrapjni_node): New define. (enum java_tree_index): Added JTI_SOFT_UNWRAPJNI_NODE. * decl.c (java_init_decl_processing): Initialize soft_unwrapjni_node. libjava: PR java/18278: * testsuite/libjava.jni/pr18278.out: New file. * testsuite/libjava.jni/pr18278.c: New file. * testsuite/libjava.jni/pr18278.java: New file. * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare. * jni.cc (_Jv_UnwrapJNIweakReference): New function. (call): Unwrap return value if needed. From-SVN: r107676
2005-11-25standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi.Mark Wielaard8-6/+2910
* standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi to bc. * gnu/CORBA/ObjectCreator.java: New override file for missing VMStackWalker issue. * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938 * gnu/CORBA/DynAn/RecordAny.java: Likewise * sources.am: Regenerated. * Makefile.in: Regenerated From-SVN: r107522
2005-11-25re PR libgcj/25016 (Integer overflow in _Jv_CondWait)Andrew Haley2-5/+30
2005-11-25 Andrew Haley <aph@redhat.com> PR libgcj/25016 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the struct timespec we pass to pthread_cond_timedwait. From-SVN: r107509
2005-11-25jacks.xfail: Remove non-jls-argument-expansion-13 and add ↵Ranjit Mathew2-1/+8
non-jls-argument-expansion-error-1... * testsuite/libjava.jacks/jacks.xfail: Remove non-jls-argument-expansion-13 and add non-jls-argument-expansion-error-1 in response to the @file support patch in the main GCC driver. From-SVN: r107506
2005-11-25ia64-frame.h: Removed.Bryce McKinlay11-686/+33
2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * sysdep/ia64-frame.h: Removed. * sysdep/ia64.c: Removed. * sysdep/dwarf2-backtrace.cc: Removed. * configure.ac: Remove references to HAVE_BACKTRACE and SUPPLY_BACKTRACE. * Makefile.am: Remove SUPPLY_BACKTRACE support. * configure: Rebuilt. * Makefile.in: Rebuilt. From-SVN: r107486
2005-11-25gij.cc (nonstandard_opts_help): Add entry for -Xss.Bryce McKinlay2-0/+5
2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * gij.cc (nonstandard_opts_help): Add entry for -Xss. 2005-11-24 Bryce McKinlay <mckinlay@redhat.com> * gcj.texi (gij options): Add -Xss documentation. From-SVN: r107480
2005-11-18Imported GNU Classpath gcj-import-20051117.Mark Wielaard102-1723/+6717
* gnu/java/net/protocol/file/Connection.java: Removed, fully merged. * sources.am: Regenerated. * Makefile.in: Likewise. From-SVN: r107153
2005-11-17[multiple changes]Mark Wielaard7-789/+166
2005-11-17 Mark Wielaard <mark@klomp.org> * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now. * java/net/ServerSocket.java: Likewise. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-17 Mark Wielaard <mark@klomp.org> Fixes bug #24006 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/net/ServerSocket.java (accept): Use correct security manager call. 2005-11-17 Jeroen Frijters <jeroen@frijters.net> * java/net/ServerSocket.java (bound): Removed. (local): New field. (bind): Cache local socket address. (getInetAddress, getLocalPort, getLocalSocketAddress, isBound): Use cached local socket address. (close): bound field was removed. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/net/URLConnection.java (setDoInput): Javadoc fix. (setDoOutput): Likewise. (setContentHandlerFactory): Likewise. (setFileNameMap): Likewise. 2005-11-17 Mark Wielaard <mark@klomp.org> * java/net/URLClassloader.java (addURLs): Add comment about jboss. 2005-11-17 Mark Wielaard <mark@klomp.org> * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but call urls.add() and addURLImpl() directly on each URL. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/net/URLClassLoader.java (definePackage): Javadoc fixes. 2005-11-17 Jeroen Frijters <jeroen@frijters.net> * java/net/URLClassLoader.java (Resource.name): Removed field. (JarURLResource.name): Added field. (FileResource.getURL): Use File.toURL() instead of doing it in a way that breaks on Windows. 2005-11-17 Roman Kennke <roman@kennke.org> Reported by: Ingo Proetel <proetel@aicas.com> * java/net/URLClassLoader.java (findClass): Added null check to avoid NullPointerException. 2005-11-17 David Gilbert <david.gilbert@object-refinery.com> * java/net/URLClassLoader.java: reordered some API doc comments to suppress Eclipse warnings, and fixed API doc link. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/net/URLClassLoader.java (URLClassLoader): Removed unused constructor. 2005-11-17 Jeroen Frijters <jeroen@frijters.net> * java/net/URLClassLoader (findClass): Close InputStream after we're done with it. From-SVN: r107133
2005-11-17Implement -Xss.Bryce McKinlay4-5/+53
* include/jvm.h (gcj::stack_size): Declare. (_Jv_StackSize): Declare. * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size. (_Jv_ThreadStart): Set stack size if specified. * prims.cc (gcj::stack_size): Define. (parse_memory_size): Renamed from parse_heap_size. (_Jv_SetStackSize): Parse stack size argument and set gcj::stack_size. From-SVN: r107132
2005-11-17[multiple changes]Mark Wielaard8-1294/+133
2005-11-17 Mark Wielaard <mark@klomp.org> * java/text/SimpleDateFormat.java: Removed, fully merged now. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-17 Sven de Marothy <sven@physto.se> * java/text/SimpleDateFormat.java (computeOffset): Allow timezone to be first in the parsed String. 2005-11-17 Mark Wielaard <mark@klomp.org> * java/text/SimpleDateFormat.java (field, size): Make package private. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/text/SimpleDateFormat.java (compileFormat): Correctly handle quoted single quotes. PR classspath/23183. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/text/SimpleDateFormat.java (compileFormat): Reformatted. 2005-11-17 Tom Tromey <tromey@redhat.com> * java/text/DateFormat.java (serialVersionUID): New field. 2005-11-17 Mark Wielaard <mark@klomp.org> * java/text/DateFormat.java (equals): Reimplement. 2005-11-17 David Gilbert <david.gilbert@object-refinery.com> * java/text/Collator.java: API doc fixes, * java/text/DateFormat.java: likewise, * java/text/DecimalFormatSymbols.java: likewise, * java/text/DateFormatSymbols.java: likewise, * java/text/SimpleDateFormat.java: likewise. 2005-11-17 Jeroen Frijters <jeroen@frijters.net> * java/text/Collator.java (getInstance(Locale)): Added default collation pattern to handle case when resource is missing and throw InternalError instead of returning null should parsing fail. From-SVN: r107121
2005-11-16ZipEntry.java: Removed, fully merged now.Mark Wielaard5-963/+11
* java/util/zip/ZipEntry.java: Removed, fully merged now. * java/util/zip/ZipFile.java: Likewise. * sources.am: Regenerated. * Makefile.in: Regenerated. From-SVN: r107106
2005-11-16[multiple changes]Mark Wielaard8-2349/+66
2005-11-15 Tom Tromey <tromey@redhat.com> classpath/23890: * java/util/Calendar.java (equals): Include other calendar attributes. (hashCode): Updated. * java/util/GregorianCalendar.java (hashCode): New method. (equals): Use super.equals(). 2005-11-15 Sven de Marothy <sven@physto.se> * java/util/Calendar (setTimeInMillis): Recompute time fields. 2005-11-15 Mark Wielaard <mark@klomp.org> * java/util/SimpleTimeZone.java: Removed, fully merged now. * java/util/Date.java: Likewise. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-15 David Gilbert <david.gilbert@object-refinery.com> * java/util/Calendar.java: fixed minor problems in API docs, * java/util/Date.java: likewise, * java/util/ResourceBundle.java: likewise, * java/util/SimpleTimeZone.java: likewise, From-SVN: r107094
2005-11-16[multiple changes]Mark Wielaard5-982/+47
2005-11-15 Jeroen Frijters <jeroen@frijters.net> * java/io/ObjectInputStream.java (parseContent): Removed bogus println and fixed bug #24422. 2005-11-15 Mark Wielaard <mark@klomp.org> * java/io/ObjectStreamClass.java: Removed, fully merged now. * sources.am: Regenerated. * Makefile.in: Regenerated. 2005-11-15 Wolfgang Baer <WBaer@gmx.de> * java/io/ObjectInputStream.java (processResolution): Pass Error, RuntimeException and ObjectStreamException through to the caller. (readObject): Documentation update. From-SVN: r107088
2005-11-15Imported GNU Classpath 0.19 + gcj-import-20051115.Mark Wielaard1241-25327/+97754
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
2005-11-15Index: libjava/ChangeLogScott Gilbertson6-1/+131
from Scott Gilbertson <scottg@mantatest.com> * Makefile.in: Re-generated. * gnu/awt/xlib/XGraphicsDevice.java: New file. * gnu/awt/xlib/XToolkit.java (getLocalGraphicsEnvironment): Implemented. * gnu/awt/xlib/XGraphicsEnvironment.java: New file. * sources.am: Re-generated. From-SVN: r107045
2005-11-15re PR libgcj/15430 (Cannot interrupt blocking I/O calls with close())David Daney2-14/+58
PR libgcj/15430 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New function. (accept): Call it. (close): Call shutdown before closing. (read()): Call read_helper with proper parameters. (read(buffer, int, int)): Likewise. (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd and timeout parameters. Make prototype to match. Use pointer to PlainSocketImpl to access members. Call throw_on_sock_closed in two places. From-SVN: r107036
2005-11-15[multiple changes]Andrew Haley2-4/+73
2005-11-15 Andrew Haley <aph@redhat.com> * Merge from Classpath head: 2005-09-16 Andrew Haley <aph@redhat.com> * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow protected readResolve(). Rewrite accessibility check. 2005-07-07 Jeroen Frijters <jeroen@frijters.net> * java/io/ObjectStreamClass.java (findAccessibleMethod): Added code to make method accessible. 2005-07-03 Daniel Bonniot <bonniot@users.sf.net> * java/io/ObjectStreamClass.java (inSamePackage): New private method. (findAccessibleMethod): Likewise. (cacheMethods): Lookup readResolve and writeReplace using the new findAccessibleMethod(). From-SVN: r107029
2005-11-15ObjectStreamClass.java (findAccessibleMethod): Allow protected readResolve().Andrew Haley2-8/+14
2005-09-16 Andrew Haley <aph@redhat.com> * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow protected readResolve(). Rewrite accessibility check. From-SVN: r107027
2005-11-14natVMNetworkInterfaceWin32.cc: Include java/net/VMNetworkInterface.h.Mohan Embar2-0/+6
* java/net/natVMNetworkInterfaceWin32.cc: Include java/net/VMNetworkInterface.h. From-SVN: r106895
2005-11-14natPlainSocketImplWin32.cc: Updated copyright.Mohan Embar2-1/+12
* gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright. (read): Handle count == 0 case. Co-Authored-By: David Daney <ddaney@avtrex.com> From-SVN: r106894
2005-11-09jacks.xfail (non-jls-zip-2): Now passes.Tom Tromey2-1/+5
* testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now passes. From-SVN: r106702
2005-11-08re PR libgcj/24587 (libgcj should set gnu.classpath.version system property)Tom Tromey2-0/+8
PR libgcj/24587: * gnu/classpath/SystemProperties.java: Set gnu.classpath.version. From-SVN: r106659
2005-11-08PR libgcj/23763. From aeby@graeff.com.Tom Tromey2-1/+13
* java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD before exec. From-SVN: r106655
2005-11-08* scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.Mark Wielaard2-0/+5
From-SVN: r106636
2005-11-07mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.David Daney2-0/+7
* mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding. From-SVN: r106614
2005-11-04PR libgcj/14358, libgcj/24552:Tom Tromey3-26/+55
* gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add aliases for 'euc_jp' and 'eucjp'. * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include canonical names in output. (%map): Added UnicodeLittle and UnicodeBig. From-SVN: r106490
2005-11-04sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.Kaz Kojima2-2/+6
* include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace. From-SVN: r106481
2005-11-02libjava.exp (libjava_find_lib): Add dylib to the shared library extensions.Andreas Tobler2-1/+6
2005-11-02 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared library extensions. From-SVN: r106403
2005-10-31.cvsignore are not needed for subversion, remove them.Andreas Jaeger52-223/+0
From-SVN: r106279
2005-10-13re PR java/24251 (BC-compiled interfaces in libgcj can't be called from ↵Andrew Haley2-2/+9
non-BC code) 2005-10-12 Andrew Haley <aph@redhat.com> PR java/24251 * link.cc (ensure_method_table_complete): Install Miranda methods for interfaces too. From-SVN: r105375
2005-10-10ExtraClassLoader.out: New file.Tom Tromey3-1/+10
* testsuite/libjava.lang/ExtraClassLoader.out: New file. * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler): Now static. From-SVN: r105185
2005-10-05re PR target/23602 (1081 test failures in libjava, when configured for ↵Richard Henderson2-3/+19
i486-linux) PR target/23602 * toplev.c (process_options): Warn about unsupported combinations of unwind tables and omit-frame-pointer. * config/i386/i386.c (override_options): Similarly. Enable accumulate-outgoing-args if not explicitly disabled. testsuite/ * g++.dg/eh/omit-frame-pointer.C: Remove i?86 specific options. * g++.dg/eh/omit-frame-pointer2.C: Likewise. libjava/ * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags, but not BACKTRACESPEC. (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode. From-SVN: r105009
2005-10-03Makefile.in: Rebuilt.Tom Tromey9-184/+79
* native/jawt/Makefile.in: Rebuilt. * native/jawt/Makefile.am (noinst_LTLIBRARIES): Renamed. * native/jni/xmlj/Makefile.in: Rebuilt. * native/jni/xmlj/Makefile.am (noinst_LTLIBRARIES): Renamed. * native/jni/qt-peer/Makefile.in: Rebuilt. * native/jni/qt-peer/Makefile.am (noinst_LTLIBRARIES): Renamed. * native/jni/gtk-peer/Makefile.in: Rebuilt. * native/jni/gtk-peer/Makefile.am (noinst_LTLIBRARIES): Renamed. From-SVN: r104920
2005-10-03re PR libgcj/24057 (libgcj installs jawt.h and jni.h in version independent ↵Tom Tromey3-97/+27
location) PR libgcj/24057: * include/Makefile.in: Rebuilt. * include/Makefile.am: Don't install headers. From-SVN: r104905
2005-10-02jni.exp (gcj_jni_test_one): For darwin, use -shared-libgcc not -lgcc_s, and ↵Andrew Pinski2-7/+18
explain why. 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu> * testsuite/lib/jni.exp (gcj_jni_test_one): For darwin, use -shared-libgcc not -lgcc_s, and explain why. (gcj_jni_invocation_test_one): Likewise. From-SVN: r104878
2005-09-30re PR libgcj/24051 (libjava failed to configure)Tom Tromey37-1230/+1500
libjava: PR libgcj/24051: * Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if requested. (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable. (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise. (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise. (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise. (lib_gnu_java_awt_peer_qt_la_LINK): Likewise. * configure: Rebuilt. * configure.ac: Pass --enable-qt-peers when qt is requested. libjava/classpath: PR libgcj/24051: * Makefile.in: Rebuilt. * Makefile.am (ACLOCAL_AMFLAGS): Added -I ../../config * configure: Rebuilt. * configure.ac: Use GCC_NO_EXECUTABLES From-SVN: r104833