Mark Wielaard
ca9e049bc1
Imported GNU Classpath gcj-import-20051117.
...
* gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r107153
2005-11-18 00:59:33 +00:00
Mark Wielaard
f4e1433a02
[multiple changes]
...
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-17 20:38:40 +00:00
Bryce McKinlay
11922361e4
Implement -Xss.
...
* 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 20:25:57 +00:00
Mark Wielaard
035db16b87
[multiple changes]
...
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-17 14:03:22 +00:00
Mark Wielaard
dbb28e4b13
ZipEntry.java: Removed, fully merged now.
...
* 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 22:39:13 +00:00
Mark Wielaard
46f32b2b90
[multiple changes]
...
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 19:43:53 +00:00
Mark Wielaard
8656214b84
[multiple changes]
...
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-16 16:30:03 +00:00
Mark Wielaard
8f523f3a10
Imported GNU Classpath 0.19 + gcj-import-20051115.
...
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
2005-11-15 23:20:01 +00:00
Scott Gilbertson
02e549bfaa
Index: libjava/ChangeLog
...
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-15 21:56:11 +00:00
David Daney
5e6ff6bda3
re PR libgcj/15430 (Cannot interrupt blocking I/O calls with close())
...
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 19:11:53 +00:00
Andrew Haley
2dfedb225b
[multiple changes]
...
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-15 17:34:11 +00:00
Andrew Haley
089aaefeba
ObjectStreamClass.java (findAccessibleMethod): Allow protected readResolve().
...
2005-09-16 Andrew Haley <aph@redhat.com>
* java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
protected readResolve(). Rewrite accessibility check.
From-SVN: r107027
2005-11-15 17:08:45 +00:00
Mohan Embar
d0568f737a
natVMNetworkInterfaceWin32.cc: Include java/net/VMNetworkInterface.h.
...
* java/net/natVMNetworkInterfaceWin32.cc: Include
java/net/VMNetworkInterface.h.
From-SVN: r106895
2005-11-14 17:19:11 +00:00
Mohan Embar
99b8b611f5
natPlainSocketImplWin32.cc: Updated copyright.
...
* 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-14 17:15:18 +00:00
Tom Tromey
317adebb1f
jacks.xfail (non-jls-zip-2): Now passes.
...
* testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
passes.
From-SVN: r106702
2005-11-09 19:15:30 +00:00
Tom Tromey
246b053811
re PR libgcj/24587 (libgcj should set gnu.classpath.version system property)
...
PR libgcj/24587:
* gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
From-SVN: r106659
2005-11-08 21:58:43 +00:00
Tom Tromey
230d8ead8c
PR libgcj/23763. From aeby@graeff.com.
...
* java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
before exec.
From-SVN: r106655
2005-11-08 21:00:15 +00:00
Mark Wielaard
1578900592
* scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
...
From-SVN: r106636
2005-11-08 14:56:42 +00:00
David Daney
d8aa672350
mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.
...
* mauve-libgcj: Disable javax.rmi.* and
java.io.InputStreamReader.getEncoding.
From-SVN: r106614
2005-11-07 21:31:50 +00:00
Tom Tromey
1b38125a35
PR libgcj/14358, libgcj/24552:
...
* 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-04 15:08:18 +00:00
Kaz Kojima
b3bdba1328
sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
...
* include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
From-SVN: r106481
2005-11-04 04:35:34 +00:00
Andreas Tobler
3532623302
libjava.exp (libjava_find_lib): Add dylib to the shared library extensions.
...
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-11-02 23:02:14 +01:00
Andreas Jaeger
44bcbae366
.cvsignore are not needed for subversion, remove them.
...
From-SVN: r106279
2005-10-31 18:20:58 +01:00
Andrew Haley
02f3e085c7
re PR java/24251 (BC-compiled interfaces in libgcj can't be called from 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-13 17:36:07 +00:00
Tom Tromey
ab711ed3c2
ExtraClassLoader.out: New file.
...
* testsuite/libjava.lang/ExtraClassLoader.out: New file.
* testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
Now static.
From-SVN: r105185
2005-10-10 19:18:26 +00:00
Richard Henderson
d3073c70c5
re PR target/23602 (1081 test failures in libjava, when configured for 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-05 11:19:26 -07:00
Tom Tromey
887dc28845
Makefile.in: Rebuilt.
...
* 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-03 22:33:10 +00:00
Tom Tromey
01406f868c
re PR libgcj/24057 (libgcj installs jawt.h and jni.h in version independent location)
...
PR libgcj/24057:
* include/Makefile.in: Rebuilt.
* include/Makefile.am: Don't install headers.
From-SVN: r104905
2005-10-03 19:07:10 +00:00
Andrew Pinski
cc86dcfb99
jni.exp (gcj_jni_test_one): For darwin, use -shared-libgcc not -lgcc_s, and 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-10-02 14:40:55 -07:00
Tom Tromey
e0f7b2609b
re PR libgcj/24051 (libjava failed to configure)
...
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-30 20:46:59 +00:00
Andreas Tobler
a0bb10e784
configure.ac: Fix typo.
...
2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac: Fix typo.
* configure: Regenerate.
From-SVN: r104764
2005-09-29 07:00:39 +02:00
Geoffrey Keating
c7d0307027
locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather 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 22:46:48 +00:00
David Daney
e7d15badcc
* HACKING: Update instructions for classpath import.
...
From-SVN: r104744
2005-09-28 21:43:23 +00:00
Tom Tromey
b9e6a2e5de
re PR libgcj/23367 (_Jv_FindMethodInCache is not thread-safe)
...
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-27 20:03:09 +00:00
Tom Tromey
ab3fa9d344
configure, [...]: Rebuilt.
...
* 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-27 18:51:40 +00:00
Tom Tromey
34d9dc2d29
cvsignore: Likewise.
...
* 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-24 00:07:48 +00:00
Tom Tromey
1ea63ef8be
Imported Classpath 0.18.
...
* 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-23 21:31:04 +00:00
Tom Tromey
9b044d1951
Initial revision
...
From-SVN: r104578
2005-09-23 19:36:46 +00:00
Bryce McKinlay
0c9976393b
BootClassLoader.java (BootClassLoader): Pass `null' parent ClassLoader to 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-22 01:21:52 +01:00
Ranjit Mathew
82798eaeee
* testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
...
From-SVN: r104486
2005-09-21 13:45:21 +00:00
H.J. Lu
3fb90446b4
jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the 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-17 11:12:43 -07:00
Anthony Green
a49701f9e0
Correction. Committed wrong patch earlier today.
...
From-SVN: r104367
2005-09-17 04:20:26 +00:00
Anthony Green
ba80a8b264
re PR classpath/20198 (java.security.CodeSource.getLocation output is different than expected)
...
PR libgcj/20198
* java/net/URLClassLoader.java (FileURLLoader.getResource): File
resources should all have canonicalized names.
From-SVN: r104360
2005-09-16 22:57:10 +00:00
Tom Tromey
a022cd5969
re PR libgcj/16032 (libgcj should reject class files with incorrect version 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-15 22:02:13 +00:00
Tom Tromey
befd75753f
For PR libgcj/23288:
...
* java/net/URLClassLoader.java (definePackage): Correctly order
arguments to definePackage. Look up per-entry Attributes.
(getAttributeValue): New method.
From-SVN: r104320
2005-09-15 20:17:05 +00:00
Thomas Fitzsimmons
16dab3e221
re PR libgcj/23762 (java.library.path should default to value of environment 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-12 23:50:01 +00:00
Andrew Haley
13d7d8745b
URLClassLoader.java (addURLImpl): Synchronize on the loader.
...
2005-09-08 Andrew Haley <aph@redhat.com>
* java/net/URLClassLoader.java (addURLImpl): Synchronize on the
loader.
(toString): Likewise.
From-SVN: r104095
2005-09-09 13:06:24 +00:00
Andrew Haley
ddef717308
re PR libgcj/22084 (Divide_1 test case hangs)
...
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-09 13:05:20 +00:00
Thomas Fitzsimmons
9ff284256a
re PR libgcj/23761 (java.library.path doesn't affect module loading path)
...
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-08 21:26:25 +00:00
Tom Tromey
852993e381
re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments)
...
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-06 16:01:31 +00:00