aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-03-05jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not ↵Tom Tromey2-2/+7
AbstractMethodError. * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError. From-SVN: r50337
2002-03-04Remove cvs junkBryce McKinlay1-1/+0
From-SVN: r50271
2002-03-04Makefile.am: Use -bootclasspath, not -CLASSPATH.Bryce McKinlay3-59/+50
* Makefile.am: Use -bootclasspath, not -CLASSPATH. * Makefile.in: Rebuilt. From-SVN: r50270
2002-03-03* java/util/Timer (TaskQueue.stop): set elements to zero.Mark Wielaard2-0/+5
From-SVN: r50254
2002-03-01Oops. A ChangeLog entry got committed prematurely with my last change.Anthony Green1-7/+0
This fixes is. From-SVN: r50196
2002-03-01Add pointer support to the reflection code.Anthony Green2-29/+49
From-SVN: r50180
2002-02-28natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.Adam Megacz2-3/+9
2002-02-27 Adam Megacz <adam@xwt.org> * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'. From-SVN: r50120
2002-02-27natSystem.cc (init_properties): Use __VERSION__.Tom Tromey11-369/+377
* java/lang/natSystem.cc (init_properties): Use __VERSION__. * gij.cc (version): Use __VERSION__. * include/config.h.in: Rebuilt. * acconfig.h (GCJVERSION): Removed. * configure: Rebuilt. * configure.in (GCJVERSION): Removed. From-SVN: r50088
2002-02-27acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, ↵Andreas Schwab4-355/+350
since libjava uses even another CXX. 2002-02-26 Andreas Schwab <schwab@suse.de> * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX. * aclocal.m4, configure: Regenerated. From-SVN: r50084
2002-02-27natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.Tom Tromey2-3/+8
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'. From-SVN: r50081
2002-02-25Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath.Bryce McKinlay3-3/+8
* Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes dependency tracking for .java files. * Makefile.in: Rebuilt. From-SVN: r50024
2002-02-25natPlainDatagramSocketImpl.cc: whops; removed 'make' typo.Adam Megacz2-1/+6
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' typo. Sorry. From-SVN: r50019
2002-02-25natPlainDatagramSocketImpl.cc: Updated #includes for Win32...Adam Megacz2-6/+15
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: Updated #includes for Win32, changed #ifdefs to check WIN32 instead of the (now-obsolete) USE_WINSOCK, and removed support for socket timeouts on Win32 pending further discussion. From-SVN: r50017
2002-02-25win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of newAdam Megacz2-2/+8
2002-02-24 Adam Megacz <adam@xwt.org> * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of delete From-SVN: r50014
2002-02-24Win32Process.java: Created a dummy class to allow build process to run to ↵Adam Megacz2-0/+68
completion. 2002-02-24 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java: Created a dummy class to allow build process to run to completion. From-SVN: r50013
2002-02-24natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result.Jeff Sturm2-1/+48
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result. Cast ffi_result members to jvalue. From-SVN: r50007
2002-02-24InvokeReturn.java: New file.Jeff Sturm3-0/+89
* libjava.lang/InvokeReturn.java: New file. * libjava.lang/InvokeReturn.out: New file. From-SVN: r50001
2002-02-23Makefile.in, [...]: Rebuilt.Alexandre Oliva5-74/+34
* Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt. * testsuite/Makefile.in: Likewise. From-SVN: r49985
2002-02-22URL.java (getPath): New JDK 1.3 method.Per Bothner3-19/+59
* java/net/URL.java (getPath): New JDK 1.3 method. * java/net/URLStreamHandler.java (parseURL): It is wrong to prepend '/' to the file part of a relative url. * java/net/URLStreamHandler.java (parseURL): Minor optizations - append '/' rather than "/". * java/net/URLStreamHandler.java (parseURL): Don't canonicalize "xx/.." or "./" URLs - JDK doesn't. We probably should canonicalize for a context-relative url, though. * java/net/URL.java (sameFile): Delegate to URLStreamHandler. * java/net/URLStreamHandler.java (canonicalizeFilename): New helper. (sameFile): New method. Uses canonicalizeFilename. From-SVN: r49980
2002-02-22natSystem.cc (init_properties): Include the `Inc.' in java.vendor and ↵Tom Tromey5-6/+15
java.vm.vendor. * java/lang/natSystem.cc (init_properties): Include the `Inc.' in java.vendor and java.vm.vendor. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most recent copyright date. * gnu/gcj/convert/Convert.java (version): Print `Inc'. * gij.cc (version): Print `Inc'. From-SVN: r49975
2002-02-22acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.Alexandre Oliva4-2/+8
* acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX. * aclocal.m4, configure: Rebuilt. From-SVN: r49974
2002-02-22Connection.java (conect): Open the input and/or output streams immediately ↵Per Bothner2-13/+24
here, instead of using File.exists. * gnu/gcj/protocol/file/Connection.java (conect): Open the input and/or output streams immediately here, instead of using File.exists. (inputStream, outputStream): New fields to save open streams. (getInputStream, getOutputStream): Use already-opened streams. From-SVN: r49965
2002-02-22acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.Alexandre Oliva6-370/+533
* acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3. Use it. * Makefile.am (LIBLINK): Use CXX (and its tag) for linking. * aclocal.m4, configure, Makefile.in: Rebuilt. From-SVN: r49954
2002-02-21Makefile.am (libgcj.jar:): Change to -CLASSPATHNic Ferrier2-67/+28
* Makefile.am (libgcj.jar:): Change to -CLASSPATH (.class.h:): Ditto. (java/lang/ClassLoader.h:): Ditto. (java/lang/Thread.h:): Ditto. (java/lang/String.h:): Ditto. (java/lang/reflect/Constructor.h:): Ditto. (java/lang/reflect/Field.h:): Ditto. (java/lang/reflect/Method.h:): Ditto. (gnu/gcj/runtime/VMClassLoader.h:): Ditto. (java/io/ObjectInputStream$$GetField.h:): Ditto. (java/io/ObjectOutputStream$$PutField.h:): Ditto. * Makefile.in: Rebuilt with libgcj Automake. From-SVN: r49927
2002-02-20* libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.Bryce McKinlay2-1/+3
From-SVN: r49889
2002-02-20libjava.exp: Add "xfail-byte-output" and "xfail-source-output".Bryce McKinlay8-4/+117
* lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output". Don't display expected and actual output for a failed output test. * libjava.lang/ArrayStore.java: New file. * libjava.lang/ArrayStore.out: New file. * libjava.lang/ArrayStore.xfail: New file. xfail-byte-output. * libjava.lang/ArrayStore2.java: New file. * libjava.lang/ArrayStore2.out: New file. * libjava.lang/ArrayStore2.xfail: New file. xfail-source-output. From-SVN: r49888
2002-02-20re PR libgcj/5696 (natClass.cc run through superclasses of target if they ↵Tom Tromey2-12/+23
exist while comparing variable types.) Fix for PR libgcj/5696: * verify.cc (is_assignable_from_slow): Never call _Jv_IsAssignableFrom. (verify_instructions_0): Added new debug statement. (state::print): Print information about whether local has changed. (state::merge): Don't call note_variable when merging locals. (state::set_exception): Removed old FIXME comment. From-SVN: r49886
2002-02-18natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST.Bryce McKinlay2-1/+10
2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST. From-SVN: r49835
2002-02-18err7.xfail: Removed.Bryce McKinlay3-2/+5
* libjava.lang/err7.xfail: Removed. * libjava.lang/err8.xfail: Removed. From-SVN: r49831
2002-02-17name-finder.cc (toHex): Use word mode, not long long.Jason Merrill3-2/+9
* name-finder.cc (toHex): Use word mode, not long long. * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning. From-SVN: r49829
2002-02-15re PR libgcj/5695 (verify.cc test that target is an object before running ↵Tom Tromey2-4/+34
down interfaces) Fix for PR libgcj/5695: * verify.cc (is_assignable_from_slow): Check to see if target is an Object before checking to see if source is an interface. (verify_instructions_0) [op_invokeinterface]: Handle case where we're making an interface call on Object. From-SVN: r49783
2002-02-15Makefile.in: Rebuilt with Eric's change below.Bryce McKinlay2-122/+9
* Makefile.in: Rebuilt with Eric's change below. * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat), round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)): Removed functions which are now implemented in Math.java. From-SVN: r49782
2002-02-15javaprims.h (java::lang): Add java::lang::StrictMath.Eric Blake5-83/+2451
2002-02-14 Eric Blake <ebb9@email.byu.edu> * gcj/javaprims.h (java::lang): Add java::lang::StrictMath. * Makefile.am (core_java_source_files): Add java/lang/StrictMath.java. * java/lang/Math.java: Merge with Classpath. * java/lang/StrictMath.java: New file - merge with Classpath. From-SVN: r49781
2002-02-14[multiple changes]Mark Wielaard9-385/+577
2002-02-14 Mark Wielaard <mark@klomp.org> * java/math/BigInteger.java: import gnu.java.math.MPN not the whole package as a workaround for gcj 3.0.x 2002-02-14 Mark Wielaard <mark@klomp.org> * java/security/BasicPermission.java: extends with fully qualified classname as workaround for gcj 3.0.4. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java (setOption, getOption): Work around gcj bug of wrong emitted qualifier for inherited method. * java/net/SocketImpl.java (setOption, getOption): Ditto. * java/util/WeakHashMap.java (WeakEntrySet): Add non-private constructor to reduce amount of emitted bytecode. While this happens to work around a jikes 1.15 bug, it is still a useful patch even for correct compilers. * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java (DummyObjectOutputStream, DummyObjectInputStream): Ditto. 2002-02-14 Eric Blake <ebb9@email.byu.edu> * java/net/DatagramSocketImpl.java: Reformat (no code changes). * java/net/SocketImpl.java: Ditto. * java/rmi/server/RMIClassLoader.java: Ditto. * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto. 2002-02-14 Mark Wielaard <mark@klomp.org> Thanks to Takashi Okamoto * java/util/Arrays.java (ArrayList.indexOf()): this.equals(). * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise. * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get(). From-SVN: r49778
2002-02-14re PR libgcj/5670 (verify.cc not properly merging states)Todd Stock2-2/+20
2002-02-13 Todd Stock <toddastock@yahoo.com> Fix for PR libgcj/5670: * verify.cc (is_assignable_from_slow): If `source' is interface, recursively look for merge with `target'. From-SVN: r49769
2002-02-14jni.h: Fix typo.Martin Kahlert2-2/+6
2002-02-14 Martin Kahlert <martin.kahlert@infineon.com> * include/jni.h: Fix typo. From-SVN: r49767
2002-02-13jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.Martin Kahlert2-2/+6
2002-02-13 Martin Kahlert <martin.kahlert@infineon.com> * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly. From-SVN: r49737
2002-02-13re PR libgcj/5671 (verify.cc problem merging local variables)Todd Stock2-2/+13
2002-02-13 Todd Stock <toddastock@yahoo.com> Fix for PR libgcj/5671: * verify.cc (state::merge): Handle case where we're merging against an interface. From-SVN: r49735
2002-02-13* exception.cc (std::abort): Mark as noreturn.Tom Tromey2-2/+6
From-SVN: r49717
2002-02-12Win32Process.java: Filled in a placeholder implementation so Win32 will build.Adam Megacz1-0/+5
2002-02-12 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java: Filled in a placeholder implementation so Win32 will build. From-SVN: r49701
2002-02-12natFilePosix.cc: Copied this from natFile.cc.Adam Megacz4-324/+321
2002-02-12 Adam Megacz <adam@xwt.org> * java/io/natFilePosix.cc: Copied this from natFile.cc. * java/io/natFile.cc: Removed from repository. * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}. From-SVN: r49700
2002-02-12win32.cc: Added two #includes to make win32.cc compile.Adam Megacz2-0/+6
2002-02-12 Adam Megacz <adam@xwt.org> * win32.cc: Added two #includes to make win32.cc compile. From-SVN: r49696
2002-02-12boehm.cc (initialized, [...]): Removed unused declarations.Bryce McKinlay2-90/+9
* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused declarations. (_Jv_InitGC): Don't bother locking, as this is always called from a single-thread. Turn off GC_all_interior_pointers. Remove dead code. From-SVN: r49695
2002-02-12win32.h: Added _Jv_platform_gettimeofday.Adam Megacz3-0/+15
2002-02-11 Adam Megacz <adam@xwt.org> * include/win32.h: Added _Jv_platform_gettimeofday. * win32.cc (_Jv_platform_gettimeofday): Added dummy function. From-SVN: r49693
2002-02-12natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and ↵Adam Megacz3-0/+8
java/lang/reflect/Modifier.h cooperate. 2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate. From-SVN: r49692
2002-02-12natFileWin32.cc: Created a placeholder class with lots of FIXMEs.Adam Megacz2-63/+53
2002-02-11 Adam Megacz <adam@xwt.org> * java/io/natFileWin32.cc: Created a placeholder class with lots of FIXMEs. From-SVN: r49691
2002-02-11exception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().Adam Megacz2-4/+20
2002-02-11 Adam Megacz <adam@xwt.org> * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed std::abort() to simply abort(). Also added "fake" std::abort() so we can #include unwind-pe.h without having to link against libstdc++-v3. From-SVN: r49685
2002-02-11For PR java/5641:Tom Tromey3-0/+28
* libjava.compile/PR5641.xfail: New file. * libjava.compile/PR5641.java: New file. From-SVN: r49660
2002-02-11libjava.exp (libjava_find_lib): Remove duplicate .la files.Rainer Orth2-3/+11
2002-02-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * lib/libjava.exp (libjava_find_lib): Remove duplicate .la files. From-SVN: r49659
2002-02-10interpret.cc (continue1): Use PUSHL, not PUSHI.Andreas Tobler2-1/+5
2002-02-10 Andreas Tobler <toa@pop.agri.ch> * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI. From-SVN: r49655