jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp
static void 
SetLastTranError(jdwpTransportEnv* env, const char* messagePtr, int errorStatus)
{
    internalEnv* ienv = (internalEnv*)env->functions->reserved1;
    if (ienv->lastError != 0) {
        ienv->lastError->insertError(messagePtr, errorStatus);
    } else {
        ienv->lastError = new(ienv->alloc, ienv->free) LastTransportError(ienv->jvm, messagePtr, errorStatus, ienv->alloc, ienv->free);
    }
    return;
}
/**
 * This function sets into internalEnv struct message and status code of last transport error
 */
This function sets into internalEnv struct message and status code of last transport error
This function sets into internalEnv struct message and status code of last transport error
static void 
SetLastTranError(jdwpTransportEnv* env, const char* messagePtr, int errorStatus)
{
    internalEnv* ienv = (internalEnv*)env->functions->reserved1;
    if (ienv->lastError != 0) {
        ienv->lastError->insertError(messagePtr, errorStatus);
    } else {
        ienv->lastError = new(ienv->alloc, ienv->free) LastTransportError(ienv->jvm, messagePtr, errorStatus, ienv->alloc, ienv->free);
    }
    return;
}
static void SetLastTranError ( jdwpTransportEnv * env , const char * messagePtr , int errorStatus ) { internalEnv * ienv = ( internalEnv * ) env -> functions -> reserved1 ; if ( ienv -> lastError != 0 ) { ienv -> lastError -> insertError ( messagePtr , errorStatus ) ; } else { ienv -> lastError = new ( ienv -> alloc , ienv -> free ) LastTransportError ( ienv -> jvm , messagePtr , errorStatus , ienv -> alloc , ienv -> free ) ; } return ; }
This function sets into internalEnv struct message and status code of last transport error
This function sets into internalEnv struct message and status code of last transport error