| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: avoid java sdk native grpc preload crash Use the stripped Java JNI library as the SDK native jar input so the SDK and service packaging paths share the same upstream artifact. When loading native libraries from the SDK jar fallback path, extract the dependency set and create compatibility symlinks first, then load only libruntime_lib_jni.so. This lets the dynamic linker resolve gRPC and absl dependencies from the SDK native directory instead of preloading them through System.load, which can abort in grpc_core::GetContext during Java runtime init. Validation: - Reproduced the original master SDK self-extract path crash with TaskTest#test_java_task_invoke_successfully: Surefire fork exit 134, context.h:118 grpc_core::GetContext. - Rebuilt a validation SDK jar with the patched LoadUtil class and reran the same test with -DjniPath=: get val: 1, tests=1 errors=0 failures=0. Signed-off-by: mhsong2 <songminhui2@huawei.com> | 2 天前 | |
refactor[runtime]: 整改统一java包名前缀为org.yuanrong Signed-off-by: tianmengyue <tianmengyue@huawei.com> | 5 个月前 |