diff --git a/barchart-udt-core/src/main/c++/jni/com_barchart_udt_SocketUDT.cpp b/barchart-udt-core/src/main/c++/jni/com_barchart_udt_SocketUDT.cpp index f2783ea..0a154b6 100644 --- a/barchart-udt-core/src/main/c++/jni/com_barchart_udt_SocketUDT.cpp +++ b/barchart-udt-core/src/main/c++/jni/com_barchart_udt_SocketUDT.cpp @@ -461,7 +461,7 @@ void UDT_InitMethodRefAll( // jdk_clsInet4Address_getAddressByID = env->GetStaticMethodID(jdk_clsInetAddress, "getByAddress", "([B)Ljava/net/InetAddress;"); - CHK_NUL_RET_RET(jdk_clsInet4Address_getByAddressID,"jdk_clsInet4Address_getByAddressID"); + CHK_NUL_RET_RET(jdk_clsInet4Address_getAddressByID,"jdk_clsInet4Address_getAddressByID"); jdk_clsInetSocketAddress_getAddressID = env->GetMethodID(jdk_clsInetSocketAddress, // "getAddress", "()Ljava/net/InetAddress;");