aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
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
2005-09-29configure.ac: Fix typo.Andreas Tobler3-2/+7
2005-09-29 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac: Fix typo. * configure: Regenerate. From-SVN: r104764
2005-09-28locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather ↵Geoffrey Keating2-3/+10
than... * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather than __powerpc64__. (compare_and_swap): 'ret' is an obj_addr_t not just an int. (compare_and_swap_release): Likewise. From-SVN: r104746
2005-09-28* HACKING: Update instructions for classpath import.David Daney2-0/+5
From-SVN: r104744
2005-09-27re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe)Tom Tromey12-35/+222
PR libgcj/23367: * include/jvm.h (_Jv_FreeMethodCache): Declare. * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS. (struct _Jv_mcache): Likewise. (method_cache): Likewise. (_Jv_FindMethodInCache): Do nothing unless TLS is available. (_Jv_AddMethodToCache): Likewise. (_Jv_FreeMethodCache): New function. * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache. * aclocal.m4, configure, include/config.h.in: Rebuilt. * configure.ac: Invoke GCC_CHECK_TLS. From-SVN: r104707
2005-09-27configure, [...]: Rebuilt.Tom Tromey9-12/+86
* configure, Makefile.in: Rebuilt. * sources.am: Rebuilt. * scripts/makemake.tcl (emit_bc_rule): Special-case qt. * configure.ac (TOOLKIT): Handle Qt peers properly. From-SVN: r104706
2005-09-24cvsignore: Likewise.Tom Tromey5-2/+1249
* native/jawt/.cvsignore: Likewise. * native/jni/qt-peer/.cvsignore * native/jawt/Makefile.in: Added. * native/jni/qt-peer/Makefile.in: Likewise. From-SVN: r104592
2005-09-23Imported Classpath 0.18.Tom Tromey544-14752/+34964
* sources.am, Makefile.in: Updated. * Makefile.am (nat_source_files): Removed natProxy.cc. * java/lang/reflect/natProxy.cc: Removed. * gnu/classpath/jdwp/VMFrame.java, gnu/classpath/jdwp/VMIdManager.java, gnu/classpath/jdwp/VMVirtualMachine.java, java/lang/reflect/VMProxy.java: New files. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC list. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/net/DefaultContentHandlerFactory.java (getContent): Remove ClasspathToolkit references. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods. * gnu/awt/xlib/XFramePeer.java: Likewise. * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add classpath/native/jawt/jawt.c. * Makefile.in: Regenerate. * jawt.c: Remove file. * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and jawt_md.h. Add ../classpath/include/jawt.h and ../classpath/include/jawt_md.h. * include/Makefile.in: Regenerate. * include/jawt.h: Regenerate. * include/jawt_md.h: Regenerate. From-SVN: r104586
2005-09-23Initial revisionTom Tromey495-0/+82760
From-SVN: r104578
2005-09-22BootClassLoader.java (BootClassLoader): Pass `null' parent ClassLoader to ↵Bryce McKinlay3-0/+15
parent constructor. 2005-09-21 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass `null' parent ClassLoader to parent constructor. * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New constructor. From-SVN: r104516
2005-09-21* testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.Ranjit Mathew2-2/+8
From-SVN: r104486
2005-09-17jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the ↵H.J. Lu2-1/+12
proper libgcj. 2005-09-17 H.J. Lu <hongjiu.lu@intel.com> * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the proper libgcj. From-SVN: r104370
2005-09-17Correction. Committed wrong patch earlier today.Anthony Green1-1/+1
From-SVN: r104367
2005-09-16re PR classpath/20198 (java.security.CodeSource.getLocation output is ↵Anthony Green2-3/+16
different than expected) PR libgcj/20198 * java/net/URLClassLoader.java (FileURLLoader.getResource): File resources should all have canonicalized names. From-SVN: r104360
2005-09-15re PR libgcj/16032 (libgcj should reject class files with incorrect version ↵Tom Tromey5-16/+101
numbers) PR libgcj/16032: * interpret.cc (AVAL1U): Resolve pool entry when not direct threaded. (AVAL2U): Likewise. (compile): Handle 'ldc class' specially. (_Jv_InterpMethod::run): Added special 'ldc class' instruction. * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes. * defineclass.cc (handleCodeAttribute): Set new field. (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3, MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines. (parse): Check version numbers. (_Jv_ClassReader::is_15): New field. (_Jv_ClassReader): Initialize it. * include/java-interp.h (_Jv_InterpMethod::is_15): New field. From-SVN: r104325
2005-09-15For PR libgcj/23288:Tom Tromey2-10/+57
* java/net/URLClassLoader.java (definePackage): Correctly order arguments to definePackage. Look up per-entry Attributes. (getAttributeValue): New method. From-SVN: r104320
2005-09-12re PR libgcj/23762 (java.library.path should default to value of environment ↵Thomas Fitzsimmons11-12/+1131
variable specified by LTDL_SHLIBPATH_VAR) 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/23762 * shlibpath.m4: New file. * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH macro. * gnu/classpath/natSystemProperties.cc (insertSystemProperties) [USE_LTDL]: If it was not defined with -D set java.library.path to the value of LTDL_SHLIBPATH_VAR. From-SVN: r104198
2005-09-09URLClassLoader.java (addURLImpl): Synchronize on the loader.Andrew Haley2-2/+8
2005-09-08 Andrew Haley <aph@redhat.com> * java/net/URLClassLoader.java (addURLImpl): Synchronize on the loader. (toString): Likewise. From-SVN: r104095
2005-09-09re PR libgcj/22084 (Divide_1 test case hangs)Andrew Haley2-5/+18
2005-09-08 Andrew Haley <aph@redhat.com> PR java/22084 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if R/M field in instruction is 100. From-SVN: r104094
2005-09-08re PR libgcj/23761 (java.library.path doesn't affect module loading path)Thomas Fitzsimmons4-1/+19
2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/23761 * include/java-props.h (_Jv_Module_Load_Path): Declare variable. * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after lt_dlinit. * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path): Define variable. (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set _Jv_Module_Load_Path. From-SVN: r104044
2005-09-06re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments)Tom Tromey10-17/+73
PR libgcj/23739: * testsuite/libjava.jni/pr23739.c: New file. * testsuite/libjava.jni/pr23739.java: New file. * testsuite/libjava.jni/pr23739.out: New file. * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments. * java/lang/reflect/natMethod.cc (invoke): Updated. * java/lang/natClass.cc (isAssignableFrom): Updated. (isInstance): Likewise. (_Jv_IsAssignableFrom): Reversed arguments. (_Jv_IsInstanceOf): Updated. (_Jv_CheckCast): Likewise. (_Jv_CheckArrayStore): Likewise. (_Jv_IsAssignableFromSlow): Reversed arguments. (_Jv_InterfaceAssignableFrom): Likewise. * link.cc (verify_type_assertions): Updated. * prims.cc (_Jv_CheckAccess): Updated. From-SVN: r103953
2005-09-05Testsuite changes for PR java/23431.Ranjit Mathew6-2/+30
* testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and 8.4.6.2-hiding-5. * testsuite/libjava.compile/PR23431_1.java: New testcase. * testsuite/libjava.compile/PR23431_2.java: Likewise. * testsuite/libjava.compile/PR23431_1.xfail: New file. * testsuite/libjava.compile/PR23431_2.xfail: Likewise. From-SVN: r103910
2005-08-30re PR libgcj/23549 (gij swallows args after -ea)Thomas Fitzsimmons2-9/+11
2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/23549 * gij.cc (main): Don't expect arguments to -enableassertions, -ea, -disableassertions and -da. From-SVN: r103642
2005-08-29configure.ac: Replace "*-*-darwin[0-7].*" with "*-*-darwin[[0-7]].*"Andrew Pinski3-2/+8
2005-08-29 Andrew Pinski <pinskia@physics.uc.edu> * configure.ac: Replace "*-*-darwin[0-7].*" with "*-*-darwin[[0-7]].*" * configure: Regenerate. From-SVN: r103623
2005-08-24configure.ac (extra_ldflags_libjava): Enable -single_module only for darwin < 8.Andreas Tobler3-2/+12
2005-08-24 Andreas Tobler <a.tobler@schweiz.ch> * configure.ac (extra_ldflags_libjava): Enable -single_module only for darwin < 8. * configure: Regenerate. From-SVN: r103430