Skip to content

branch-3.0: [enhancement](jni)append exception check for jni code.#42944

Closed
github-actions[bot] wants to merge 1 commit intobranch-3.0from
auto-pick-42507-branch-3.0
Closed

branch-3.0: [enhancement](jni)append exception check for jni code.#42944
github-actions[bot] wants to merge 1 commit intobranch-3.0from
auto-pick-42507-branch-3.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

PR Body: ## 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.

Cherry-picked 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.
@github-actions
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
Copy link
Copy Markdown
Contributor

run buildall

@morningman morningman closed this Nov 6, 2024
@dataroaring dataroaring deleted the auto-pick-42507-branch-3.0 branch December 27, 2024 07:15
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