harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r585454 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main/native: include/unix/jclprots.h include/windows/jclprots.h luni/unix/exports.txt
Date Wed, 17 Oct 2007 11:59:28 GMT
Author: hindessm
Date: Wed Oct 17 04:59:23 2007
New Revision: 585454

URL: http://svn.apache.org/viewvc?rev=585454&view=rev
Log:
Removing references to prototypes/exports without implementations.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/unix/jclprots.h
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/exports.txt

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/unix/jclprots.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/unix/jclprots.h?rev=585454&r1=585453&r2=585454&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/unix/jclprots.h (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/unix/jclprots.h Wed
Oct 17 04:59:23 2007
@@ -28,10 +28,6 @@
  ** COMPONENT: NativesCommon
  ************************************************************/
 
-/* NativesCommonPlainServerSocketImpl*/
-void JNICALL Java_java_net_PlainServerSocketImpl_createServerStreamSocketImpl PROTOTYPE((
-	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-
 /* NativesCommonDeflater*/
 void JNICALL Java_java_util_zip_Deflater_setDictionaryImpl PROTOTYPE(( JNIEnv * env, jobject
recv,  jbyteArray dict, int off, int len, jlong handle));
 void JNICALL Java_java_util_zip_Deflater_resetImpl PROTOTYPE(( JNIEnv * env, jobject recv,
 jlong handle));
@@ -46,27 +42,6 @@
 jlong JNICALL Java_java_util_zip_Deflater_getTotalInImpl PROTOTYPE(( JNIEnv * env, jobject
recv, jlong handle));
 jint JNICALL Java_java_util_zip_Deflater_getAdlerImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jlong handle));
 
-/* NativesCommonPlainSocketImpl2*/
-void JNICALL Java_java_net_PlainSocketImpl2_connectStreamWithTimeoutSocketImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor, jint remotePort, jint timeout, jint trafficClass, jobject inetAddress));
-void JNICALL Java_java_net_PlainSocketImpl2_socketBindImpl2 PROTOTYPE((JNIEnv *env, jclass
thisClz,
-	jobject fileDescriptor, jint localPort,  jobject inetAddress));
-void JNICALL Java_java_net_PlainSocketImpl2_createStreamSocketImpl2 PROTOTYPE((
-	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-void JNICALL Java_java_net_PlainSocketImpl2_connectStreamSocketImpl2 PROTOTYPE((JNIEnv *env,
jclass thisClz,
-	jobject fileDescriptor, jint remotePort, jint trafficClass, jobject inetAddress));
-jint JNICALL Java_java_net_PlainSocketImpl2_sendDatagramImpl2 PROTOTYPE((
-	JNIEnv* env, jclass thisClz,
-	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength,
-	jint targetPort, jobject inetAddress));
-
-/* NativesCommonFileOutputStream*/
-jint JNICALL Java_java_io_FileOutputStream_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path, jboolean append));
-void JNICALL Java_java_io_FileOutputStream_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
-void JNICALL Java_java_io_FileOutputStream_writeByteImpl PROTOTYPE((JNIEnv *env, jobject
recv, jint c, jlong descriptor));
-void JNICALL Java_java_io_FileOutputStream_writeImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
-void JNICALL Java_java_io_FileOutputStream_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass clazz));
-
 /* NativesCommonDoubleParsing*/
 JNIEXPORT jdouble JNICALL Java_org_apache_harmony_luni_util_FloatingPointParser_parseDblImpl
    PROTOTYPE((JNIEnv *env, jclass clazz, jstring s, jint e));
@@ -81,28 +56,6 @@
 jlong JNICALL Java_java_util_zip_CRC32_updateByteImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyte val, jlong crc));
 jlong JNICALL Java_java_util_zip_CRC32_updateImpl PROTOTYPE(( JNIEnv * env, jobject recv,
jbyteArray buf, int off, int len, jlong crc));
 
-/* NativesCommonAnnotationHelper*/
-
-/* NativesCommonSocketImpl*/
-void JNICALL Java_java_net_SocketImpl_listenStreamSocketImpl PROTOTYPE(( JNIEnv *env, jclass
thisClz, jobject fileDescriptor, jint backlog));
-void JNICALL Java_java_net_SocketImpl_acceptStreamSocketImpl PROTOTYPE((JNIEnv *env, jclass
thisClz,
-	jobject fileDescriptorServer, jobject socketImpl, jobject fileDescriptorSocketImpl, jint
timeout));
-void JNICALL Java_java_net_SocketImpl_sendUrgentDataImpl PROTOTYPE((JNIEnv * env, jclass
thisClz, jobject fileDescriptor, jbyte data));
-jint JNICALL Java_java_net_SocketImpl_receiveStreamImpl PROTOTYPE((JNIEnv * env, jclass thisClz,
-														jobject fileDescriptor, jbyteArray data, jint offset,
-														jint count, jint timeout));
-void JNICALL Java_java_net_SocketImpl_createStreamSocketImpl PROTOTYPE((
-	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-jint JNICALL Java_java_net_SocketImpl_sendStreamImpl PROTOTYPE((JNIEnv * env, jclass thisClz,
jobject fileDescriptor,
-													 jbyteArray data, jint offset, jint count));
-void JNICALL Java_java_net_SocketImpl_shutdownOutputImpl PROTOTYPE(( JNIEnv * env, jclass
thisClz, jobject fileDescriptor));
-void JNICALL Java_java_net_SocketImpl_createDatagramSocketImpl PROTOTYPE((
-JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-jint JNICALL Java_java_net_SocketImpl_availableStreamImpl PROTOTYPE(( JNIEnv *env, jclass
thisClz, jobject fileDescriptor));
-jboolean JNICALL Java_java_net_SocketImpl_supportsUrgentDataImpl PROTOTYPE((JNIEnv * env,
jclass thisClz, jobject fileDescriptor));
-void JNICALL Java_java_net_SocketImpl_shutdownInputImpl PROTOTYPE(( JNIEnv * env, jclass
thisClz, jobject fileDescriptor));
-void JNICALL Java_java_net_SocketImpl_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
clazz, jboolean jcl_supports_ipv6 ));
-
 /* NativesCommonFile*/
 jboolean JNICALL Java_java_io_File_mkdirImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
 jboolean JNICALL Java_java_io_File_setLastModifiedImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path, jlong time));
@@ -128,15 +81,6 @@
 jboolean JNICALL Java_java_io_File_existsImpl PROTOTYPE((JNIEnv *env, jobject recv, jbyteArray
path));
 jboolean JNICALL Java_java_io_File_setReadOnlyImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray path));
 
-/* NativesCommonFileInputStream*/
-jint JNICALL Java_java_io_FileInputStream_readByteImpl PROTOTYPE((JNIEnv * env, jobject recv,
jlong descriptor));
-jint JNICALL Java_java_io_FileInputStream_readImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
-void JNICALL Java_java_io_FileInputStream_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass clazz));
-void JNICALL Java_java_io_FileInputStream_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
-jlong JNICALL Java_java_io_FileInputStream_skip PROTOTYPE((JNIEnv * env, jobject recv, jlong
count));
-jint JNICALL Java_java_io_FileInputStream_available PROTOTYPE((JNIEnv * env, jobject recv));
-jint JNICALL Java_java_io_FileInputStream_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path));
-
 /* NativesCommonObjectInputStream*/
 void JNICALL Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2I
PROTOTYPE((JNIEnv *env, jclass clazz, jobject targetObject, jobject declaringClass, jobject
fieldName, jint newValue));
 void JNICALL Java_java_io_ObjectInputStream_objSetField PROTOTYPE((JNIEnv *env, jclass clazz,
jobject targetObject, jobject declaringClass, jobject fieldName, jobject fieldTypeName, jobject
newValue));
@@ -190,33 +134,13 @@
 
 /* NativesCommonProxy*/
 jclass JNICALL Java_java_lang_reflect_Proxy_defineClassImpl PROTOTYPE((JNIEnv * env, jclass
recvClass, jobject classLoader, jstring className, jbyteArray classBytes));
-jclass JNICALL 
-Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BIILjava_lang_Object_2_3Ljava_lang_Object_2Ljava_lang_Object_2
PROTOTYPE((JNIEnv * env, jclass recvClass, jobject classLoader, jstring className, jbyteArray
classBytes, jint offset, jint length, jobject pd, jobject signers, jobject source));
-jclass JNICALL 
-Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BII
PROTOTYPE((JNIEnv * env, jclass recvClass, jobject classLoader, jstring className, jbyteArray
classBytes, jint offset, jint length));
 
 /* NativesCommonGlobals*/
 void JNICALL JNI_OnUnload PROTOTYPE((JavaVM * vm, void *reserved));
 jint JNICALL JCL_OnLoad PROTOTYPE((JavaVM * vm, void *reserved));
 
-/* NativesCommonRuntime*/
-jlong JNICALL Java_java_lang_Runtime_maxMemoryImpl PROTOTYPE((JNIEnv * env, jclass cls));
-jint JNICALL Java_java_lang_Runtime_availableProcessorsImpl PROTOTYPE((JNIEnv * env, jclass
cls));
-
 /* NativesCommonJarFile*/
 jarray JNICALL Java_java_util_jar_JarFile_getMetaEntriesImpl PROTOTYPE((JNIEnv * env, jobject
recv, jbyteArray zipName));
-/* NativesCommonRandomAccessFile*/
-jint JNICALL Java_java_io_RandomAccessFile_readImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
-void JNICALL Java_java_io_RandomAccessFile_seek PROTOTYPE((JNIEnv * env, jobject recv, jlong
pos));
-void JNICALL Java_java_io_RandomAccessFile_closeImpl PROTOTYPE((JNIEnv * env, jobject recv));
-jlong JNICALL Java_java_io_RandomAccessFile_length PROTOTYPE((JNIEnv * env, jobject recv));
-jlong JNICALL Java_java_io_RandomAccessFile_getFilePointer PROTOTYPE((JNIEnv * env, jobject
recv));
-void JNICALL Java_java_io_RandomAccessFile_setLengthImpl PROTOTYPE((JNIEnv * env, jobject
recv, jlong newLength));
-void JNICALL Java_java_io_RandomAccessFile_writeImpl PROTOTYPE((JNIEnv *env, jobject recv,
jbyteArray buffer, jint offset, jint count, jlong descriptor));
-jint JNICALL Java_java_io_RandomAccessFile_readByteImpl PROTOTYPE((JNIEnv *env, jobject recv,
jlong descriptor));
-void JNICALL Java_java_io_RandomAccessFile_oneTimeInitialization PROTOTYPE((JNIEnv * env,
jclass rafClazz));
-jint JNICALL Java_java_io_RandomAccessFile_openImpl PROTOTYPE((JNIEnv * env, jobject recv,
jbyteArray path, jboolean writable));
-void JNICALL Java_java_io_RandomAccessFile_writeByteImpl PROTOTYPE((JNIEnv *env, jobject
recv, jint c, jlong descriptor));
 
 /* NativesCommonObjectOutputStream*/
 jfloat JNICALL Java_java_io_ObjectOutputStream_getFieldFloat PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
@@ -229,23 +153,10 @@
 jint JNICALL Java_java_io_ObjectOutputStream_getFieldInt PROTOTYPE((JNIEnv *env, jclass clazz,
jobject targetObject, jobject declaringClass, jobject fieldName));
 jchar JNICALL Java_java_io_ObjectOutputStream_getFieldChar PROTOTYPE((JNIEnv *env, jclass
clazz, jobject targetObject, jobject declaringClass, jobject fieldName));
 
-/* NativesCommonFileInputStream*/
-
 /* NativesCommonSocket*/
 void createSocket PROTOTYPE((JNIEnv* env, jobject thisObjFD, int sockType, jboolean preferIPv4Stack));
-void JNICALL Java_java_net_Socket_socketCloseImpl PROTOTYPE(( JNIEnv * env, jclass thisClz,
jobject fileDescriptor));
-void JNICALL Java_java_net_Socket_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass clazz,
jboolean jcl_supports_ipv6));
-jobject JNICALL Java_java_net_Socket_getSocketLocalAddressImpl PROTOTYPE((JNIEnv *env, jclass
thisClz, jobject fileDescriptor, jboolean preferIPv6Addresses));
-jobject JNICALL Java_java_net_Socket_getSocketOptionImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject aFileDescriptor, jint anOption));
-void JNICALL Java_java_net_Socket_setSocketOptionImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject aFileDescriptor, jint anOption, jobject aValue));
-jint JNICALL Java_java_net_Socket_getSocketFlags PROTOTYPE((JNIEnv *env, jclass thisClz));
-jint JNICALL Java_java_net_Socket_getSocketLocalPortImpl PROTOTYPE((JNIEnv *env, jclass thisClz,
jobject fileDescriptor, jboolean preferIPv6Addresses));
 I_32 pollSelectRead PROTOTYPE((JNIEnv * env, jobject fileDescriptor, jint timeout, BOOLEAN
poll));
 
-/* NativesCommonPlainMulticastSocketImpl*/
-void JNICALL Java_java_net_PlainMulticastSocketImpl_createMulticastSocketImpl PROTOTYPE((
-	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-
 /* NativesCommonZipFile*/
 void throwJavaZIOException PROTOTYPE((JNIEnv * env, const char *message));
 void throwNewInternalError PROTOTYPE((JNIEnv * env, const char * message));
@@ -267,7 +178,6 @@
 jstring JNICALL Java_java_net_InetAddress_inetNtoaImpl PROTOTYPE((JNIEnv* env, jclass clazz,
jint hipAddr));
 jobject JNICALL Java_java_net_InetAddress_getHostByAddrImpl PROTOTYPE((JNIEnv* env, jclass
clazz, jbyteArray addr));
 jobject JNICALL Java_java_net_InetAddress_getHostByNameImpl PROTOTYPE((JNIEnv* env, jclass
clazz, jstring aName, jboolean preferIPv6Addresses));
-jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByAddrImpl PROTOTYPE((JNIEnv* env,
jclass clazz, jstring addr));
 
 /* NativesCommonTimeZone*/
 jstring JNICALL Java_java_util_TimeZone_getCustomTimeZone PROTOTYPE((JNIEnv *env, jclass
clazz, jintArray tzinfo, jbooleanArray isCustomTimeZone));
@@ -288,7 +198,6 @@
 jobject newJavaByteArray PROTOTYPE((JNIEnv * env, jbyte *bytes, jint length));
 jobjectArray createAliasArrayFromAddrinfo PROTOTYPE((JNIEnv* env, hyaddrinfo_t addresses,
char* hName ));
 BOOLEAN booleanValue PROTOTYPE((JNIEnv * env, jobject aBoolean));
-BOOLEAN jcl_supports_ipv6 PROTOTYPE((JNIEnv * env));
 jobject newJavaLangInteger PROTOTYPE((JNIEnv * env, I_32 anInt));
 BOOLEAN preferIPv4Stack PROTOTYPE((JNIEnv * env));
 char* netLookupErrorString PROTOTYPE((JNIEnv* env, I_32 anErrorNum));
@@ -316,16 +225,6 @@
 void throwNPException PROTOTYPE((JNIEnv* env, const char* message));
 void throwIndexOutOfBoundsException PROTOTYPE((JNIEnv* env));
 
-/* NativesCommonSocket*/
-void throwSocketException PROTOTYPE((JNIEnv* env, I_32 errorNumber));
-I_32 conPollSelectRead PROTOTYPE((JNIEnv * env, jobject socket, jint timeout, BOOLEAN poll,
BOOLEAN accept));
-void* getSocketDescriptor PROTOTYPE((JNIEnv *env, jobject fd));
-void setSocketDescriptor PROTOTYPE((JNIEnv * env, jobject fd, void *value));
-jstring JNICALL Java_java_lang_System_getHostnameImpl PROTOTYPE((
-	JNIEnv* env, jclass clazz));
-void conUpdateSocket PROTOTYPE((JNIEnv *env, hysockaddr_t sockaddrP, jobject socket, int
remote));
-hysocket_t createAndBindSocket PROTOTYPE((JNIEnv* env, jobject socket, int sockType, int
localPort));
-
 /* NativesCommonFileDescriptor*/
 void JNICALL Java_java_io_FileDescriptor_oneTimeInitialization PROTOTYPE((JNIEnv * env, jclass
fdClazz));
 void JNICALL Java_java_io_FileDescriptor_sync PROTOTYPE((JNIEnv * env, jobject recv));
@@ -348,32 +247,6 @@
 void JNICALL Java_org_apache_harmony_luni_internal_process_ProcessInputStream_setFDImpl PROTOTYPE((JNIEnv
*env, jobject recv, jobject arg1, jlong arg2));
 void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_oneTimeInitialization
PROTOTYPE((JNIEnv * env, jclass clazz));
 
-/* NativesCommonPlainDatagramSocketImpl*/
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendDatagramImpl2 PROTOTYPE((
-	JNIEnv* env, jclass thisClz,
-	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength,
-    jint targetPort, jboolean bindToDevice, jint trafficClass, jobject inetAddress));
-void JNICALL Java_java_net_PlainDatagramSocketImpl_createDatagramSocketImpl PROTOTYPE((
-	JNIEnv* env, jclass thisClz, jobject thisObjFD, jboolean preferIPv4Stack));
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_peekDatagramImpl PROTOTYPE(( JNIEnv *env,
jclass thisClz,
-	jobject fileDescriptor, jobject senderAddress, jint timeout));
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendConnectedDatagramImpl PROTOTYPE((
-	JNIEnv* env, jclass thisClz,
-	jobject fileDescriptor, jbyteArray data, jint offset, jint msgLength, jboolean bindToDevice));
-void JNICALL Java_java_net_PlainDatagramSocketImpl_oneTimeInitialization PROTOTYPE((JNIEnv
* env, jclass clazz, jboolean ipv6support ));
-void JNICALL Java_java_net_PlainDatagramSocketImpl_connectDatagramImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor, jint remotePort, jint trafficClass, jobject inetAddress));
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl2 PROTOTYPE(( JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout, jboolean peek));
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl PROTOTYPE(( JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout));
-jboolean JNICALL Java_java_net_PlainDatagramSocketImpl_socketBindImpl2 PROTOTYPE((JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor, jint localPort,jboolean doDevice, jobject inetAddress));
-void JNICALL Java_java_net_PlainDatagramSocketImpl_disconnectDatagramImpl PROTOTYPE((JNIEnv
*env, jclass thisClz,
-	jobject fileDescriptor));
-jint JNICALL Java_java_net_PlainDatagramSocketImpl_recvConnectedDatagramImpl PROTOTYPE((
JNIEnv *env, jclass thisClz,
-	jobject fileDescriptor, jobject datagramPacket, jbyteArray data, jint offset, jint msgLength,
jint timeout, jboolean peek));
-
 /************************************************************
  ** COMPONENT: NativesCommonFileSystem
  ************************************************************/
@@ -403,10 +276,6 @@
 void setPlatformBindOptions PROTOTYPE((JNIEnv *env, hysocket_t socketP));
 I_32 setPlatformLastModified PROTOTYPE((JNIEnv *env, char * path, I_64 time));
 I_32 setPlatformReadOnly PROTOTYPE((JNIEnv *env, char * path));
-
-/* NativesUNIXcomm*/
-jint baudValueToConst PROTOTYPE((jint baudRate));
-jint baudConstToValue PROTOTYPE((jint baudRate));
 
 /* NativesUNIXSystemHelpers*/
 char *getPlatformFileEncoding PROTOTYPE((JNIEnv * env, char *codepageProp, int propSize));

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h?rev=585454&r1=585453&r2=585454&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/include/windows/jclprots.h
Wed Oct 17 04:59:23 2007
@@ -25,12 +25,6 @@
 #include "vmi.h"
 
 
-  /* NativesCommonPlainServerSocketImpl*/
-  JNIEXPORT void JNICALL
-    Java_java_net_PlainServerSocketImpl_createServerStreamSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-                
   /* NativesCommonDeflater*/
   JNIEXPORT void JNICALL Java_java_util_zip_Deflater_setDictionaryImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray dict, int off, int len,
@@ -60,40 +54,6 @@
   JNIEXPORT jint JNICALL Java_java_util_zip_Deflater_getAdlerImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jlong handle));
 
-  /* NativesCommonPlainSocketImpl2*/
-  JNIEXPORT void JNICALL
-    Java_java_net_PlainSocketImpl2_connectStreamWithTimeoutSocketImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint remotePort, jint timeout, jint trafficClass,
-                jobject inetAddress));
-  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_socketBindImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint localPort, jobject inetAddress));
-  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_createStreamSocketImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-  JNIEXPORT void JNICALL Java_java_net_PlainSocketImpl2_connectStreamSocketImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint remotePort, jint trafficClass, jobject inetAddress));
-  JNIEXPORT jint JNICALL Java_java_net_PlainSocketImpl2_sendDatagramImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyteArray data, jint offset, jint msgLength, jint targetPort,
-                jobject inetAddress));
-                
-  /* NativesCommonFileOutputStream*/
-  JNIEXPORT jint JNICALL Java_java_io_FileOutputStream_openImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path,
-                jboolean append));
-  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_closeImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_writeByteImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jint c, jlong descriptor));
-  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_writeImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
-                jint count, jlong descriptor));
-  JNIEXPORT void JNICALL Java_java_io_FileOutputStream_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass clazz));
-    
   /* NativesCommonDoubleParsing*/
   JNIEXPORT jdouble JNICALL
     Java_org_apache_harmony_luni_util_FloatingPointParser_parseDblImpl
@@ -117,40 +77,6 @@
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buf, int off, int len,
                 jlong crc));
                 
-  /* NativesCommonSocketImpl*/
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_listenStreamSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint backlog));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_acceptStreamSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptorServer,
-                jobject socketImpl, jobject fileDescriptorSocketImpl,
-                jint timeout));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_sendUrgentDataImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyte data));
-  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_receiveStreamImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyteArray data, jint offset, jint count, jint timeout));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_createStreamSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_sendStreamImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyteArray data, jint offset, jint count));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_shutdownOutputImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_createDatagramSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-  JNIEXPORT jint JNICALL Java_java_net_SocketImpl_availableStreamImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT jboolean JNICALL Java_java_net_SocketImpl_supportsUrgentDataImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_shutdownInputImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT void JNICALL Java_java_net_SocketImpl_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean jcl_supports_ipv6));
-    
   /* NativesCommonFile*/
   JNIEXPORT jboolean JNICALL Java_java_io_File_mkdirImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
@@ -200,23 +126,6 @@
   JNIEXPORT jboolean JNICALL Java_java_io_File_setReadOnlyImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
     
-  /* NativesCommonFileInputStream*/
-  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_readByteImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_readImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
-                jint count, jlong descriptor));
-  JNIEXPORT void JNICALL Java_java_io_FileInputStream_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass clazz));
-  JNIEXPORT void JNICALL Java_java_io_FileInputStream_closeImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT jlong JNICALL Java_java_io_FileInputStream_skip
-    PROTOTYPE ((JNIEnv * env, jobject recv, jlong count));
-  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_available
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT jint JNICALL Java_java_io_FileInputStream_openImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path));
-    
   /* NativesCommonObjectInputStream*/
   JNIEXPORT void JNICALL
     Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2I
@@ -327,63 +236,20 @@
   char *readCodepageMappings
     PROTOTYPE ((JNIEnv * env, char *codepage, char *codepageResult,
                 int resultSize));
-                
+
   /* NativesCommonProxy*/
   JNIEXPORT jclass JNICALL Java_java_lang_reflect_Proxy_defineClassImpl
     PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
                 jstring className, jbyteArray classBytes));
-  JNIEXPORT jclass JNICALL
-    Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BIILjava_lang_Object_2_3Ljava_lang_Object_2Ljava_lang_Object_2
-    PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
-                jstring className, jbyteArray classBytes, jint offset,
-                jint length, jobject pd, jobject signers, jobject source));
-  JNIEXPORT jclass JNICALL
-    Java_java_lang_reflect_Proxy_defineClass0__Ljava_lang_ClassLoader_2Ljava_lang_String_2_3BII
-    PROTOTYPE ((JNIEnv * env, jclass recvClass, jobject classLoader,
-                jstring className, jbyteArray classBytes, jint offset,
-                jint length));
-                
+ 
   /* NativesCommonGlobals*/
   JNIEXPORT void JNICALL JNI_OnUnload PROTOTYPE ((JavaVM * vm, void *reserved));
   JNIEXPORT jint JNICALL JCL_OnLoad PROTOTYPE ((JavaVM * vm, void *reserved));
   
-  /* NativesCommonRuntime*/
-  JNIEXPORT jlong JNICALL Java_java_lang_Runtime_maxMemoryImpl
-    PROTOTYPE ((JNIEnv * env, jclass cls));
-  JNIEXPORT jint JNICALL Java_java_lang_Runtime_availableProcessorsImpl
-    PROTOTYPE ((JNIEnv * env, jclass cls));
-    
   /* NativesCommonJarFile*/
   JNIEXPORT jarray JNICALL Java_java_util_jar_JarFile_getMetaEntriesImpl
     PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray zipName));
     
-  /* NativesCommonRandomAccessFile*/
-  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_readImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
-                jint count, jlong descriptor));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_seek
-    PROTOTYPE ((JNIEnv * env, jobject recv, jlong pos));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_closeImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT jlong JNICALL Java_java_io_RandomAccessFile_length
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT jlong JNICALL Java_java_io_RandomAccessFile_getFilePointer
-    PROTOTYPE ((JNIEnv * env, jobject recv));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_setLengthImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jlong newLength));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_writeImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray buffer, jint offset,
-                jint count, jlong descriptor));
-  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_readByteImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jlong descriptor));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass rafClazz));
-  JNIEXPORT jint JNICALL Java_java_io_RandomAccessFile_openImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jbyteArray path,
-                jboolean writable));
-  JNIEXPORT void JNICALL Java_java_io_RandomAccessFile_writeByteImpl
-    PROTOTYPE ((JNIEnv * env, jobject recv, jint c, jlong descriptor));
-    
   /* NativesCommonObjectOutputStream*/
   JNIEXPORT jfloat JNICALL Java_java_io_ObjectOutputStream_getFieldFloat
     PROTOTYPE ((JNIEnv * env, jclass clazz, jobject targetObject,
@@ -418,34 +284,10 @@
   void createSocket
     PROTOTYPE ((JNIEnv * env, jobject thisObjFD, int sockType,
                 jboolean preferIPv4Stack));
-  JNIEXPORT void JNICALL Java_java_net_Socket_socketCloseImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT void JNICALL Java_java_net_Socket_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean jcl_supports_ipv6));
-  JNIEXPORT jobject JNICALL Java_java_net_Socket_getSocketLocalAddressImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jboolean preferIPv6Addresses));
-  JNIEXPORT jobject JNICALL Java_java_net_Socket_getSocketOptionImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject aFileDescriptor,
-                jint anOption));
-  JNIEXPORT void JNICALL Java_java_net_Socket_setSocketOptionImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject aFileDescriptor,
-                jint anOption, jobject aValue));
-  JNIEXPORT jint JNICALL Java_java_net_Socket_getSocketFlags
-    PROTOTYPE ((JNIEnv * env, jclass thisClz));
-  JNIEXPORT jint JNICALL Java_java_net_Socket_getSocketLocalPortImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jboolean preferIPv6Addresses));
   I_32 pollSelectRead
     PROTOTYPE ((JNIEnv * env, jobject fileDescriptor, jint timeout,
                 BOOLEAN poll));
                 
-  /* NativesCommonPlainMulticastSocketImpl*/
-  JNIEXPORT void JNICALL
-    Java_java_net_PlainMulticastSocketImpl_createMulticastSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-                
   /* NativesCommonZipFile*/
   void throwJavaZIOException PROTOTYPE ((JNIEnv * env, const char *message));
   void throwNewInternalError PROTOTYPE ((JNIEnv * env, const char *message));
@@ -487,9 +329,7 @@
   JNIEXPORT jobject JNICALL Java_java_net_InetAddress_getHostByNameImpl
     PROTOTYPE ((JNIEnv * env, jclass clazz, jstring aName,
                 jboolean preferIPv6Addresses));
-  JNIEXPORT jobjectArray JNICALL Java_java_net_InetAddress_getAliasesByAddrImpl
-    PROTOTYPE ((JNIEnv * env, jclass clazz, jstring addr));
-    
+
   /* NativesCommonTimeZone*/
   JNIEXPORT jstring JNICALL Java_java_util_TimeZone_getCustomTimeZone
     PROTOTYPE ((JNIEnv * env, jclass clazz, jintArray tzinfo,
@@ -519,7 +359,6 @@
   jobjectArray createAliasArrayFromAddrinfo
     PROTOTYPE ((JNIEnv * env, hyaddrinfo_t addresses, char *hName));
   BOOLEAN booleanValue PROTOTYPE ((JNIEnv * env, jobject aBoolean));
-  BOOLEAN jcl_supports_ipv6 PROTOTYPE ((JNIEnv * env));
   jobject newJavaLangInteger PROTOTYPE ((JNIEnv * env, I_32 anInt));
   BOOLEAN preferIPv4Stack PROTOTYPE ((JNIEnv * env));
   char *netLookupErrorString PROTOTYPE ((JNIEnv * env, I_32 anErrorNum));
@@ -561,22 +400,6 @@
   void throwNPException PROTOTYPE ((JNIEnv* env, const char* message));
   void throwIndexOutOfBoundsException PROTOTYPE ((JNIEnv* env));
 
-  /* NativesCommonSocket*/
-  void throwSocketException PROTOTYPE ((JNIEnv * env, I_32 errorNumber));
-  I_32 conPollSelectRead
-    PROTOTYPE ((JNIEnv * env, jobject socket, jint timeout, BOOLEAN poll,
-                BOOLEAN accept));
-  void *getSocketDescriptor PROTOTYPE ((JNIEnv * env, jobject fd));
-  void setSocketDescriptor
-    PROTOTYPE ((JNIEnv * env, jobject fd, void *value));
-  JNIEXPORT jstring JNICALL Java_java_lang_System_getHostnameImpl
-    PROTOTYPE ((JNIEnv * env, jclass clazz));
-  void conUpdateSocket
-    PROTOTYPE ((JNIEnv * env, hysockaddr_t sockaddrP, jobject socket,
-                int remote));
-  hysocket_t createAndBindSocket
-    PROTOTYPE ((JNIEnv * env, jobject socket, int sockType, int localPort));
-                
   /* NativesCommonFileDescriptor*/
   JNIEXPORT void JNICALL Java_java_io_FileDescriptor_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass fdClazz));
@@ -617,45 +440,6 @@
     PROTOTYPE ((JNIEnv * env, jobject recv, jobject arg1, jlong arg2));
   JNIEXPORT void JNICALL Java_org_apache_harmony_luni_internal_process_SystemProcess_oneTimeInitialization
     PROTOTYPE ((JNIEnv * env, jclass clazz));
-    
-  /* NativesCommonPlainDatagramSocketImpl*/
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendDatagramImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyteArray data, jint offset, jint msgLength, jint targetPort,
-                jboolean bindToDevice, jint trafficClass,
-                jobject inetAddress));
-  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_createDatagramSocketImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject thisObjFD,
-                jboolean preferIPv4Stack));
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_peekDatagramImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jobject senderAddress, jint timeout));
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_sendConnectedDatagramImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jbyteArray data, jint offset, jint msgLength,
-                jboolean bindToDevice));
-  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_oneTimeInitialization
-    PROTOTYPE ((JNIEnv * env, jclass clazz, jboolean ipv6support));
-  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_connectDatagramImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint remotePort, jint trafficClass, jobject inetAddress));
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jobject datagramPacket, jbyteArray data, jint offset,
-                jint msgLength, jint timeout, jboolean peek));
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_receiveDatagramImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jobject datagramPacket, jbyteArray data, jint offset,
-                jint msgLength, jint timeout));
-  JNIEXPORT jboolean JNICALL Java_java_net_PlainDatagramSocketImpl_socketBindImpl2
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jint localPort, jboolean doDevice, jobject inetAddress));
-  JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_disconnectDatagramImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor));
-  JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_recvConnectedDatagramImpl
-    PROTOTYPE ((JNIEnv * env, jclass thisClz, jobject fileDescriptor,
-                jobject datagramPacket, jbyteArray data, jint offset,
-                jint msgLength, jint timeout, jboolean peek));
     
   /************************************************************
   ** COMPONENT: NativesWin32

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/exports.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/exports.txt?rev=585454&r1=585453&r2=585454&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/exports.txt (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/exports.txt Wed
Oct 17 04:59:23 2007
@@ -46,18 +46,6 @@
 Java_java_io_FileDescriptor_oneTimeInitialization
 Java_java_io_FileDescriptor_syncImpl
 Java_java_io_FileDescriptor_valid
-Java_java_io_FileInputStream_available
-Java_java_io_FileInputStream_closeImpl
-Java_java_io_FileInputStream_oneTimeInitialization
-Java_java_io_FileInputStream_openImpl
-Java_java_io_FileInputStream_readByteImpl
-Java_java_io_FileInputStream_readImpl
-Java_java_io_FileInputStream_skip
-Java_java_io_FileOutputStream_closeImpl
-Java_java_io_FileOutputStream_oneTimeInitialization
-Java_java_io_FileOutputStream_openImpl
-Java_java_io_FileOutputStream_writeByteImpl
-Java_java_io_FileOutputStream_writeImpl
 Java_java_io_ObjectInputStream_newInstance
 Java_java_io_ObjectInputStream_objSetField
 Java_java_io_ObjectInputStream_setField__Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_String_2B



Mime
View raw message