You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by py...@apache.org on 2007/04/13 11:19:53 UTC

svn commit: r528399 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c

Author: pyang
Date: Fri Apr 13 02:19:52 2007
New Revision: 528399

URL: http://svn.apache.org/viewvc?view=rev&rev=528399
Log:
Apply a partial patch for HARMONY-3631([classlib][luni][nio] Write operation to non-blocking SocketChannel with overfull output buffer causes unexpected exception), althouhg it may not complete yet, but it does fixes a hidden while significant issue, actually I think it worths a separate jira itself

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c?view=diff&rev=528399&r1=528398&r2=528399
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c Fri Apr 13 02:19:52 2007
@@ -388,7 +388,7 @@
   	   if (!errorCodeExClass){
   	           return;
   	   }
-  	   errorCodeExConstructor = (*env)->GetMethodID(env,errorCodeExClass,"init","(I)V");
+  	   errorCodeExConstructor = (*env)->GetMethodID(env,errorCodeExClass,"<init>","(I)V");
        if (!errorCodeExConstructor){
                return;
        }
@@ -397,7 +397,7 @@
   	   if (!socketExClass) {
   	           return;
   	   }
-  	   socketExConstructor = (*env)->GetMethodID(env,socketExClass,"init","(Ljava/lang/String;)V");
+  	   socketExConstructor = (*env)->GetMethodID(env,socketExClass,"<init>","(Ljava/lang/String;)V");
        if (!socketExConstructor) {
                return;
        }