Kresten Krab Thorup
f7b4fb110a
interpret.cc (continue1): Implement explicit dispatch table.
...
* interpret.cc (continue1): Implement explicit dispatch table.
insn_target: Explicit interpreter switch table.
SAVE_PC: New macro, moves pc saving code into instructions that
require so.
NEXT_INSN: New macro, replaces `goto next_insn' in all insns.
PC_REGISTER_ASM: New macro.
INLINE_SWITCH: New macro. Constrols dispatching strategy.
opcode: Remove local variable.
{i,l,f,d}{load,store}_{0,1,2,3}: Expand definitions.
(POKEI): Use _Jv_word.
(iinc): Use _Jv_word.
(dupx): Change reference argument (sp) to pointer.
(jvdump): Remove
* interpret.cc: Remove instruction timing instrumentation.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Changed
comment. Don't use _Jv_ClassNameSamePackage.
* gnu/gcj/util/path/{SearchPath,ZipFileEntry,DirectoryPathEntry,
URLPathEntry, CacheEntry}: Removed.
* Makefile.am (ordinary_java_source_files): Remove gnu/gcj/util/path
package.
(.java.lo): Rule removed.
* Makefile.in: Rebuilt.
From-SVN: r28777
1999-08-20 11:40:35 +00:00
Tom Tromey
bd30fa53ca
natThread.cc (class locker): New class.
...
* java/lang/natThread.cc (class locker): New class.
(join): Use a locker around _Jv_CondWait.
(sleep): Likewise.
From-SVN: r28770
1999-08-19 22:58:27 +00:00
Tom Tromey
5a0eb8326f
ThreadGroup.java: Fixed now-erroneous comment.
...
* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
From-SVN: r28753
1999-08-18 19:51:23 +00:00
Tom Tromey
4c9d8fa8c5
* include/javaprims.h ("Java"): Regenerated namespace decls.
...
From-SVN: r28749
1999-08-18 16:34:28 +00:00
Kresten Krab Thorup
eb4534a636
natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings.
...
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
from _Jv_InternClassStrings.
* prims.cc (_Jv_RunMain): New function.
(JvRunMain): Remove gij-support.
* gij.cc (main): Use _Jv_RunMain.
* java/util/zip/ZipFile.java: Call readDirectory in constructor.
* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
argument in temp variable.
(continue1): For all op_x2y insns, use temp variable for
intermediate value. Also remove some comments.
* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
(forName): Don't call _Jv_InitClass.
* java/lang/Class.java (getResource,getResourceAsStream): Implement.
* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
* java/util/jar/JarInputStream.java: New file.
* java/util/jar/JarEntry.java: New file.
* java/util/jar/JarFile.java: New file.
* java/net/URLClassLoader.java: New file.
* java/net/JarURLConnection.java: New file.
* gnu/gcj/protocol/jar/Handler.java: New file.
* gnu/gcj/protocol/jar/Connection.java: New file.
* java/security/SecureClassLoader.java: New file.
* java/lang/ClassLoader.java (parent): New variable.
(ClassLoader (ClassLoader)): new constructor.
(findClass): New method.
(loadClass): Add default 1.2 implementation.
(getSystemResourceAsBytes, getResourceAsBytes): Removed.
(readfully): Removed.
* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
(findSystemClass): New method.
(VMClassLoader): Constructor rewritten.
(init): New method.
All other methods removed.
* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
to gnu::gcj::runtime::VMClassLoader.
(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry. Also handle
class entries.
(VMClassLoader::findSystemClass): renamed from findBootClass.
* Makefile.am: Add new files.
(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
* Makefile.in: Rebuilt.
From-SVN: r28748
1999-08-18 14:16:42 +00:00
Tom Tromey
212f5d3026
natThread.cc (sleep): Turn 0 millis and 0 nanos into 1 nano.
...
* java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
nano.
* include/quick-threads.h (_Jv_CondWait): Don't round to 0
inappropriately.
From-SVN: r28742
1999-08-18 03:48:37 +00:00
Tom Tromey
086920c39f
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Set DIVIDESPEC to empty string if compiler does
not support -fuse-divide-subroutine.
From-SVN: r28727
1999-08-16 17:01:52 +00:00
Per Bothner
efc3b511cb
resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
...
1999-08-14 Per Bothner <per@bothner.com>
* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
* java/lang/natClass.cc (initializeClass): Likewise.
* java/lang/ClassLoader.java (resolveClass0): New static method.
(resolveClass): Call resolveClass0.
(findSystemClass): No longer static.
From-SVN: r28711
1999-08-14 19:49:06 +00:00
Alexandre Oliva
cb339d0278
javaprims.h (TRUE, FALSE): Redefine as themselves.
...
1999-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* include/javaprims.h (TRUE, FALSE): Redefine as themselves.
From-SVN: r28689
1999-08-12 17:31:34 +00:00
Bryce McKinlay
48ff99d10d
BitSet.java (set, [...]): specify "1" constant as long.
...
* java/util/BitSet.java (set, clear, hashCode): specify "1" constant
as long.
From-SVN: r28680
1999-08-11 22:30:31 +01:00
Anthony Green
7941ceabf0
[multiple changes]
...
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.
* java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if
present.
* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization
and punctuation.
* acinclude.m4: Likewise.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* include/javaprims.h (_Jv_word, _Jv_word2): New types.
* include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word.
(_Jv_callInterpretedMethod): Unused. Remove.
(_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class):
Use ffi_raw.
* include/java-cpool.h (_Jv_get, _Jv_put): Remove.
(_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word.
* boehm.cc (_Jv_MarkObj): Use _Jv_word.
* interpret.cc: use _Jv_word.
* defineclass.cc: use_Jv_word.
* resolve.cc: Use _Jv_word.
(_Jv_ResolvePoolEntry): Return _Jv_word.
* java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool.
* java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Change comment.
From-SVN: r28641
1999-08-10 05:32:23 +00:00
Rainer Orth
05ca950a64
configure.in (sched_yield): Try librt first, then libposix4.
...
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (sched_yield): Try librt first, then libposix4.
Add -lrt, -lposix4 to THREADSPEC.
From-SVN: r28629
1999-08-09 19:17:20 +00:00
Anthony Green
cb35be5713
* gnu/gcj/util/path/SearchPath.java: Comment out verbose output.
...
From-SVN: r28608
1999-08-09 01:11:41 +00:00
Anthony Green
e3253af520
defineclass.cc (_Jv_VerifyClassName): Verify array names correctly.
...
* defineclass.cc (_Jv_VerifyClassName): Verify array names
correctly.
From-SVN: r28606
1999-08-09 00:25:51 +00:00
Anthony Green
58eb6e7cef
[multiple changes]
...
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 14:06:23 +00:00
Tom Tromey
7339705d94
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Look for sched_yield in -lrt.
From-SVN: r28554
1999-08-06 20:36:46 +00:00
Mojo Jojo
3a6bdebaa0
Locale.java (CHINESE, [...]): New locales.
...
1999-08-06 Mojo Jojo <mojojojo@pacbell.net>
* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
locales.
(toString): Print correctly when `country' is empty.
From-SVN: r28548
1999-08-06 08:38:50 +00:00
Per Bothner
67a6001825
configure.in: Also do AC_SUBST for DIVIDESPEC.
...
1999-08-04 Per Bothner <per@bothner.com>
* configure.in: Also do AC_SUBST for DIVIDESPEC.
From-SVN: r28520
1999-08-05 05:21:44 +00:00
Tom Tromey
5b9bbb3917
aclocal.m4, configure: Rebuilt for new libtool.
...
* aclocal.m4, configure: Rebuilt for new libtool.
[[Split portion of a mixed commit.]]
From-SVN: r28435.2
1999-08-03 03:07:04 +00:00
Bryce McKinlay
120abe3202
natFile.cc (performMkdir): Remove FIXME.
...
* java/io/natFile.cc (performMkdir): Remove FIXME.
* java/io/natFileDescriptorPosix.cc (open): Use 0644 file mode.
From-SVN: r28430
1999-08-03 01:32:14 +01:00
Bryce McKinlay
25fef12b66
ServerSocket.java: Define ANY_IF.
...
* java/net/ServerSocket.java: Define ANY_IF.
(ServerSocket (int,int)): Use ANY_IF instead of null to bind to
all network interfaces.
* java/net/DatagramSocket.java (DatagramSocket): ditto.
* java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
null.
* java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
instead of null.
From-SVN: r28429
1999-08-03 01:30:53 +01:00
Bryce McKinlay
a0e4da0d17
boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR.
...
eth'
* boehm.cc (_Jv_RegisterFinalizer): Cast
eth' to GC_PTR.
* exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher.
From-SVN: r28428
1999-08-03 01:23:03 +01:00
Alexandre Oliva
130e63de4a
configure.in: Check for bstring.h.
...
1999-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: Check for bstring.h.
* configure, include/config.h.in: Rebuilt.
* java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
* java/net/natPlainSocketImpl.cc: Likewise.
From-SVN: r28378
1999-08-01 23:39:53 +00:00
Tom Tromey
db936a7cbd
NEWS: Likewise.
...
* NEWS: Likewise.
* THANKS: New file.
From-SVN: r28371
1999-08-01 04:04:04 +00:00
Alexandre Oliva
34c5c0e18c
configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r...
...
1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: Check for struct hostent_data and need for
-D_REENTRANT for gethostbyname_r declaration.
* java/net/natInetAddress.cc: Define _REENTRANT if needed.
(lookup): Use hostent_data for fixed_buffer.
* configure, include/config.h.in: Rebuilt.
From-SVN: r28369
1999-08-01 00:14:32 +00:00
Alexandre Oliva
138607df84
natSystem.cc (arraycopy): Use bcopy if memmove is not available.
...
1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
* java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not
available. Don't cast memmove args to (void*).
* configure.in: Do not abort if memmove is not available.
From-SVN: r28360
1999-07-31 23:41:15 +00:00
Bryce McKinlay
41296e2a23
natString.cc (substring): optimize where substring is entire String.
...
1999-07-22 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natString.cc (substring): optimize where substring is
entire String.
* java/io/File.java (getName): don't return separator with file name.
* java/io/natFile.cc (attr): fix overflow.
From-SVN: r28246
1999-07-26 03:51:44 +01:00
Anthony Green
a08b508225
* mauve-libgcj: Disable Object Serialization tests.
...
From-SVN: r28235
1999-07-25 08:48:25 +00:00
Warren Levy
33551dfec5
DatagramSocket.java (DatagramSocket(int, InetAddress)): Default to using PlainDatagramSocketImpl.
...
* java/net/DatagramSocket.java (DatagramSocket(int, InetAddress)):
Default to using PlainDatagramSocketImpl.
* java/net/PlainDatagramSocketImpl.java (close): Catch IOException.
From-SVN: r28195
1999-07-20 20:30:42 +00:00
Tom Tromey
9608c09195
* include/stamp-h.in: New file.
...
From-SVN: r28171
1999-07-19 18:03:31 +00:00
Tom Tromey
d4a8b6a2f3
mprec.h: Protect definition of uint32_t with #ifndef _UINT32_T.
...
* java/lang/mprec.h: Protect definition of uint32_t with #ifndef
_UINT32_T.
From-SVN: r28065
1999-07-12 09:40:07 +00:00
Andrew Haley
44a6ce434c
i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point after the instruction where the trap...
...
1999-07-07 Andrew Haley <aph@cygnus.com>
* include/i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two
bytes to make it point after the instruction where the trap
occurred.
(HANDLE_DIVIDE_OVERFLOW): Ditto.
From-SVN: r27994
1999-07-07 09:50:46 +00:00
Tom Tromey
fd05b13d19
mauve-libgcj: Explicitly enable formerly disabled java.text tests.
...
* mauve-libgcj: Explicitly enable formerly disabled java.text
tests.
From-SVN: r27992
1999-07-07 09:30:46 +00:00
Tom Tromey
c7f0f62848
mauve-libgcj: Turn off ClassTest test.
...
* mauve-libgcj: Turn off ClassTest test. Enable java.text tests
again.
From-SVN: r27990
1999-07-07 09:12:30 +00:00
Anthony Green
c704c83cbd
URL.java (equals): Compare strings using String.equals.
...
* java/net/URL.java (equals): Compare strings using String.equals.
* java/net/URL.java (sameFile): Ditto.
From-SVN: r27947
1999-07-05 13:35:21 +00:00
Warren Levy
6130b0af10
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Added inet_ntoa to AC_CHECK_FUNCS.
* include/config.h.in: Rebuilt.
* java/net/natPlainDatagramSocketImpl.cc: Added header checking.
(mcastGrp): Updated FIXME comments.
(setOption): Fixed typo.
(getOption):Implemented IP_MULTICAST_IF.
From-SVN: r27929
1999-07-02 18:50:21 +00:00
Warren Levy
e75a9d7719
PlainDatagramSocketImpl.java (ttl): Removed.
...
* java/net/PlainDatagramSocketImpl.java (ttl): Removed.
* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Implemented.
(getTimeToLive): Implemented.
(setOption): Implemented IP_MULTICAST_IF.
From-SVN: r27922
1999-07-02 04:25:05 +00:00
Bryce McKinlay
659c26fc49
String.java (toString): Check for this == null and throw NullPointerException.
...
1999-07-01 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/String.java (toString): Check for this == null and throw
NullPointerException.
From-SVN: r27895
1999-07-01 20:58:04 +01:00
Warren Levy
cb1902adbf
[multiple changes]
...
1999-07-01 Warren Levy <warrenl@cygnus.com>
* gnu/gcj/convert/BytesToUnicode.java (read): Changed outlength
to count and revised comments to match.
* gnu/gcj/convert/Input_EUCJIS.java (read): Same as Input_8859_1.java.
* gnu/gcj/convert/Input_JavaSrc.java (read): ditto.
* gnu/gcj/convert/Input_SJIS.java (read): ditto.
* gnu/gcj/convert/Input_UTF8.java (read): ditto.
* gnu/gcj/convert/natInput_EUCJIS.cc (read): ditto.
* gnu/gcj/convert/natInput_SJIS.cc (read): ditto.
1999-07-01 John-Marc Chandonia <jmc@cmpharm.ucsf.edu>
* gnu/gcj/convert/Input_8859_1.java (read): Use 3rd parameter
properly as count rather than outlength.
* java/io/BufferedOutputStream.java (write(byte[],int,int): Flush
output on overflow rather than buffer fill.
* java/io/BufferedReader.java (fill): Don't clear out the buffer
if markPos is 0 and there is still room in the buffer.
From-SVN: r27892
1999-07-01 17:01:00 +00:00
Andrew Haley
0d072f2298
i386-signal.h: Replace sigaction () with __sigaction ().
...
1999-07-01 Andrew Haley <aph@cygnus.com>
* include/i386-signal.h: Replace sigaction () with __sigaction ().
This is a workaround for a bug in glibc's pthreads package which
doesn't deliver any sigcontext information to a signal handler.
From-SVN: r27876
1999-07-01 10:30:58 +00:00
Tom Tromey
2dc130a72e
[multiple changes]
...
1999-06-24 Tom Tromey <tromey@cygnus.com>
* java/lang/e_asin.c: Don't use __int32_t or __uint32_t.
* java/lang/fdlibm.h (HUGE): Conditionally define.
Fri May 28 22:20:03 1999 Anthony Green <green@cygnus.com>
* java/lang/fdlibm.h: Don't use __uint32_t. Include mprec.h.
* java/lang/e_log.c: Don't use __uint32_t.
From-SVN: r27733
1999-06-24 20:41:47 +00:00
Tom Tromey
0d16618c58
[multiple changes]
...
Fri May 28 22:20:03 1999 Anthony Green <green@cygnus.com>
* java/lang/fdlibm.h: Don't use __uint32_t. Include mprec.h.
* java/lang/e_log.c: Don't use __uint32_t.
1999-05-27 Eric Christopher <echristo@cygnus.com>
* configure: Rebuilt
* configure.in: Fixed ISO C9X and namespace collision with __uint32_t
* acconfig.h: Rebuilt
* include/config.h.in: Rebuilt
* java/lang/mprec.h, java/lang/e_acos.c, java/lang/e_asin.c,
java/lang/e_atan2.c, java/lang/e_exp.c, java/lang/e_fmod.c,
e_log.c, java/lang/e_pow.c, java/lang/e_rem_pio2.c,
java/lang/e_remainder.c, java/lang/e_sqrt.c, java/lang/fdlibm.h,
k_tan.c, java/lang/mprec.h, java/lang/s_atan.c,
java/lang/s_ceil.c, java/lang/s_copysign.c, java/lang/s_fabs.c,
s_floor.c, java/lang/s_rint.c, java/lang/sf_rint.c: Fixed ISO C9X
and namespace collision with __uint32_t
From-SVN: r27729
1999-06-24 20:06:09 +00:00
Tom Tromey
34043bd2e9
InflaterInputStream.java (read): Throw ZipException if inflater throws a DataFormatException.
...
* java/util/zip/InflaterInputStream.java (read): Throw
ZipException if inflater throws a DataFormatException.
From-SVN: r27719
1999-06-23 14:57:14 +00:00
Warren Levy
05dfd09c0c
DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
...
* java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
* java/net/natPlainDatagramSocketImpl.cc (bind): ditto.
* java/text/ChoiceFormat.java (nextDouble(double, boolean)): Method
is not final per JDK.
* java/util/PropertyResourceBundle.java (handleGetObject): Method is
public per JDK.
* java/util/zip/DataFormatException.java: Class extends Exception.
* java/util/zip/Deflater.java (finalize): Method is protected per JDK.
* java/util/zip/ZipEntry.java: Class implements ZipConstants.
* java/util/zip/ZipInputStream.java: ditto.
(closeEntry): Changed method name to match JDK spec.
From-SVN: r27717
1999-06-23 12:24:59 +00:00
Tom Tromey
e8d49b5b5e
ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
...
* java/lang/ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
From Jeff Sturm.
From-SVN: r27671
1999-06-21 15:42:12 +00:00
Tom Tromey
b48ed5683a
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (toolexeclibdir): Define as libdir when
appropriate.
* configure: Rebuilt.
* configure.in (USE_LIBDIR): New conditional.
From-SVN: r27667
1999-06-21 13:03:47 +00:00
Bryce McKinlay
e0cb3930ca
natInetAddress.cc (lookup): Preserve caller-supplied hostname in returned InetAddress objects.
...
* java/net/natInetAddress.cc (lookup): Preserve caller-supplied
hostname in returned InetAddress objects.
(getLocalHostname): Fix typo.
* java/net/InetAddress.java (getByName): Set hostname on return
object.
(getLocalHost): Call lookup directly to ensure that a fully-qualified
name is returned.
From-SVN: r27587
1999-06-18 02:17:28 +01:00
Bryce McKinlay
1920afb3c6
natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL.
...
* java/net/natPlainSocketImpl.cc (bind): Bind to any/all network
interfaces if host==NULL.
(accept): Throw message with InterruptedIOException.
(getOption): Cache localAddress.
* java/net/natPlainDatagramSocketImpl.cc (bind): Don't need
'address' for DatagramSocket.
(setTimeToLive): Fix compiler warnings.
(getOption): Cache localAddress.
* java/net/Socket.java (getLocalAddress): Don't need local
InetAddress object. Add FIXME comment about calling checkConnect().
* java/net/ServerSocket.java (ServerSocket(int)): Initialize
connection queue to 50 as per JDK 1.2 docs.
(ServerSocket(int,int)): Listen on all network interfaces by
default, per JDK 1.2 docs.
* java/net/PlainDatagramSocketImpl.java: Don't need 'address'.
Add localAddress caching.
From-SVN: r27559
1999-06-17 01:21:26 +01:00
Bryce McKinlay
cb81310a55
FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs.
...
* java/io/FilterOutputStream.java (write(byte[])): Rewrite according
to JDK 1.2 docs.
(write(byte[],int,int)): ditto.
From-SVN: r27537
1999-06-15 21:05:57 +01:00
Bryce McKinlay
00af55a292
* posix-threads.cc (_Jv_CondWait): Fix currentTimeMillis() overflow.
...
From-SVN: r27524
1999-06-14 18:20:35 +01:00