Tom Tromey
09efa46f6a
jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.
...
2001-04-27 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h (struct JNINativeInterface): Fixed types in
Get/Set*ArrayRegion declarations.
(class _Jv_JNIEnv): Likewise.
From-SVN: r41633
2001-04-27 16:09:10 +00:00
Tom Tromey
f24fd724c2
libjava.exp (libjava_init): Use UTF-8 encoding.
...
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.
From-SVN: r41617
2001-04-27 00:56:16 +00:00
Alexandre Oliva
2d65a52ece
configure.in: Obtain THREADS with `gcc -v'.
...
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.
From-SVN: r41571
2001-04-26 04:29:57 +00:00
Bryce McKinlay
0cd99be737
re PR libgcj/2237 (serialization doesn't throw exception on failure)
...
Fix PR libgcj/2237:
* java/io/ObjectStreamClass.java (setClass): Calculate
serialVersionUID for local class and compare it against the UID
from the Object Stream. Throw InvalidClassException upon mismatch.
(setUID): Renamed to...
(getClassUID): this. Return the calculated class UID rather than
setting uid field directly.
(getDefinedSUID): Removed.
* java/io/ObjectInputStream.java (resolveClass): Use the
three-argument Class.forName().
* java/io/InvalidClassException (toString): Don't include classname in
result if it is null.
From-SVN: r41567
2001-04-26 03:02:05 +01:00
Kaveh R. Ghazi
9e65a913b6
natInetAddress.cc (java::net::InetAddress::aton): Wrap use of inet_pton in HAVE_INET6.
...
* java/net/natInetAddress.cc (java::net::InetAddress::aton):
Wrap use of inet_pton in HAVE_INET6.
From-SVN: r41547
2001-04-25 20:27:06 +00:00
Bryce McKinlay
889a80aa95
Forgot this file on last commit.
...
From-SVN: r41544
2001-04-25 16:48:05 +01:00
Bryce McKinlay
28f7d9d05a
decl.c (init_decl_processing): Add new class "protectionDomain" field.
...
gcc/java:
2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* decl.c (init_decl_processing): Add new class "protectionDomain"
field.
* class.c (make_class_data): Set initial value for "protectionDomain".
libjava:
2001-04-25 Bryce McKinlay <bryce@albatross.co.nz>
java.security merge and ClassLoader compliance fixes.
* java/lang/Class.h (Class): Include ProtectionDomain.h.
New protectionDomain field.
(forName): Add initialize parameter. Fixes declaration to comply with
JDK spec.
* java/lang/natClass.cc (forName): Correct declaration of the three-arg
variant. Honour "initialize" flag.
(getProtectionDomain0): New method.
* java/lang/Class.java: Fix forName() declaration.
(getPackage): New method based on Classpath implementation.
(getProtectionDomain0): New native method decl.
(getProtectionDomain): New method.
* java/lang/ClassLoader.java (getParent): Now final.
(definedPackages): New field.
(getPackage): New.
(defineClass): New variant with protectionDomain argument.
(definePackage): New.
(getPackages): New.
(findSystemClass): Now final.
(getSystemResourceAsStream): Remove redundant "final" modifier.
(getSystemResource): Remove redundant "final" modifier.
(getResources): Now final.
(protectionDomainPermission): New static field.
(unknownProtectionDomain): Ditto.
(defaultProtectionDomain): Ditto.
(getSystemClassLoader): Now non-native.
* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
arguments for Class.forName().
* java/lang/Package.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
(instance): Static initialize singleton.
(findClass): Override this, not findSystemClass.
* java/lang/natClassLoader.cc (defineClass0): Set class's
protectionDomain field as specified.
(getSystemClassLoader): Removed.
(findClass): Renamed from findSystemClass. Call the interpreter via
URLClassLoader.findClass if loading class via dlopen fails.
* java/security/*.java: java.security import/merge with Classpath.
* java/security/acl/*.java: Likewise.
* java/security/interfaces/*.java: Likewise.
* java/security/spec/*.java: Likewise.
* java/net/NetPermission.java: Likewise.
* java/net/SocketPermission.java: Likewise.
* gnu/java/security/provider/DefaultPolicy.java: Likewise.
* Makefile.am: Add new classes.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: CNI namespace rebuild.
From-SVN: r41543
2001-04-25 16:45:15 +01:00
Alexandre Oliva
5ec89e892c
configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS for libtool tests.
...
* configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGS
for libtool tests. Pre-create gnu/classpath/Configuration.java.
* configure: Rebuilt.
From-SVN: r41522
2001-04-24 11:27:20 +00:00
Tom Tromey
efc150d58b
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.
* java/awt/Menu.java (addNotify): Wrote.
* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.
* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.
* java/awt/List.java (replaceItem): Notify peer.
* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.
* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.
* java/awt/RenderingHints.java (Key): Class now public.
* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.
* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.
* java/awt/FileDialog.java: Wrote.
* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.
* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.
* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.
From-SVN: r41492
2001-04-22 17:01:18 +00:00
Tom Tromey
760903c056
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Line2D.java.
* java/awt/geom/Line2D.java: Wrote.
* java/awt/Menu.java (addNotify): Wrote.
* java/awt/PopupMenu.java (addNotify): Implemented.
(show): Likewise.
* java/awt/Scrollbar.java (addNotify): Call super.addNotify.
* java/awt/List.java (addNotify): Call super.addNotify.
* java/awt/Label.java (addNotify): Call super.addNotify.
* java/awt/FileDialog.java (addNotify): Call super.addNotify.
* java/awt/Dialog.java (addNotify): Call super.addNotify.
* java/awt/Choice.java (addNotify): Call super.addNotify.
* java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify.
* java/awt/Checkbox.java (addNotify): Call super.addNotify.
* java/awt/List.java (replaceItem): Notify peer.
* java/awt/geom/Rectangle2D.java
(Float.setRect(float,float,float,float)): New method.
* java/awt/event/ContainerEvent.java (getContainer): Now returns
Container.
* java/awt/RenderingHints.java (Key): Class now public.
* java/awt/Rectangle.java (Rectangle): Now implements
Serializable.
(getPathIterator): Removed.
* java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New
constructor.
* java/awt/FileDialog.java: Wrote.
* java/awt/EventQueue.java (isDispatchThread): Now public.
(invokeLater): Likewise.
* java/awt/Component.java (setCursor): Update peer.
(getFontMetrics): Use peer.
* java/awt/ComponentOrientation.java (ComponentOrientation): Class
now final.
From-SVN: r41489
2001-04-22 03:05:39 +00:00
Tom Tromey
f825e235a8
List.java: Wrote.
...
* java/awt/List.java: Wrote.
* java/awt/Dialog.java: Wrote.
From-SVN: r41476
2001-04-21 02:48:35 +00:00
Warren Levy
a6f5b6f958
natSystem.cc (getSystemTimeZone): Adjust for DST.
...
* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/text/SimpleDateFormat.java
(indexInArray): Removed private method.
(processYear): Removed private method.
(parseLenient): Removed private method.
(parseLeadingZeros): Removed private method.
(parseStrict): Removed private method.
(expect): Added new private method.
(parse): Reverted to pre-Classpath merge version with minor fixes.
* java/util/natGregorianCalendar.cc (computeTime): Handle strict
calendars.
From-SVN: r41456
2001-04-20 09:43:52 +00:00
Bryce McKinlay
52c2897732
Makefile.am: Make a libtool convenience library.
...
libffi:
* Makefile.am: Make a libtool convenience library.
* Makefile.in: Rebuilt.
libjava:
* java/io/File.java (normalizePath): New private method.
(File (String)): Use normalizePath().
(File (String, String)): Likewise.
* Makefile.am (libffi_files): Removed.
(libgcj.la): Link libffi as a convenience library instead of
refering to its object files directly.
* Makefile.in: Rebuilt.
From-SVN: r41298
2001-04-12 10:32:50 +01:00
Per Bothner
ab9fa4b5d4
natString.cc (_Jv_NewStringUtf8Const): Register finalizer.
...
* java/lang/natString.cc (_Jv_NewStringUtf8Const): Register finalizer.
Recalculate hash, since Utf8Const's hash is only 16 bits.
* java/lang/natString.cc (_Jv_StringFindSlot, rehash): Use high-order
bits of hash to calculate step for chaining.
* java/lang/natString.cc (intern, _Jv_NewStringUtf8Const): Rehash
when 2/3 full, rather than 3/4 full.
From-SVN: r41233
2001-04-10 15:46:11 -07:00
Tom Tromey
4f75c18024
testsuite: libjava: remove some xfail markers.
...
* libjava.lang/pr83.xfail: Removed.
* libjava.lang/Shazam.xfail: Removed.
* libjava.lang/PR162.xfail: Removed.
* libjava.compile/PR375.xfail: Removed.
* libjava.compile/PR208.xfail: Removed xfail-byte.
* libjava.compile/PR207.xfail: Removed xfail-byte.
From-SVN: r41220
2001-04-10 14:27:41 +00:00
Tom Tromey
693c414507
testsuite: libjava: remove some xfail markers.
...
* libjava.compile/weirddecl.xfail: Removed xfail-*.
* libjava.compile/PR374.xfail: Removed.
From-SVN: r41180
2001-04-07 20:00:50 +00:00
Tom Tromey
80a44e089f
jni.cc (wrap_value<jobject>, [...]): Removed.
...
* jni.cc (wrap_value<jobject>, wrap_value<jclass>): Removed.
(wrap_value<T*>): New specialization.
(_Jv_JNI_PopLocalFrame): Update env->locals.
From-SVN: r41157
2001-04-06 17:38:52 +00:00
Alexandre Petit-Bianco
b8136a1632
instinit2.out: Fixed.
...
2001-03-29 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/instinit2.out: Fixed.
(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00343.html )
From-SVN: r41132
2001-04-05 16:07:30 -07:00
Tom Tromey
cb77742606
* libtool-version: Updated current.
...
From-SVN: r41116
2001-04-05 15:12:41 +00:00
Andreas Jaeger
48f9396dd6
Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
...
2001-04-04 Andreas Jaeger <aj@suse.de>
* gcj/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* gcj/Makefile.in: Rebuilt.
* Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* Makefile.in: Rebuilt.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* testsuite/Makefile.in: Rebuild.
* include/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo.
* include/Makefile.in: Rebuild.
From-SVN: r41100
2001-04-04 23:38:53 +00:00
Zack Weinberg
b6dabe8938
libjava.exp: Correct typo...
...
* testsuite/lib/libjava.exp: Correct typo: 'output from source
compiled test', not 'execution from source compiled test'.
Use UNTESTED, not XFAIL, for tests which are not run because
they depend on a previous test which failed.
From-SVN: r41026
2001-04-02 23:36:26 +00:00
Richard Henderson
212a2676d3
configure.in (GCC_UNWIND_INCLUDE): Assume we're built within the same tree as gcc.
...
* configure.in (GCC_UNWIND_INCLUDE): Assume we're built within
the same tree as gcc.
* configure: Rebuilt.
* exception.cc (_Jv_Throw): Clarify commentary.
From-SVN: r41025
2001-04-02 16:26:50 -07:00
Marcus G. Daniels
56f2b5bd76
jni.cc (wrap_value<jclass>): New specialization.
...
2001-04-02 Marcus G. Daniels <mgd@swarm.org>
* jni.cc (wrap_value<jclass>): New specialization.
From-SVN: r41021
2001-04-02 22:52:40 +00:00
Tom Tromey
0003efa0b3
PrintStream.java (out): Removed field.
...
* java/io/PrintStream.java (out): Removed field. Fixes PR
java/2449.
(write): Call flush, not out.flush, per spec.
(close): Flush output stream, per spec. Handle
InterruptedIOException.
(checkError): Likewise.
(flush, print, write): Handle InterruptedIOException per spec.
(PrintStream): Don't create BufferedOutputStream.
(work_bytes): New field.
(writeChars): Use work_bytes. Don't assume `out' is a
BufferedOutputStream.
From-SVN: r41014
2001-04-02 21:16:38 +00:00
Torsten Rueger
5f82d4f21c
re PR libgcj/2429 (java.text.MessageFormat should usefully set text on exceptions)
...
2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>
* java/text/MessageFormat.java (setLocale): Added missing `else'.
For PR libgcj/2429.
From-SVN: r41012
2001-04-02 19:55:56 +00:00
Tom Tromey
5152512c2e
jni.cc (add_char): Correctly encode non-ascii characters.
...
* jni.cc (add_char): Correctly encode non-ascii characters.
(add_char): Define even when INTERPRETER not defined.
(mangled_name): Likewise.
(_Jv_GetJNIEnvNewFrame): Likewise.
(_Jv_LookupJNIMethod): Likewise.
From-SVN: r41010
2001-04-02 19:52:39 +00:00
Kevin B Hendricks
23ab86e452
* configure.host: Enable interpreter for PPC.
...
From-SVN: r41009
2001-04-02 19:51:40 +00:00
Bryce McKinlay
8f58baf480
natSystem.cc (init_properties): Revert yesterday's changes to "file.separator"...
...
* java/lang/natSystem.cc (init_properties): Revert yesterday's changes
to "file.separator", "path.separator", and "java.io.tmpdir" property
initialization.
* java/io/File.java: Likewise.
* java/io/natFile.cc (init_native): Likewise.
* java/io/natFileWin32.cc (init_native): Likewise.
From-SVN: r40994
2001-04-02 06:23:10 +01:00
Per Bothner
a3b63299e6
natString.cc (intern): If string's data does not point to this String, make a fresh String that does.
...
* java/lang/natString.cc (intern): If string's data does not point to
this String, make a fresh String that does.
* java/lang/natString.cc (unintern): Replace by static function.
* java/lang/String.java (unintern): Remove method.
From-SVN: r40990
2001-04-01 14:54:10 -07:00
Per Bothner
f44b63ae02
DeflaterOutputStream.java (deflate): Loop while def.needsInput.
...
* DeflaterOutputStream.java (deflate): Loop while def.needsInput.
(finish): def.deflate needs to be called in a loop.
(inbuf, inbufLength): New private fields.
(write(int)): Use inbuf.
(write(byte[],int,int): Check if pending output in inbuf.
* ZipOutputStream.java: Don't use Deflater if stored.
Use a Checksum object directly, not via a CheckedOutputStream.
(uncompressed_size): New field,
(closeEntry): Only write data_directory if needed.
(write): If STORED, write directly.
Always update crc, and uncompressed_size.
(write_entry): Fix lots of protocol erors.
From-SVN: r40988
2001-04-01 14:28:45 -07:00
Bryce McKinlay
f404754042
1.3-Compliant Implementation of java.io.File.
...
* java/lang/natSystem.cc (init_properties): Get "file.separator",
"path.separator", and "java.io.tmpdir" from the File class, instead
of setting them explicitly.
* java/io/File.java: Do not canonicalize paths for security manager
checks. Call init_native() from static initializer. Do not pass path
argument to native methods. New native method declarations. Some
security manager checks moved to checkWrite().
(equals): Check file system case sensitivity and act appropriatly.
(hashCode): Likewise.
(isHidden): New method implemented.
(performList): Changed prototype. Now takes a class argument specifying
the class of the returned array: Strings or File objects. Also added
FileFilter argument.
(listFiles): New variants with "File" return type implemented.
(createTempFile): Use createNewFile(). Use maxPathLen.
(setReadOnly): New method implemented.
(listRoots): Likewise.
(compareTo): Likewise.
(setLastModified): Likewise.
(checkWrite): New method.
(setPath): Removed.
* java/io/natFile.cc: Various functions no longer take canonical path
argument.
(stat): Handle ISHIDDEN query.
(isAbsolute): Remove WIN32 cruft.
(performList): New arguments. Handle returning either File[] or
String[] arrays. Check with FileFilter or FilenameFilter arguments as
appropriate. Use an ArrayList, not a Vector, for the temporary list.
(performSetReadOnly): New method implemented.
(performListRoots): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(init_native): New initialization function.
* java/io/natFileWin32.cc: Various functions no longer take canonical
path argument.
(stat): Add FIXME about ISHIDDEN query.
(performList): New arguments. Handle returning either File[] or String[]
arrays. Check with FileFilter or FilenameFilter arguments as
appropriate. Use an ArrayList, not a Vector, for the temporary list.
(performSetReadOnly): New. Stubbed.
(performListRoots): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(init_native) New initialization function.
* configure.in: Check for utime() and chmod().
* configure: Rebuilt.
* include/config.h.in: Rebuilt.
Resolves PR libgcj/1759.
From-SVN: r40985
2001-04-01 12:16:40 +01:00
Richard Henderson
52a11cbfcf
IA-64 ABI Exception Handling.
...
From-SVN: r40924
2001-03-28 03:04:51 -08:00
Joerg Brunsmann
0d430c965d
InitialContext.java (init): Fix typo.
...
2001-03-27 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
* javax/naming/InitialContext.java (init): Fix typo.
(composeName): Remove unnecessary semicolon.
(addToEnvironment): Remove unnecessary semicolon.
(addToEnvironment): Use put() instead of add().
* javax/naming/InitialContext.java (InitialContext):
Make public.
(destroySubcontext): Method doesn't return a result.
* javax/naming/Context.java: Import java.util.Hashtable.
* javax/naming/Name.java: Import java.util.Enumeration.
From-SVN: r40888
2001-03-28 01:32:02 +01:00
Bryce McKinlay
29bb79cf26
Makefile.am (libffi_files): Use 'find' to pick up libffi libtool objects in subdirectories.
...
* Makefile.am (libffi_files): Use 'find' to pick up libffi libtool
objects in subdirectories.
* Makefile.in: Rebuilt.
From-SVN: r40857
2001-03-27 01:18:30 +01:00
Richard Henderson
b3208f56cb
exception.cc (java_eh_info): Make value type jthrowable.
...
* exception.cc (java_eh_info): Make value type jthrowable.
(_Jv_type_matcher): Remove now unneeded cast.
(_Jv_Throw): Make argument type jthrowable. Munge name
for SJLJ_EXCEPTIONS here ...
* gcj/cni.h: ... not here.
(JvThrow): Remove.
* gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations.
* defineclass.cc, interpret.cc, jni.cc, posix-threads.cc,
prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc,
gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc,
gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc,
gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc,
java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc,
java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc,
java/lang/natClass.cc, java/lang/natClassLoader.cc,
java/lang/natDouble.cc, java/lang/natObject.cc,
java/lang/natPosixProcess.cc, java/lang/natRuntime.cc,
java/lang/natString.cc, java/lang/natSystem.cc,
java/lang/natThread.cc, java/lang/reflect/natArray.cc,
java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc,
java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc,
java/util/zip/natInflater.cc:
Use throw, not JvThrow or _Jv_Throw.
From-SVN: r40838
2001-03-25 23:05:32 -08:00
Bryce McKinlay
f1cd4ab003
HashMap.java (HashMap): If 0 is given for initialCapacity paramater, bump it to 1.
...
2001-03-24 Bryce McKinlay <bryce@albatross.co.nz>
* java/util/HashMap.java (HashMap): If 0 is given for initialCapacity
paramater, bump it to 1.
* java/util/Hashtable.java (Hashtable): Likewise.
From-SVN: r40812
2001-03-24 08:05:29 +00:00
Per Bothner
aff68f1cd9
Left out while checking in java/lang/natDouble.cc (parseDouble) change.
...
From-SVN: r40811
2001-03-23 20:00:30 -08:00
Per Bothner
3c45ffa514
natDouble.cc (parseDouble): Cannot use errno to check for errors...
...
* java/lang/natDouble.cc (parseDouble): Cannot use errno to
check for errors, since we don't want to throw exception on
overflow/underflow. Instead, trim whitespace, and then check that
_strtod_r uses up all the rest of the string.
From-SVN: r40800
2001-03-23 16:59:57 -08:00
Per Bothner
7a3155bef7
natClass.cc (_Jv_IsAssignableFrom): Checking the ancestors array is invalid for interfaces...
...
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Checking the
ancestors array is invalid for interfaces, so do that *after*
check that the target type is not an interface.
From-SVN: r40797
2001-03-23 16:21:24 -08:00
Jeff Sturm
b64295c4d3
prims.cc (_Jv_FindClassFromSignature): Check return of recursive call.
...
2000-03-23 Jeff Sturm <jsturm@one-point.com>
* prims.cc (_Jv_FindClassFromSignature): Check return of
recursive call. Do not abort on invalid signature; return NULL
instead.
From-SVN: r40787
2001-03-23 19:17:22 +00:00
Tom Tromey
83c64db681
jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields.
...
* jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields.
* java/lang/reflect/natField.cc (getType): Use _Jv_ResolveField
unconditionally.
* include/jvm.h (_Jv_ResolveField): Declare.
* include/java-interp.h (_Jv_ResolveField): Don't declare.
* resolve.cc (_Jv_ResolveField): No longer conditional on
INTERPRETER.
From-SVN: r40785
2001-03-23 19:15:44 +00:00
Tom Tromey
ae8a67c4c0
field.out: New file.
...
* libjava.jni/field.out: New file.
* libjava.jni/field.c: New file.
* libjava.jni/field.java: New file.
From-SVN: r40776
2001-03-23 05:57:00 +00:00
Bryce McKinlay
e4c34f6a43
re PR libgcj/1736 ([irix 6.5] Cannot create libgcj - Arg list too long)
...
Fix for PR libgcj/1736. Thanks to Robert Boehne and Alexandre Oliva
for libtool hacking.
* Makefile.am (libgcj.la): New explicit rule. Echo the list of objects
to a temporary file, then invoke libtool with the -objectlist
paramater.
(libgcjx.la): Likewise.
* Makefile.in: Rebuilt.
From-SVN: r40775
2001-03-23 05:18:16 +00:00
Joerg Brunsmann
d7cfa17ce1
Context.java (SECURITY_CREDENTIALS): Fix typo.
...
2001-03-22 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
* javax/naming/Context.java (SECURITY_CREDENTIALS): Fix typo.
From-SVN: r40771
2001-03-23 02:35:39 +00:00
Marcus G. Daniels
736458d64b
jni.cc (add_char): Handle .' like
/'.
...
2001-03-22 Marcus G. Daniels <mgd@swarm.org>
* jni.cc (add_char): Handle `.' like `/'.
From-SVN: r40748
2001-03-22 17:47:15 +00:00
Bryce McKinlay
595420bfea
Method.java (getExceptionTypes): Call getType() to initialize if exception_types is null.
...
* java/lang/reflect/Method.java (getExceptionTypes): Call getType() to
initialize if exception_types is null.
* java/lang/reflect/Constructor.java: Likewise.
* java/lang/reflect/natConstructor.cc (getType): Initialize
exception_types to an empty Object array.
From-SVN: r40730
2001-03-22 06:37:16 +00:00
Tom Tromey
57df195483
uesc.java: New file.
...
* libjava.compile/uesc.java: New file.
* libjava.compile/uesc.xfail: New file.
From-SVN: r40704
2001-03-21 18:52:24 +00:00
Tom Tromey
7e0c895f0e
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in (GCJFLAGS): Subst.
* Makefile.in: Rebuilt.
* Makefile.am (jv_convert_LDFLAGS): Added -shared-libgcc.
(gij_LDFLAGS): Likewise.
(JC1FLAGS): Added GCJFLAGS and removed -g.
From-SVN: r40700
2001-03-21 18:43:03 +00:00
Tom Tromey
5db60c46d0
re PR libgcj/2338 (RandomAccessFile does not create the file if not found)
...
* java/io/natFileDescriptorPosix.cc (open): Add O_CREAT in
read/write case. Fixes PR libgcj/2338.
From-SVN: r40692
2001-03-21 17:23:09 +00:00
Warren Levy
bd2950d208
TimeZone.java: Sync up with Classpath.
...
* java/util/TimeZone.java: Sync up with Classpath. Includes new
and corrected SimpleTimeZone's for the timezones hash table.
From-SVN: r40650
2001-03-20 10:05:45 +00:00