Skip to content

[enhancement](jni)append exception check for jni code. #42507#43316

Merged
morningman merged 1 commit intoapache:branch-3.0from
morningman:pick_42507_to_upstream-apache_branch-3.0
Nov 6, 2024
Merged

[enhancement](jni)append exception check for jni code. #42507#43316
morningman merged 1 commit intoapache:branch-3.0from
morningman:pick_42507_to_upstream-apache_branch-3.0

Conversation

@morningman
Copy link
Copy Markdown
Contributor

cherry pick from #42507

## Proposed changes
Because in jni, we need to manually check for exceptions thrown, and if
we do not handle the exception, the program will continue to execute,
which is not like the try catch logic we often use. Therefore, in order
to reduce the potential risks caused by not handling exceptions, I
checked most of the jni code and added exception detection for it.
@morningman
Copy link
Copy Markdown
Contributor Author

run buildall

@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman morningman merged commit a3566c3 into apache:branch-3.0 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants