mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
[Java] Rename group id and package name. (#7864)
* Initial * Change streaming's * Fix * Fix * Fix org_ray * Fix cpp file name * Fix streaming * Fix * Fix * Fix testlistening * Fix missing sth in python * Fix * Fix * Fix SPI * Fix * Fix complation * Fix * Fix CI * Fix checkstyle Fix checkstyle * Fix streaming tests * Fix streaming CI * Fix streaming checkstyle. * Fix build * Fix bazel dep * Fix * Fix ray checkstyle * Fix streaming checkstyle * Fix bazel checkstyle
This commit is contained in:
@@ -49,7 +49,7 @@ jint throwChannelInitException(JNIEnv *env, const char *message,
|
||||
}
|
||||
|
||||
jclass ex_class =
|
||||
env->FindClass("org/ray/streaming/runtime/transfer/ChannelInitException");
|
||||
env->FindClass("io/ray/streaming/runtime/transfer/ChannelInitException");
|
||||
jmethodID ex_constructor =
|
||||
env->GetMethodID(ex_class, "<init>", "(Ljava/lang/String;Ljava/util/List;)V");
|
||||
jstring message_jstr = env->NewStringUTF(message);
|
||||
@@ -60,7 +60,7 @@ jint throwChannelInitException(JNIEnv *env, const char *message,
|
||||
|
||||
jint throwChannelInterruptException(JNIEnv *env, const char *message) {
|
||||
jclass ex_class =
|
||||
env->FindClass("org/ray/streaming/runtime/transfer/ChannelInterruptException");
|
||||
env->FindClass("io/ray/streaming/runtime/transfer/ChannelInterruptException");
|
||||
return env->ThrowNew(ex_class, message);
|
||||
}
|
||||
|
||||
@@ -108,14 +108,14 @@ void JavaStringListToNativeStringVector(JNIEnv *env, jobject java_list,
|
||||
ray::RayFunction FunctionDescriptorToRayFunction(JNIEnv *env,
|
||||
jobject functionDescriptor) {
|
||||
jclass java_language_class =
|
||||
LoadClass(env, "org/ray/runtime/generated/Common$Language");
|
||||
LoadClass(env, "io/ray/runtime/generated/Common$Language");
|
||||
jclass java_function_descriptor_class =
|
||||
LoadClass(env, "org/ray/runtime/functionmanager/FunctionDescriptor");
|
||||
LoadClass(env, "io/ray/runtime/functionmanager/FunctionDescriptor");
|
||||
jmethodID java_language_get_number =
|
||||
env->GetMethodID(java_language_class, "getNumber", "()I");
|
||||
jmethodID java_function_descriptor_get_language =
|
||||
env->GetMethodID(java_function_descriptor_class, "getLanguage",
|
||||
"()Lorg/ray/runtime/generated/Common$Language;");
|
||||
"()Lio/ray/runtime/generated/Common$Language;");
|
||||
jobject java_language =
|
||||
env->CallObjectMethod(functionDescriptor, java_function_descriptor_get_language);
|
||||
auto language = static_cast<::Language>(
|
||||
|
||||
Reference in New Issue
Block a user