Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Add java exception check in JNI #6378

Merged
merged 3 commits into from Dec 7, 2019
Merged

Conversation

kfstorm
Copy link
Member

@kfstorm kfstorm commented Dec 6, 2019

Why are these changes needed?

If env->Call***Method(...) throws any Java exception, we need to manually process it in JNI code. So we let it crash.

Related issue number

Checks

@kfstorm kfstorm requested a review from raulchen December 6, 2019 08:09
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

@raulchen raulchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failure is related

@kfstorm
Copy link
Member Author

kfstorm commented Dec 6, 2019

@raulchen I see Java test failed, but I can't repro at local. Maybe it's not caused by this PR. Let's see if it would still fail with my latest push.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19271/
Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/19287/
Test PASSed.

@raulchen raulchen merged commit 7e9fddf into ray-project:master Dec 7, 2019
@raulchen raulchen deleted the jni_check branch December 7, 2019 08:27
chaokunyang pushed a commit to alipay/ant-ray that referenced this pull request Dec 7, 2019
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.

None yet

3 participants