Index: modules/luni/src/main/native/luni/shared/nethelp.c =================================================================== --- modules/luni/src/main/native/luni/shared/nethelp.c (revision 548732) +++ modules/luni/src/main/native/luni/shared/nethelp.c (working copy) @@ -402,7 +402,7 @@ if (!socketExConstructor) { return; } - socketEx = (*env)->NewObject(env, socketExClass,errorCodeExConstructor,errorMessageString); + socketEx = (*env)->NewObject(env, socketExClass,socketExConstructor,errorMessageString); socketExCauseMethod = (*env)->GetMethodID(env,socketExClass,"initCause","(Ljava/lang/Throwable;)Ljava/lang/Throwable;"); (*env)->CallObjectMethod(env,socketEx,socketExCauseMethod,errorCodeEx); (*env)->Throw(env,socketEx);