QuakeWang opened a new pull request, #21:
URL: https://github.com/apache/paimon-vector-index/pull/21

   JNI exported native entrypoints currently call Rust core directly. Explicit 
`io::Result` failures are converted to Java exceptions, but Rust panics can 
still cross the JNI FFI boundary and abort the JVM.
   
   This PR adds a shared JNI panic boundary around all IVF-PQ and IVF-FLAT 
native entrypoints. Panics are caught with `catch_unwind` and converted into 
`RuntimeException`, preserving the Java-side failure contract.
   
   It also adds a JNI panic-boundary smoke test and runs it in CI to verify 
that representative Rust panics become Java exceptions and the JVM remains 
usable afterward.


-- 
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]

Reply via email to