gcc/libjava/java/lang
Mohan Embar 5c14415811 win32.cc: fixed tab...
* win32.cc: fixed tab, indentation and whitespace
	inconsistencies
	removed jvm.h include
	added includes java/lang/UnsupportedOperationException.h,
	java/io/IOException.h, java/net/SocketException.h
	(WSAEventWrapper): class implementation
	(_Jv_WinStrError): implemented both overloads
	(_Jv_ThrowIOException): implemented both overloads
	(_Jv_ThrowSocketException): implemented both overloads
	(_Jv_select): implemented
	* include/win32.h: fixed tab, indentation and whitespace
	inconsistencies
	wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
	added jvm.h include
	(WSAEventWrapper): added class declaration
	(_Jv_WinStrError): added both overload declarations
	(_Jv_ThrowIOException): added both overload declarations
	(_Jv_ThrowSocketException): added both overload declarations
	removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
	(_Jv_select): added declaration
	(_Jv_socket): removed
	(_Jv_connect): removed
	(_Jv_close): removed
	(_Jv_bind): removed
	(_Jv_accept): removed
	(_Jv_listen): removed
	(_Jv_write): removed
	(_Jv_read): removed
	* java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	(testCanUseGetHandleInfo): new function which tests whether Win32
	GetHandleInformation() call can be used with console buffer handles
	(only supported on >=WinNT 5.0)
	(winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
	(valid): rewrote implementation using GetHandleInformation()
	(sync): 	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(open): likewise
	(write): likewise
	(setLength): likewise
	(close): likewise
	(seek): likewise
	(getFilePointer): likewise
	(read): likewise
	* java/io/natFileWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	(_access): use JV_TEMP_UTF_STRING
	(_stat): likewise
	(performMkDir): use JV_TEMP_UTF_STRING
	(performRenameTo): likewise
	(performDelete): likewise
	(performCreate): likewise
	(performSetReadOnly): likewise
	(performSetLastModified): likewise
	* java/lang/natWin32Process.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed includes gcj/cni.h, jvm.h
	(new_string): removed
	(startProcess): use JV_TEMP_UTF_STRING,
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	* java/net/natInetAddressWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	(aton): use JV_TEMP_UTF_STRING
	removed POSIX conditional code not relevant to Win32
	(lookup): likewise
	(getLocalHostName): likewise
	* java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed unnecessary windows.h, winsock.h and gcj/cni.h includes
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	(winsock2GetRealNetworkInterfaces): new function to compute network
	interfaces via Winsock2 API
	(determineGetRealNetworkInterfacesFN): new function for returning
	a function pointer to the function used to compute network interfaces.
	(getRealNetworkInterfaces): implemented
	* java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed gcj/cni.h include
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	changed net POSIXisms to Win32isms
	replaced _Jv socket-related calls with their real Win32 equivalents
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(peekData): implemented timeout support
	(receive): likewise
	* java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed gcj/cni.h and gcj/javaprims.h includes
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	changed net POSIXisms to Win32isms
	replaced _Jv socket-related calls with their real Win32
	equivalents
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(throwConnectException): helper function for connect()
	(connect): implemented timeout support
	(accept): likewise
	(doRead): new helper function common to both read() method overloads,
	includes timeout support
	(read): implemented both overloads in terms of doRead()
	(available): implemented using ioctlsocket()

From-SVN: r70904
2003-08-29 04:21:01 +00:00
..
ref Reference.java (get): Indentation fix. 2003-08-26 16:31:12 +00:00
reflect re PR libgcj/12058 (java.lang.reflect.Array.set(Object, int, Object) throws java.lang.IllegalArgumentException) 2003-08-26 14:55:30 +00:00
AbstractMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArithmeticException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayStoreException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
AssertionError.java AssertionError.java: Merge with classpath, fixes HTML. 2002-09-16 09:46:37 +00:00
Boolean.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Byte.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Character.java * java/lang/Character.java (forDigit): Formatting fix. 2002-12-03 20:13:43 +00:00
CharSequence.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Class.h Makefile.in: Rebuilt. 2003-08-28 22:17:37 +00:00
Class.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
ClassCastException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassCircularityError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassFormatError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassLoader.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
ClassNotFoundException.java ClassNotFoundException.java: New Classpath version. 2002-06-17 19:15:22 +00:00
Cloneable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
CloneNotSupportedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Comparable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Compiler.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Double.java GNU Classpath merge. 2002-11-03 20:27:31 +00:00
dtoa.c
e_acos.c
e_asin.c
e_atan2.c
e_exp.c
e_fmod.c
e_log.c
e_pow.c cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
e_rem_pio2.c
e_remainder.c
e_scalb.c
e_sqrt.c
EcosProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Error.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Exception.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
ExceptionInInitializerError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
fdlibm.h cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
Float.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
ieeefp.h ieeefp.h: Handle ARM platforms that have pure-endian floating point. 2003-04-16 18:32:06 +00:00
IllegalAccessError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalAccessException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalArgumentException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalMonitorStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalThreadStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IncompatibleClassChangeError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InheritableThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
InstantiationError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Integer.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
InternalError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InterruptedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
LinkageError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Long.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Math.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
mprec.c
mprec.h
natCharacter.cc
natClass.cc Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
natClassLoader.cc natClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS). 2003-01-30 23:20:45 +00:00
natDouble.cc
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &. 2003-03-15 01:04:08 +00:00
natPosixProcess.cc natPosixProcess.cc (cleanup): Added `path' argument. 2002-08-14 19:53:54 +00:00
natRuntime.cc [multiple changes] 2003-08-08 16:26:00 +00:00
natString.cc natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
natStringBuffer.cc natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
natSystem.cc * java/lang/natSystem.cc (arraycopy): Check for overflow. 2003-07-23 15:31:43 +00:00
natThread.cc
natVMSecurityManager.cc natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound. 2003-06-18 14:13:59 +00:00
natWin32Process.cc win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
NegativeArraySizeException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoClassDefFoundError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NullPointerException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Number.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
NumberFormatException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Object.h
Object.java
OutOfMemoryError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Package.java Proxy.java: New version from Classpath. 2003-03-29 01:34:23 +00:00
PosixProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Process.java Process.java: Merged from classpath. 2003-03-19 12:15:04 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
RuntimeException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
RuntimePermission.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
s_atan.c
s_ceil.c
s_copysign.c
s_cos.c
s_fabs.c
s_floor.c
s_rint.c
s_scalbn.c
s_sin.c
s_tan.c
SecurityException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityManager.java SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath. 2002-12-01 16:16:19 +00:00
sf_fabs.c
sf_rint.c
Short.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackOverflowError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackTraceElement.java natThrowable.cc (printRawStackTrace): removed. 2002-07-12 12:52:44 +00:00
StrictMath.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
String.java natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
StringBuffer.java natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
strtod.c
System.java System.java: Explicitely import needed classes. 2003-05-27 06:03:14 +00:00
Thread.java Thread.java (Thread): Check for null "name" from start of private constructor... 2003-08-07 02:12:27 +01:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
ThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
Throwable.java * java/lang/Throwable.java: Remerge with Classpath. 2002-10-04 16:47:36 +00:00
UnknownError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsatisfiedLinkError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedClassVersionError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedOperationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VerifyError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VirtualMachineError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VMClassLoader.java Add Proxy support. 2002-09-30 05:19:09 +00:00
VMSecurityManager.java Makefile.in: Rebuilt. 2002-12-05 00:49:30 +00:00
VMThrowable.java natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
Void.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
w_acos.c
w_asin.c
w_atan2.c
w_exp.c w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined. 2003-06-06 03:34:36 +00:00
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c
Win32Process.java Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab. 2003-07-27 04:13:03 +00:00