Xuanwo commented on PR #8405: URL: https://github.com/apache/opendal/pull/8405#issuecomment-7069424844
Hi @tisonkun, thanks for the review. The PR has been updated in `c1b15929` to address your feedback. - JNI now reports Rust panics with a dedicated `OpenDALPanicException` that extends `RuntimeException`. The update guards the remaining JNI entry points and catches panics during async polling and result conversion so the `CompletableFuture` completes exceptionally. - The exception documentation explains how to proceed when a panic may have broken native invariants. Close the affected operator and its derived resources, create a fresh operator, and check storage state before retrying a mutation. - The JNI regression tests trigger real Rust panics on both the synchronous and asynchronous paths. The Java test jobs passed on Linux, macOS, and Windows. Could you take another look when you have a chance so we can move this forward? *(This comment was generated by AI.)* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
