Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Catches exceptions in decode native method#131

Merged
ncordon merged 1 commit intobblfsh:masterfrom
ncordon:fix.empty.decode
Sep 18, 2019
Merged

Catches exceptions in decode native method#131
ncordon merged 1 commit intobblfsh:masterfrom
ncordon:fix.empty.decode

Conversation

@ncordon
Copy link
Copy Markdown
Member

@ncordon ncordon commented Sep 12, 2019

Catches the exception in the decode native method when the bytes we pass to the function cannot be decoded by libuast. This PR mirrors the changes introduced by python-client#190.

Closes #130

Signed-off-by: ncordon [email protected]


This change is Reviewable

Comment thread src/main/native/org_bblfsh_client_v2_libuast_Libuast.cc
@ncordon ncordon requested a review from creachadair September 17, 2019 16:37
Copy link
Copy Markdown
Contributor

@creachadair creachadair left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @kuba--)

@ncordon ncordon merged commit 75878cb into bblfsh:master Sep 18, 2019
@ncordon ncordon deleted the fix.empty.decode branch September 18, 2019 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect bytes in decode kill sbt

3 participants